Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::V1::ConnectNetworkConfig.
The configuration of a Virtual Private Cloud (VPC) network that can access
the Kafka Connect cluster.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#additional_subnets
defadditional_subnets()->::Array<::String>
Returns
(::Array<::String>) — Optional. Additional subnets may be specified. They may be in another
region, but must be in the same VPC network. The Connect workers can
communicate with network endpoints in either the primary or additional
subnets.
#additional_subnets=
defadditional_subnets=(value)->::Array<::String>
Parameter
value (::Array<::String>) — Optional. Additional subnets may be specified. They may be in another
region, but must be in the same VPC network. The Connect workers can
communicate with network endpoints in either the primary or additional
subnets.
Returns
(::Array<::String>) — Optional. Additional subnets may be specified. They may be in another
region, but must be in the same VPC network. The Connect workers can
communicate with network endpoints in either the primary or additional
subnets.
#dns_domain_names
defdns_domain_names()->::Array<::String>
Returns
(::Array<::String>) — 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
#dns_domain_names=
defdns_domain_names=(value)->::Array<::String>
Parameter
value (::Array<::String>) — 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
Returns
(::Array<::String>) — 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
#primary_subnet
defprimary_subnet()->::String
Returns
(::String) — 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).
#primary_subnet=
defprimary_subnet=(value)->::String
Parameter
value (::String) — 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).
Returns
(::String) — 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).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Managed Service for Apache Kafka V1 API - Class Google::Cloud::ManagedKafka::V1::ConnectNetworkConfig (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-ConnectNetworkConfig)\n- [1.3.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/1.3.0/Google-Cloud-ManagedKafka-V1-ConnectNetworkConfig)\n- [1.2.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/1.2.0/Google-Cloud-ManagedKafka-V1-ConnectNetworkConfig)\n- [1.1.2](/ruby/docs/reference/google-cloud-managed_kafka-v1/1.1.2/Google-Cloud-ManagedKafka-V1-ConnectNetworkConfig)\n- [1.0.1](/ruby/docs/reference/google-cloud-managed_kafka-v1/1.0.1/Google-Cloud-ManagedKafka-V1-ConnectNetworkConfig)\n- [0.5.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.5.0/Google-Cloud-ManagedKafka-V1-ConnectNetworkConfig)\n- [0.4.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.4.0/Google-Cloud-ManagedKafka-V1-ConnectNetworkConfig)\n- [0.3.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.3.0/Google-Cloud-ManagedKafka-V1-ConnectNetworkConfig)\n- [0.2.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.2.0/Google-Cloud-ManagedKafka-V1-ConnectNetworkConfig)\n- [0.1.3](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.1.3/Google-Cloud-ManagedKafka-V1-ConnectNetworkConfig) \nReference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::V1::ConnectNetworkConfig.\n\nThe configuration of a Virtual Private Cloud (VPC) network that can access\nthe Kafka Connect cluster. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #additional_subnets\n\n def additional_subnets() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Optional. Additional subnets may be specified. They may be in another region, but must be in the same VPC network. The Connect workers can communicate with network endpoints in either the primary or additional subnets.\n\n### #additional_subnets=\n\n def additional_subnets=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- Optional. Additional subnets may be specified. They may be in another region, but must be in the same VPC network. The Connect workers can communicate with network endpoints in either the primary or additional subnets. \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Optional. Additional subnets may be specified. They may be in another region, but must be in the same VPC network. The Connect workers can communicate with network endpoints in either the primary or additional subnets.\n\n### #dns_domain_names\n\n def dns_domain_names() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- 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\n\n### #dns_domain_names=\n\n def dns_domain_names=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- 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 \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- 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\n\n### #primary_subnet\n\n def primary_subnet() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. VPC subnet to make available to the Kafka Connect cluster. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id}\n\n It is used to create a Private Service Connect (PSC) interface for the\n Kafka Connect workers. It must be located in the same region as the\n Kafka Connect cluster.\n\n The CIDR range of the subnet must be within the IPv4 address ranges for\n private networks, as specified in RFC 1918. The primary subnet CIDR range\n must have a minimum size of /22 (1024 addresses).\n\n### #primary_subnet=\n\n def primary_subnet=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. VPC subnet to make available to the Kafka Connect cluster. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id}\n\n\n It is used to create a Private Service Connect (PSC) interface for the\n Kafka Connect workers. It must be located in the same region as the\n Kafka Connect cluster.\n\n The CIDR range of the subnet must be within the IPv4 address ranges for\n private networks, as specified in RFC 1918. The primary subnet CIDR range\nmust have a minimum size of /22 (1024 addresses). \n**Returns**\n\n- (::String) --- Required. VPC subnet to make available to the Kafka Connect cluster. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id}\n\n It is used to create a Private Service Connect (PSC) interface for the\n Kafka Connect workers. It must be located in the same region as the\n Kafka Connect cluster.\n\n The CIDR range of the subnet must be within the IPv4 address ranges for\n private networks, as specified in RFC 1918. The primary subnet CIDR range\n must have a minimum size of /22 (1024 addresses)."]]