proto_docs/google/cloud/compute/v1/compute.rb in google-cloud-compute-v1-1.8.0 vs proto_docs/google/cloud/compute/v1/compute.rb in google-cloud-compute-v1-1.9.0
- old
+ new
@@ -1257,10 +1257,37 @@
class AggregatedListMachineTypesRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for NetworkAttachments.AggregatedList. See the method description for details.
+ # @!attribute [rw] filter
+ # @return [::String]
+ # A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
+ # @!attribute [rw] include_all_scopes
+ # @return [::Boolean]
+ # Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
+ # @!attribute [rw] max_results
+ # @return [::Integer]
+ # The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+ # @!attribute [rw] order_by
+ # @return [::String]
+ # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ # @!attribute [rw] page_token
+ # @return [::String]
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+ # @!attribute [rw] project
+ # @return [::String]
+ # Project ID for this request.
+ # @!attribute [rw] return_partial_success
+ # @return [::Boolean]
+ # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
+ class AggregatedListNetworkAttachmentsRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# A request message for NetworkEdgeSecurityServices.AggregatedList. See the method description for details.
# @!attribute [rw] filter
# @return [::String]
# A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
# @!attribute [rw] include_all_scopes
@@ -1797,10 +1824,37 @@
class AggregatedListTargetPoolsRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for TargetTcpProxies.AggregatedList. See the method description for details.
+ # @!attribute [rw] filter
+ # @return [::String]
+ # A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
+ # @!attribute [rw] include_all_scopes
+ # @return [::Boolean]
+ # Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
+ # @!attribute [rw] max_results
+ # @return [::Integer]
+ # The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+ # @!attribute [rw] order_by
+ # @return [::String]
+ # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ # @!attribute [rw] page_token
+ # @return [::String]
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+ # @!attribute [rw] project
+ # @return [::String]
+ # Name of the project scoping this request.
+ # @!attribute [rw] return_partial_success
+ # @return [::Boolean]
+ # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
+ class AggregatedListTargetTcpProxiesRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# A request message for TargetVpnGateways.AggregatedList. See the method description for details.
# @!attribute [rw] filter
# @return [::String]
# A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
# @!attribute [rw] include_all_scopes
@@ -2212,11 +2266,11 @@
# @!attribute [rw] disk_size_gb
# @return [::Integer]
# Specifies the size of the disk in base-2 GB. The size must be at least 10 GB. If you specify a sourceImage, which is required for boot disks, the default size is the size of the sourceImage. If you do not specify a sourceImage, the default disk size is 500 GB.
# @!attribute [rw] disk_type
# @return [::String]
- # Specifies the disk type to use to create the instance. If not specified, the default is pd-standard, specified using the full URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/pd-standard For a full list of acceptable values, see Persistent disk types. If you define this field, you can provide either the full or partial URL. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/diskType - projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType Note that for InstanceTemplate, this is the name of the disk type, not URL.
+ # Specifies the disk type to use to create the instance. If not specified, the default is pd-standard, specified using the full URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/pd-standard For a full list of acceptable values, see Persistent disk types. If you specify this field when creating a VM, you can provide either the full or partial URL. For example, the following values are valid: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/diskType - projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType If you specify this field when creating or updating an instance template or all-instances configuration, specify the type of the disk, not the URL. For example: pd-standard.
# @!attribute [rw] labels
# @return [::Google::Protobuf::Map{::String => ::String}]
# Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.
# @!attribute [rw] licenses
# @return [::Array<::String>]
@@ -2237,11 +2291,11 @@
# @!attribute [rw] source_image
# @return [::String]
# The source image to create this disk. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set.
# @!attribute [rw] source_image_encryption_key
# @return [::Google::Cloud::Compute::V1::CustomerEncryptionKey]
- # The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. Instance templates do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys.
+ # The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. InstanceTemplate and InstancePropertiesPatch do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys.
# @!attribute [rw] source_snapshot
# @return [::String]
# The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set.
# @!attribute [rw] source_snapshot_encryption_key
# @return [::Google::Cloud::Compute::V1::CustomerEncryptionKey]
@@ -2774,11 +2828,11 @@
# @return [::String]
# Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected.
# Check the BalancingMode enum for the list of possible values.
# @!attribute [rw] capacity_scaler
# @return [::Float]
- # A multiplier applied to the backend's target capacity of its balancing mode. The default value is 1, which means the group serves up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available capacity. The valid ranges are 0.0 and [0.1,1.0]. You cannot configure a setting larger than 0 and smaller than 0.1. You cannot configure a setting of 0 when there is only one backend attached to the backend service.
+ # A multiplier applied to the backend's target capacity of its balancing mode. The default value is 1, which means the group serves up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available capacity. The valid ranges are 0.0 and [0.1,1.0]. You cannot configure a setting larger than 0 and smaller than 0.1. You cannot configure a setting of 0 when there is only one backend attached to the backend service. Not available with backends that don't support using a balancingMode. This includes backends such as global internet NEGs, regional serverless NEGs, and PSC NEGs.
# @!attribute [rw] description
# @return [::String]
# An optional description of this resource. Provide this property when you create the resource.
# @!attribute [rw] failover
# @return [::Boolean]
@@ -4353,11 +4407,11 @@
# @!attribute [rw] allow_methods
# @return [::Array<::String>]
# Specifies the content for the Access-Control-Allow-Methods header.
# @!attribute [rw] allow_origin_regexes
# @return [::Array<::String>]
- # Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
+ # Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
# @!attribute [rw] allow_origins
# @return [::Array<::String>]
# Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
# @!attribute [rw] disabled
# @return [::Boolean]
@@ -4968,10 +5022,28 @@
class DeleteMachineImageRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for NetworkAttachments.Delete. See the method description for details.
+ # @!attribute [rw] network_attachment
+ # @return [::String]
+ # Name of the NetworkAttachment resource to delete.
+ # @!attribute [rw] project
+ # @return [::String]
+ # Project ID for this request.
+ # @!attribute [rw] region
+ # @return [::String]
+ # Name of the region of this request.
+ # @!attribute [rw] request_id
+ # @return [::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). end_interface: MixerMutationRequestBuilder
+ class DeleteNetworkAttachmentRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# A request message for NetworkEdgeSecurityServices.Delete. See the method description for details.
# @!attribute [rw] network_edge_security_service
# @return [::String]
# Name of the network edge security service to delete.
# @!attribute [rw] project
@@ -6600,11 +6672,11 @@
# @!attribute [rw] metadatas
# @return [::Google::Protobuf::Map{::String => ::String}]
# Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than \\{"instanceLimit": "100/request"}, should be returned as, \\{"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
# @!attribute [rw] reason
# @return [::String]
- # The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match /[A-Z0-9_]+/.
+ # The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
class ErrorInfo
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
# @!attribute [rw] key
@@ -7011,11 +7083,11 @@
# @!attribute [rw] kind
# @return [::String]
# [Output only] Type of the resource. Always compute#firewallPolicyfor firewall policies
# @!attribute [rw] name
# @return [::String]
- # Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by GCP which uniquely identifies the Organization Firewall Policy.
+ # Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by Google Cloud which uniquely identifies the Organization Firewall Policy.
# @!attribute [rw] parent
# @return [::String]
# [Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies.
# @!attribute [rw] region
# @return [::String]
@@ -7203,18 +7275,18 @@
end
# Represents a Forwarding Rule resource. Forwarding rule resources in Google Cloud can be either regional or global in scope: * [Global](https://cloud.google.com/compute/docs/reference/rest/v1/globalForwardingRules) * [Regional](https://cloud.google.com/compute/docs/reference/rest/v1/forwardingRules) A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud Platform load balancer. Forwarding rules can also reference target instances and Cloud VPN Classic gateways (targetVpnGateway). For more information, read Forwarding rule concepts and Using protocol forwarding.
# @!attribute [rw] I_p_address
# @return [::String]
- # IP address for which this forwarding rule accepts traffic. When a client sends traffic to this IP address, the forwarding rule directs the traffic to the referenced target or backendService. While creating a forwarding rule, specifying an IPAddress is required under the following circumstances: - When the target is set to targetGrpcProxy and validateForProxyless is set to true, the IPAddress should be set to 0.0.0.0. - When the target is a Private Service Connect Google APIs bundle, you must specify an IPAddress. Otherwise, you can optionally specify an IP address that references an existing static (reserved) IP address resource. When omitted, Google Cloud assigns an ephemeral IP address. Use one of the following formats to specify an IP address while creating a forwarding rule: * IP address number, as in `100.1.2.3` * Full resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region /addresses/address-name * Partial URL or by name, as in: - projects/project_id/regions/region/addresses/address-name - regions/region/addresses/address-name - global/addresses/address-name - address-name The forwarding rule's target or backendService, and in most cases, also the loadBalancingScheme, determine the type of IP address that you can use. For detailed information, see [IP address specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). When reading an IPAddress, the API always returns the IP address number.
+ # IP address for which this forwarding rule accepts traffic. When a client sends traffic to this IP address, the forwarding rule directs the traffic to the referenced target or backendService. While creating a forwarding rule, specifying an IPAddress is required under the following circumstances: - When the target is set to targetGrpcProxy and validateForProxyless is set to true, the IPAddress should be set to 0.0.0.0. - When the target is a Private Service Connect Google APIs bundle, you must specify an IPAddress. Otherwise, you can optionally specify an IP address that references an existing static (reserved) IP address resource. When omitted, Google Cloud assigns an ephemeral IP address. Use one of the following formats to specify an IP address while creating a forwarding rule: * IP address number, as in `100.1.2.3` * IPv6 address range, as in `2600:1234::/96` * Full resource URL, as in https://www.googleapis.com/compute/v1/projects/ project_id/regions/region/addresses/address-name * Partial URL or by name, as in: - projects/project_id/regions/region/addresses/address-name - regions/region/addresses/address-name - global/addresses/address-name - address-name The forwarding rule's target or backendService, and in most cases, also the loadBalancingScheme, determine the type of IP address that you can use. For detailed information, see [IP address specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). When reading an IPAddress, the API always returns the IP address number.
# @!attribute [rw] I_p_protocol
# @return [::String]
# The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_DEFAULT. The valid IP protocols are different for different load balancing products as described in [Load balancing features](https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends).
# Check the IPProtocolEnum enum for the list of possible values.
# @!attribute [rw] all_ports
# @return [::Boolean]
- # This field is used along with the backend_service field for Internal TCP/UDP Load Balancing or Network Load Balancing, or with the target field for internal and external TargetInstance. You can only use one of ports and port_range, or allPorts. The three are mutually exclusive. For TCP, UDP and SCTP traffic, packets addressed to any ports will be forwarded to the target or backendService.
+ # This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal and external protocol forwarding. Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive.
# @!attribute [rw] allow_global_access
# @return [::Boolean]
# This field is used along with the backend_service field for internal load balancing or with the target field for internal TargetInstance. If the field is set to TRUE, clients can access ILB from all regions. Otherwise only allows access from clients in the same region as the internal load balancer.
# @!attribute [rw] backend_service
# @return [::String]
@@ -7267,14 +7339,14 @@
# @!attribute [rw] no_automate_dns_zone
# @return [::Boolean]
# This is used in PSC consumer ForwardingRule to control whether it should try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this field.
# @!attribute [rw] port_range
# @return [::String]
- # This field can be used only if: - Load balancing scheme is one of EXTERNAL, INTERNAL_SELF_MANAGED or INTERNAL_MANAGED - IPProtocol is one of TCP, UDP, or SCTP. Packets addressed to ports in the specified range will be forwarded to target or backend_service. You can only use one of ports, port_range, or allPorts. The three are mutually exclusive. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint ports. Some types of forwarding target have constraints on the acceptable ports. For more information, see [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#port_specifications). @pattern: \\d+(?:-\\d+)?
+ # This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By backend service-based network load balancers, target pool-based network load balancers, internal proxy load balancers, external proxy load balancers, Traffic Director, external protocol forwarding, and Classic VPN. Some products have restrictions on what ports can be used. See port specifications for details. Only packets addressed to ports in the specified range will be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive. For external forwarding rules, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and cannot have overlapping portRanges. For internal forwarding rules within the same VPC network, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and cannot have overlapping portRanges. @pattern: \\d+(?:-\\d+)?
# @!attribute [rw] ports
# @return [::Array<::String>]
- # The ports field is only supported when the forwarding rule references a backend_service directly. Only packets addressed to the [specified list of ports]((https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#port_specifications)) are forwarded to backends. You can only use one of ports and port_range, or allPorts. The three are mutually exclusive. You can specify a list of up to five ports, which can be non-contiguous. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint ports. @pattern: \\d+(?:-\\d+)?
+ # This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal protocol forwarding. You can specify a list of up to five ports by number, separated by commas. The ports can be contiguous or discontiguous. Only packets addressed to these ports will be forwarded to the backends configured with this forwarding rule. For external forwarding rules, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and cannot share any values defined in ports. For internal forwarding rules within the same VPC network, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and cannot share any values defined in ports. The ports, port_range, and allPorts fields are mutually exclusive. @pattern: \\d+(?:-\\d+)?
# @!attribute [rw] psc_connection_id
# @return [::Integer]
# [Output Only] The PSC connection id of the PSC Forwarding Rule.
# @!attribute [rw] psc_connection_status
# @return [::String]
@@ -8065,10 +8137,28 @@
class GetIamPolicyMachineImageRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for NetworkAttachments.GetIamPolicy. See the method description for details.
+ # @!attribute [rw] options_requested_policy_version
+ # @return [::Integer]
+ # Requested IAM Policy version.
+ # @!attribute [rw] project
+ # @return [::String]
+ # Project ID for this request.
+ # @!attribute [rw] region
+ # @return [::String]
+ # The name of the region for this request.
+ # @!attribute [rw] resource
+ # @return [::String]
+ # Name or id of the resource for this request.
+ class GetIamPolicyNetworkAttachmentRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# A request message for NetworkFirewallPolicies.GetIamPolicy. See the method description for details.
# @!attribute [rw] options_requested_policy_version
# @return [::Integer]
# Requested IAM Policy version.
# @!attribute [rw] project
@@ -8461,10 +8551,25 @@
class GetNatMappingInfoRoutersRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for NetworkAttachments.Get. See the method description for details.
+ # @!attribute [rw] network_attachment
+ # @return [::String]
+ # Name of the NetworkAttachment resource to return.
+ # @!attribute [rw] project
+ # @return [::String]
+ # Project ID for this request.
+ # @!attribute [rw] region
+ # @return [::String]
+ # Name of the region of this request.
+ class GetNetworkAttachmentRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# A request message for NetworkEdgeSecurityServices.Get. See the method description for details.
# @!attribute [rw] network_edge_security_service
# @return [::String]
# Name of the network edge security service to get.
# @!attribute [rw] project
@@ -9839,14 +9944,14 @@
# @!attribute [rw] fingerprint
# @return [::String]
# 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 HealthCheckService. An up-to-date fingerprint must be provided in order to patch/update the HealthCheckService; Otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the HealthCheckService.
# @!attribute [rw] health_checks
# @return [::Array<::String>]
- # A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NEGs.
+ # A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.
# @!attribute [rw] health_status_aggregation_policy
# @return [::String]
- # Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. .
+ # Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService.
# Check the HealthStatusAggregationPolicy enum for the list of possible values.
# @!attribute [rw] id
# @return [::Integer]
# [Output Only] The unique identifier for the resource. This identifier is defined by the server.
# @!attribute [rw] kind
@@ -9855,11 +9960,11 @@
# @!attribute [rw] name
# @return [::String]
# Name of the resource. 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.
# @!attribute [rw] network_endpoint_groups
# @return [::Array<::String>]
- # A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService.
+ # A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.
# @!attribute [rw] notification_endpoints
# @return [::Array<::String>]
# A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.
# @!attribute [rw] region
# @return [::String]
@@ -9869,11 +9974,11 @@
# [Output Only] Server-defined URL for the resource.
class HealthCheckService
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
- # Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. .
+ # Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService.
module HealthStatusAggregationPolicy
# A value indicating that the enum field is not set.
UNDEFINED_HEALTH_STATUS_AGGREGATION_POLICY = 0
# If any backend's health check reports UNHEALTHY, then UNHEALTHY is the HealthState of the entire health check service. If all backend's are healthy, the HealthState of the health check service is HEALTHY.
@@ -10173,11 +10278,11 @@
# @!attribute [rw] range_match
# @return [::Google::Cloud::Compute::V1::Int64RangeMatch]
# The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.
# @!attribute [rw] regex_match
# @return [::String]
- # The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. regexMatch only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED.
+ # The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
# @!attribute [rw] suffix_match
# @return [::String]
# The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
class HttpHeaderMatch
include ::Google::Protobuf::MessageExts
@@ -10209,11 +10314,11 @@
# @!attribute [rw] present_match
# @return [::Boolean]
# Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
# @!attribute [rw] regex_match
# @return [::String]
- # The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. regexMatch only applies when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
+ # The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
class HttpQueryParameterMatch
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -10353,11 +10458,11 @@
# @!attribute [rw] query_parameter_matches
# @return [::Array<::Google::Cloud::Compute::V1::HttpQueryParameterMatch>]
# Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.
# @!attribute [rw] regex_match
# @return [::String]
- # For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. regexMatch only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED.
+ # For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
class HttpRouteRuleMatch
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -10951,10 +11056,28 @@
class InsertMachineImageRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for NetworkAttachments.Insert. See the method description for details.
+ # @!attribute [rw] network_attachment_resource
+ # @return [::Google::Cloud::Compute::V1::NetworkAttachment]
+ # The body resource for this request
+ # @!attribute [rw] project
+ # @return [::String]
+ # Project ID for this request.
+ # @!attribute [rw] region
+ # @return [::String]
+ # Name of the region of this request.
+ # @!attribute [rw] request_id
+ # @return [::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). end_interface: MixerMutationRequestBuilder
+ class InsertNetworkAttachmentRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# A request message for NetworkEdgeSecurityServices.Insert. See the method description for details.
# @!attribute [rw] network_edge_security_service_resource
# @return [::Google::Cloud::Compute::V1::NetworkEdgeSecurityService]
# The body resource for this request
# @!attribute [rw] project
@@ -13782,19 +13905,51 @@
# Diagnostics information about interconnect, contains detailed and current technical information about Google's side of the connection.
# @!attribute [rw] arp_caches
# @return [::Array<::Google::Cloud::Compute::V1::InterconnectDiagnosticsARPEntry>]
# A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
+ # @!attribute [rw] bundle_aggregation_type
+ # @return [::String]
+ # The aggregation type of the bundle interface.
+ # Check the BundleAggregationType enum for the list of possible values.
+ # @!attribute [rw] bundle_operational_status
+ # @return [::String]
+ # The operational status of the bundle interface.
+ # Check the BundleOperationalStatus enum for the list of possible values.
# @!attribute [rw] links
# @return [::Array<::Google::Cloud::Compute::V1::InterconnectDiagnosticsLinkStatus>]
# A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.
# @!attribute [rw] mac_address
# @return [::String]
# The MAC address of the Interconnect's bundle interface.
class InterconnectDiagnostics
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
+
+ # The aggregation type of the bundle interface.
+ module BundleAggregationType
+ # A value indicating that the enum field is not set.
+ UNDEFINED_BUNDLE_AGGREGATION_TYPE = 0
+
+ # LACP is enabled.
+ BUNDLE_AGGREGATION_TYPE_LACP = 27758925
+
+ # LACP is disabled.
+ BUNDLE_AGGREGATION_TYPE_STATIC = 50678873
+ end
+
+ # The operational status of the bundle interface.
+ module BundleOperationalStatus
+ # A value indicating that the enum field is not set.
+ UNDEFINED_BUNDLE_OPERATIONAL_STATUS = 0
+
+ # If bundleAggregationType is LACP: LACP is not established and/or all links in the bundle have DOWN operational status. If bundleAggregationType is STATIC: one or more links in the bundle has DOWN operational status.
+ BUNDLE_OPERATIONAL_STATUS_DOWN = 453842693
+
+ # If bundleAggregationType is LACP: LACP is established and at least one link in the bundle has UP operational status. If bundleAggregationType is STATIC: all links in the bundle (typically just one) have UP operational status.
+ BUNDLE_OPERATIONAL_STATUS_UP = 161366462
+ end
end
# Describing the ARP neighbor entries seen on this link
# @!attribute [rw] ip_address
# @return [::String]
@@ -13876,19 +14031,35 @@
# @!attribute [rw] google_demarc
# @return [::String]
# The Demarc address assigned by Google and provided in the LoA.
# @!attribute [rw] lacp_status
# @return [::Google::Cloud::Compute::V1::InterconnectDiagnosticsLinkLACPStatus]
+ # @!attribute [rw] operational_status
+ # @return [::String]
+ # The operational status of the link.
+ # Check the OperationalStatus enum for the list of possible values.
# @!attribute [rw] receiving_optical_power
# @return [::Google::Cloud::Compute::V1::InterconnectDiagnosticsLinkOpticalPower]
# An InterconnectDiagnostics.LinkOpticalPower object, describing the current value and status of the received light level.
# @!attribute [rw] transmitting_optical_power
# @return [::Google::Cloud::Compute::V1::InterconnectDiagnosticsLinkOpticalPower]
# An InterconnectDiagnostics.LinkOpticalPower object, describing the current value and status of the transmitted light level.
class InterconnectDiagnosticsLinkStatus
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
+
+ # The operational status of the link.
+ module OperationalStatus
+ # A value indicating that the enum field is not set.
+ UNDEFINED_OPERATIONAL_STATUS = 0
+
+ # The interface is unable to communicate with the remote end.
+ LINK_OPERATIONAL_STATUS_DOWN = 281653885
+
+ # The interface has low level communication with the remote end.
+ LINK_OPERATIONAL_STATUS_UP = 305879862
+ end
end
# Response to the list request, and contains a list of interconnects.
# @!attribute [rw] id
# @return [::String]
@@ -15306,10 +15477,37 @@
class ListManagedInstancesRegionInstanceGroupManagersRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for NetworkAttachments.List. See the method description for details.
+ # @!attribute [rw] filter
+ # @return [::String]
+ # A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
+ # @!attribute [rw] max_results
+ # @return [::Integer]
+ # The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+ # @!attribute [rw] order_by
+ # @return [::String]
+ # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ # @!attribute [rw] page_token
+ # @return [::String]
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+ # @!attribute [rw] project
+ # @return [::String]
+ # Project ID for this request.
+ # @!attribute [rw] region
+ # @return [::String]
+ # Name of the region of this request.
+ # @!attribute [rw] return_partial_success
+ # @return [::Boolean]
+ # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
+ class ListNetworkAttachmentsRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# A request message for NetworkEndpointGroups.List. See the method description for details.
# @!attribute [rw] filter
# @return [::String]
# A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`.
# @!attribute [rw] max_results
@@ -17755,10 +17953,183 @@
BEFORE_CLASSIC_FIREWALL = 338458349
end
end
+ # NetworkAttachments A network attachment resource ...
+ # @!attribute [rw] connection_endpoints
+ # @return [::Array<::Google::Cloud::Compute::V1::NetworkAttachmentConnectedEndpoint>]
+ # [Output Only] An array of connections for all the producers connected to this network attachment.
+ # @!attribute [rw] connection_preference
+ # @return [::String]
+ # Check the ConnectionPreference enum for the list of possible values.
+ # @!attribute [rw] creation_timestamp
+ # @return [::String]
+ # [Output Only] Creation timestamp in RFC3339 text format.
+ # @!attribute [rw] description
+ # @return [::String]
+ # An optional description of this resource. Provide this property when you create the resource.
+ # @!attribute [rw] fingerprint
+ # @return [::String]
+ # [Output Only] Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. An up-to-date fingerprint must be provided in order to patch.
+ # @!attribute [rw] id
+ # @return [::Integer]
+ # [Output Only] The unique identifier for the resource type. The server generates this identifier.
+ # @!attribute [rw] kind
+ # @return [::String]
+ # [Output Only] Type of the resource.
+ # @!attribute [rw] name
+ # @return [::String]
+ # 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.
+ # @!attribute [rw] network
+ # @return [::String]
+ # [Output Only] The URL of the network which the Network Attachment belongs to.
+ # @!attribute [rw] producer_accept_lists
+ # @return [::Array<::String>]
+ # Projects that are allowed to connect to this network attachment. The project can be specified using its id or number.
+ # @!attribute [rw] producer_reject_lists
+ # @return [::Array<::String>]
+ # Projects that are not allowed to connect to this network attachment. The project can be specified using its id or number.
+ # @!attribute [rw] region
+ # @return [::String]
+ # [Output Only] URL of the region where the network attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+ # @!attribute [rw] self_link
+ # @return [::String]
+ # [Output Only] Server-defined URL for the resource.
+ # @!attribute [rw] self_link_with_id
+ # @return [::String]
+ # [Output Only] Server-defined URL for this resource's resource id.
+ # @!attribute [rw] subnetworks
+ # @return [::Array<::String>]
+ # An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.
+ class NetworkAttachment
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+
+
+ module ConnectionPreference
+ # A value indicating that the enum field is not set.
+ UNDEFINED_CONNECTION_PREFERENCE = 0
+
+ ACCEPT_AUTOMATIC = 75250580
+
+ ACCEPT_MANUAL = 373061341
+
+ INVALID = 530283991
+ end
+ end
+
+ # Contains a list of NetworkAttachmentsScopedList.
+ # @!attribute [rw] id
+ # @return [::String]
+ # [Output Only] Unique identifier for the resource; defined by the server.
+ # @!attribute [rw] items
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::NetworkAttachmentsScopedList}]
+ # A list of NetworkAttachmentsScopedList resources.
+ # @!attribute [rw] kind
+ # @return [::String]
+ # @!attribute [rw] next_page_token
+ # @return [::String]
+ # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+ # @!attribute [rw] self_link
+ # @return [::String]
+ # [Output Only] Server-defined URL for this resource.
+ # @!attribute [rw] warning
+ # @return [::Google::Cloud::Compute::V1::Warning]
+ # [Output Only] Informational warning message.
+ class NetworkAttachmentAggregatedList
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+
+ # @!attribute [rw] key
+ # @return [::String]
+ # @!attribute [rw] value
+ # @return [::Google::Cloud::Compute::V1::NetworkAttachmentsScopedList]
+ class ItemsEntry
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+ end
+
+ # [Output Only] A connection connected to this network attachment.
+ # @!attribute [rw] ip_address
+ # @return [::String]
+ # The IP address assigned to the producer instance network interface. This value will be a range in case of Serverless.
+ # @!attribute [rw] project_id_or_num
+ # @return [::String]
+ # The project id or number of the interface to which the IP was assigned.
+ # @!attribute [rw] secondary_ip_cidr_ranges
+ # @return [::Array<::String>]
+ # Alias IP ranges from the same subnetwork
+ # @!attribute [rw] status
+ # @return [::String]
+ # The status of a connected endpoint to this network attachment.
+ # Check the Status enum for the list of possible values.
+ # @!attribute [rw] subnetwork
+ # @return [::String]
+ # The subnetwork used to assign the IP to the producer instance network interface.
+ class NetworkAttachmentConnectedEndpoint
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+
+ # The status of a connected endpoint to this network attachment.
+ module Status
+ # A value indicating that the enum field is not set.
+ UNDEFINED_STATUS = 0
+
+ # The consumer allows traffic from the producer to reach its VPC.
+ ACCEPTED = 246714279
+
+ # The consumer network attachment no longer exists.
+ CLOSED = 380163436
+
+ # The consumer needs to take further action before traffic can be served.
+ NEEDS_ATTENTION = 344491452
+
+ # The consumer neither allows nor prohibits traffic from the producer to reach its VPC.
+ PENDING = 35394935
+
+ # The consumer prohibits traffic from the producer to reach its VPC.
+ REJECTED = 174130302
+
+ STATUS_UNSPECIFIED = 42133066
+ end
+ end
+
+ # @!attribute [rw] id
+ # @return [::String]
+ # [Output Only] Unique identifier for the resource; defined by the server.
+ # @!attribute [rw] items
+ # @return [::Array<::Google::Cloud::Compute::V1::NetworkAttachment>]
+ # A list of NetworkAttachment resources.
+ # @!attribute [rw] kind
+ # @return [::String]
+ # @!attribute [rw] next_page_token
+ # @return [::String]
+ # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+ # @!attribute [rw] self_link
+ # @return [::String]
+ # [Output Only] Server-defined URL for this resource.
+ # @!attribute [rw] warning
+ # @return [::Google::Cloud::Compute::V1::Warning]
+ # [Output Only] Informational warning message.
+ class NetworkAttachmentList
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # @!attribute [rw] network_attachments
+ # @return [::Array<::Google::Cloud::Compute::V1::NetworkAttachment>]
+ # A list of NetworkAttachments contained in this scope.
+ # @!attribute [rw] warning
+ # @return [::Google::Cloud::Compute::V1::Warning]
+ # Informational warning which replaces the list of network attachments when the list is empty.
+ class NetworkAttachmentsScopedList
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# Represents a Google Cloud Armor network edge security service resource.
# @!attribute [rw] creation_timestamp
# @return [::String]
# [Output Only] Creation timestamp in RFC3339 text format.
# @!attribute [rw] description
@@ -19133,11 +19504,11 @@
# @!attribute [rw] payload_name
# @return [::String]
# Optional. If specified, this field is used to populate the "name" field in gRPC requests.
# @!attribute [rw] resend_interval
# @return [::Google::Cloud::Compute::V1::Duration]
- # Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed.
+ # Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.
# @!attribute [rw] retry_duration_sec
# @return [::Integer]
# How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.
class NotificationEndpointGrpcSettings
include ::Google::Protobuf::MessageExts
@@ -20778,10 +21149,14 @@
# @return [::String]
# [Output Only] Server-defined URL for the resource.
# @!attribute [rw] usage_export_location
# @return [::Google::Cloud::Compute::V1::UsageExportLocation]
# The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.
+ # @!attribute [rw] vm_dns_setting
+ # @return [::String]
+ # [Output Only] Default internal DNS setting used by VMs running in this project.
+ # Check the VmDnsSetting enum for the list of possible values.
# @!attribute [rw] xpn_project_status
# @return [::String]
# [Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated.
# Check the XpnProjectStatus enum for the list of possible values.
class Project
@@ -20804,10 +21179,24 @@
# (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
STANDARD_OVERRIDES_FIXED_STANDARD = 465847234
end
+ # [Output Only] Default internal DNS setting used by VMs running in this project.
+ module VmDnsSetting
+ # A value indicating that the enum field is not set.
+ UNDEFINED_VM_DNS_SETTING = 0
+
+ GLOBAL_DEFAULT = 345419141
+
+ UNSPECIFIED_VM_DNS_SETTING = 35691930
+
+ ZONAL_DEFAULT = 368475782
+
+ ZONAL_ONLY = 521198951
+ end
+
# [Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated.
module XpnProjectStatus
# A value indicating that the enum field is not set.
UNDEFINED_XPN_PROJECT_STATUS = 0
@@ -21271,14 +21660,22 @@
FIREWALLS = 374485843
FORWARDING_RULES = 432668949
+ GLOBAL_EXTERNAL_MANAGED_BACKEND_SERVICES = 164566753
+
GLOBAL_EXTERNAL_MANAGED_FORWARDING_RULES = 327611949
+ GLOBAL_EXTERNAL_PROXY_LB_BACKEND_SERVICES = 400256169
+
GLOBAL_INTERNAL_ADDRESSES = 42738332
+ GLOBAL_INTERNAL_MANAGED_BACKEND_SERVICES = 256608303
+
+ GLOBAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES = 323514196
+
GPUS_ALL_REGIONS = 39387177
HEALTH_CHECKS = 289347502
IMAGES = 15562360
@@ -21393,12 +21790,20 @@
PUBLIC_DELEGATED_PREFIXES = 532465974
REGIONAL_AUTOSCALERS = 29363772
+ REGIONAL_EXTERNAL_MANAGED_BACKEND_SERVICES = 4240989
+
+ REGIONAL_EXTERNAL_NETWORK_LB_BACKEND_SERVICES = 409564525
+
REGIONAL_INSTANCE_GROUP_MANAGERS = 37543696
+ REGIONAL_INTERNAL_LB_BACKEND_SERVICES = 137983760
+
+ REGIONAL_INTERNAL_MANAGED_BACKEND_SERVICES = 96282539
+
RESERVATIONS = 32644647
RESOURCE_POLICIES = 83955297
ROUTERS = 493018666
@@ -22368,19 +22773,22 @@
# @return [::String]
# [Output Only] Type of the resource. Always compute#reservations for reservations.
# @!attribute [rw] name
# @return [::String]
# The name of the resource, provided by the client when initially creating the resource. The resource 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.
+ # @!attribute [rw] resource_policies
+ # @return [::Google::Protobuf::Map{::String => ::String}]
+ # Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
# @!attribute [rw] satisfies_pzs
# @return [::Boolean]
# [Output Only] Reserved for future use.
# @!attribute [rw] self_link
# @return [::String]
# [Output Only] Server-defined fully-qualified URL for this resource.
# @!attribute [rw] share_settings
# @return [::Google::Cloud::Compute::V1::ShareSettings]
- # Share-settings for shared-reservation
+ # Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.
# @!attribute [rw] specific_reservation
# @return [::Google::Cloud::Compute::V1::AllocationSpecificSKUReservation]
# Reservation for instances with specific machine shapes.
# @!attribute [rw] specific_reservation_required
# @return [::Boolean]
@@ -22394,10 +22802,19 @@
# Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
class Reservation
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
+ # @!attribute [rw] key
+ # @return [::String]
+ # @!attribute [rw] value
+ # @return [::String]
+ class ResourcePoliciesEntry
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# [Output Only] The status of the reservation.
module Status
# A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0
@@ -22658,17 +23075,17 @@
# @!attribute [rw] amount
# @return [::Integer]
# The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
# @!attribute [rw] type
# @return [::String]
- # Type of resource for which this commitment applies. Possible values are VCPU and MEMORY
+ # Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
# Check the Type enum for the list of possible values.
class ResourceCommitment
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
- # Type of resource for which this commitment applies. Possible values are VCPU and MEMORY
+ # Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.
module Type
# A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0
ACCELERATOR = 429815371
@@ -24693,11 +25110,11 @@
# @!attribute [rw] conform_action
# @return [::String]
# Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
# @!attribute [rw] enforce_on_key
# @return [::String]
- # Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
+ # Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
# Check the EnforceOnKey enum for the list of possible values.
# @!attribute [rw] enforce_on_key_name
# @return [::String]
# Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.
# @!attribute [rw] exceed_action
@@ -24711,11 +25128,11 @@
# Threshold at which to begin ratelimiting.
class SecurityPolicyRuleRateLimitOptions
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
- # Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
+ # Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.
module EnforceOnKey
# A value indicating that the enum field is not set.
UNDEFINED_ENFORCE_ON_KEY = 0
ALL = 64897
@@ -25006,10 +25423,13 @@
end
# @!attribute [rw] connection_limit
# @return [::Integer]
# The value of the limit to set.
+ # @!attribute [rw] network_url
+ # @return [::String]
+ # The network URL for the network to set the limit for.
# @!attribute [rw] project_id_or_num
# @return [::String]
# The project id or number for the project to set the limit for.
class ServiceAttachmentConsumerProjectLimit
include ::Google::Protobuf::MessageExts
@@ -25378,10 +25798,28 @@
class SetIamPolicyMachineImageRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for NetworkAttachments.SetIamPolicy. See the method description for details.
+ # @!attribute [rw] project
+ # @return [::String]
+ # Project ID for this request.
+ # @!attribute [rw] region
+ # @return [::String]
+ # The name of the region for this request.
+ # @!attribute [rw] region_set_policy_request_resource
+ # @return [::Google::Cloud::Compute::V1::RegionSetPolicyRequest]
+ # The body resource for this request
+ # @!attribute [rw] resource
+ # @return [::String]
+ # Name or id of the resource for this request.
+ class SetIamPolicyNetworkAttachmentRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# A request message for NetworkFirewallPolicies.SetIamPolicy. See the method description for details.
# @!attribute [rw] global_set_policy_request_resource
# @return [::Google::Cloud::Compute::V1::GlobalSetPolicyRequest]
# The body resource for this request
# @!attribute [rw] project
@@ -27346,10 +27784,13 @@
ON_PERMANENT_INSTANCE_DELETION = 95727719
end
end
# A request message for Instances.Stop. See the method description for details.
+ # @!attribute [rw] discard_local_ssd
+ # @return [::Boolean]
+ # If true, discard the contents of any attached localSSD partitions. Default value is false.
# @!attribute [rw] instance
# @return [::String]
# Name of the instance resource to stop.
# @!attribute [rw] project
# @return [::String]
@@ -27375,11 +27816,11 @@
# @!attribute [rw] enable_flow_logs
# @return [::Boolean]
# Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.
# @!attribute [rw] external_ipv6_prefix
# @return [::String]
- # [Output Only] The external IPv6 address range that is assigned to this subnetwork.
+ # The external IPv6 address range that is owned by this subnetwork.
# @!attribute [rw] fingerprint
# @return [::String]
# 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 Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
# @!attribute [rw] gateway_address
# @return [::String]
@@ -27710,10 +28151,13 @@
NONE = 2402104
end
end
# A request message for Instances.Suspend. See the method description for details.
+ # @!attribute [rw] discard_local_ssd
+ # @return [::Boolean]
+ # If true, discard the contents of any attached localSSD partitions. Default value is false.
# @!attribute [rw] instance
# @return [::String]
# Name of the instance resource to suspend.
# @!attribute [rw] project
# @return [::String]
@@ -28571,10 +29015,21 @@
class TargetSslProxyList
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # @!attribute [rw] target_tcp_proxies
+ # @return [::Array<::Google::Cloud::Compute::V1::TargetTcpProxy>]
+ # A list of TargetTcpProxies contained in this scope.
+ # @!attribute [rw] warning
+ # @return [::Google::Cloud::Compute::V1::Warning]
+ # Informational warning which replaces the list of backend services when the list is empty.
+ class TargetTcpProxiesScopedList
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# @!attribute [rw] service
# @return [::String]
# The URL of the new BackendService resource for the targetTcpProxy.
class TargetTcpProxiesSetBackendServiceRequest
include ::Google::Protobuf::MessageExts
@@ -28645,10 +29100,45 @@
PROXY_V1 = 334352940
end
end
+ # @!attribute [rw] id
+ # @return [::String]
+ # [Output Only] Unique identifier for the resource; defined by the server.
+ # @!attribute [rw] items
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::TargetTcpProxiesScopedList}]
+ # A list of TargetTcpProxiesScopedList resources.
+ # @!attribute [rw] kind
+ # @return [::String]
+ # [Output Only] Type of resource. Always compute#targetTcpProxyAggregatedList for lists of Target TCP Proxies.
+ # @!attribute [rw] next_page_token
+ # @return [::String]
+ # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+ # @!attribute [rw] self_link
+ # @return [::String]
+ # [Output Only] Server-defined URL for this resource.
+ # @!attribute [rw] unreachables
+ # @return [::Array<::String>]
+ # [Output Only] Unreachable resources.
+ # @!attribute [rw] warning
+ # @return [::Google::Cloud::Compute::V1::Warning]
+ # [Output Only] Informational warning message.
+ class TargetTcpProxyAggregatedList
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+
+ # @!attribute [rw] key
+ # @return [::String]
+ # @!attribute [rw] value
+ # @return [::Google::Cloud::Compute::V1::TargetTcpProxiesScopedList]
+ class ItemsEntry
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+ end
+
# Contains a list of TargetTcpProxy resources.
# @!attribute [rw] id
# @return [::String]
# [Output Only] Unique identifier for the resource; defined by the server.
# @!attribute [rw] items
@@ -28963,10 +29453,28 @@
class TestIamPermissionsMachineImageRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for NetworkAttachments.TestIamPermissions. See the method description for details.
+ # @!attribute [rw] project
+ # @return [::String]
+ # Project ID for this request.
+ # @!attribute [rw] region
+ # @return [::String]
+ # The name of the region for this request.
+ # @!attribute [rw] resource
+ # @return [::String]
+ # Name or id of the resource for this request.
+ # @!attribute [rw] test_permissions_request_resource
+ # @return [::Google::Cloud::Compute::V1::TestPermissionsRequest]
+ # The body resource for this request
+ class TestIamPermissionsNetworkAttachmentRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# A request message for NetworkEndpointGroups.TestIamPermissions. See the method description for details.
# @!attribute [rw] project
# @return [::String]
# Project ID for this request.
# @!attribute [rw] resource
@@ -30207,11 +30715,11 @@
# @!attribute [rw] self_link
# @return [::String]
# [Output Only] Server-defined URL for the resource.
# @!attribute [rw] stack_type
# @return [::String]
- # The stack type for this VPN gateway to identify the IP protocols that are enabled. If not specified, IPV4_ONLY will be used.
+ # The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.
# Check the StackType enum for the list of possible values.
# @!attribute [rw] vpn_interfaces
# @return [::Array<::Google::Cloud::Compute::V1::VpnGatewayVpnGatewayInterface>]
# The list of VPN interfaces associated with this VPN gateway.
class VpnGateway
@@ -30225,11 +30733,11 @@
class LabelsEntry
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
- # The stack type for this VPN gateway to identify the IP protocols that are enabled. If not specified, IPV4_ONLY will be used.
+ # The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.
module StackType
# A value indicating that the enum field is not set.
UNDEFINED_STACK_TYPE = 0
# Enable VPN gateway with both IPv4 and IPv6 protocols.
@@ -30435,11 +30943,11 @@
# @!attribute [rw] peer_external_gateway
# @return [::String]
# URL of the peer side external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field is exclusive with the field peerGcpGateway.
# @!attribute [rw] peer_external_gateway_interface
# @return [::Integer]
- # The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created.
+ # The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. Possible values are: `0`, `1`, `2`, `3`. The number of IDs in use depends on the external VPN gateway redundancy type.
# @!attribute [rw] peer_gcp_gateway
# @return [::String]
# URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer GCP VPN gateway.
# @!attribute [rw] peer_ip
# @return [::String]
@@ -30472,10 +30980,10 @@
# @!attribute [rw] vpn_gateway
# @return [::String]
# URL of the VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This must be used (instead of target_vpn_gateway) if a High Availability VPN gateway resource is created.
# @!attribute [rw] vpn_gateway_interface
# @return [::Integer]
- # The interface ID of the VPN gateway with which this VPN tunnel is associated.
+ # The interface ID of the VPN gateway with which this VPN tunnel is associated. Possible values are: `0`, `1`.
class VpnTunnel
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
# [Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel.