Skip to content

Commit d7ec468

Browse files
feat(compute): update the api
#### compute:alpha The following keys were added: - resources.backendBuckets.methods.aggregatedList (Total Keys: 29) - resources.disks.methods.updateKmskey (Total Keys: 20) - resources.firewallPolicies.methods.listAssociations.parameters.includeInheritedPolicies (Total Keys: 2) - resources.globalFolderOperations.methods.get (Total Keys: 15) - resources.globalFolderOperations.methods.list (Total Keys: 24) - resources.globalVmExtensionPolicies.methods.aggregatedList (Total Keys: 29) - resources.globalVmExtensionPolicies.methods.delete (Total Keys: 24) - resources.globalVmExtensionPolicies.methods.get (Total Keys: 15) - resources.globalVmExtensionPolicies.methods.insert (Total Keys: 14) - resources.globalVmExtensionPolicies.methods.list (Total Keys: 24) - resources.globalVmExtensionPolicies.methods.update (Total Keys: 17) - resources.instanceGroupManagers.methods.getAvailableAcceleratorTopologies (Total Keys: 17) - resources.regionDisks.methods.updateKmsKey (Total Keys: 20) - resources.regionNetworkPolicies.methods.addAssociation (Total Keys: 22) - resources.regionNetworkPolicies.methods.addTrafficClassificationRule (Total Keys: 22) - resources.regionNetworkPolicies.methods.aggregatedList (Total Keys: 29) - resources.regionNetworkPolicies.methods.delete (Total Keys: 21) - resources.regionNetworkPolicies.methods.get (Total Keys: 62) - resources.regionNetworkPolicies.methods.insert (Total Keys: 18) - resources.regionNetworkPolicies.methods.list (Total Keys: 28) - resources.regionNetworkPolicies.methods.patch (Total Keys: 47) - resources.regionNetworkPolicies.methods.removeAssociation (Total Keys: 23) - resources.regionNetworkPolicies.methods.removeTrafficClassificationRule (Total Keys: 24) - resources.regionSnapshots.methods.updateKmsKey (Total Keys: 21) - resources.snapshots.methods.updateKmsKey (Total Keys: 17) - resources.storagePools.methods.delete.parameters.storagePool.pattern (Total Keys: 1) - schemas.BackendBucketsScopedList (Total Keys: 11) - schemas.CapacityAdviceResponseRecommendationScores.properties.spotPreemption.deprecated (Total Keys: 1) - schemas.CapacityAdviceResponseRecommendationScores.properties.uptimeScore (Total Keys: 2) - schemas.FirewallPolicy.properties.policySource.type (Total Keys: 1) - schemas.GlobalVmExtensionPolicy (Total Keys: 69) - schemas.HaController.properties.backendServices (Total Keys: 2) - schemas.HaController.properties.networkingAutoConfiguration.$ref (Total Keys: 1) - schemas.HaControllerNetworkingAutoConfiguration (Total Keys: 8) - schemas.HaControllerStatus.properties.lastFailoverInfo.$ref (Total Keys: 1) - schemas.HaControllerStatusFailoverProgress.properties.failoverCompleteTimestamp (Total Keys: 2) - schemas.InstanceGroupManagersGetAvailableAcceleratorTopologiesResponse (Total Keys: 8) - schemas.InterconnectRemoteLocation.properties.maxLagSize400Gbps (Total Keys: 2) - schemas.NetworkPoliciesScopedList (Total Keys: 11) - schemas.NetworkPolicy (Total Keys: 87) - schemas.ResourceStatus.properties.reservationConsumptionInfo.$ref (Total Keys: 1) - schemas.ResourceStatusReservationConsumptionInfo (Total Keys: 5) - schemas.Scheduling.properties.preemptionNoticeDuration.$ref (Total Keys: 1) - schemas.ServiceAttachmentConnectedEndpoint.properties.endpointWithId.type (Total Keys: 1) - schemas.VmExtensionPoliciesScopedList (Total Keys: 11) - schemas.VmExtensionPolicy.properties.name.annotations.required (Total Keys: 1) - schemas.VmExtensionPolicyAggregatedListResponse (Total Keys: 18) The following keys were changed: - resources.firewallPolicies.methods.forceStartProgressiveRollout (Total Keys: 2) #### compute:beta The following keys were added: - resources.serviceAttachments.methods.get.parameters.showNatIps (Total Keys: 2) - resources.storagePools.methods.delete.parameters.storagePool.pattern (Total Keys: 1) - schemas.AllocationAggregateReservation.properties.hostCount (Total Keys: 2) - schemas.AllocationAggregateReservation.properties.inUseHostCount (Total Keys: 2) - schemas.AllocationAggregateReservation.properties.inUseInstanceCount (Total Keys: 2) - schemas.BgpRouteAsPath.properties.asns32 (Total Keys: 3) - schemas.FirewallPolicy.properties.policySource.type (Total Keys: 1) - schemas.FirewallPolicyRule.properties.targetForwardingRules (Total Keys: 2) - schemas.FirewallPolicyRule.properties.targetType.type (Total Keys: 1) - schemas.FutureReservation.properties.protectionTier.type (Total Keys: 1) - schemas.InstanceParams.properties.requestValidForDuration.$ref (Total Keys: 1) - schemas.InterconnectRemoteLocation.properties.maxLagSize400Gbps (Total Keys: 2) - schemas.NetworkProfile.properties.profileType.$ref (Total Keys: 1) - schemas.NetworkProfileProfileType (Total Keys: 6) - schemas.ReservationBlock.properties.inUseHostCount (Total Keys: 2) - schemas.ReservationSubBlock.properties.inUseHostCount (Total Keys: 2) - schemas.ServiceAttachmentConnectedEndpoint.properties.natIps (Total Keys: 2) - schemas.WireProperties.properties.bandwidthAllocation.type (Total Keys: 1) #### compute:v1 The following keys were added: - resources.addresses.methods.testIamPermissions (Total Keys: 20) - resources.globalAddresses.methods.testIamPermissions (Total Keys: 16) - resources.instanceGroups.methods.testIamPermissions (Total Keys: 20) - resources.instances.methods.addNetworkInterface (Total Keys: 21) - resources.instances.methods.deleteNetworkInterface (Total Keys: 23) - resources.regionInstanceGroups.methods.testIamPermissions (Total Keys: 20) - resources.serviceAttachments.methods.get.parameters.showNatIps (Total Keys: 2) - resources.storagePools.methods.delete.parameters.storagePool.pattern (Total Keys: 1) - resources.targetInstances.methods.testIamPermissions (Total Keys: 20) - resources.targetPools.methods.testIamPermissions (Total Keys: 20) - schemas.InstanceParams.properties.requestValidForDuration.$ref (Total Keys: 1) - schemas.NetworkInterface.properties.parentNicName.type (Total Keys: 1) - schemas.NetworkInterface.properties.vlan (Total Keys: 2) - schemas.NetworkProfile.properties.profileType.$ref (Total Keys: 1) - schemas.NetworkProfileProfileType (Total Keys: 6) - schemas.Router.properties.params.$ref (Total Keys: 1) - schemas.RouterParams (Total Keys: 4) - schemas.Scheduling.properties.skipGuestOsShutdown.type (Total Keys: 1) - schemas.ServiceAttachmentConnectedEndpoint.properties.natIps (Total Keys: 2) - schemas.VpnTunnel.properties.cipherSuite.$ref (Total Keys: 1) - schemas.VpnTunnelCipherSuite (Total Keys: 4) - schemas.VpnTunnelPhase1Algorithms (Total Keys: 10) - schemas.VpnTunnelPhase2Algorithms (Total Keys: 8)
1 parent b6465d0 commit d7ec468

