📂 File Browser

AgentAI/vendor/google/apiclient-services/src/ManagedKafka
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AccessConfig.php
▶ Open 📄 View Source
🐘 Acl.php
▶ Open 📄 View Source
🐘 AclEntry.php
▶ Open 📄 View Source
🐘 AddAclEntryResponse.php
▶ Open 📄 View Source
🐘 BrokerDetails.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CapacityConfig.php
▶ Open 📄 View Source
🐘 CertificateAuthorityServiceConfig.php
▶ Open 📄 View Source
🐘 CheckCompatibilityRequest.php
▶ Open 📄 View Source
🐘 CheckCompatibilityResponse.php
▶ Open 📄 View Source
🐘 Cluster.php
▶ Open 📄 View Source
🐘 ConnectAccessConfig.php
▶ Open 📄 View Source
🐘 ConnectCluster.php
▶ Open 📄 View Source
🐘 ConnectGcpConfig.php
▶ Open 📄 View Source
🐘 ConnectNetworkConfig.php
▶ Open 📄 View Source
🐘 Connector.php
▶ Open 📄 View Source
🐘 ConsumerGroup.php
▶ Open 📄 View Source
🐘 ConsumerPartitionMetadata.php
▶ Open 📄 View Source
🐘 ConsumerTopicMetadata.php
▶ Open 📄 View Source
🐘 Context.php
▶ Open 📄 View Source
🐘 CreateSchemaRegistryRequest.php
▶ Open 📄 View Source
🐘 CreateVersionRequest.php
▶ Open 📄 View Source
🐘 CreateVersionResponse.php
▶ Open 📄 View Source
🐘 GcpConfig.php
▶ Open 📄 View Source
🐘 HttpBody.php
▶ Open 📄 View Source
🐘 ListAclsResponse.php
▶ Open 📄 View Source
🐘 ListClustersResponse.php
▶ Open 📄 View Source
🐘 ListConnectClustersResponse.php
▶ Open 📄 View Source
🐘 ListConnectorsResponse.php
▶ Open 📄 View Source
🐘 ListConsumerGroupsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListSchemaRegistriesResponse.php
▶ Open 📄 View Source
🐘 ListTopicsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LookupVersionRequest.php
▶ Open 📄 View Source
🐘 ManagedkafkaEmpty.php
▶ Open 📄 View Source
🐘 NetworkConfig.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 PauseConnectorRequest.php
▶ Open 📄 View Source
🐘 PauseConnectorResponse.php
▶ Open 📄 View Source
🐘 RebalanceConfig.php
▶ Open 📄 View Source
🐘 RemoveAclEntryResponse.php
▶ Open 📄 View Source
🐘 RestartConnectorRequest.php
▶ Open 📄 View Source
🐘 RestartConnectorResponse.php
▶ Open 📄 View Source
🐘 ResumeConnectorRequest.php
▶ Open 📄 View Source
🐘 ResumeConnectorResponse.php
▶ Open 📄 View Source
🐘 Schema.php
▶ Open 📄 View Source
🐘 SchemaConfig.php
▶ Open 📄 View Source
🐘 SchemaMode.php
▶ Open 📄 View Source
🐘 SchemaReference.php
▶ Open 📄 View Source
🐘 SchemaRegistry.php
▶ Open 📄 View Source
🐘 SchemaVersion.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StopConnectorRequest.php
▶ Open 📄 View Source
🐘 StopConnectorResponse.php
▶ Open 📄 View Source
🐘 TaskRetryPolicy.php
▶ Open 📄 View Source
🐘 TlsConfig.php
▶ Open 📄 View Source
🐘 Topic.php
▶ Open 📄 View Source
🐘 TrustConfig.php
▶ Open 📄 View Source
🐘 UpdateOptions.php
▶ Open 📄 View Source
🐘 UpdateSchemaConfigRequest.php
▶ Open 📄 View Source
🐘 UpdateSchemaModeRequest.php
▶ Open 📄 View Source

