Skip to content

Commit dad1b28

Browse files
feat(compute): update the api
#### compute:alpha The following keys were deleted: - resources.disks.methods.updateKmskey (Total Keys: 20) - schemas.ForwardingRule.properties.trafficDisabled.type (Total Keys: 1) The following keys were added: - resources.disks.methods.updateKmsKey (Total Keys: 20) - schemas.Address.properties.ipCollection.type (Total Keys: 1) - schemas.NetworkInterface.properties.enableVpcScopedDns.type (Total Keys: 1) - schemas.NetworkPolicyTrafficClassificationRuleAction.properties.dscpMode.type (Total Keys: 1) - schemas.NetworkPolicyTrafficClassificationRuleAction.properties.dscpValue (Total Keys: 2) - schemas.NetworkPolicyTrafficClassificationRuleAction.properties.trafficClass.type (Total Keys: 1) - schemas.PublicDelegatedPrefix.properties.enableEnhancedIpv4Allocation.type (Total Keys: 1) - schemas.PublicDelegatedPrefixPublicDelegatedSubPrefix.properties.enableEnhancedIpv4Allocation.type (Total Keys: 1) #### compute:beta The following keys were added: - resources.regionHealthSources.methods.aggregatedList (Total Keys: 29) - resources.regionHealthSources.methods.delete (Total Keys: 21) - resources.regionHealthSources.methods.get (Total Keys: 19) - resources.regionHealthSources.methods.insert (Total Keys: 18) - resources.regionHealthSources.methods.list (Total Keys: 28) - resources.regionHealthSources.methods.patch (Total Keys: 21) - resources.regionHealthSources.methods.testIamPermissions (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.reservationSubBlocks.methods.reportFaulty (Total Keys: 22) - schemas.Address.properties.ipCollection.type (Total Keys: 1) - schemas.HealthSource (Total Keys: 61) - schemas.Image.properties.params.$ref (Total Keys: 1) - schemas.ImageParams (Total Keys: 4) - schemas.Interconnect.properties.subzone.type (Total Keys: 1) - schemas.NetworkPoliciesScopedList (Total Keys: 11) - schemas.NetworkPolicy (Total Keys: 88) - schemas.PublicDelegatedPrefix.properties.enableEnhancedIpv4Allocation.type (Total Keys: 1) - schemas.PublicDelegatedPrefixPublicDelegatedSubPrefix.properties.enableEnhancedIpv4Allocation.type (Total Keys: 1) - schemas.ReservationSubBlocksReportFaultyRequest (Total Keys: 9) - schemas.Snapshot.properties.params.$ref (Total Keys: 1) - schemas.SnapshotParams (Total Keys: 4) #### compute:v1 The following keys were added: - resources.backendServices.methods.getEffectiveSecurityPolicies (Total Keys: 14) - resources.organizationSecurityPolicies.methods.addAssociation (Total Keys: 16) - resources.organizationSecurityPolicies.methods.addRule (Total Keys: 14) - resources.organizationSecurityPolicies.methods.copyRules (Total Keys: 15) - resources.organizationSecurityPolicies.methods.delete (Total Keys: 13) - resources.organizationSecurityPolicies.methods.get (Total Keys: 38) - resources.organizationSecurityPolicies.methods.insert (Total Keys: 11) - resources.organizationSecurityPolicies.methods.list (Total Keys: 50) - resources.organizationSecurityPolicies.methods.move (Total Keys: 15) - resources.organizationSecurityPolicies.methods.patch (Total Keys: 31) - resources.organizationSecurityPolicies.methods.removeAssociation (Total Keys: 15) - resources.organizationSecurityPolicies.methods.removeRule (Total Keys: 16) - resources.previewFeatures.methods.get (Total Keys: 15) - resources.previewFeatures.methods.list (Total Keys: 24) - resources.previewFeatures.methods.update (Total Keys: 18) - resources.reservationSubBlocks.methods.reportFaulty (Total Keys: 22) - schemas.Date (Total Keys: 8) - schemas.Image.properties.params.$ref (Total Keys: 1) - schemas.ImageParams (Total Keys: 4) - schemas.Interconnect.properties.subzone.type (Total Keys: 1) - schemas.OrganizationSecurityPoliciesListAssociationsResponse (Total Keys: 6) - schemas.PreviewFeature (Total Keys: 44) - schemas.ReservationSubBlocksReportFaultyRequest (Total Keys: 9) - schemas.SecurityPolicy.properties.associations (Total Keys: 2) - schemas.SecurityPolicy.properties.shortName (Total Keys: 2) - schemas.SecurityPolicyAssociation (Total Keys: 12) - schemas.Snapshot.properties.params.$ref (Total Keys: 1) - schemas.SnapshotParams (Total Keys: 4)
1 parent e7c1a30 commit dad1b28

