Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b7c06b3

Browse files
committedMar 18, 2025
feat(compute): update the api
#### compute:beta The following keys were added: - resources.backendBuckets.methods.listUsable (Total Keys: 24) - resources.diskSettings.methods.get (Total Keys: 15) - resources.diskSettings.methods.patch (Total Keys: 21) - resources.regionDiskSettings.methods.get (Total Keys: 15) - resources.regionDiskSettings.methods.patch (Total Keys: 21) - resources.regionSnapshotSettings.methods.get (Total Keys: 15) - resources.regionSnapshotSettings.methods.patch (Total Keys: 21) - resources.regionSnapshots.methods.delete (Total Keys: 21) - resources.regionSnapshots.methods.get (Total Keys: 41) - resources.regionSnapshots.methods.insert (Total Keys: 18) - resources.regionSnapshots.methods.list (Total Keys: 28) - resources.regionSnapshots.methods.setIamPolicy (Total Keys: 20) - resources.regionSnapshots.methods.setLabels (Total Keys: 22) - resources.regionSnapshots.methods.testIamPermissions (Total Keys: 20) - resources.snapshots.methods.aggregatedList (Total Keys: 29) - schemas.BackendBucketListUsable (Total Keys: 16) - schemas.DiskSettings (Total Keys: 11) - schemas.ResourcePolicyGroupPlacementPolicy.properties.gpuTopology.type (Total Keys: 1) - schemas.ResourcePolicyWorkloadPolicy.properties.acceleratorTopology.type (Total Keys: 1) - schemas.ResourcePolicyWorkloadPolicy.properties.maxTopologyDistance.type (Total Keys: 1) - schemas.Snapshot.properties.region.type (Total Keys: 1) - schemas.SnapshotAggregatedList (Total Keys: 18) - schemas.SnapshotSettings.properties.accessLocation.$ref (Total Keys: 1) - schemas.SnapshotSettingsAccessLocation (Total Keys: 8) - schemas.SnapshotsScopedList (Total Keys: 11) #### compute:v1 The following keys were added: - schemas.ResourceStatus.properties.physicalHostTopology.$ref (Total Keys: 1) - schemas.ResourceStatusPhysicalHostTopology (Total Keys: 6) - schemas.Subnetwork.properties.ipCollection.type (Total Keys: 1) - schemas.Subnetwork.properties.ipv6GceEndpoint.type (Total Keys: 1)
1 parent ffaa442 commit b7c06b3

15 files changed

+3524
-9
lines changed
 

‎docs/dyn/compute_beta.backendBuckets.html

+112
Large diffs are not rendered by default.

‎docs/dyn/compute_beta.diskSettings.html

+258
Large diffs are not rendered by default.

‎docs/dyn/compute_beta.disks.html

+1
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,7 @@ <h3>Method Details</h3>
642642
],
643643
&quot;locationHint&quot;: &quot;A String&quot;, # An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.
644644
&quot;name&quot;: &quot;A String&quot;, # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
645+
&quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the snapshot resides. Only applicable for regional snapshots.
645646
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
646647
&quot;satisfiesPzs&quot;: True or False, # [Output Only] Reserved for future use.
647648
&quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.

‎docs/dyn/compute_beta.html

+20
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ <h2>Instance Methods</h2>
109109
</p>
110110
<p class="firstline">Returns the crossSiteNetworks Resource.</p>
111111

112+
<p class="toc_element">
113+
<code><a href="compute_beta.diskSettings.html">diskSettings()</a></code>
114+
</p>
115+
<p class="firstline">Returns the diskSettings Resource.</p>
116+
112117
<p class="toc_element">
113118
<code><a href="compute_beta.diskTypes.html">diskTypes()</a></code>
114119
</p>
@@ -359,6 +364,11 @@ <h2>Instance Methods</h2>
359364
</p>
360365
<p class="firstline">Returns the regionCommitments Resource.</p>
361366

367+
<p class="toc_element">
368+
<code><a href="compute_beta.regionDiskSettings.html">regionDiskSettings()</a></code>
369+
</p>
370+
<p class="firstline">Returns the regionDiskSettings Resource.</p>
371+
362372
<p class="toc_element">
363373
<code><a href="compute_beta.regionDiskTypes.html">regionDiskTypes()</a></code>
364374
</p>
@@ -439,6 +449,16 @@ <h2>Instance Methods</h2>
439449
</p>
440450
<p class="firstline">Returns the regionSecurityPolicies Resource.</p>
441451

