Skip to content

Commit 5cd64aa

Browse files
feat(tpu): update the api
#### tpu:v2 The following keys were added: - schemas.Node.properties.upcomingMaintenance (Total Keys: 2) - schemas.UpcomingMaintenance (Total Keys: 8) #### tpu:v2alpha1 The following keys were added: - schemas.BootDiskConfig.properties.sourceImage.type (Total Keys: 1) - schemas.SchedulingConfig.properties.provisioningModel.type (Total Keys: 1)
1 parent ec3d23d commit 5cd64aa

File tree

6 files changed

+148
-2
lines changed

6 files changed

+148
-2
lines changed

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,14 @@ <h3>Method Details</h3>
199199
&quot;tags&quot;: [ # Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
200200
&quot;A String&quot;,
201201
],
202+
&quot;upcomingMaintenance&quot;: { # Upcoming Maintenance notification information. # Output only. Upcoming maintenance on this TPU node.
203+
&quot;canReschedule&quot;: True or False, # Indicates if the maintenance can be customer triggered.
204+
&quot;latestWindowStartTime&quot;: &quot;A String&quot;, # The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.
205+
&quot;maintenanceStatus&quot;: &quot;A String&quot;, # The status of the maintenance.
206+
&quot;type&quot;: &quot;A String&quot;, # Defines the type of maintenance.
207+
&quot;windowEndTime&quot;: &quot;A String&quot;, # The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.
208+
&quot;windowStartTime&quot;: &quot;A String&quot;, # The current start time of the maintenance window. This timestamp value is in RFC3339 text format.
209+
},
202210
}
203211

204212
nodeId: string, The unqualified resource name.
@@ -360,6 +368,14 @@ <h3>Method Details</h3>
360368
&quot;tags&quot;: [ # Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
361369
&quot;A String&quot;,
362370
],
371+
&quot;upcomingMaintenance&quot;: { # Upcoming Maintenance notification information. # Output only. Upcoming maintenance on this TPU node.
372+
&quot;canReschedule&quot;: True or False, # Indicates if the maintenance can be customer triggered.
373+
&quot;latestWindowStartTime&quot;: &quot;A String&quot;, # The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.
374+
&quot;maintenanceStatus&quot;: &quot;A String&quot;, # The status of the maintenance.
375+
&quot;type&quot;: &quot;A String&quot;, # Defines the type of maintenance.
376+
&quot;windowEndTime&quot;: &quot;A String&quot;, # The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.
377+
&quot;windowStartTime&quot;: &quot;A String&quot;, # The current start time of the maintenance window. This timestamp value is in RFC3339 text format.
378+
},
363379
}</pre>
364380
</div>
365381

@@ -504,6 +520,14 @@ <h3>Method Details</h3>
504520
&quot;tags&quot;: [ # Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
505521
&quot;A String&quot;,
506522
],
523+
&quot;upcomingMaintenance&quot;: { # Upcoming Maintenance notification information. # Output only. Upcoming maintenance on this TPU node.
524+
&quot;canReschedule&quot;: True or False, # Indicates if the maintenance can be customer triggered.
525+
&quot;latestWindowStartTime&quot;: &quot;A String&quot;, # The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.
526+
&quot;maintenanceStatus&quot;: &quot;A String&quot;, # The status of the maintenance.
527+
&quot;type&quot;: &quot;A String&quot;, # Defines the type of maintenance.
528+
&quot;windowEndTime&quot;: &quot;A String&quot;, # The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.
529+
&quot;windowStartTime&quot;: &quot;A String&quot;, # The current start time of the maintenance window. This timestamp value is in RFC3339 text format.
530+
},
507531
},
508532
],
509533
&quot;unreachable&quot;: [ # Locations that could not be reached.
@@ -615,6 +639,14 @@ <h3>Method Details</h3>
615639
&quot;tags&quot;: [ # Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
616640
&quot;A String&quot;,
617641
],
642+
&quot;upcomingMaintenance&quot;: { # Upcoming Maintenance notification information. # Output only. Upcoming maintenance on this TPU node.
643+
&quot;canReschedule&quot;: True or False, # Indicates if the maintenance can be customer triggered.
644+
&quot;latestWindowStartTime&quot;: &quot;A String&quot;, # The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.
645+
&quot;maintenanceStatus&quot;: &quot;A String&quot;, # The status of the maintenance.
646+
&quot;type&quot;: &quot;A String&quot;, # Defines the type of maintenance.
647+
&quot;windowEndTime&quot;: &quot;A String&quot;, # The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.
648+
&quot;windowStartTime&quot;: &quot;A String&quot;, # The current start time of the maintenance window. This timestamp value is in RFC3339 text format.
649+
},
618650
}
619651

