Skip to content

Commit

Permalink
feat(compute)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.

#### compute:alpha

The following keys were deleted:
- schemas.FirewallPolicyRule.properties.targetSecureLabels.description
- schemas.FirewallPolicyRule.properties.targetSecureLabels.items.type
- schemas.FirewallPolicyRule.properties.targetSecureLabels.type
- schemas.FirewallPolicyRuleMatcher.properties.srcSecureLabels.description
- schemas.FirewallPolicyRuleMatcher.properties.srcSecureLabels.items.type
- schemas.FirewallPolicyRuleMatcher.properties.srcSecureLabels.type
- schemas.Instance.properties.secureLabels.description
- schemas.Instance.properties.secureLabels.items.type
- schemas.Instance.properties.secureLabels.type

The following keys were added:
- resources.instances.methods.insert.parameters.secureTags.description
- resources.instances.methods.insert.parameters.secureTags.location
- resources.instances.methods.insert.parameters.secureTags.repeated
- resources.instances.methods.insert.parameters.secureTags.type
- resources.instances.methods.update.parameters.clearSecureTag.description
- resources.instances.methods.update.parameters.clearSecureTag.location
- resources.instances.methods.update.parameters.clearSecureTag.type
- resources.instances.methods.update.parameters.secureTags.description
- resources.instances.methods.update.parameters.secureTags.location
- resources.instances.methods.update.parameters.secureTags.repeated
- resources.instances.methods.update.parameters.secureTags.type
- schemas.BackendBucketCdnPolicy.properties.cacheKeyPolicy.$ref
- schemas.BackendBucketCdnPolicy.properties.cacheKeyPolicy.description
- schemas.BackendBucketCdnPolicyCacheKeyPolicy.description
- schemas.BackendBucketCdnPolicyCacheKeyPolicy.id
- schemas.BackendBucketCdnPolicyCacheKeyPolicy.properties.includeHttpHeaders.description
- schemas.BackendBucketCdnPolicyCacheKeyPolicy.properties.includeHttpHeaders.items.type
- schemas.BackendBucketCdnPolicyCacheKeyPolicy.properties.includeHttpHeaders.type
- schemas.BackendBucketCdnPolicyCacheKeyPolicy.properties.queryStringWhitelist.description
- schemas.BackendBucketCdnPolicyCacheKeyPolicy.properties.queryStringWhitelist.items.type
- schemas.BackendBucketCdnPolicyCacheKeyPolicy.properties.queryStringWhitelist.type
- schemas.BackendBucketCdnPolicyCacheKeyPolicy.type
- schemas.BulkInsertInstanceResource.properties.secureTags.description
- schemas.BulkInsertInstanceResource.properties.secureTags.items.type
- schemas.BulkInsertInstanceResource.properties.secureTags.type
- schemas.CacheKeyPolicy.properties.includeHttpHeaders.description
- schemas.CacheKeyPolicy.properties.includeHttpHeaders.items.type
- schemas.CacheKeyPolicy.properties.includeHttpHeaders.type
- schemas.CacheKeyPolicy.properties.includeNamedCookies.description
- schemas.CacheKeyPolicy.properties.includeNamedCookies.items.type
- schemas.CacheKeyPolicy.properties.includeNamedCookies.type
- schemas.InterconnectAttachment.properties.candidateIpv6Subnets.description
- schemas.InterconnectAttachment.properties.candidateIpv6Subnets.items.type
- schemas.InterconnectAttachment.properties.candidateIpv6Subnets.type
- schemas.InterconnectAttachment.properties.cloudRouterIpv6Address.description
- schemas.InterconnectAttachment.properties.cloudRouterIpv6Address.type
- schemas.InterconnectAttachment.properties.cloudRouterIpv6InterfaceId.description
- schemas.InterconnectAttachment.properties.cloudRouterIpv6InterfaceId.type
- schemas.InterconnectAttachment.properties.customerRouterIpv6Address.description
- schemas.InterconnectAttachment.properties.customerRouterIpv6Address.type
- schemas.InterconnectAttachment.properties.customerRouterIpv6InterfaceId.description
- schemas.InterconnectAttachment.properties.customerRouterIpv6InterfaceId.type
- schemas.InterconnectAttachment.properties.stackType.description
- schemas.InterconnectAttachment.properties.stackType.enum
- schemas.InterconnectAttachment.properties.stackType.enumDescriptions
- schemas.InterconnectAttachment.properties.stackType.type
- schemas.Route.properties.ilbRouteBehaviorOnUnhealthy.description
- schemas.Route.properties.ilbRouteBehaviorOnUnhealthy.enum
- schemas.Route.properties.ilbRouteBehaviorOnUnhealthy.enumDescriptions
- schemas.Route.properties.ilbRouteBehaviorOnUnhealthy.type
- schemas.RouterBgpPeer.properties.enableIpv6.description
- schemas.RouterBgpPeer.properties.enableIpv6.type
- schemas.RouterBgpPeer.properties.ipv6NexthopAddress.description
- schemas.RouterBgpPeer.properties.ipv6NexthopAddress.type
- schemas.RouterBgpPeer.properties.peerIpv6NexthopAddress.description
- schemas.RouterBgpPeer.properties.peerIpv6NexthopAddress.type
- schemas.RouterNat.properties.enableDynamicPortAllocation.description
- schemas.RouterNat.properties.enableDynamicPortAllocation.type
- schemas.RouterNat.properties.maxPortsPerVm.description
- schemas.RouterNat.properties.maxPortsPerVm.format
- schemas.RouterNat.properties.maxPortsPerVm.type
- schemas.RouterStatusBgpPeerStatus.properties.enableIpv6.description
- schemas.RouterStatusBgpPeerStatus.properties.enableIpv6.type
- schemas.RouterStatusBgpPeerStatus.properties.ipv6NexthopAddress.description
- schemas.RouterStatusBgpPeerStatus.properties.ipv6NexthopAddress.type
- schemas.RouterStatusBgpPeerStatus.properties.peerIpv6NexthopAddress.description
- schemas.RouterStatusBgpPeerStatus.properties.peerIpv6NexthopAddress.type