452+
<p class="toc_element">
453+
<code><a href="compute_beta.regionSnapshotSettings.html">regionSnapshotSettings()</a></code>
454+
</p>
455+
<p class="firstline">Returns the regionSnapshotSettings Resource.</p>
456+
457+
<p class="toc_element">
458+
<code><a href="compute_beta.regionSnapshots.html">regionSnapshots()</a></code>
459+
</p>
460+
<p class="firstline">Returns the regionSnapshots Resource.</p>
461+
442462
<p class="toc_element">
443463
<code><a href="compute_beta.regionSslCertificates.html">regionSslCertificates()</a></code>
444464
</p>

‎docs/dyn/compute_beta.regionDiskSettings.html

+258
Large diffs are not rendered by default.

‎docs/dyn/compute_beta.regionDisks.html

+1
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ <h3>Method Details</h3>
443443
],
444444
&quot;locationHint&quot;: &quot;A String&quot;, # An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.
445445
&quot;name&quot;: &quot;A String&quot;, # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
446+
&quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the snapshot resides. Only applicable for regional snapshots.
446447
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
447448
&quot;satisfiesPzs&quot;: True or False, # [Output Only] Reserved for future use.
448449
&quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.

‎docs/dyn/compute_beta.regionSnapshotSettings.html

+274
Large diffs are not rendered by default.

‎docs/dyn/compute_beta.regionSnapshots.html

+975
Large diffs are not rendered by default.

‎docs/dyn/compute_beta.resourcePolicies.html

+15
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ <h3>Method Details</h3>
146146
&quot;groupPlacementPolicy&quot;: { # A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation # Resource policy for instances for placement configuration.
147147
&quot;availabilityDomainCount&quot;: 42, # The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
148148
&quot;collocation&quot;: &quot;A String&quot;, # Specifies network collocation
149+
&quot;gpuTopology&quot;: &quot;A String&quot;, # Specifies the shape of the GPU slice, in slice based GPU families eg. A4X.
149150
&quot;maxDistance&quot;: 42, # Specifies the number of max logical switches.
150151
&quot;sliceCount&quot;: 42, # Specifies the number of slices in a multislice workload.
151152
&quot;tpuTopology&quot;: &quot;A String&quot;, # Specifies the shape of the TPU slice
@@ -212,6 +213,8 @@ <h3>Method Details</h3>
212213
},
213214
&quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of resource policy creation.
214215
&quot;workloadPolicy&quot;: { # Represents the workload policy.
216+
&quot;acceleratorTopology&quot;: &quot;A String&quot;,
217+
&quot;maxTopologyDistance&quot;: &quot;A String&quot;,
215218
&quot;type&quot;: &quot;A String&quot;,
216219
},
217220
},
@@ -415,6 +418,7 @@ <h3>Method Details</h3>
415418
&quot;groupPlacementPolicy&quot;: { # A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation # Resource policy for instances for placement configuration.
416419
&quot;availabilityDomainCount&quot;: 42, # The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
417420
&quot;collocation&quot;: &quot;A String&quot;, # Specifies network collocation
421+
&quot;gpuTopology&quot;: &quot;A String&quot;, # Specifies the shape of the GPU slice, in slice based GPU families eg. A4X.
418422
&quot;maxDistance&quot;: 42, # Specifies the number of max logical switches.
419423
&quot;sliceCount&quot;: 42, # Specifies the number of slices in a multislice workload.
420424
&quot;tpuTopology&quot;: &quot;A String&quot;, # Specifies the shape of the TPU slice
@@ -481,6 +485,8 @@ <h3>Method Details</h3>
481485
},
482486
&quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of resource policy creation.
483487
&quot;workloadPolicy&quot;: { # Represents the workload policy.
488+
&quot;acceleratorTopology&quot;: &quot;A String&quot;,
489+
&quot;maxTopologyDistance&quot;: &quot;A String&quot;,
484490
&quot;type&quot;: &quot;A String&quot;,
485491
},
486492
}</pre>
@@ -554,6 +560,7 @@ <h3>Method Details</h3>
554560
&quot;groupPlacementPolicy&quot;: { # A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation # Resource policy for instances for placement configuration.
555561
&quot;availabilityDomainCount&quot;: 42, # The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
556562
&quot;collocation&quot;: &quot;A String&quot;, # Specifies network collocation
563+
&quot;gpuTopology&quot;: &quot;A String&quot;, # Specifies the shape of the GPU slice, in slice based GPU families eg. A4X.
557564
&quot;maxDistance&quot;: 42, # Specifies the number of max logical switches.
558565
&quot;sliceCount&quot;: 42, # Specifies the number of slices in a multislice workload.
559566
&quot;tpuTopology&quot;: &quot;A String&quot;, # Specifies the shape of the TPU slice
@@ -620,6 +627,8 @@ <h3>Method Details</h3>
620627
},
621628
&quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of resource policy creation.
622629
&quot;workloadPolicy&quot;: { # Represents the workload policy.
630+
&quot;acceleratorTopology&quot;: &quot;A String&quot;,
631+
&quot;maxTopologyDistance&quot;: &quot;A String&quot;,
623632
&quot;type&quot;: &quot;A String&quot;,
624633
},
625634
}
@@ -773,6 +782,7 @@ <h3>Method Details</h3>
773782
&quot;groupPlacementPolicy&quot;: { # A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation # Resource policy for instances for placement configuration.
774783
&quot;availabilityDomainCount&quot;: 42, # The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
775784
&quot;collocation&quot;: &quot;A String&quot;, # Specifies network collocation
785+
&quot;gpuTopology&quot;: &quot;A String&quot;, # Specifies the shape of the GPU slice, in slice based GPU families eg. A4X.
776786
&quot;maxDistance&quot;: 42, # Specifies the number of max logical switches.
777787
&quot;sliceCount&quot;: 42, # Specifies the number of slices in a multislice workload.
778788
&quot;tpuTopology&quot;: &quot;A String&quot;, # Specifies the shape of the TPU slice
@@ -839,6 +849,8 @@ <h3>Method Details</h3>
839849
},
840850
&quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of resource policy creation.
841851
&quot;workloadPolicy&quot;: { # Represents the workload policy.
852+
&quot;acceleratorTopology&quot;: &quot;A String&quot;,
853+
&quot;maxTopologyDistance&quot;: &quot;A String&quot;,
842854
&quot;type&quot;: &quot;A String&quot;,
843855
},
844856
},
@@ -892,6 +904,7 @@ <h3>Method Details</h3>
892904
&quot;groupPlacementPolicy&quot;: { # A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation # Resource policy for instances for placement configuration.
893905
&quot;availabilityDomainCount&quot;: 42, # The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
894906
&quot;collocation&quot;: &quot;A String&quot;, # Specifies network collocation
907+
&quot;gpuTopology&quot;: &quot;A String&quot;, # Specifies the shape of the GPU slice, in slice based GPU families eg. A4X.
895908
&quot;maxDistance&quot;: 42, # Specifies the number of max logical switches.
896909
&quot;sliceCount&quot;: 42, # Specifies the number of slices in a multislice workload.
897910
&quot;tpuTopology&quot;: &quot;A String&quot;, # Specifies the shape of the TPU slice
@@ -958,6 +971,8 @@ <h3>Method Details</h3>
958971
},
959972
&quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of resource policy creation.
960973
&quot;workloadPolicy&quot;: { # Represents the workload policy.
974+
&quot;acceleratorTopology&quot;: &quot;A String&quot;,
975+
&quot;maxTopologyDistance&quot;: &quot;A String&quot;,
961976
&quot;type&quot;: &quot;A String&quot;,
962977
},
963978
}

