Send feedback
Class NetworkConfig (1.23.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
NetworkConfig ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
Network related configurations.
Attributes
Name
Description
network
str
The name of the network for the TPU node. It
must be a preexisting Google Compute Engine
network. If none is provided, "default" will be
used.
subnetwork
str
The name of the subnetwork for the TPU node.
It must be a preexisting Google Compute Engine
subnetwork. If none is provided, "default" will
be used.
enable_external_ips
bool
Indicates that external IP addresses would be
associated with the TPU workers. If set to
false, the specified subnetwork or network
should have Private Google Access enabled.
can_ip_forward
bool
Allows the TPU node to send and receive
packets with non-matching destination or source
IPs. This is required if you plan to use the TPU
workers to forward routes.
queue_count
int
Optional. Specifies networking queue count
for TPU VM instance's network interface.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
Need to tell us more?
[[["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-04 UTC."],[],[],null,["# Class NetworkConfig (1.23.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.23.2 (latest)](/python/docs/reference/tpu/latest/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.23.0](/python/docs/reference/tpu/1.23.0/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.22.0](/python/docs/reference/tpu/1.22.0/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.21.0](/python/docs/reference/tpu/1.21.0/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.20.0](/python/docs/reference/tpu/1.20.0/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.19.1](/python/docs/reference/tpu/1.19.1/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.18.5](/python/docs/reference/tpu/1.18.5/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.17.0](/python/docs/reference/tpu/1.17.0/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.16.0](/python/docs/reference/tpu/1.16.0/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.15.0](/python/docs/reference/tpu/1.15.0/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.14.0](/python/docs/reference/tpu/1.14.0/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.13.0](/python/docs/reference/tpu/1.13.0/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.12.0](/python/docs/reference/tpu/1.12.0/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.11.2](/python/docs/reference/tpu/1.11.2/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.10.1](/python/docs/reference/tpu/1.10.1/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.9.0](/python/docs/reference/tpu/1.9.0/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.8.0](/python/docs/reference/tpu/1.8.0/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.7.2](/python/docs/reference/tpu/1.7.2/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.6.0](/python/docs/reference/tpu/1.6.0/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.5.2](/python/docs/reference/tpu/1.5.2/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.4.1](/python/docs/reference/tpu/1.4.1/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.3.4](/python/docs/reference/tpu/1.3.4/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.2.1](/python/docs/reference/tpu/1.2.1/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.1.0](/python/docs/reference/tpu/1.1.0/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [1.0.2](/python/docs/reference/tpu/1.0.2/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [0.2.2](/python/docs/reference/tpu/0.2.2/google.cloud.tpu_v2alpha1.types.NetworkConfig)\n- [0.1.0](/python/docs/reference/tpu/0.1.0/google.cloud.tpu_v2alpha1.types.NetworkConfig) \n\n NetworkConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nNetwork related configurations."]]