The following keys were changed:
- resources.regionInstantSnapshots.methods.export.description
- resources.zoneInstantSnapshots.methods.export.description
- schemas.AllocationSpecificSKUAllocationReservedInstanceProperties.properties.maintenanceInterval.description
- schemas.Autoscaler.properties.autoscalingPolicy.description
- schemas.BackendService.properties.protocol.enum
- schemas.BackendService.properties.protocol.enumDescriptions
- schemas.ForwardingRule.properties.IPProtocol.enum
- schemas.ForwardingRule.properties.IPProtocol.enumDescriptions
- schemas.InterconnectAttachment.properties.ipsecInternalAddresses.description
- schemas.NetworkEndpointGroup.properties.serverlessDeployment.description
- schemas.NetworkEndpointGroupServerlessDeployment.description
- schemas.NetworkEndpointGroupServerlessDeployment.properties.platform.description
- schemas.NetworkEndpointGroupServerlessDeployment.properties.resource.description
- schemas.NetworkEndpointGroupServerlessDeployment.properties.urlMask.description
- schemas.NetworkEndpointGroupServerlessDeployment.properties.version.description
- schemas.Quota.properties.metric.enum
- schemas.Quota.properties.metric.enumDescriptions
- schemas.RouterNatRule.properties.match.description
- schemas.Scheduling.properties.maintenanceFreezeDurationHours.description
- schemas.Scheduling.properties.maintenanceInterval.description
- schemas.SecurityPolicyRuleHttpHeaderAction.properties.requestHeadersToAdds.description
- schemas.Subnetwork.properties.state.description
- schemas.Subsetting.description

#### compute:beta