📄 Source: ConnectNetworkConfig.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\ManagedKafka;

class ConnectNetworkConfig extends \Google\Collection
{
  protected $collection_key = 'dnsDomainNames';
  /**
   * Optional. Deprecated: Managed Kafka Connect clusters can now reach any
   * endpoint accessible from the primary subnet without the need to define
   * additional subnets. Please see https://cloud.google.com/managed-service-
   * for-apache-kafka/docs/connect-cluster/create-connect-cluster#worker-subnet
   * for more information.
   *
   * @deprecated
   * @var string[]
   */
  public $additionalSubnets;
  /**
   * Optional. Additional DNS domain names from the subnet's network to be made
   * visible to the Connect Cluster. When using MirrorMaker2, it's necessary to
   * add the bootstrap address's dns domain name of the target cluster to make
   * it visible to the connector. For example: my-kafka-cluster.us-
   * central1.managedkafka.my-project.cloud.goog
   *
   * @var string[]
   */
  public $dnsDomainNames;
  /**
   * Required. VPC subnet to make available to the Kafka Connect cluster.
   * Structured like:
   * projects/{project}/regions/{region}/subnetworks/{subnet_id} It is used to
   * create a Private Service Connect (PSC) interface for the Kafka Connect
   * workers. It must be located in the same region as the Kafka Connect
   * cluster. The CIDR range of the subnet must be within the IPv4 address
   * ranges for private networks, as specified in RFC 1918. The primary subnet
   * CIDR range must have a minimum size of /22 (1024 addresses).
   *
   * @var string
   */
  public $primarySubnet;

  /**
   * Optional. Deprecated: Managed Kafka Connect clusters can now reach any
   * endpoint accessible from the primary subnet without the need to define
   * additional subnets. Please see https://cloud.google.com/managed-service-
   * for-apache-kafka/docs/connect-cluster/create-connect-cluster#worker-subnet
   * for more information.
   *
   * @deprecated
   * @param string[] $additionalSubnets
   */
  public function setAdditionalSubnets($additionalSubnets)
  {
    $this->additionalSubnets = $additionalSubnets;
  }
  /**
   * @deprecated
   * @return string[]
   */
  public function getAdditionalSubnets()
  {
    return $this->additionalSubnets;
  }
  /**
   * Optional. Additional DNS domain names from the subnet's network to be made
   * visible to the Connect Cluster. When using MirrorMaker2, it's necessary to
   * add the bootstrap address's dns domain name of the target cluster to make
   * it visible to the connector. For example: my-kafka-cluster.us-
   * central1.managedkafka.my-project.cloud.goog
   *
   * @param string[] $dnsDomainNames
   */
  public function setDnsDomainNames($dnsDomainNames)
  {
    $this->dnsDomainNames = $dnsDomainNames;
  }
  /**
   * @return string[]
   */
  public function getDnsDomainNames()
  {
    return $this->dnsDomainNames;
  }
  /**
   * Required. VPC subnet to make available to the Kafka Connect cluster.
   * Structured like:
   * projects/{project}/regions/{region}/subnetworks/{subnet_id} It is used to
   * create a Private Service Connect (PSC) interface for the Kafka Connect
   * workers. It must be located in the same region as the Kafka Connect
   * cluster. The CIDR range of the subnet must be within the IPv4 address
   * ranges for private networks, as specified in RFC 1918. The primary subnet
   * CIDR range must have a minimum size of /22 (1024 addresses).
   *
   * @param string $primarySubnet
   */
  public function setPrimarySubnet($primarySubnet)
  {
    $this->primarySubnet = $primarySubnet;
  }
  /**
   * @return string
   */
  public function getPrimarySubnet()
  {
    return $this->primarySubnet;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConnectNetworkConfig::class, 'Google_Service_ManagedKafka_ConnectNetworkConfig');
← Back