Skip to content

Commit 35758cc

Browse files
feat(tpu): update the api
#### tpu:v2 The following keys were added: - schemas.Node.properties.networkConfigs (Total Keys: 2)
1 parent ff561b5 commit 35758cc

File tree

6 files changed

+96
-26
lines changed

6 files changed

+96
-26
lines changed

docs/dyn/tpu_v2.projects.locations.nodes.html

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,22 @@ <h3>Method Details</h3>
146146
},
147147
&quot;multisliceNode&quot;: True or False, # Output only. Whether the Node belongs to a Multislice group.
148148
&quot;name&quot;: &quot;A String&quot;, # Output only. Immutable. The name of the TPU.
149-
&quot;networkConfig&quot;: { # Network related configurations. # Network configurations for the TPU node.
149+
&quot;networkConfig&quot;: { # Network related configurations. # Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
150150
&quot;canIpForward&quot;: True or False, # 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.
151151
&quot;enableExternalIps&quot;: True or False, # 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.
152152
&quot;network&quot;: &quot;A String&quot;, # The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, &quot;default&quot; will be used.
153153
&quot;queueCount&quot;: 42, # Optional. Specifies networking queue count for TPU VM instance&#x27;s network interface.
154154
&quot;subnetwork&quot;: &quot;A String&quot;, # The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, &quot;default&quot; will be used.
155155
},
156+
&quot;networkConfigs&quot;: [ # Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
157+
{ # Network related configurations.
158+
&quot;canIpForward&quot;: True or False, # 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.
159+
&quot;enableExternalIps&quot;: True or False, # 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.
160+
&quot;network&quot;: &quot;A String&quot;, # The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, &quot;default&quot; will be used.
161+
&quot;queueCount&quot;: 42, # Optional. Specifies networking queue count for TPU VM instance&#x27;s network interface.
162+
&quot;subnetwork&quot;: &quot;A String&quot;, # The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, &quot;default&quot; will be used.
163+
},
164+
],
156165
&quot;networkEndpoints&quot;: [ # Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
157166
{ # A network endpoint over which a TPU worker can be reached.
158167
&quot;accessConfig&quot;: { # An access config attached to the TPU worker. # The access config for the TPU worker.
@@ -298,13 +307,22 @@ <h3>Method Details</h3>
298307
},
299308
&quot;multisliceNode&quot;: True or False, # Output only. Whether the Node belongs to a Multislice group.
300309
&quot;name&quot;: &quot;A String&quot;, # Output only. Immutable. The name of the TPU.
301-
&quot;networkConfig&quot;: { # Network related configurations. # Network configurations for the TPU node.
310+
&quot;networkConfig&quot;: { # Network related configurations. # Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
302311
&quot;canIpForward&quot;: True or False, # 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.
303312
&quot;enableExternalIps&quot;: True or False, # 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.
304313
&quot;network&quot;: &quot;A String&quot;, # The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, &quot;default&quot; will be used.
305314
&quot;queueCount&quot;: 42, # Optional. Specifies networking queue count for TPU VM instance&#x27;s network interface.
306315
&quot;subnetwork&quot;: &quot;A String&quot;, # The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, &quot;default&quot; will be used.
307316
},
317+
&quot;networkConfigs&quot;: [ # Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
318+
{ # Network related configurations.
319+
&quot;canIpForward&quot;: True or False, # 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.
320+
&quot;enableExternalIps&quot;: True or False, # 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.
321+
&quot;network&quot;: &quot;A String&quot;, # The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, &quot;default&quot; will be used.
322+
&quot;queueCount&quot;: 42, # Optional. Specifies networking queue count for TPU VM instance&#x27;s network interface.
323+
&quot;subnetwork&quot;: &quot;A String&quot;, # The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, &quot;default&quot; will be used.
324+
},
325+
],
308326
&quot;networkEndpoints&quot;: [ # Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
309327
{ # A network endpoint over which a TPU worker can be reached.
310328
&quot;accessConfig&quot;: { # An access config attached to the TPU worker. # The access config for the TPU worker.
@@ -433,13 +451,22 @@ <h3>Method Details</h3>
433451
},
434452
&quot;multisliceNode&quot;: True or False, # Output only. Whether the Node belongs to a Multislice group.
435453
&quot;name&quot;: &quot;A String&quot;, # Output only. Immutable. The name of the TPU.
436-
&quot;networkConfig&quot;: { # Network related configurations. # Network configurations for the TPU node.
454+
&quot;networkConfig&quot;: { # Network related configurations. # Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
437455
&quot;canIpForward&quot;: True or False, # 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.
438456
&quot;enableExternalIps&quot;: True or False, # 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.
439457
&quot;network&quot;: &quot;A String&quot;, # The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, &quot;default&quot; will be used.
440458
&quot;queueCount&quot;: 42, # Optional. Specifies networking queue count for TPU VM instance&#x27;s network interface.
441459
&quot;subnetwork&quot;: &quot;A String&quot;, # The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, &quot;default&quot; will be used.
442460
},
461+
&quot;networkConfigs&quot;: [ # Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
462+
{ # Network related configurations.
463+
&quot;canIpForward&quot;: True or False, # 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.
464+
&quot;enableExternalIps&quot;: True or False, # 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.
465+
&quot;network&quot;: &quot;A String&quot;, # The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, &quot;default&quot; will be used.
466+
&quot;queueCount&quot;: 42, # Optional. Specifies networking queue count for TPU VM instance&#x27;s network interface.
467+
&quot;subnetwork&quot;: &quot;A String&quot;, # The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, &quot;default&quot; will be used.
468+
},
469+
],
443470
&quot;networkEndpoints&quot;: [ # Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
444471
{ # A network endpoint over which a TPU worker can be reached.
445472
&quot;accessConfig&quot;: { # An access config attached to the TPU worker. # The access config for the TPU worker.
@@ -535,13 +562,22 @@ <h3>Method Details</h3>
535562
},
536563
&quot;multisliceNode&quot;: True or False, # Output only. Whether the Node belongs to a Multislice group.
537564
&quot;name&quot;: &quot;A String&quot;, # Output only. Immutable. The name of the TPU.
538-
&quot;networkConfig&quot;: { # Network related configurations. # Network configurations for the TPU node.
565+
&quot;networkConfig&quot;: { # Network related configurations. # Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
539566
&quot;canIpForward&quot;: True or False, # 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.
540567
&quot;enableExternalIps&quot;: True or False, # 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.
541568
&quot;network&quot;: &quot;A String&quot;, # The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, &quot;default&quot; will be used.
542569
&quot;queueCount&quot;: 42, # Optional. Specifies networking queue count for TPU VM instance&#x27;s network interface.
543570
&quot;subnetwork&quot;: &quot;A String&quot;, # The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, &quot;default&quot; will be used.
544571
},
572+
&quot;networkConfigs&quot;: [ # Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.
573+
{ # Network related configurations.
574+
&quot;canIpForward&quot;: True or False, # 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.
575+
&quot;enableExternalIps&quot;: True or False, # 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.
576+
&quot;network&quot;: &quot;A String&quot;, # The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, &quot;default&quot; will be used.
577+
&quot;queueCount&quot;: 42, # Optional. Specifies networking queue count for TPU VM instance&#x27;s network interface.
578+
&quot;subnetwork&quot;: &quot;A String&quot;, # The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, &quot;default&quot; will be used.
579+
},
580+
],
545581
&quot;networkEndpoints&quot;: [ # Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
546582
{ # A network endpoint over which a TPU worker can be reached.
547583
&quot;accessConfig&quot;: { # An access config attached to the TPU worker. # The access config for the TPU worker.

0 commit comments

Comments
 (0)