‎docs/dyn/compute_beta.snapshotSettings.html

+16
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,14 @@ <h3>Method Details</h3>
104104
An object of the form:
105105

106106
{
107+
&quot;accessLocation&quot;: { # (Regional snapshots use only)Policy of which location is allowed to access snapshot.
108+
&quot;locations&quot;: { # List of regions that can restore a regional snapshot from the current region
109+
&quot;a_key&quot;: { # A structure for specifying an allowed target region.
110+
&quot;region&quot;: &quot;A String&quot;, # Accessible region name
111+
},
112+
},
113+
&quot;policy&quot;: &quot;A String&quot;, # Policy of which location is allowed to access snapshot.
114+
},
107115
&quot;storageLocation&quot;: { # Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
108116
&quot;locations&quot;: { # When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.
109117
&quot;a_key&quot;: { # A structure for specifying storage locations.
@@ -125,6 +133,14 @@ <h3>Method Details</h3>
125133
The object takes the form of:
126134

127135
{
136+
&quot;accessLocation&quot;: { # (Regional snapshots use only)Policy of which location is allowed to access snapshot.
137+
&quot;locations&quot;: { # List of regions that can restore a regional snapshot from the current region
138+
&quot;a_key&quot;: { # A structure for specifying an allowed target region.
139+
&quot;region&quot;: &quot;A String&quot;, # Accessible region name
140+
},
141+
},
142+
&quot;policy&quot;: &quot;A String&quot;, # Policy of which location is allowed to access snapshot.
143+
},
128144
&quot;storageLocation&quot;: { # Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.
129145
&quot;locations&quot;: { # When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are Cloud Storage bucket locations. Only one location can be specified.
130146
&quot;a_key&quot;: { # A structure for specifying storage locations.

0 commit comments

Comments
 (0)
Please sign in to comment.