File tree

49 files changed

+14170
-3954
lines changed

Some content is hidden

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

49 files changed

+14170
-3954
lines changed

docs/dyn/compute_alpha.addresses.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ <h3>Method Details</h3>
140140
&quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
141141
&quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this field when you create the resource.
142142
&quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
143+
&quot;ipCollection&quot;: &quot;A String&quot;, # Reference to the source of external IPv4 addresses, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must support enhanced IPv4 allocations. Use one of the following formats to specify a PDP when reserving an external IPv4 address using BYOIP. - Full resource URL, as in https://www.googleapis.com/compute/v1/projects/projectId/regions/region /publicDelegatedPrefixes/pdp-name - Partial URL, as in - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name - regions/region/publicDelegatedPrefixes/pdp-name
143144
&quot;ipVersion&quot;: &quot;A String&quot;, # The IP version that will be used by this address. Valid options are IPV4 or IPV6.
144145
&quot;ipv6EndpointType&quot;: &quot;A String&quot;, # The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation.
145146
&quot;kind&quot;: &quot;compute#address&quot;, # [Output Only] Type of the resource. Always compute#address for addresses.
@@ -360,6 +361,7 @@ <h3>Method Details</h3>
360361
&quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
361362
&quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this field when you create the resource.
362363
&quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
364+
&quot;ipCollection&quot;: &quot;A String&quot;, # Reference to the source of external IPv4 addresses, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must support enhanced IPv4 allocations. Use one of the following formats to specify a PDP when reserving an external IPv4 address using BYOIP. - Full resource URL, as in https://www.googleapis.com/compute/v1/projects/projectId/regions/region /publicDelegatedPrefixes/pdp-name - Partial URL, as in - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name - regions/region/publicDelegatedPrefixes/pdp-name
363365
&quot;ipVersion&quot;: &quot;A String&quot;, # The IP version that will be used by this address. Valid options are IPV4 or IPV6.
364366
&quot;ipv6EndpointType&quot;: &quot;A String&quot;, # The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation.
365367
&quot;kind&quot;: &quot;compute#address&quot;, # [Output Only] Type of the resource. Always compute#address for addresses.
@@ -399,6 +401,7 @@ <h3>Method Details</h3>
399401
&quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
400402
&quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this field when you create the resource.
401403
&quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
404+
&quot;ipCollection&quot;: &quot;A String&quot;, # Reference to the source of external IPv4 addresses, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must support enhanced IPv4 allocations. Use one of the following formats to specify a PDP when reserving an external IPv4 address using BYOIP. - Full resource URL, as in https://www.googleapis.com/compute/v1/projects/projectId/regions/region /publicDelegatedPrefixes/pdp-name - Partial URL, as in - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name - regions/region/publicDelegatedPrefixes/pdp-name
402405
&quot;ipVersion&quot;: &quot;A String&quot;, # The IP version that will be used by this address. Valid options are IPV4 or IPV6.
403406
&quot;ipv6EndpointType&quot;: &quot;A String&quot;, # The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation.
404407
&quot;kind&quot;: &quot;compute#address&quot;, # [Output Only] Type of the resource. Always compute#address for addresses.
@@ -568,6 +571,7 @@ <h3>Method Details</h3>
568571
&quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
569572
&quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this field when you create the resource.
570573
&quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
574+
&quot;ipCollection&quot;: &quot;A String&quot;, # Reference to the source of external IPv4 addresses, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must support enhanced IPv4 allocations. Use one of the following formats to specify a PDP when reserving an external IPv4 address using BYOIP. - Full resource URL, as in https://www.googleapis.com/compute/v1/projects/projectId/regions/region /publicDelegatedPrefixes/pdp-name - Partial URL, as in - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name - regions/region/publicDelegatedPrefixes/pdp-name
571575
&quot;ipVersion&quot;: &quot;A String&quot;, # The IP version that will be used by this address. Valid options are IPV4 or IPV6.
572576
&quot;ipv6EndpointType&quot;: &quot;A String&quot;, # The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation.
573577
&quot;kind&quot;: &quot;compute#address&quot;, # [Output Only] Type of the resource. Always compute#address for addresses.