File tree

79 files changed

+10005
-895
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+10005
-895
lines changed

docs/dyn/compute_alpha.advice.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,8 @@ <h3>Method Details</h3>
214214
{
215215
&quot;scores&quot;: { # The Scores message groups information about a shard of capacity.
216216
&quot;obtainability&quot;: 3.14, # The obtainability score indicates the likelihood of successfully obtaining (provisioning) the requested number of VMs. The score range is 0.0 through 1.0. Higher is better.
217-
&quot;spotPreemption&quot;: 3.14, # The preemption score indicates the likelihood that your Spot VMs is preempted. For more information about the preemption process, see Preemption of Spot VMs. The score range is 0.0 through 1.0. Higher is better.
217+
&quot;spotPreemption&quot;: 3.14, # [Deprecated] Use uptime_score field instead. The preemption score indicates the likelihood that your Spot VMs is preempted. For more information about the preemption process, see Preemption of Spot VMs. The score range is 0.0 through 1.0. Higher is better.
218+
&quot;uptimeScore&quot;: 3.14, # The uptime score indicates the availability of your Spot VMs. For more information about the preemption process, see Preemption of Spot VMs. The score range is 0.0 through 1.0. Higher is better.
218219
},
219220
&quot;shards&quot;: [
220221
{ # Shards represent blocks of uniform capacity in recommendations. Each shard is for a single zone, single instance selection, and a single machine shape. Each shard defines a size expressed as the number of VMs.

docs/dyn/compute_alpha.backendBuckets.html

Lines changed: 141 additions & 6 deletions
Large diffs are not rendered by default.

docs/dyn/compute_alpha.backendServices.html

Lines changed: 9 additions & 9 deletions
Large diffs are not rendered by default.

docs/dyn/compute_alpha.disks.html

Lines changed: 129 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/compute_alpha.firewallPolicies.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ <h2>Instance Methods</h2>
117117
<code><a href="#list">list(filter=None, maxResults=None, orderBy=None, pageToken=None, parentId=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
118118
<p class="firstline">Lists all the policies that have been configured for the specified folder or organization.</p>
119119
<p class="toc_element">
120-
<code><a href="#listAssociations">listAssociations(targetResource=None, x__xgafv=None)</a></code></p>
120+
<code><a href="#listAssociations">listAssociations(includeInheritedPolicies=None, targetResource=None, x__xgafv=None)</a></code></p>
121121
<p class="firstline">Lists associations of a specified target, i.e., organization or folder.</p>
122122
<p class="toc_element">
123123
<code><a href="#list_next">list_next()</a></code></p>
@@ -1201,6 +1201,7 @@ <h3>Method Details</h3>
12011201
},
12021202
],
12031203
&quot;parent&quot;: &quot;A String&quot;, # [Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies.
1204+
&quot;policySource&quot;: &quot;A String&quot;, # [Output Only] Source of this Firewall Policy. USER_DEFINED if created by a Cloud user, or SYSTEM if created by managed services like GKE.
12041205
&quot;policyType&quot;: &quot;A String&quot;, # The type of the firewall policy. This field can be either VPC_POLICY or RDMA_ROCE_POLICY. Note: if not specified then VPC_POLICY will be used.
12051206
&quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
12061207
&quot;ruleTupleCount&quot;: 42, # [Output Only] Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
@@ -1677,6 +1678,7 @@ <h3>Method Details</h3>
16771678
},
16781679
],
16791680
&quot;parent&quot;: &quot;A String&quot;, # [Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies.
1681+
&quot;policySource&quot;: &quot;A String&quot;, # [Output Only] Source of this Firewall Policy. USER_DEFINED if created by a Cloud user, or SYSTEM if created by managed services like GKE.
16801682
&quot;policyType&quot;: &quot;A String&quot;, # The type of the firewall policy. This field can be either VPC_POLICY or RDMA_ROCE_POLICY. Note: if not specified then VPC_POLICY will be used.
16811683
&quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
16821684
&quot;ruleTupleCount&quot;: 42, # [Output Only] Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
@@ -2014,6 +2016,7 @@ <h3>Method Details</h3>
20142016
},
20152017
],
20162018
&quot;parent&quot;: &quot;A String&quot;, # [Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies.
2019+
&quot;policySource&quot;: &quot;A String&quot;, # [Output Only] Source of this Firewall Policy. USER_DEFINED if created by a Cloud user, or SYSTEM if created by managed services like GKE.
20172020
&quot;policyType&quot;: &quot;A String&quot;, # The type of the firewall policy. This field can be either VPC_POLICY or RDMA_ROCE_POLICY. Note: if not specified then VPC_POLICY will be used.
20182021
&quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
20192022
&quot;ruleTupleCount&quot;: 42, # [Output Only] Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
@@ -2123,10 +2126,11 @@ <h3>Method Details</h3>
21232126
</div>
21242127