620652
updateMask: string, Required. Mask of fields from Node to update. Supported fields: [description, tags, labels, metadata, network_config.enable_external_ips].

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,14 @@ <h3>Method Details</h3>
245245
&quot;tags&quot;: [ # Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
246246
&quot;A String&quot;,
247247
],
248+
&quot;upcomingMaintenance&quot;: { # Upcoming Maintenance notification information. # Output only. Upcoming maintenance on this TPU node.
249+
&quot;canReschedule&quot;: True or False, # Indicates if the maintenance can be customer triggered.
250+
&quot;latestWindowStartTime&quot;: &quot;A String&quot;, # The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.
251+
&quot;maintenanceStatus&quot;: &quot;A String&quot;, # The status of the maintenance.
252+
&quot;type&quot;: &quot;A String&quot;, # Defines the type of maintenance.
253+
&quot;windowEndTime&quot;: &quot;A String&quot;, # The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.
254+
&quot;windowStartTime&quot;: &quot;A String&quot;, # The current start time of the maintenance window. This timestamp value is in RFC3339 text format.
255+
},
248256
},
249257
&quot;nodeId&quot;: &quot;A String&quot;, # Optional. The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` regex format. This is only specified when requesting a single node. In case of multislice requests, multislice_params must be populated instead.
250258
&quot;parent&quot;: &quot;A String&quot;, # Required. The parent resource name.
@@ -470,6 +478,14 @@ <h3>Method Details</h3>
470478
&quot;tags&quot;: [ # Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
471479
&quot;A String&quot;,
472480
],
481+
&quot;upcomingMaintenance&quot;: { # Upcoming Maintenance notification information. # Output only. Upcoming maintenance on this TPU node.
482+
&quot;canReschedule&quot;: True or False, # Indicates if the maintenance can be customer triggered.
483+
&quot;latestWindowStartTime&quot;: &quot;A String&quot;, # The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.
484+
&quot;maintenanceStatus&quot;: &quot;A String&quot;, # The status of the maintenance.
485+
&quot;type&quot;: &quot;A String&quot;, # Defines the type of maintenance.
486+
&quot;windowEndTime&quot;: &quot;A String&quot;, # The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.
487+
&quot;windowStartTime&quot;: &quot;A String&quot;, # The current start time of the maintenance window. This timestamp value is in RFC3339 text format.
488+
},
473489
},
474490
&quot;nodeId&quot;: &quot;A String&quot;, # Optional. The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` regex format. This is only specified when requesting a single node. In case of multislice requests, multislice_params must be populated instead.
475491
&quot;parent&quot;: &quot;A String&quot;, # Required. The parent resource name.
@@ -633,6 +649,14 @@ <h3>Method Details</h3>
633649
&quot;tags&quot;: [ # Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
634650
&quot;A String&quot;,
635651
],
652+
&quot;upcomingMaintenance&quot;: { # Upcoming Maintenance notification information. # Output only. Upcoming maintenance on this TPU node.
653+
&quot;canReschedule&quot;: True or False, # Indicates if the maintenance can be customer triggered.
654+
&quot;latestWindowStartTime&quot;: &quot;A String&quot;, # The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.
655+
&quot;maintenanceStatus&quot;: &quot;A String&quot;, # The status of the maintenance.
656+
&quot;type&quot;: &quot;A String&quot;, # Defines the type of maintenance.
657+
&quot;windowEndTime&quot;: &quot;A String&quot;, # The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.
658+
&quot;windowStartTime&quot;: &quot;A String&quot;, # The current start time of the maintenance window. This timestamp value is in RFC3339 text format.
659+
},
636660
},
637661
&quot;nodeId&quot;: &quot;A String&quot;, # Optional. The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` regex format. This is only specified when requesting a single node. In case of multislice requests, multislice_params must be populated instead.
638662
&quot;parent&quot;: &quot;A String&quot;, # Required. The parent resource name.

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ <h3>Method Details</h3>
138138
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The name of the encryption key that is stored in Google Cloud KMS. For example: &quot;kmsKeyName&quot;: &quot;projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key The fully-qualifed key name may be returned for resource GET requests. For example: &quot;kmsKeyName&quot;: &quot;projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
139139
},
140140
&quot;enableConfidentialCompute&quot;: True or False, # Optional. Whether the boot disk will be created with confidential compute mode.
141+
&quot;sourceImage&quot;: &quot;A String&quot;, # Optional. Image from which boot disk is to be created. If not specified, the default image for the runtime version will be used. Example: `projects/$PROJECT_ID/global/images/$IMAGE_NAME`.
141142
},
142143
&quot;cidrBlock&quot;: &quot;A String&quot;, # The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user&#x27;s provided network, or the provided network is peered with another network that is using that CIDR block.
143144
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the node was created.
@@ -191,6 +192,7 @@ <h3>Method Details</h3>
191192
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Required. The runtime version running in the Node.
192193
&quot;schedulingConfig&quot;: { # Sets the scheduling options for this node. # The scheduling options for this node.
193194
&quot;preemptible&quot;: True or False, # Defines whether the node is preemptible.
195+
&quot;provisioningModel&quot;: &quot;A String&quot;, # Optional. Defines the provisioning model for the node.
194196
&quot;reserved&quot;: True or False, # Whether the node is created under a reservation.
195197
&quot;spot&quot;: True or False, # Optional. Defines whether the node is Spot VM.
196198
&quot;terminationTimestamp&quot;: &quot;A String&quot;, # Output only. The time at which the node will be terminated.
@@ -320,6 +322,7 @@ <h3>Method Details</h3>
320322
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The name of the encryption key that is stored in Google Cloud KMS. For example: &quot;kmsKeyName&quot;: &quot;projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key The fully-qualifed key name may be returned for resource GET requests. For example: &quot;kmsKeyName&quot;: &quot;projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
321323
},
322324
&quot;enableConfidentialCompute&quot;: True or False, # Optional. Whether the boot disk will be created with confidential compute mode.
325+
&quot;sourceImage&quot;: &quot;A String&quot;, # Optional. Image from which boot disk is to be created. If not specified, the default image for the runtime version will be used. Example: `projects/$PROJECT_ID/global/images/$IMAGE_NAME`.
323326
},
324327
&quot;cidrBlock&quot;: &quot;A String&quot;, # The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user&#x27;s provided network, or the provided network is peered with another network that is using that CIDR block.
325328
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the node was created.
@@ -373,6 +376,7 @@ <h3>Method Details</h3>
373376
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Required. The runtime version running in the Node.
374377
&quot;schedulingConfig&quot;: { # Sets the scheduling options for this node. # The scheduling options for this node.
375378
&quot;preemptible&quot;: True or False, # Defines whether the node is preemptible.
379+
&quot;provisioningModel&quot;: &quot;A String&quot;, # Optional. Defines the provisioning model for the node.
376380
&quot;reserved&quot;: True or False, # Whether the node is created under a reservation.
377381
&quot;spot&quot;: True or False, # Optional. Defines whether the node is Spot VM.
378382
&quot;terminationTimestamp&quot;: &quot;A String&quot;, # Output only. The time at which the node will be terminated.
@@ -483,6 +487,7 @@ <h3>Method Details</h3>
483487
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The name of the encryption key that is stored in Google Cloud KMS. For example: &quot;kmsKeyName&quot;: &quot;projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key The fully-qualifed key name may be returned for resource GET requests. For example: &quot;kmsKeyName&quot;: &quot;projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
484488
},
485489
&quot;enableConfidentialCompute&quot;: True or False, # Optional. Whether the boot disk will be created with confidential compute mode.
490+
&quot;sourceImage&quot;: &quot;A String&quot;, # Optional. Image from which boot disk is to be created. If not specified, the default image for the runtime version will be used. Example: `projects/$PROJECT_ID/global/images/$IMAGE_NAME`.
486491
},
487492
&quot;cidrBlock&quot;: &quot;A String&quot;, # The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user&#x27;s provided network, or the provided network is peered with another network that is using that CIDR block.
488493
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the node was created.
@@ -536,6 +541,7 @@ <h3>Method Details</h3>
536541
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Required. The runtime version running in the Node.
537542
&quot;schedulingConfig&quot;: { # Sets the scheduling options for this node. # The scheduling options for this node.
538543
&quot;preemptible&quot;: True or False, # Defines whether the node is preemptible.
544+
&quot;provisioningModel&quot;: &quot;A String&quot;, # Optional. Defines the provisioning model for the node.
539545
&quot;reserved&quot;: True or False, # Whether the node is created under a reservation.
540546
&quot;spot&quot;: True or False, # Optional. Defines whether the node is Spot VM.
541547
&quot;terminationTimestamp&quot;: &quot;A String&quot;, # Output only. The time at which the node will be terminated.
@@ -613,6 +619,7 @@ <h3>Method Details</h3>
613619
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The name of the encryption key that is stored in Google Cloud KMS. For example: &quot;kmsKeyName&quot;: &quot;projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key The fully-qualifed key name may be returned for resource GET requests. For example: &quot;kmsKeyName&quot;: &quot;projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
614620
},
615621
&quot;enableConfidentialCompute&quot;: True or False, # Optional. Whether the boot disk will be created with confidential compute mode.
622+
&quot;sourceImage&quot;: &quot;A String&quot;, # Optional. Image from which boot disk is to be created. If not specified, the default image for the runtime version will be used. Example: `projects/$PROJECT_ID/global/images/$IMAGE_NAME`.
616623
},
617624
&quot;cidrBlock&quot;: &quot;A String&quot;, # The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user&#x27;s provided network, or the provided network is peered with another network that is using that CIDR block.
618625
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the node was created.
@@ -666,6 +673,7 @@ <h3>Method Details</h3>
666673
&quot;runtimeVersion&quot;: &quot;A String&quot;, # Required. The runtime version running in the Node.
667674
&quot;schedulingConfig&quot;: { # Sets the scheduling options for this node. # The scheduling options for this node.
668675
&quot;preemptible&quot;: True or False, # Defines whether the node is preemptible.
676+
&quot;provisioningModel&quot;: &quot;A String&quot;, # Optional. Defines the provisioning model for the node.
669677
&quot;reserved&quot;: True or False, # Whether the node is created under a reservation.
670678
&quot;spot&quot;: True or False, # Optional. Defines whether the node is Spot VM.
671679
&quot;terminationTimestamp&quot;: &quot;A String&quot;, # Output only. The time at which the node will be terminated.

0 commit comments

Comments
 (0)