docs/dyn/compute_alpha.disks.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ <h2>Instance Methods</h2>
144144
<code><a href="#update">update(project, zone, disk, body=None, paths=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
145145
<p class="firstline">Updates the specified disk with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license.</p>
146146
<p class="toc_element">
147-
<code><a href="#updateKmskey">updateKmskey(project, zone, disk, requestId=None, x__xgafv=None)</a></code></p>
147+
<code><a href="#updateKmsKey">updateKmsKey(project, zone, disk, requestId=None, x__xgafv=None)</a></code></p>
148148
<p class="firstline">Rotates the customer-managed encryption key to the latest version for the specified persistent disk.</p>
149149
<p class="toc_element">
150150
<code><a href="#waitForReplicationCatchUp">waitForReplicationCatchUp(project, zone, disk, body=None, requestId=None, x__xgafv=None)</a></code></p>
@@ -788,7 +788,7 @@ <h3>Method Details</h3>
788788
body: object, The request body.
789789
The object takes the form of:
790790

791-
{ # Represents a Persistent Disk Snapshot resource. You can use snapshots to back up data on a regular interval. For more information, read Creating persistent disk snapshots. LINT.IfChange
791+
{ # Represents a Persistent Disk Snapshot resource. You can use snapshots to back up data on a regular interval. For more information, read Creating persistent disk snapshots.
792792
&quot;architecture&quot;: &quot;A String&quot;, # [Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64.
793793
&quot;autoCreated&quot;: True or False, # [Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.
794794
&quot;chainName&quot;: &quot;A String&quot;, # Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.
@@ -2998,7 +2998,7 @@ <h3>Method Details</h3>
29982998
</div>
29992999

30003000
<div class="method">
3001-
<code class="details" id="updateKmskey">updateKmskey(project, zone, disk, requestId=None, x__xgafv=None)</code>
3001+
<code class="details" id="updateKmsKey">updateKmsKey(project, zone, disk, requestId=None, x__xgafv=None)</code>
30023002
<pre>Rotates the customer-managed encryption key to the latest version for the specified persistent disk.
30033003

30043004
Args:

docs/dyn/compute_alpha.forwardingRules.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ <h3>Method Details</h3>
199199
],
200200
&quot;subnetwork&quot;: &quot;A String&quot;, # This field identifies the subnetwork that the load balanced IP should belong to for this forwarding rule, used with internal load balancers and external passthrough Network Load Balancers with IPv6. If the network specified is in auto subnet mode, this field is optional. However, a subnetwork must be specified if the network is in custom subnet mode or when creating external forwarding rule with IPv6.
201201
&quot;target&quot;: &quot;A String&quot;, # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. - For load balancers, see the &quot;Target&quot; column in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). - For Private Service Connect forwarding rules that forward traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs. - For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment. The target is not mutable once set as a service attachment.
202-
&quot;trafficDisabled&quot;: True or False, # [PSC for VPC-hosted services only] Determines if clients are allowed to access the producer service via this PSC endpoint.
203202
},
204203
],
205204
&quot;warning&quot;: { # Informational warning which replaces the list of forwarding rules when the list is empty.
@@ -456,7 +455,6 @@ <h3>Method Details</h3>
456455
],
457456
&quot;subnetwork&quot;: &quot;A String&quot;, # This field identifies the subnetwork that the load balanced IP should belong to for this forwarding rule, used with internal load balancers and external passthrough Network Load Balancers with IPv6. If the network specified is in auto subnet mode, this field is optional. However, a subnetwork must be specified if the network is in custom subnet mode or when creating external forwarding rule with IPv6.
458457
&quot;target&quot;: &quot;A String&quot;, # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. - For load balancers, see the &quot;Target&quot; column in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). - For Private Service Connect forwarding rules that forward traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs. - For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment. The target is not mutable once set as a service attachment.
459-
&quot;trafficDisabled&quot;: True or False, # [PSC for VPC-hosted services only] Determines if clients are allowed to access the producer service via this PSC endpoint.
460458
}</pre>
461459
</div>
462460