The following keys were deleted:
- schemas.FirewallPolicyRule.properties.targetSecureLabels.description
- schemas.FirewallPolicyRule.properties.targetSecureLabels.items.type
- schemas.FirewallPolicyRule.properties.targetSecureLabels.type
- schemas.FirewallPolicyRuleMatcher.properties.srcSecureLabels.description
- schemas.FirewallPolicyRuleMatcher.properties.srcSecureLabels.items.type
- schemas.FirewallPolicyRuleMatcher.properties.srcSecureLabels.type

The following keys were added:
- resources.serviceAttachments.methods.patch.description
- resources.serviceAttachments.methods.patch.httpMethod
- resources.serviceAttachments.methods.patch.id
- resources.serviceAttachments.methods.patch.parameterOrder
- resources.serviceAttachments.methods.patch.parameters.project.description
- resources.serviceAttachments.methods.patch.parameters.project.location
- resources.serviceAttachments.methods.patch.parameters.project.pattern
- resources.serviceAttachments.methods.patch.parameters.project.required
- resources.serviceAttachments.methods.patch.parameters.project.type
- resources.serviceAttachments.methods.patch.parameters.region.description
- resources.serviceAttachments.methods.patch.parameters.region.location
- resources.serviceAttachments.methods.patch.parameters.region.required
- resources.serviceAttachments.methods.patch.parameters.region.type
- resources.serviceAttachments.methods.patch.parameters.requestId.description
- resources.serviceAttachments.methods.patch.parameters.requestId.location
- resources.serviceAttachments.methods.patch.parameters.requestId.type
- resources.serviceAttachments.methods.patch.parameters.serviceAttachment.description
- resources.serviceAttachments.methods.patch.parameters.serviceAttachment.location
- resources.serviceAttachments.methods.patch.parameters.serviceAttachment.required
- resources.serviceAttachments.methods.patch.parameters.serviceAttachment.type
- resources.serviceAttachments.methods.patch.path
- resources.serviceAttachments.methods.patch.request.$ref
- resources.serviceAttachments.methods.patch.response.$ref
- resources.serviceAttachments.methods.patch.scopes
- schemas.AllocationSpecificSKUAllocationReservedInstanceProperties.properties.maintenanceFreezeDurationHours.description
- schemas.AllocationSpecificSKUAllocationReservedInstanceProperties.properties.maintenanceFreezeDurationHours.format
- schemas.AllocationSpecificSKUAllocationReservedInstanceProperties.properties.maintenanceFreezeDurationHours.type
- schemas.AllocationSpecificSKUAllocationReservedInstanceProperties.properties.maintenanceInterval.description
- schemas.AllocationSpecificSKUAllocationReservedInstanceProperties.properties.maintenanceInterval.enum
- schemas.AllocationSpecificSKUAllocationReservedInstanceProperties.properties.maintenanceInterval.enumDescriptions
- schemas.AllocationSpecificSKUAllocationReservedInstanceProperties.properties.maintenanceInterval.type
- schemas.BackendBucketCdnPolicy.properties.cacheKeyPolicy.$ref
- schemas.BackendBucketCdnPolicy.properties.cacheKeyPolicy.description
- schemas.BackendBucketCdnPolicyCacheKeyPolicy.description
- schemas.BackendBucketCdnPolicyCacheKeyPolicy.id
- schemas.BackendBucketCdnPolicyCacheKeyPolicy.properties.includeHttpHeaders.description
- schemas.BackendBucketCdnPolicyCacheKeyPolicy.properties.includeHttpHeaders.items.type
- schemas.BackendBucketCdnPolicyCacheKeyPolicy.properties.includeHttpHeaders.type
- schemas.BackendBucketCdnPolicyCacheKeyPolicy.properties.queryStringWhitelist.description
- schemas.BackendBucketCdnPolicyCacheKeyPolicy.properties.queryStringWhitelist.items.type
- schemas.BackendBucketCdnPolicyCacheKeyPolicy.properties.queryStringWhitelist.type
- schemas.BackendBucketCdnPolicyCacheKeyPolicy.type
- schemas.CacheKeyPolicy.properties.includeHttpHeaders.description
- schemas.CacheKeyPolicy.properties.includeHttpHeaders.items.type
- schemas.CacheKeyPolicy.properties.includeHttpHeaders.type
- schemas.CacheKeyPolicy.properties.includeNamedCookies.description
- schemas.CacheKeyPolicy.properties.includeNamedCookies.items.type
- schemas.CacheKeyPolicy.properties.includeNamedCookies.type
- schemas.Scheduling.properties.maintenanceFreezeDurationHours.description
- schemas.Scheduling.properties.maintenanceFreezeDurationHours.format
- schemas.Scheduling.properties.maintenanceFreezeDurationHours.type
- schemas.Scheduling.properties.maintenanceInterval.description
- schemas.Scheduling.properties.maintenanceInterval.enum
- schemas.Scheduling.properties.maintenanceInterval.enumDescriptions
- schemas.Scheduling.properties.maintenanceInterval.type
- schemas.ServiceAttachment.properties.consumerAcceptLists.description
- schemas.ServiceAttachment.properties.consumerAcceptLists.items.$ref
- schemas.ServiceAttachment.properties.consumerAcceptLists.type
- schemas.ServiceAttachment.properties.consumerRejectLists.description
- schemas.ServiceAttachment.properties.consumerRejectLists.items.type
- schemas.ServiceAttachment.properties.consumerRejectLists.type
- schemas.ServiceAttachment.properties.fingerprint.description
- schemas.ServiceAttachment.properties.fingerprint.format
- schemas.ServiceAttachment.properties.fingerprint.type
- schemas.ServiceAttachmentConsumerProjectLimit.id
- schemas.ServiceAttachmentConsumerProjectLimit.properties.connectionLimit.description
- schemas.ServiceAttachmentConsumerProjectLimit.properties.connectionLimit.format
- schemas.ServiceAttachmentConsumerProjectLimit.properties.connectionLimit.type
- schemas.ServiceAttachmentConsumerProjectLimit.properties.projectIdOrNum.description
- schemas.ServiceAttachmentConsumerProjectLimit.properties.projectIdOrNum.type
- schemas.ServiceAttachmentConsumerProjectLimit.type