21252128
<div class="method">
2126-
<code class="details" id="listAssociations">listAssociations(targetResource=None, x__xgafv=None)</code>
2129+
<code class="details" id="listAssociations">listAssociations(includeInheritedPolicies=None, targetResource=None, x__xgafv=None)</code>
21272130
<pre>Lists associations of a specified target, i.e., organization or folder.
21282131

21292132
Args:
2133+
includeInheritedPolicies: boolean, If set to &quot;true&quot;, the response will contain a list of all associations for the containing folders and the containing organization of the target. The parameter has no effect if the target is an organization.
21302134
targetResource: string, The target resource to list associations. It is an organization, or a folder.
21312135
x__xgafv: string, V1 error format.
21322136
Allowed values
@@ -2402,6 +2406,7 @@ <h3>Method Details</h3>
24022406
},
24032407
],
24042408
&quot;parent&quot;: &quot;A String&quot;, # [Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies.
2409+
&quot;policySource&quot;: &quot;A String&quot;, # [Output Only] Source of this Firewall Policy. USER_DEFINED if created by a Cloud user, or SYSTEM if created by managed services like GKE.
24052410
&quot;policyType&quot;: &quot;A String&quot;, # The type of the firewall policy. This field can be either VPC_POLICY or RDMA_ROCE_POLICY. Note: if not specified then VPC_POLICY will be used.
24062411
&quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
24072412
&quot;ruleTupleCount&quot;: 42, # [Output Only] Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.

0 commit comments

Comments
 (0)