@@ -532,7 +530,6 @@ <h3>Method Details</h3>
532530
],
533531
&quot;subnetwork&quot;: &quot;A String&quot;, # This field identifies the subnetwork that the load balanced IP should belong to for this forwarding rule, used with internal load balancers and external passthrough Network Load Balancers with IPv6. If the network specified is in auto subnet mode, this field is optional. However, a subnetwork must be specified if the network is in custom subnet mode or when creating external forwarding rule with IPv6.
534532
&quot;target&quot;: &quot;A String&quot;, # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. - For load balancers, see the &quot;Target&quot; column in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). - For Private Service Connect forwarding rules that forward traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs. - For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment. The target is not mutable once set as a service attachment.
535-
&quot;trafficDisabled&quot;: True or False, # [PSC for VPC-hosted services only] Determines if clients are allowed to access the producer service via this PSC endpoint.
536533
}
537534

538535
requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
@@ -738,7 +735,6 @@ <h3>Method Details</h3>
738735
],
739736
&quot;subnetwork&quot;: &quot;A String&quot;, # This field identifies the subnetwork that the load balanced IP should belong to for this forwarding rule, used with internal load balancers and external passthrough Network Load Balancers with IPv6. If the network specified is in auto subnet mode, this field is optional. However, a subnetwork must be specified if the network is in custom subnet mode or when creating external forwarding rule with IPv6.
740737
&quot;target&quot;: &quot;A String&quot;, # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. - For load balancers, see the &quot;Target&quot; column in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). - For Private Service Connect forwarding rules that forward traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs. - For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment. The target is not mutable once set as a service attachment.
741-
&quot;trafficDisabled&quot;: True or False, # [PSC for VPC-hosted services only] Determines if clients are allowed to access the producer service via this PSC endpoint.
742738
},
743739
],
744740
&quot;kind&quot;: &quot;compute#forwardingRuleList&quot;, # Type of resource.
@@ -844,7 +840,6 @@ <h3>Method Details</h3>
844840
],
845841
&quot;subnetwork&quot;: &quot;A String&quot;, # This field identifies the subnetwork that the load balanced IP should belong to for this forwarding rule, used with internal load balancers and external passthrough Network Load Balancers with IPv6. If the network specified is in auto subnet mode, this field is optional. However, a subnetwork must be specified if the network is in custom subnet mode or when creating external forwarding rule with IPv6.
846842
&quot;target&quot;: &quot;A String&quot;, # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. - For load balancers, see the &quot;Target&quot; column in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). - For Private Service Connect forwarding rules that forward traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs. - For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment. The target is not mutable once set as a service attachment.
847-
&quot;trafficDisabled&quot;: True or False, # [PSC for VPC-hosted services only] Determines if clients are allowed to access the producer service via this PSC endpoint.
848843
}
849844

850845
requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).

0 commit comments

Comments
 (0)