The following keys were changed:
- schemas.Autoscaler.properties.autoscalingPolicy.description
- schemas.InterconnectAttachment.properties.ipsecInternalAddresses.description
- schemas.Quota.properties.metric.enum
- schemas.Quota.properties.metric.enumDescriptions
- schemas.ServiceAttachment.properties.connectionPreference.enum
- schemas.ServiceAttachment.properties.connectionPreference.enumDescriptions
- schemas.Subnetwork.properties.state.description
- schemas.Subsetting.description

#### compute:v1

The following keys were deleted:
- schemas.FirewallPolicyRule.properties.targetSecureLabels.description
- schemas.FirewallPolicyRule.properties.targetSecureLabels.items.type
- schemas.FirewallPolicyRule.properties.targetSecureLabels.type
- schemas.FirewallPolicyRuleMatcher.properties.srcSecureLabels.description
- schemas.FirewallPolicyRuleMatcher.properties.srcSecureLabels.items.type
- schemas.FirewallPolicyRuleMatcher.properties.srcSecureLabels.type
- schemas.Instance.properties.postKeyRevocationActionType.description
- schemas.Instance.properties.postKeyRevocationActionType.enum
- schemas.Instance.properties.postKeyRevocationActionType.enumDescriptions
- schemas.Instance.properties.postKeyRevocationActionType.type
- schemas.InstanceProperties.properties.postKeyRevocationActionType.description
- schemas.InstanceProperties.properties.postKeyRevocationActionType.enum
- schemas.InstanceProperties.properties.postKeyRevocationActionType.enumDescriptions
- schemas.InstanceProperties.properties.postKeyRevocationActionType.type

