The configuration of a Virtual Private Cloud (VPC) network
that can access the Kafka cluster.
Attribute
Name
Description
subnet
str
Required. Name of the VPC subnet in which to create Private
Service Connect (PSC) endpoints for the Kafka brokers and
bootstrap address. Structured like:
projects/{project}/regions/{region}/subnetworks/{subnet_id}
The subnet must be located in the same region as the Kafka
cluster. The project may differ. Multiple subnets from the
same parent network must not be specified.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class NetworkConfig (0.1.12)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.12 (latest)](/python/docs/reference/google-cloud-managedkafka/latest/google.cloud.managedkafka_v1.types.NetworkConfig)\n- [0.1.11](/python/docs/reference/google-cloud-managedkafka/0.1.11/google.cloud.managedkafka_v1.types.NetworkConfig) \n\n NetworkConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nThe configuration of a Virtual Private Cloud (VPC) network\nthat can access the Kafka cluster."]]