proto_docs/google/cloud/compute/v1/compute.rb in google-cloud-compute-v1-2.0.0 vs proto_docs/google/cloud/compute/v1/compute.rb in google-cloud-compute-v1-2.1.0
- old
+ new
@@ -192,11 +192,11 @@
end
# An access configuration attached to an instance's network interface. Only one access config per instance is supported.
# @!attribute [rw] external_ipv6
# @return [::String]
- # The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically.
+ # The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
# @!attribute [rw] external_ipv6_prefix_length
# @return [::Integer]
# The prefix length of the external IPv6 range.
# @!attribute [rw] kind
# @return [::String]
@@ -756,11 +756,11 @@
DNS_RESOLVER = 476_114_556
# VM internal/alias IP, Internal LB service IP, etc.
GCE_ENDPOINT = 230_515_243
- # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
+ # A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.
IPSEC_INTERCONNECT = 340_437_251
# External IP automatically reserved for Cloud NAT.
NAT_AUTO = 163_666_477
@@ -1176,10 +1176,37 @@
class AggregatedListInstanceGroupsRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for InstanceTemplates.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 AggregatedListInstanceTemplatesRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# A request message for Instances.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
@@ -1971,19 +1998,23 @@
class AliasIpRange
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # [Output Only] Contains output only fields.
# @!attribute [rw] specific_sku_allocation
# @return [::Google::Cloud::Compute::V1::AllocationResourceStatusSpecificSKUAllocation]
+ # Allocation Properties of this reservation.
class AllocationResourceStatus
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # Contains Properties set for the reservation.
# @!attribute [rw] source_instance_template_id
# @return [::String]
+ # ID of the instance template used to populate reservation properties.
class AllocationResourceStatusSpecificSKUAllocation
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -2832,11 +2863,11 @@
# @!attribute [rw] schedule
# @return [::String]
# The start timestamps of time intervals when this scaling schedule is to provide a scaling signal. This field uses the extended cron format (with an optional year field). The expression can describe a single timestamp if the optional year is set, in which case the scaling schedule runs once. The schedule is interpreted with respect to time_zone. This field is required. Note: These timestamps only describe when autoscaler starts providing the scaling signal. The VMs need additional time to become serving.
# @!attribute [rw] time_zone
# @return [::String]
- # The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of ���UTC��� if left empty.
+ # The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of “UTC” if left empty.
class AutoscalingPolicyScalingSchedule
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -3134,11 +3165,11 @@
# @return [::String]
# Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer.
# Check the LoadBalancingScheme enum for the list of possible values.
# @!attribute [rw] locality_lb_policies
# @return [::Array<::Google::Cloud::Compute::V1::BackendServiceLocalityLoadBalancingPolicyConfig>]
- # A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+ # A list of locality load-balancing policies to be used in order of preference. When you use localityLbPolicies, you must set at least one value for either the localityLbPolicies[].policy or the localityLbPolicies[].customPolicy field. localityLbPolicies overrides any value set in the localityLbPolicy field. For an example of how to use this field, see Define a list of preferred policies. Caution: This field and its children are intended for use in a service mesh that includes gRPC clients only. Envoy proxies can't use backend services that have this configuration.
# @!attribute [rw] locality_lb_policy
# @return [::String]
# The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
# Check the LocalityLbPolicy enum for the list of possible values.
# @!attribute [rw] log_config
@@ -3251,10 +3282,13 @@
# The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests.
RING_HASH = 432_795_069
# This is a simple policy in which each healthy backend is selected in round robin order. This is the default.
ROUND_ROBIN = 153_895_801
+
+ # Per-instance weighted Load Balancing via health check reported weights. If set, the Backend Service must configure a non legacy HTTP-based Health Check, and health check replies are expected to contain non-standard HTTP response header field X-Load-Balancing-Endpoint-Weight to specify the per-instance weights. If set, Load Balancing is weighted based on the per-instance weights reported in the last processed health check replies, as long as every instance either reported a valid weight or had UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight. This option is only supported in Network Load Balancing.
+ WEIGHTED_MAGLEV = 254_930_962
end
# The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy.
module Protocol
# A value indicating that the enum field is not set.
@@ -3569,26 +3603,26 @@
# @!attribute [rw] data
# @return [::String]
# An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.
# @!attribute [rw] name
# @return [::String]
- # Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.
+ # Identifies the custom policy. The value should match the name of a custom implementation registered on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (for example, myorg.CustomLbPolicy). The maximum length is 256 characters. Do not specify the same custom policy more than once for a backend. If you do, the configuration is rejected. For an example of how to use this field, see Use a custom policy.
class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
# The configuration for a built-in load balancing policy.
# @!attribute [rw] name
# @return [::String]
- # The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected.
+ # The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected.
# Check the Name enum for the list of possible values.
class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
- # The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected.
+ # The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected.
module Name
# A value indicating that the enum field is not set.
UNDEFINED_NAME = 0
INVALID_LB_POLICY = 323_318_707
@@ -3608,23 +3642,48 @@
# The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests.
RING_HASH = 432_795_069
# This is a simple policy in which each healthy backend is selected in round robin order. This is the default.
ROUND_ROBIN = 153_895_801
+
+ # Per-instance weighted Load Balancing via health check reported weights. If set, the Backend Service must configure a non legacy HTTP-based Health Check, and health check replies are expected to contain non-standard HTTP response header field X-Load-Balancing-Endpoint-Weight to specify the per-instance weights. If set, Load Balancing is weighted based on the per-instance weights reported in the last processed health check replies, as long as every instance either reported a valid weight or had UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight. This option is only supported in Network Load Balancing.
+ WEIGHTED_MAGLEV = 254_930_962
end
end
# The available logging options for the load balancer traffic served by this backend service.
# @!attribute [rw] enable
# @return [::Boolean]
# Denotes whether to enable logging for the load balancer traffic served by this backend service. The default value is false.
+ # @!attribute [rw] optional_fields
+ # @return [::Array<::String>]
+ # This field can only be specified if logging is enabled for this backend service and "logConfig.optionalMode" was set to CUSTOM. Contains a list of optional fields you want to include in the logs. For example: serverInstance, serverGkeDetails.cluster, serverGkeDetails.pod.podNamespace
+ # @!attribute [rw] optional_mode
+ # @return [::String]
+ # This field can only be specified if logging is enabled for this backend service. Configures whether all, none or a subset of optional fields should be added to the reported logs. One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL.
+ # Check the OptionalMode enum for the list of possible values.
# @!attribute [rw] sample_rate
# @return [::Float]
# This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0.
class BackendServiceLogConfig
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
+
+ # This field can only be specified if logging is enabled for this backend service. Configures whether all, none or a subset of optional fields should be added to the reported logs. One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL.
+ module OptionalMode
+ # A value indicating that the enum field is not set.
+ UNDEFINED_OPTIONAL_MODE = 0
+
+ # A subset of optional fields.
+ CUSTOM = 388_595_569
+
+ # None optional fields.
+ EXCLUDE_ALL_OPTIONAL = 168_636_099
+
+ # All optional fields.
+ INCLUDE_ALL_OPTIONAL = 535_606_965
+ end
end
# @!attribute [rw] backend_service
# @return [::String]
class BackendServiceReference
@@ -3857,11 +3916,11 @@
# @!attribute [rw] condition
# @return [::Google::Cloud::Compute::V1::Expr]
# The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
# @!attribute [rw] members
# @return [::Array<::String>]
- # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
+ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
# @!attribute [rw] role
# @return [::String]
# Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
class Binding
include ::Google::Protobuf::MessageExts
@@ -4159,10 +4218,11 @@
# A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0
ACTIVE = 314_733_318
+ # Deprecate CANCELED status. Will use separate status to differentiate cancel by mergeCud or manual cancellation.
CANCELLED = 41_957_681
CREATING = 455_564_985
EXPIRED = 482_489_093
@@ -4179,10 +4239,12 @@
COMPUTE_OPTIMIZED = 158_349_023
COMPUTE_OPTIMIZED_C2D = 383_246_453
+ COMPUTE_OPTIMIZED_C3 = 428_004_784
+
GENERAL_PURPOSE = 299_793_543
GENERAL_PURPOSE_E2 = 301_911_877
GENERAL_PURPOSE_N2 = 301_912_156
@@ -5375,10 +5437,28 @@
class DeleteRegionInstanceGroupManagerRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for RegionInstanceTemplates.Delete. See the method description for details.
+ # @!attribute [rw] instance_template
+ # @return [::String]
+ # The name of the instance template to delete.
+ # @!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] 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).
+ class DeleteRegionInstanceTemplateRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# A request message for RegionNetworkEndpointGroups.Delete. See the method description for details.
# @!attribute [rw] network_endpoint_group
# @return [::String]
# The name of the network endpoint group to delete. It should comply with RFC1035.
# @!attribute [rw] project
@@ -7306,10 +7386,13 @@
# @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]
# Identifies the backend service to which the forwarding rule sends traffic. Required for Internal TCP/UDP Load Balancing and Network Load Balancing; must be omitted for all other load balancer types.
+ # @!attribute [rw] base_forwarding_rule
+ # @return [::String]
+ # [Output Only] The URL for the corresponding base Forwarding Rule. By base Forwarding Rule, we mean the Forwarding Rule that has the same IP address, protocol, and port settings with the current Forwarding Rule, but without sourceIPRanges specified. Always empty if the current Forwarding Rule does not have sourceIPRanges specified.
# @!attribute [rw] creation_timestamp
# @return [::String]
# [Output Only] Creation timestamp in RFC3339 text format.
# @!attribute [rw] description
# @return [::String]
@@ -7381,10 +7464,13 @@
# @return [::String]
# An optional prefix to the service name for this Forwarding Rule. If specified, the prefix is the first label of the fully qualified service name. The label must be 1-63 characters long, and comply with RFC1035. Specifically, the label 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. This field is only used for internal load balancing.
# @!attribute [rw] service_name
# @return [::String]
# [Output Only] The internal fully qualified service name for this Forwarding Rule. This field is only used for internal load balancing.
+ # @!attribute [rw] source_ip_ranges
+ # @return [::Array<::String>]
+ # If not empty, this Forwarding Rule will only forward the traffic when the source IP address matches one of the IP addresses or CIDR ranges set here. Note that a Forwarding Rule can only have up to 64 source IP ranges, and this field can only be used with a regional Forwarding Rule whose scheme is EXTERNAL. Each source_ip_range entry should be either an IP address (for example, 1.2.3.4) or a CIDR range (for example, 1.2.3.0/24).
# @!attribute [rw] subnetwork
# @return [::String]
# This field identifies the subnetwork that the load balanced IP should belong to for this Forwarding Rule, used in internal load balancing and network load balancing with IPv6. If the network specified is in auto subnet mode, this field is optional. However, a subnetwork must be specified if the network is in custom subnet mode or when creating external forwarding rule with IPv6.
# @!attribute [rw] target
# @return [::String]
@@ -7871,11 +7957,11 @@
# @!attribute [rw] family
# @return [::String]
# Name of the image family to search for.
# @!attribute [rw] project
# @return [::String]
- # Project ID for this request.
+ # The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project.
class GetFromFamilyImageRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -8868,10 +8954,25 @@
class GetRegionInstanceGroupRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for RegionInstanceTemplates.Get. See the method description for details.
+ # @!attribute [rw] instance_template
+ # @return [::String]
+ # The name of the instance template.
+ # @!attribute [rw] project
+ # @return [::String]
+ # Project ID for this request.
+ # @!attribute [rw] region
+ # @return [::String]
+ # The name of the region for this request.
+ class GetRegionInstanceTemplateRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# A request message for RegionNetworkEndpointGroups.Get. See the method description for details.
# @!attribute [rw] network_endpoint_group
# @return [::String]
# The name of the network endpoint group. It should comply with RFC1035.
# @!attribute [rw] project
@@ -9642,17 +9743,17 @@
end
# Guest OS features.
# @!attribute [rw] type
# @return [::String]
- # The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.
+ # The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling guest operating system features.
# Check the Type enum for the list of possible values.
class GuestOsFeature
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
- # The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.
+ # The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling guest operating system features.
module Type
# A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0
FEATURE_TYPE_UNSPECIFIED = 531_767_259
@@ -9663,10 +9764,12 @@
SECURE_BOOT = 376_811_194
SEV_CAPABLE = 87_083_793
+ SEV_LIVE_MIGRATABLE = 392_039_820
+
SEV_SNP_CAPABLE = 426_919
UEFI_COMPATIBLE = 195_865_408
VIRTIO_SCSI_MULTIQUEUE = 201_597_069
@@ -10176,16 +10279,20 @@
# Health state of the network endpoint determined based on the health checks configured.
module HealthState
# A value indicating that the enum field is not set.
UNDEFINED_HEALTH_STATE = 0
+ # Endpoint is being drained.
DRAINING = 480_455_402
+ # Endpoint is healthy.
HEALTHY = 439_801_213
+ # Endpoint is unhealthy.
UNHEALTHY = 462_118_084
+ # Health status of the endpoint is unknown.
UNKNOWN = 433_141_802
end
end
# Provides links to documentation or for performing an out of band action. For example, if a quota check failed with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL pointing directly to the right place in the developer console to flip the bit.
@@ -10505,11 +10612,11 @@
# @!attribute [rw] disk_size_gb
# @return [::Integer]
# Size of the image when restored onto a persistent disk (in GB).
# @!attribute [rw] family
# @return [::String]
- # The name of the image family to which this image belongs. You can create disks by specifying an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.
+ # The name of the image family to which this image belongs. The image family name can be from a publicly managed image family provided by Compute Engine, or from a custom image family you create. For example, centos-stream-9 is a publicly available image family. For more information, see Image family best practices. When creating disks, you can specify an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.
# @!attribute [rw] guest_os_features
# @return [::Array<::Google::Cloud::Compute::V1::GuestOsFeature>]
# A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
# @!attribute [rw] id
# @return [::Integer]
@@ -11381,10 +11488,28 @@
class InsertRegionInstanceGroupManagerRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for RegionInstanceTemplates.Insert. See the method description for details.
+ # @!attribute [rw] instance_template_resource
+ # @return [::Google::Cloud::Compute::V1::InstanceTemplate]
+ # The body resource for this request
+ # @!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] 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).
+ class InsertRegionInstanceTemplateRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# A request message for RegionNetworkEndpointGroups.Insert. See the method description for details.
# @!attribute [rw] network_endpoint_group_resource
# @return [::Google::Cloud::Compute::V1::NetworkEndpointGroup]
# The body resource for this request
# @!attribute [rw] project
@@ -12647,11 +12772,11 @@
end
# InstanceGroupManagers.applyUpdatesToInstances
# @!attribute [rw] all_instances
# @return [::Boolean]
- # Flag to update all instances instead of specified list of ���instances���. If the flag is set to true then the instances may not be specified in the request.
+ # Flag to update all instances instead of specified list of “instances”. If the flag is set to true then the instances may not be specified in the request.
# @!attribute [rw] instances
# @return [::Array<::String>]
# The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
# @!attribute [rw] minimal_action
# @return [::String]
@@ -13196,10 +13321,13 @@
# @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] properties
# @return [::Google::Cloud::Compute::V1::InstanceProperties]
# The instance properties for this instance template.
+ # @!attribute [rw] region
+ # @return [::String]
+ # [Output Only] URL of the region where the instance template resides. Only applicable for regional resources.
# @!attribute [rw] self_link
# @return [::String]
# [Output Only] The URL for this instance template. The server defines this URL.
# @!attribute [rw] source_instance
# @return [::String]
@@ -13210,10 +13338,43 @@
class InstanceTemplate
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # Contains a list of InstanceTemplatesScopedList.
+ # @!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::InstanceTemplatesScopedList}]
+ # A list of InstanceTemplatesScopedList resources.
+ # @!attribute [rw] kind
+ # @return [::String]
+ # Type of resource.
+ # @!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 InstanceTemplateAggregatedList
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+
+ # @!attribute [rw] key
+ # @return [::String]
+ # @!attribute [rw] value
+ # @return [::Google::Cloud::Compute::V1::InstanceTemplatesScopedList]
+ class ItemsEntry
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+ end
+
# A list of instance templates.
# @!attribute [rw] id
# @return [::String]
# [Output Only] Unique identifier for the resource; defined by the server.
# @!attribute [rw] items
@@ -13234,10 +13395,21 @@
class InstanceTemplateList
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # @!attribute [rw] instance_templates
+ # @return [::Array<::Google::Cloud::Compute::V1::InstanceTemplate>]
+ # [Output Only] A list of instance templates that are contained within the specified project and zone.
+ # @!attribute [rw] warning
+ # @return [::Google::Cloud::Compute::V1::Warning]
+ # [Output Only] An informational warning that replaces the list of instance templates when the list is empty.
+ class InstanceTemplatesScopedList
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# @!attribute [rw] instance
# @return [::String]
# [Output Only] The URL of the instance.
# @!attribute [rw] named_ports
# @return [::Array<::Google::Cloud::Compute::V1::NamedPort>]
@@ -13401,10 +13573,21 @@
class InstancesSetMinCpuPlatformRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # @!attribute [rw] current_name
+ # @return [::String]
+ # The current name of this resource, used to prevent conflicts. Provide the latest name when making a request to change name.
+ # @!attribute [rw] name
+ # @return [::String]
+ # The name to be applied to the instance. Needs to be RFC 1035 compliant.
+ class InstancesSetNameRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# @!attribute [rw] email
# @return [::String]
# Email address of the service account.
# @!attribute [rw] scopes
# @return [::Array<::String>]
@@ -13498,11 +13681,11 @@
# @!attribute [rw] requested_link_count
# @return [::Integer]
# Target number of physical links in the link bundle, as requested by the customer.
# @!attribute [rw] satisfies_pzs
# @return [::Boolean]
- # [Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present.
+ # [Output Only] Reserved for future use.
# @!attribute [rw] self_link
# @return [::String]
# [Output Only] Server-defined URL for the resource.
# @!attribute [rw] state
# @return [::String]
@@ -13656,11 +13839,11 @@
# @!attribute [rw] router
# @return [::String]
# URL of the Cloud Router to be used for dynamic routing. This router must be in the same region as this InterconnectAttachment. The InterconnectAttachment will automatically connect the Interconnect to the network & region within which the Cloud Router is configured.
# @!attribute [rw] satisfies_pzs
# @return [::Boolean]
- # [Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present.
+ # [Output Only] Reserved for future use.
# @!attribute [rw] self_link
# @return [::String]
# [Output Only] Server-defined URL for the resource.
# @!attribute [rw] stack_type
# @return [::String]
@@ -13674,11 +13857,11 @@
# @return [::String]
# The type of interconnect attachment this is, which can take one of the following values: - DEDICATED: an attachment to a Dedicated Interconnect. - PARTNER: an attachment to a Partner Interconnect, created by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the partner.
# Check the Type enum for the list of possible values.
# @!attribute [rw] vlan_tag8021q
# @return [::Integer]
- # The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. Only specified at creation time.
+ # The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4093. Only specified at creation time.
class InterconnectAttachment
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
# Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s
@@ -14151,11 +14334,11 @@
# @return [::String]
# [Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects.
# Check the Status enum for the list of possible values.
# @!attribute [rw] supports_pzs
# @return [::Boolean]
- # [Output Only] Set to true for locations that support physical zone separation. Defaults to false if the field is not present.
+ # [Output Only] Reserved for future use.
class InterconnectLocation
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
# [Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA
@@ -14863,11 +15046,11 @@
# @!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] parent_id
# @return [::String]
- # Parent ID for this request.
+ # Parent ID for this request. The ID can be either be "folders/[FOLDER_ID]" if the parent is a folder or "organizations/[ORGANIZATION_ID]" if the parent is an organization.
# @!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 ListFirewallPoliciesRequest
include ::Google::Protobuf::MessageExts
@@ -16253,10 +16436,37 @@
class ListRegionInstanceGroupsRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for RegionInstanceTemplates.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]
+ # The name of the regions 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 ListRegionInstanceTemplatesRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# A request message for RegionNetworkEndpointGroups.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
@@ -17865,11 +18075,11 @@
# @!attribute [rw] firewall_policy
# @return [::String]
# Name of the firewall policy to update.
# @!attribute [rw] parent_id
# @return [::String]
- # The new parent of the firewall policy.
+ # The new parent of the firewall policy. The ID can be either be "folders/[FOLDER_ID]" if the parent is a folder or "organizations/[ORGANIZATION_ID]" if the parent is an organization.
# @!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).
class MoveFirewallPolicyRequest
include ::Google::Protobuf::MessageExts
@@ -18598,11 +18808,11 @@
# @return [::String]
# [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6.
# Check the Ipv6AccessType enum for the list of possible values.
# @!attribute [rw] ipv6_address
# @return [::String]
- # An IPv6 internal network address for this network interface.
+ # An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
# @!attribute [rw] kind
# @return [::String]
# [Output Only] Type of the resource. Always compute#networkInterface for network interfaces.
# @!attribute [rw] name
# @return [::String]
@@ -19198,10 +19408,18 @@
class NodeGroupsSetNodeTemplateRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # @!attribute [rw] nodes
+ # @return [::Array<::String>]
+ # Names of the nodes to go under maintenance simulation.
+ class NodeGroupsSimulateMaintenanceEventRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# Represent a sole-tenant Node Template resource. You can use a template to define properties for nodes in a node group. For more information, read Creating node groups and instances.
# @!attribute [rw] accelerators
# @return [::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>]
# @!attribute [rw] cpu_overcommit_type
# @return [::String]
@@ -19230,11 +19448,11 @@
# @!attribute [rw] node_type
# @return [::String]
# The node type to use for nodes group that are created from this template.
# @!attribute [rw] node_type_flexibility
# @return [::Google::Cloud::Compute::V1::NodeTemplateNodeTypeFlexibility]
- # The flexible properties of the desired node type. Node groups that use this node template will create nodes of a type that matches these properties. This field is mutually exclusive with the node_type property; you can only define one or the other, but not both.
+ # Do not use. Instead, use the node_type property.
# @!attribute [rw] region
# @return [::String]
# [Output Only] The name of the region where the node template resides, such as us-central1.
# @!attribute [rw] self_link
# @return [::String]
@@ -21746,10 +21964,12 @@
N2_CPUS = 416_465_286
NETWORKS = 485_481_477
+ NETWORK_ATTACHMENTS = 149_028_575
+
NETWORK_ENDPOINT_GROUPS = 102_144_909
NETWORK_FIREWALL_POLICIES = 101_117_374
NODE_GROUPS = 24_624_817
@@ -22203,11 +22423,11 @@
end
# RegionInstanceGroupManagers.applyUpdatesToInstances
# @!attribute [rw] all_instances
# @return [::Boolean]
- # Flag to update all instances instead of specified list of ���instances���. If the flag is set to true then the instances may not be specified in the request.
+ # Flag to update all instances instead of specified list of “instances”. If the flag is set to true then the instances may not be specified in the request.
# @!attribute [rw] instances
# @return [::Array<::String>]
# The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
# @!attribute [rw] minimal_action
# @return [::String]
@@ -22797,10 +23017,11 @@
# @!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] resource_status
# @return [::Google::Cloud::Compute::V1::AllocationResourceStatus]
# [Output Only] Status information for Reservation resource.
# @!attribute [rw] satisfies_pzs
# @return [::Boolean]
@@ -23305,11 +23526,11 @@
# @!attribute [rw] start_time
# @return [::String]
# The start time of the schedule. The timestamp is an RFC3339 string.
# @!attribute [rw] time_zone
# @return [::String]
- # Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database.
+ # Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
# @!attribute [rw] vm_start_schedule
# @return [::Google::Cloud::Compute::V1::ResourcePolicyInstanceSchedulePolicySchedule]
# Specifies the schedule for starting instances.
# @!attribute [rw] vm_stop_schedule
# @return [::Google::Cloud::Compute::V1::ResourcePolicyInstanceSchedulePolicySchedule]
@@ -23818,11 +24039,11 @@
# @return [::String]
# User-specified flag to indicate which mode to use for advertisement.
# Check the AdvertiseMode enum for the list of possible values.
# @!attribute [rw] advertised_groups
# @return [::Array<::String>]
- # User-specified list of prefix groups to advertise in custom mode, which can take one of the following options: - ALL_SUBNETS: Advertises all available subnets, including peer VPC subnets. - ALL_VPC_SUBNETS: Advertises the router's own VPC subnets. Note that this field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These groups are advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups.
+ # User-specified list of prefix groups to advertise in custom mode, which currently supports the following option: - ALL_SUBNETS: Advertises all of the router's own VPC subnets. This excludes any routes learned for subnets that use VPC Network Peering. Note that this field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These groups are advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups.
# Check the AdvertisedGroups enum for the list of possible values.
# @!attribute [rw] advertised_ip_ranges
# @return [::Array<::Google::Cloud::Compute::V1::RouterAdvertisedIpRange>]
# User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These IP ranges are advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
# @!attribute [rw] advertised_route_priority
@@ -24893,17 +25114,17 @@
# @!attribute [rw] self_link
# @return [::String]
# [Output Only] Server-defined URL for the resource.
# @!attribute [rw] type
# @return [::String]
- # The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.
+ # The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time.
# Check the Type enum for the list of possible values.
class SecurityPolicy
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
- # The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.
+ # The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time.
module Type
# A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0
CLOUD_ARMOR = 260_640_373
@@ -25041,11 +25262,11 @@
end
# Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny).
# @!attribute [rw] action
# @return [::String]
- # The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.
+ # The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for `STATUS` are 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.
# @!attribute [rw] description
# @return [::String]
# An optional description of this resource. Provide this property when you create the resource.
# @!attribute [rw] header_action
# @return [::Google::Cloud::Compute::V1::SecurityPolicyRuleHttpHeaderAction]
@@ -25054,10 +25275,13 @@
# @return [::String]
# [Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules
# @!attribute [rw] match
# @return [::Google::Cloud::Compute::V1::SecurityPolicyRuleMatcher]
# A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
+ # @!attribute [rw] preconfigured_waf_config
+ # @return [::Google::Cloud::Compute::V1::SecurityPolicyRulePreconfiguredWafConfig]
+ # Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.
# @!attribute [rw] preview
# @return [::Boolean]
# If set to true, the specified action is not enforced.
# @!attribute [rw] priority
# @return [::Integer]
@@ -25123,10 +25347,74 @@
class SecurityPolicyRuleMatcherConfig
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # @!attribute [rw] exclusions
+ # @return [::Array<::Google::Cloud::Compute::V1::SecurityPolicyRulePreconfiguredWafConfigExclusion>]
+ # A list of exclusions to apply during preconfigured WAF evaluation.
+ class SecurityPolicyRulePreconfiguredWafConfig
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # @!attribute [rw] request_cookies_to_exclude
+ # @return [::Array<::Google::Cloud::Compute::V1::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
+ # A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.
+ # @!attribute [rw] request_headers_to_exclude
+ # @return [::Array<::Google::Cloud::Compute::V1::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
+ # A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.
+ # @!attribute [rw] request_query_params_to_exclude
+ # @return [::Array<::Google::Cloud::Compute::V1::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
+ # A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.
+ # @!attribute [rw] request_uris_to_exclude
+ # @return [::Array<::Google::Cloud::Compute::V1::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
+ # A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.
+ # @!attribute [rw] target_rule_ids
+ # @return [::Array<::String>]
+ # A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.
+ # @!attribute [rw] target_rule_set
+ # @return [::String]
+ # Target WAF rule set to apply the preconfigured WAF exclusion.
+ class SecurityPolicyRulePreconfiguredWafConfigExclusion
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # @!attribute [rw] op
+ # @return [::String]
+ # The match operator for the field.
+ # Check the Op enum for the list of possible values.
+ # @!attribute [rw] val
+ # @return [::String]
+ # The value of the field.
+ class SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+
+ # The match operator for the field.
+ module Op
+ # A value indicating that the enum field is not set.
+ UNDEFINED_OP = 0
+
+ # The operator matches if the field value contains the specified value.
+ CONTAINS = 215_180_831
+
+ # The operator matches if the field value ends with the specified value.
+ ENDS_WITH = 490_402_221
+
+ # The operator matches if the field value equals the specified value.
+ EQUALS = 442_201_023
+
+ # The operator matches if the field value is any value.
+ EQUALS_ANY = 337_226_060
+
+ # The operator matches if the field value starts with the specified value.
+ STARTS_WITH = 139_505_652
+ end
+ end
+
# @!attribute [rw] ban_duration_sec
# @return [::Integer]
# Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.
# @!attribute [rw] ban_threshold
# @return [::Google::Cloud::Compute::V1::SecurityPolicyRuleRateLimitOptionsThreshold]
@@ -25141,11 +25429,11 @@
# @!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
# @return [::String]
- # Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.
+ # Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are `deny(STATUS)`, where valid values for `STATUS` are 403, 404, 429, and 502, and `redirect`, where the redirect parameters come from `exceedRedirectOptions` below.
# @!attribute [rw] exceed_redirect_options
# @return [::Google::Cloud::Compute::V1::SecurityPolicyRuleRedirectOptions]
# Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.
# @!attribute [rw] rate_limit_threshold
# @return [::Google::Cloud::Compute::V1::SecurityPolicyRuleRateLimitOptionsThreshold]
@@ -26452,10 +26740,31 @@
class SetMinCpuPlatformInstanceRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for Instances.SetName. See the method description for details.
+ # @!attribute [rw] instance
+ # @return [::String]
+ # The instance name for this request.
+ # @!attribute [rw] instances_set_name_request_resource
+ # @return [::Google::Cloud::Compute::V1::InstancesSetNameRequest]
+ # The body resource for this request
+ # @!attribute [rw] project
+ # @return [::String]
+ # Project ID for 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).
+ # @!attribute [rw] zone
+ # @return [::String]
+ # The name of the zone for this request.
+ class SetNameInstanceRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# A request message for InstanceGroups.SetNamedPorts. See the method description for details.
# @!attribute [rw] instance_group
# @return [::String]
# The name of the instance group where the named ports are updated.
# @!attribute [rw] instance_groups_set_named_ports_request_resource
@@ -27086,10 +27395,31 @@
class SimulateMaintenanceEventInstanceRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for NodeGroups.SimulateMaintenanceEvent. See the method description for details.
+ # @!attribute [rw] node_group
+ # @return [::String]
+ # Name of the NodeGroup resource whose nodes will go under maintenance simulation.
+ # @!attribute [rw] node_groups_simulate_maintenance_event_request_resource
+ # @return [::Google::Cloud::Compute::V1::NodeGroupsSimulateMaintenanceEventRequest]
+ # The body resource for this request
+ # @!attribute [rw] project
+ # @return [::String]
+ # Project ID for 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).
+ # @!attribute [rw] zone
+ # @return [::String]
+ # The name of the zone for this request.
+ class SimulateMaintenanceEventNodeGroupRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# Represents a Persistent Disk Snapshot resource. You can use snapshots to back up data on a regular interval. For more information, read Creating persistent disk snapshots.
# @!attribute [rw] architecture
# @return [::String]
# [Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64.
# Check the Architecture enum for the list of possible values.
@@ -29829,10 +30159,36 @@
class UpdateBackendServiceRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for Disks.Update. See the method description for details.
+ # @!attribute [rw] disk
+ # @return [::String]
+ # The disk name for this request.
+ # @!attribute [rw] disk_resource
+ # @return [::Google::Cloud::Compute::V1::Disk]
+ # The body resource for this request
+ # @!attribute [rw] paths
+ # @return [::String]
+ # @!attribute [rw] project
+ # @return [::String]
+ # Project ID for 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).
+ # @!attribute [rw] update_mask
+ # @return [::String]
+ # update_mask indicates fields to be updated as part of this request.
+ # @!attribute [rw] zone
+ # @return [::String]
+ # The name of the zone for this request.
+ class UpdateDiskRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# A request message for Instances.UpdateDisplayDevice. See the method description for details.
# @!attribute [rw] display_device_resource
# @return [::Google::Cloud::Compute::V1::DisplayDevice]
# The body resource for this request
# @!attribute [rw] instance
@@ -30089,10 +30445,36 @@
class UpdateRegionCommitmentRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # A request message for RegionDisks.Update. See the method description for details.
+ # @!attribute [rw] disk
+ # @return [::String]
+ # The disk name for this request.
+ # @!attribute [rw] disk_resource
+ # @return [::Google::Cloud::Compute::V1::Disk]
+ # The body resource for this request
+ # @!attribute [rw] paths
+ # @return [::String]
+ # @!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] 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).
+ # @!attribute [rw] update_mask
+ # @return [::String]
+ # update_mask indicates fields to be updated as part of this request.
+ class UpdateRegionDiskRequest
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# A request message for RegionHealthChecks.Update. See the method description for details.
# @!attribute [rw] health_check
# @return [::String]
# Name of the HealthCheck resource to update.
# @!attribute [rw] health_check_resource
@@ -30721,11 +31103,11 @@
# @!attribute [rw] kind
# @return [::String]
# [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
# @!attribute [rw] label_fingerprint
# @return [::String]
- # A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an VpnGateway.
+ # A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnGateway.
# @!attribute [rw] labels
# @return [::Google::Protobuf::Map{::String => ::String}]
# Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
# @!attribute [rw] name
# @return [::String]
@@ -31142,9 +31524,12 @@
end
# @!attribute [rw] id
# @return [::String]
# Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required
+ # @!attribute [rw] sensitivity
+ # @return [::Integer]
+ # The sensitivity value associated with the WAF rule ID. This corresponds to the ModSecurity paranoia level, ranging from 1 to 4. 0 is reserved for opt-in only rules.
class WafExpressionSetExpression
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end