The following keys were changed:
- schemas.Autoscaler.properties.autoscalingPolicy.description
- schemas.InterconnectAttachment.properties.ipsecInternalAddresses.description
- schemas.Quota.properties.metric.enum
- schemas.Quota.properties.metric.enumDescriptions
- schemas.Subnetwork.properties.state.description
  • Loading branch information
yoshi-automation authored and bcoe committed May 3, 2021
1 parent 196be22 commit 4731515
Show file tree
Hide file tree
Showing 6 changed files with 807 additions and 201 deletions.
212 changes: 171 additions & 41 deletions discovery/compute-alpha.json

Large diffs are not rendered by default.

182 changes: 162 additions & 20 deletions discovery/compute-beta.json
Expand Up @@ -29,7 +29,7 @@
"description": "Creates and runs virtual machines on Google Cloud Platform.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/compute/docs/reference/latest/",
"etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/q0ayh9DnjS_HQ2URCq9euZb3b7Y\"",
"etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/OBbPSt4nx2XCXJ7QcTCU0NHp-eI\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/compute_engine-16.png",
"x32": "https://www.google.com/images/icons/product/compute_engine-32.png"
Expand Down Expand Up @@ -25257,6 +25257,53 @@
"https://www.googleapis.com/auth/compute.readonly"
]
},
"patch": {
"description": "Patches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.",
"httpMethod": "PATCH",
"id": "compute.serviceAttachments.patch",
"parameterOrder": [
"project",
"region",
"serviceAttachment"
],
"parameters": {
"project": {
"description": "Project ID for this request.",
"location": "path",
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"required": true,
"type": "string"
},
"region": {
"description": "The region scoping this request and should conform to RFC1035.",
"location": "path",
"required": true,
"type": "string"
},
"requestId": {
"description": "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.\n\nFor 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.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
"location": "query",
"type": "string"
},
"serviceAttachment": {
"description": "The resource id of the ServiceAttachment to patch. It should conform to RFC1035 resource name or be a string form on an unsigned long number.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}",
"request": {
"$ref": "ServiceAttachment"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute"
]
},
"setIamPolicy": {
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
"httpMethod": "POST",
Expand Down Expand Up @@ -31177,7 +31224,7 @@
}
}
},
"revision": "20210327",
"revision": "20210415",
"rootUrl": "https://compute.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -32203,6 +32250,21 @@
"description": "Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.",
"type": "string"
},
"maintenanceFreezeDurationHours": {
"description": "Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance.",
"format": "int32",
"type": "integer"
},
"maintenanceInterval": {
"description": "For more information about maintenance intervals, see Setting maintenance intervals.",
"enum": [
"PERIODIC"
],
"enumDescriptions": [
""
],
"type": "string"
},
"minCpuPlatform": {
"description": "Minimum cpu platform the reservation.",
"type": "string"
Expand Down Expand Up @@ -32505,7 +32567,7 @@
"properties": {
"autoscalingPolicy": {
"$ref": "AutoscalingPolicy",
"description": "The configuration parameters for the autoscaling algorithm. You can define one or more of the policies for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization.\n\nIf none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%."
"description": "The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization.\n\nIf none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%."
},
"creationTimestamp": {
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
Expand Down Expand Up @@ -33328,6 +33390,10 @@
},
"type": "array"
},
"cacheKeyPolicy": {
"$ref": "BackendBucketCdnPolicyCacheKeyPolicy",
"description": "The CacheKeyPolicy for this CdnPolicy."
},
"cacheMode": {
"description": "Specifies the cache setting for all responses from this backend. The possible values are:\n\nUSE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server.\n\nFORCE_CACHE_ALL Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content.\n\nCACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.",
"enum": [
Expand Down Expand Up @@ -33405,6 +33471,27 @@
},
"type": "object"
},
"BackendBucketCdnPolicyCacheKeyPolicy": {
"description": "Message containing what to include in the cache key for a request for Cloud CDN.",
"id": "BackendBucketCdnPolicyCacheKeyPolicy",
"properties": {
"includeHttpHeaders": {
"description": "Allows HTTP request headers (by name) to be used in the cache key.",
"items": {
"type": "string"
},
"type": "array"
},
"queryStringWhitelist": {
"description": "Names of query string parameters to include in cache keys. All other parameters will be excluded. '&' and '=' will be percent encoded and not treated as delimiters.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"BackendBucketCdnPolicyNegativeCachingPolicy": {
"description": "Specify CDN TTLs for response error codes.",
"id": "BackendBucketCdnPolicyNegativeCachingPolicy",
Expand Down Expand Up @@ -34692,6 +34779,20 @@
"description": "If true, requests to different hosts will be cached separately.",
"type": "boolean"
},
"includeHttpHeaders": {
"description": "Allows HTTP request headers (by name) to be used in the cache key.",
"items": {
"type": "string"
},
"type": "array"
},
"includeNamedCookies": {
"description": "Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in the cache key Cloud CDN generates.",
"items": {
"type": "string"
},
"type": "array"
},
"includeProtocol": {
"description": "If true, http and https requests will be cached separately.",
"type": "boolean"
Expand Down Expand Up @@ -37616,13 +37717,6 @@
},
"type": "array"
},
"targetSecureLabels": {
"description": "A list of secure labels that controls which instances the firewall rule applies to. If targetSecureLabel are specified, then the firewall rule applies only to instances in the VPC network that have one of those secure labels. targetSecureLabel may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureLabel are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label values allowed is 256.",
"items": {
"type": "string"
},
"type": "array"
},
"targetServiceAccounts": {
"description": "A list of service accounts indicating the sets of instances that are applied with this rule.",
"items": {
Expand Down Expand Up @@ -37657,13 +37751,6 @@
"type": "string"
},
"type": "array"
},
"srcSecureLabels": {
"description": "List of firewall label values, which should be matched at the source of the traffic. Maximum number of source label values allowed is 256.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
Expand Down Expand Up @@ -43848,7 +43935,7 @@
"type": "string"
},
"ipsecInternalAddresses": {
"description": "URL of addresses that have been reserved for the interconnect attachment, Used only for interconnect attachment that has the encryption option as IPSEC. The addresses must be RFC 1918 IP address ranges. When creating HA VPN gateway over the interconnect attachment, if the attachment is configured to use an RFC 1918 IP address, then the VPN gateway?s IP address will be allocated from the IP address range specified here. For example, if the HA VPN gateway?s interface 0 is paired to this interconnect attachment, then an RFC 1918 IP address for the VPN gateway interface 0 will be allocated from the IP address specified for this interconnect attachment. If this field is not specified for interconnect attachment that has encryption option as IPSEC, later on when creating HA VPN gateway on this interconnect attachment, the HA VPN gateway's IP address will be allocated from regional external IP address pool.\nNot currently available in all Interconnect locations.",
"description": "URL of addresses that have been reserved for the interconnect attachment, Used only for interconnect attachment that has the encryption option as IPSEC. The addresses must be RFC 1918 IP address ranges. When creating HA VPN gateway over the interconnect attachment, if the attachment is configured to use an RFC 1918 IP address, then the VPN gateway's IP address will be allocated from the IP address range specified here. For example, if the HA VPN gateway's interface 0 is paired to this interconnect attachment, then an RFC 1918 IP address for the VPN gateway interface 0 will be allocated from the IP address specified for this interconnect attachment. If this field is not specified for interconnect attachment that has encryption option as IPSEC, later on when creating HA VPN gateway on this interconnect attachment, the HA VPN gateway's IP address will be allocated from regional external IP address pool.\nNot currently available in all Interconnect locations.",
"items": {
"type": "string"
},
Expand Down Expand Up @@ -51561,6 +51648,7 @@
"COMMITTED_LICENSES",
"COMMITTED_LOCAL_SSD_TOTAL_GB",
"COMMITTED_MEMORY_OPTIMIZED_CPUS",
"COMMITTED_N2A_CPUS",
"COMMITTED_N2D_CPUS",
"COMMITTED_N2_CPUS",
"COMMITTED_NVIDIA_A100_GPUS",
Expand Down Expand Up @@ -51600,6 +51688,7 @@
"M1_CPUS",
"M2_CPUS",
"MACHINE_IMAGES",
"N2A_CPUS",
"N2D_CPUS",
"N2_CPUS",
"NETWORKS",
Expand Down Expand Up @@ -51774,6 +51863,8 @@
"",
"",
"",
"",
"",
""
],
"type": "string"
Expand Down Expand Up @@ -55855,6 +55946,21 @@
"description": "An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API.",
"type": "string"
},
"maintenanceFreezeDurationHours": {
"description": "Specifies the number of hours after VM instance creation where the VM won't be scheduled for maintenance.",
"format": "int32",
"type": "integer"
},
"maintenanceInterval": {
"description": "For more information about maintenance intervals, see Setting maintenance intervals.",
"enum": [
"PERIODIC"
],
"enumDescriptions": [
""
],
"type": "string"
},
"minNodeCpus": {
"description": "The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.",
"format": "int32",
Expand Down Expand Up @@ -56474,21 +56580,37 @@
"description": "The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules.",
"enum": [
"ACCEPT_AUTOMATIC",
"ACCEPT_MANUAL",
"CONNECTION_PREFERENCE_UNSPECIFIED"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
},
"consumerAcceptLists": {
"description": "Projects that are allowed to connect to this service attachment.",
"items": {
"$ref": "ServiceAttachmentConsumerProjectLimit"
},
"type": "array"
},
"consumerForwardingRules": {
"description": "[Output Only] An array of forwarding rules for all the consumers connected to this service attachment.",
"items": {
"$ref": "ServiceAttachmentConsumerForwardingRule"
},
"type": "array"
},
"consumerRejectLists": {
"description": "Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.",
"items": {
"type": "string"
},
"type": "array"
},
"creationTimestamp": {
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
"type": "string"
Expand All @@ -56501,6 +56623,11 @@
"description": "If true, enable the proxy protocol which is for supplying client TCP/IP address data in TCP connections that traverse proxies on their way to destination servers.",
"type": "boolean"
},
"fingerprint": {
"description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a ServiceAttachment. An up-to-date fingerprint must be provided in order to patch/update the ServiceAttachment; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the ServiceAttachment.",
"format": "byte",
"type": "string"
},
"id": {
"description": "[Output Only] The unique identifier for the resource type. The server generates this identifier.",
"format": "uint64",
Expand Down Expand Up @@ -56747,6 +56874,21 @@
},
"type": "object"
},
"ServiceAttachmentConsumerProjectLimit": {
"id": "ServiceAttachmentConsumerProjectLimit",
"properties": {
"connectionLimit": {
"description": "The value of the limit to set.",
"format": "uint32",
"type": "integer"
},
"projectIdOrNum": {
"description": "The project id or number for the project to set the limit for.",
"type": "string"
}
},
"type": "object"
},
"ServiceAttachmentList": {
"id": "ServiceAttachmentList",
"properties": {
Expand Down Expand Up @@ -58453,7 +58595,7 @@
"type": "string"
},
"state": {
"description": "[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY CREATING: Subnetwork is provisioning DELETING: Subnetwork is being deleted UPDATING: Subnetwork is being updated",
"description": "[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY",
"enum": [
"DRAINING",
"READY"
Expand Down Expand Up @@ -58900,7 +59042,7 @@
"type": "object"
},
"Subsetting": {
"description": "Subsetting options to make L4 ILB support any number of backend instances",
"description": "Subsetting configuration for this BackendService. Currently this is applicable only for Internal TCP/UDP load balancing and Internal HTTP(S) load balancing.",
"id": "Subsetting",
"properties": {
"policy": {
Expand Down

0 comments on commit 4731515

Please sign in to comment.