google-cloud-compute-v1 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +2 -2
  3. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +2 -2
  4. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +3 -3
  5. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +3 -3
  6. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +3 -3
  7. data/lib/google/cloud/compute/v1/compute_pb.rb +145 -0
  8. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +3 -3
  9. data/lib/google/cloud/compute/v1/disks/rest/client.rb +94 -3
  10. data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +62 -0
  11. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +2 -2
  12. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +4 -4
  13. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +2 -2
  14. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +2 -2
  15. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +3 -3
  16. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +2 -2
  17. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +3 -3
  18. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +2 -2
  19. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +2 -2
  20. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +2 -2
  21. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +3 -3
  22. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +2 -2
  23. data/lib/google/cloud/compute/v1/images/rest/client.rb +5 -5
  24. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +3 -3
  25. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +2 -2
  26. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +93 -6
  27. data/lib/google/cloud/compute/v1/instance_templates/rest/service_stub.rb +59 -0
  28. data/lib/google/cloud/compute/v1/instances/rest/client.rb +91 -3
  29. data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +62 -0
  30. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +2 -2
  31. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +2 -2
  32. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +2 -2
  33. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +2 -2
  34. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +2 -2
  35. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +3 -3
  36. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +3 -3
  37. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +2 -2
  38. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +2 -2
  39. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +3 -3
  40. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +2 -2
  41. data/lib/google/cloud/compute/v1/networks/rest/client.rb +3 -3
  42. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +90 -2
  43. data/lib/google/cloud/compute/v1/node_groups/rest/service_stub.rb +62 -0
  44. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +3 -3
  45. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +3 -3
  46. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +2 -2
  47. data/lib/google/cloud/compute/v1/projects/rest/client.rb +2 -2
  48. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +2 -2
  49. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +2 -2
  50. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +2 -2
  51. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +2 -2
  52. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +3 -3
  53. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +3 -3
  54. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +93 -2
  55. data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +62 -0
  56. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +2 -2
  57. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +3 -3
  58. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +2 -2
  59. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +2 -2
  60. data/lib/google/cloud/compute/v1/region_instance_templates/credentials.rb +52 -0
  61. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +624 -0
  62. data/lib/google/cloud/compute/v1/region_instance_templates/rest/service_stub.rb +291 -0
  63. data/lib/google/cloud/compute/v1/region_instance_templates/rest.rb +51 -0
  64. data/lib/google/cloud/compute/v1/region_instance_templates.rb +47 -0
  65. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +2 -2
  66. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +3 -3
  67. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +2 -2
  68. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +2 -2
  69. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +2 -2
  70. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +2 -2
  71. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +2 -2
  72. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +2 -2
  73. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +3 -3
  74. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +3 -3
  75. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +2 -2
  76. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +3 -3
  77. data/lib/google/cloud/compute/v1/regions/rest/client.rb +3 -3
  78. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +2 -2
  79. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +2 -2
  80. data/lib/google/cloud/compute/v1/rest.rb +1 -0
  81. data/lib/google/cloud/compute/v1/routers/rest/client.rb +3 -3
  82. data/lib/google/cloud/compute/v1/routes/rest/client.rb +3 -3
  83. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +2 -2
  84. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +2 -2
  85. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +3 -3
  86. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +3 -3
  87. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +3 -3
  88. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +3 -3
  89. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +2 -2
  90. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +3 -3
  91. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +3 -3
  92. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +3 -3
  93. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +3 -3
  94. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +3 -3
  95. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +3 -3
  96. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +3 -3
  97. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +3 -3
  98. data/lib/google/cloud/compute/v1/version.rb +1 -1
  99. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +3 -3
  100. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +3 -3
  101. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +2 -2
  102. data/lib/google/cloud/compute/v1/zones/rest/client.rb +3 -3
  103. data/lib/google/cloud/compute/v1.rb +1 -0
  104. data/proto_docs/google/api/client.rb +9 -3
  105. data/proto_docs/google/cloud/compute/v1/compute.rb +414 -29
  106. metadata +9 -4
@@ -194,7 +194,7 @@ module Google
194
194
  # An access configuration attached to an instance's network interface. Only one access config per instance is supported.
195
195
  # @!attribute [rw] external_ipv6
196
196
  # @return [::String]
197
- # 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.
197
+ # 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.
198
198
  # @!attribute [rw] external_ipv6_prefix_length
199
199
  # @return [::Integer]
200
200
  # The prefix length of the external IPv6 range.
@@ -758,7 +758,7 @@ module Google
758
758
  # VM internal/alias IP, Internal LB service IP, etc.
759
759
  GCE_ENDPOINT = 230_515_243
760
760
 
761
- # 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.
761
+ # 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 attachments IP address range.
762
762
  IPSEC_INTERCONNECT = 340_437_251
763
763
 
764
764
  # External IP automatically reserved for Cloud NAT.
@@ -1178,6 +1178,33 @@ module Google
1178
1178
  extend ::Google::Protobuf::MessageExts::ClassMethods
1179
1179
  end
1180
1180
 
1181
+ # A request message for InstanceTemplates.AggregatedList. See the method description for details.
1182
+ # @!attribute [rw] filter
1183
+ # @return [::String]
1184
+ # 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`.
1185
+ # @!attribute [rw] include_all_scopes
1186
+ # @return [::Boolean]
1187
+ # 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.
1188
+ # @!attribute [rw] max_results
1189
+ # @return [::Integer]
1190
+ # 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`)
1191
+ # @!attribute [rw] order_by
1192
+ # @return [::String]
1193
+ # 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.
1194
+ # @!attribute [rw] page_token
1195
+ # @return [::String]
1196
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
1197
+ # @!attribute [rw] project
1198
+ # @return [::String]
1199
+ # Name of the project scoping this request.
1200
+ # @!attribute [rw] return_partial_success
1201
+ # @return [::Boolean]
1202
+ # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
1203
+ class AggregatedListInstanceTemplatesRequest
1204
+ include ::Google::Protobuf::MessageExts
1205
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1206
+ end
1207
+
1181
1208
  # A request message for Instances.AggregatedList. See the method description for details.
1182
1209
  # @!attribute [rw] filter
1183
1210
  # @return [::String]
@@ -1973,15 +2000,19 @@ module Google
1973
2000
  extend ::Google::Protobuf::MessageExts::ClassMethods
1974
2001
  end
1975
2002
 
2003
+ # [Output Only] Contains output only fields.
1976
2004
  # @!attribute [rw] specific_sku_allocation
1977
2005
  # @return [::Google::Cloud::Compute::V1::AllocationResourceStatusSpecificSKUAllocation]
2006
+ # Allocation Properties of this reservation.
1978
2007
  class AllocationResourceStatus
1979
2008
  include ::Google::Protobuf::MessageExts
1980
2009
  extend ::Google::Protobuf::MessageExts::ClassMethods
1981
2010
  end
1982
2011
 
2012
+ # Contains Properties set for the reservation.
1983
2013
  # @!attribute [rw] source_instance_template_id
1984
2014
  # @return [::String]
2015
+ # ID of the instance template used to populate reservation properties.
1985
2016
  class AllocationResourceStatusSpecificSKUAllocation
1986
2017
  include ::Google::Protobuf::MessageExts
1987
2018
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2834,7 +2865,7 @@ module Google
2834
2865
  # 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.
2835
2866
  # @!attribute [rw] time_zone
2836
2867
  # @return [::String]
2837
- # 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.
2868
+ # 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.
2838
2869
  class AutoscalingPolicyScalingSchedule
2839
2870
  include ::Google::Protobuf::MessageExts
2840
2871
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3136,7 +3167,7 @@ module Google
3136
3167
  # Check the LoadBalancingScheme enum for the list of possible values.
3137
3168
  # @!attribute [rw] locality_lb_policies
3138
3169
  # @return [::Array<::Google::Cloud::Compute::V1::BackendServiceLocalityLoadBalancingPolicyConfig>]
3139
- # 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.
3170
+ # 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.
3140
3171
  # @!attribute [rw] locality_lb_policy
3141
3172
  # @return [::String]
3142
3173
  # 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.
@@ -3253,6 +3284,9 @@ module Google
3253
3284
 
3254
3285
  # This is a simple policy in which each healthy backend is selected in round robin order. This is the default.
3255
3286
  ROUND_ROBIN = 153_895_801
3287
+
3288
+ # 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.
3289
+ WEIGHTED_MAGLEV = 254_930_962
3256
3290
  end
3257
3291
 
3258
3292
  # 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.
@@ -3571,7 +3605,7 @@ module Google
3571
3605
  # An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.
3572
3606
  # @!attribute [rw] name
3573
3607
  # @return [::String]
3574
- # 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.
3608
+ # 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.
3575
3609
  class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
3576
3610
  include ::Google::Protobuf::MessageExts
3577
3611
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3580,13 +3614,13 @@ module Google
3580
3614
  # The configuration for a built-in load balancing policy.
3581
3615
  # @!attribute [rw] name
3582
3616
  # @return [::String]
3583
- # 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.
3617
+ # 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.
3584
3618
  # Check the Name enum for the list of possible values.
3585
3619
  class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
3586
3620
  include ::Google::Protobuf::MessageExts
3587
3621
  extend ::Google::Protobuf::MessageExts::ClassMethods
3588
3622
 
3589
- # 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.
3623
+ # 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.
3590
3624
  module Name
3591
3625
  # A value indicating that the enum field is not set.
3592
3626
  UNDEFINED_NAME = 0
@@ -3610,6 +3644,9 @@ module Google
3610
3644
 
3611
3645
  # This is a simple policy in which each healthy backend is selected in round robin order. This is the default.
3612
3646
  ROUND_ROBIN = 153_895_801
3647
+
3648
+ # 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.
3649
+ WEIGHTED_MAGLEV = 254_930_962
3613
3650
  end
3614
3651
  end
3615
3652
 
@@ -3617,12 +3654,34 @@ module Google
3617
3654
  # @!attribute [rw] enable
3618
3655
  # @return [::Boolean]
3619
3656
  # Denotes whether to enable logging for the load balancer traffic served by this backend service. The default value is false.
3657
+ # @!attribute [rw] optional_fields
3658
+ # @return [::Array<::String>]
3659
+ # 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
3660
+ # @!attribute [rw] optional_mode
3661
+ # @return [::String]
3662
+ # 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.
3663
+ # Check the OptionalMode enum for the list of possible values.
3620
3664
  # @!attribute [rw] sample_rate
3621
3665
  # @return [::Float]
3622
3666
  # 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.
3623
3667
  class BackendServiceLogConfig
3624
3668
  include ::Google::Protobuf::MessageExts
3625
3669
  extend ::Google::Protobuf::MessageExts::ClassMethods
3670
+
3671
+ # 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.
3672
+ module OptionalMode
3673
+ # A value indicating that the enum field is not set.
3674
+ UNDEFINED_OPTIONAL_MODE = 0
3675
+
3676
+ # A subset of optional fields.
3677
+ CUSTOM = 388_595_569
3678
+
3679
+ # None optional fields.
3680
+ EXCLUDE_ALL_OPTIONAL = 168_636_099
3681
+
3682
+ # All optional fields.
3683
+ INCLUDE_ALL_OPTIONAL = 535_606_965
3684
+ end
3626
3685
  end
3627
3686
 
3628
3687
  # @!attribute [rw] backend_service
@@ -3859,7 +3918,7 @@ module Google
3859
3918
  # 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).
3860
3919
  # @!attribute [rw] members
3861
3920
  # @return [::Array<::String>]
3862
- # 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`.
3921
+ # 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.
3863
3922
  # @!attribute [rw] role
3864
3923
  # @return [::String]
3865
3924
  # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
@@ -4161,6 +4220,7 @@ module Google
4161
4220
 
4162
4221
  ACTIVE = 314_733_318
4163
4222
 
4223
+ # Deprecate CANCELED status. Will use separate status to differentiate cancel by mergeCud or manual cancellation.
4164
4224
  CANCELLED = 41_957_681
4165
4225
 
4166
4226
  CREATING = 455_564_985
@@ -4181,6 +4241,8 @@ module Google
4181
4241
 
4182
4242
  COMPUTE_OPTIMIZED_C2D = 383_246_453
4183
4243
 
4244
+ COMPUTE_OPTIMIZED_C3 = 428_004_784
4245
+
4184
4246
  GENERAL_PURPOSE = 299_793_543
4185
4247
 
4186
4248
  GENERAL_PURPOSE_E2 = 301_911_877
@@ -5377,6 +5439,24 @@ module Google
5377
5439
  extend ::Google::Protobuf::MessageExts::ClassMethods
5378
5440
  end
5379
5441
 
5442
+ # A request message for RegionInstanceTemplates.Delete. See the method description for details.
5443
+ # @!attribute [rw] instance_template
5444
+ # @return [::String]
5445
+ # The name of the instance template to delete.
5446
+ # @!attribute [rw] project
5447
+ # @return [::String]
5448
+ # Project ID for this request.
5449
+ # @!attribute [rw] region
5450
+ # @return [::String]
5451
+ # The name of the region for this request.
5452
+ # @!attribute [rw] request_id
5453
+ # @return [::String]
5454
+ # 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).
5455
+ class DeleteRegionInstanceTemplateRequest
5456
+ include ::Google::Protobuf::MessageExts
5457
+ extend ::Google::Protobuf::MessageExts::ClassMethods
5458
+ end
5459
+
5380
5460
  # A request message for RegionNetworkEndpointGroups.Delete. See the method description for details.
5381
5461
  # @!attribute [rw] network_endpoint_group
5382
5462
  # @return [::String]
@@ -7308,6 +7388,9 @@ module Google
7308
7388
  # @!attribute [rw] backend_service
7309
7389
  # @return [::String]
7310
7390
  # 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.
7391
+ # @!attribute [rw] base_forwarding_rule
7392
+ # @return [::String]
7393
+ # [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.
7311
7394
  # @!attribute [rw] creation_timestamp
7312
7395
  # @return [::String]
7313
7396
  # [Output Only] Creation timestamp in RFC3339 text format.
@@ -7383,6 +7466,9 @@ module Google
7383
7466
  # @!attribute [rw] service_name
7384
7467
  # @return [::String]
7385
7468
  # [Output Only] The internal fully qualified service name for this Forwarding Rule. This field is only used for internal load balancing.
7469
+ # @!attribute [rw] source_ip_ranges
7470
+ # @return [::Array<::String>]
7471
+ # 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).
7386
7472
  # @!attribute [rw] subnetwork
7387
7473
  # @return [::String]
7388
7474
  # 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.
@@ -7873,7 +7959,7 @@ module Google
7873
7959
  # Name of the image family to search for.
7874
7960
  # @!attribute [rw] project
7875
7961
  # @return [::String]
7876
- # Project ID for this request.
7962
+ # The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project.
7877
7963
  class GetFromFamilyImageRequest
7878
7964
  include ::Google::Protobuf::MessageExts
7879
7965
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -8870,6 +8956,21 @@ module Google
8870
8956
  extend ::Google::Protobuf::MessageExts::ClassMethods
8871
8957
  end
8872
8958
 
8959
+ # A request message for RegionInstanceTemplates.Get. See the method description for details.
8960
+ # @!attribute [rw] instance_template
8961
+ # @return [::String]
8962
+ # The name of the instance template.
8963
+ # @!attribute [rw] project
8964
+ # @return [::String]
8965
+ # Project ID for this request.
8966
+ # @!attribute [rw] region
8967
+ # @return [::String]
8968
+ # The name of the region for this request.
8969
+ class GetRegionInstanceTemplateRequest
8970
+ include ::Google::Protobuf::MessageExts
8971
+ extend ::Google::Protobuf::MessageExts::ClassMethods
8972
+ end
8973
+
8873
8974
  # A request message for RegionNetworkEndpointGroups.Get. See the method description for details.
8874
8975
  # @!attribute [rw] network_endpoint_group
8875
8976
  # @return [::String]
@@ -9644,13 +9745,13 @@ module Google
9644
9745
  # Guest OS features.
9645
9746
  # @!attribute [rw] type
9646
9747
  # @return [::String]
9647
- # 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.
9748
+ # 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.
9648
9749
  # Check the Type enum for the list of possible values.
9649
9750
  class GuestOsFeature
9650
9751
  include ::Google::Protobuf::MessageExts
9651
9752
  extend ::Google::Protobuf::MessageExts::ClassMethods
9652
9753
 
9653
- # 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.
9754
+ # 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.
9654
9755
  module Type
9655
9756
  # A value indicating that the enum field is not set.
9656
9757
  UNDEFINED_TYPE = 0
@@ -9665,6 +9766,8 @@ module Google
9665
9766
 
9666
9767
  SEV_CAPABLE = 87_083_793
9667
9768
 
9769
+ SEV_LIVE_MIGRATABLE = 392_039_820
9770
+
9668
9771
  SEV_SNP_CAPABLE = 426_919
9669
9772
 
9670
9773
  UEFI_COMPATIBLE = 195_865_408
@@ -10178,12 +10281,16 @@ module Google
10178
10281
  # A value indicating that the enum field is not set.
10179
10282
  UNDEFINED_HEALTH_STATE = 0
10180
10283
 
10284
+ # Endpoint is being drained.
10181
10285
  DRAINING = 480_455_402
10182
10286
 
10287
+ # Endpoint is healthy.
10183
10288
  HEALTHY = 439_801_213
10184
10289
 
10290
+ # Endpoint is unhealthy.
10185
10291
  UNHEALTHY = 462_118_084
10186
10292
 
10293
+ # Health status of the endpoint is unknown.
10187
10294
  UNKNOWN = 433_141_802
10188
10295
  end
10189
10296
  end
@@ -10507,7 +10614,7 @@ module Google
10507
10614
  # Size of the image when restored onto a persistent disk (in GB).
10508
10615
  # @!attribute [rw] family
10509
10616
  # @return [::String]
10510
- # 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.
10617
+ # 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.
10511
10618
  # @!attribute [rw] guest_os_features
10512
10619
  # @return [::Array<::Google::Cloud::Compute::V1::GuestOsFeature>]
10513
10620
  # 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.
@@ -11383,6 +11490,24 @@ module Google
11383
11490
  extend ::Google::Protobuf::MessageExts::ClassMethods
11384
11491
  end
11385
11492
 
11493
+ # A request message for RegionInstanceTemplates.Insert. See the method description for details.
11494
+ # @!attribute [rw] instance_template_resource
11495
+ # @return [::Google::Cloud::Compute::V1::InstanceTemplate]
11496
+ # The body resource for this request
11497
+ # @!attribute [rw] project
11498
+ # @return [::String]
11499
+ # Project ID for this request.
11500
+ # @!attribute [rw] region
11501
+ # @return [::String]
11502
+ # The name of the region for this request.
11503
+ # @!attribute [rw] request_id
11504
+ # @return [::String]
11505
+ # 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).
11506
+ class InsertRegionInstanceTemplateRequest
11507
+ include ::Google::Protobuf::MessageExts
11508
+ extend ::Google::Protobuf::MessageExts::ClassMethods
11509
+ end
11510
+
11386
11511
  # A request message for RegionNetworkEndpointGroups.Insert. See the method description for details.
11387
11512
  # @!attribute [rw] network_endpoint_group_resource
11388
11513
  # @return [::Google::Cloud::Compute::V1::NetworkEndpointGroup]
@@ -12649,7 +12774,7 @@ module Google
12649
12774
  # InstanceGroupManagers.applyUpdatesToInstances
12650
12775
  # @!attribute [rw] all_instances
12651
12776
  # @return [::Boolean]
12652
- # 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.
12777
+ # 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.
12653
12778
  # @!attribute [rw] instances
12654
12779
  # @return [::Array<::String>]
12655
12780
  # 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].
@@ -13198,6 +13323,9 @@ module Google
13198
13323
  # @!attribute [rw] properties
13199
13324
  # @return [::Google::Cloud::Compute::V1::InstanceProperties]
13200
13325
  # The instance properties for this instance template.
13326
+ # @!attribute [rw] region
13327
+ # @return [::String]
13328
+ # [Output Only] URL of the region where the instance template resides. Only applicable for regional resources.
13201
13329
  # @!attribute [rw] self_link
13202
13330
  # @return [::String]
13203
13331
  # [Output Only] The URL for this instance template. The server defines this URL.
@@ -13212,6 +13340,39 @@ module Google
13212
13340
  extend ::Google::Protobuf::MessageExts::ClassMethods
13213
13341
  end
13214
13342
 
13343
+ # Contains a list of InstanceTemplatesScopedList.
13344
+ # @!attribute [rw] id
13345
+ # @return [::String]
13346
+ # [Output Only] Unique identifier for the resource; defined by the server.
13347
+ # @!attribute [rw] items
13348
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::InstanceTemplatesScopedList}]
13349
+ # A list of InstanceTemplatesScopedList resources.
13350
+ # @!attribute [rw] kind
13351
+ # @return [::String]
13352
+ # Type of resource.
13353
+ # @!attribute [rw] next_page_token
13354
+ # @return [::String]
13355
+ # [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.
13356
+ # @!attribute [rw] self_link
13357
+ # @return [::String]
13358
+ # [Output Only] Server-defined URL for this resource.
13359
+ # @!attribute [rw] warning
13360
+ # @return [::Google::Cloud::Compute::V1::Warning]
13361
+ # [Output Only] Informational warning message.
13362
+ class InstanceTemplateAggregatedList
13363
+ include ::Google::Protobuf::MessageExts
13364
+ extend ::Google::Protobuf::MessageExts::ClassMethods
13365
+
13366
+ # @!attribute [rw] key
13367
+ # @return [::String]
13368
+ # @!attribute [rw] value
13369
+ # @return [::Google::Cloud::Compute::V1::InstanceTemplatesScopedList]
13370
+ class ItemsEntry
13371
+ include ::Google::Protobuf::MessageExts
13372
+ extend ::Google::Protobuf::MessageExts::ClassMethods
13373
+ end
13374
+ end
13375
+
13215
13376
  # A list of instance templates.
13216
13377
  # @!attribute [rw] id
13217
13378
  # @return [::String]
@@ -13236,6 +13397,17 @@ module Google
13236
13397
  extend ::Google::Protobuf::MessageExts::ClassMethods
13237
13398
  end
13238
13399
 
13400
+ # @!attribute [rw] instance_templates
13401
+ # @return [::Array<::Google::Cloud::Compute::V1::InstanceTemplate>]
13402
+ # [Output Only] A list of instance templates that are contained within the specified project and zone.
13403
+ # @!attribute [rw] warning
13404
+ # @return [::Google::Cloud::Compute::V1::Warning]
13405
+ # [Output Only] An informational warning that replaces the list of instance templates when the list is empty.
13406
+ class InstanceTemplatesScopedList
13407
+ include ::Google::Protobuf::MessageExts
13408
+ extend ::Google::Protobuf::MessageExts::ClassMethods
13409
+ end
13410
+
13239
13411
  # @!attribute [rw] instance
13240
13412
  # @return [::String]
13241
13413
  # [Output Only] The URL of the instance.
@@ -13403,6 +13575,17 @@ module Google
13403
13575
  extend ::Google::Protobuf::MessageExts::ClassMethods
13404
13576
  end
13405
13577
 
13578
+ # @!attribute [rw] current_name
13579
+ # @return [::String]
13580
+ # The current name of this resource, used to prevent conflicts. Provide the latest name when making a request to change name.
13581
+ # @!attribute [rw] name
13582
+ # @return [::String]
13583
+ # The name to be applied to the instance. Needs to be RFC 1035 compliant.
13584
+ class InstancesSetNameRequest
13585
+ include ::Google::Protobuf::MessageExts
13586
+ extend ::Google::Protobuf::MessageExts::ClassMethods
13587
+ end
13588
+
13406
13589
  # @!attribute [rw] email
13407
13590
  # @return [::String]
13408
13591
  # Email address of the service account.
@@ -13500,7 +13683,7 @@ module Google
13500
13683
  # Target number of physical links in the link bundle, as requested by the customer.
13501
13684
  # @!attribute [rw] satisfies_pzs
13502
13685
  # @return [::Boolean]
13503
- # [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.
13686
+ # [Output Only] Reserved for future use.
13504
13687
  # @!attribute [rw] self_link
13505
13688
  # @return [::String]
13506
13689
  # [Output Only] Server-defined URL for the resource.
@@ -13658,7 +13841,7 @@ module Google
13658
13841
  # 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.
13659
13842
  # @!attribute [rw] satisfies_pzs
13660
13843
  # @return [::Boolean]
13661
- # [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.
13844
+ # [Output Only] Reserved for future use.
13662
13845
  # @!attribute [rw] self_link
13663
13846
  # @return [::String]
13664
13847
  # [Output Only] Server-defined URL for the resource.
@@ -13676,7 +13859,7 @@ module Google
13676
13859
  # Check the Type enum for the list of possible values.
13677
13860
  # @!attribute [rw] vlan_tag8021q
13678
13861
  # @return [::Integer]
13679
- # The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. Only specified at creation time.
13862
+ # The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4093. Only specified at creation time.
13680
13863
  class InterconnectAttachment
13681
13864
  include ::Google::Protobuf::MessageExts
13682
13865
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -14153,7 +14336,7 @@ module Google
14153
14336
  # Check the Status enum for the list of possible values.
14154
14337
  # @!attribute [rw] supports_pzs
14155
14338
  # @return [::Boolean]
14156
- # [Output Only] Set to true for locations that support physical zone separation. Defaults to false if the field is not present.
14339
+ # [Output Only] Reserved for future use.
14157
14340
  class InterconnectLocation
14158
14341
  include ::Google::Protobuf::MessageExts
14159
14342
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -14865,7 +15048,7 @@ module Google
14865
15048
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
14866
15049
  # @!attribute [rw] parent_id
14867
15050
  # @return [::String]
14868
- # Parent ID for this request.
15051
+ # 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.
14869
15052
  # @!attribute [rw] return_partial_success
14870
15053
  # @return [::Boolean]
14871
15054
  # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
@@ -16255,6 +16438,33 @@ module Google
16255
16438
  extend ::Google::Protobuf::MessageExts::ClassMethods
16256
16439
  end
16257
16440
 
16441
+ # A request message for RegionInstanceTemplates.List. See the method description for details.
16442
+ # @!attribute [rw] filter
16443
+ # @return [::String]
16444
+ # 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`.
16445
+ # @!attribute [rw] max_results
16446
+ # @return [::Integer]
16447
+ # 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`)
16448
+ # @!attribute [rw] order_by
16449
+ # @return [::String]
16450
+ # 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.
16451
+ # @!attribute [rw] page_token
16452
+ # @return [::String]
16453
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
16454
+ # @!attribute [rw] project
16455
+ # @return [::String]
16456
+ # Project ID for this request.
16457
+ # @!attribute [rw] region
16458
+ # @return [::String]
16459
+ # The name of the regions for this request.
16460
+ # @!attribute [rw] return_partial_success
16461
+ # @return [::Boolean]
16462
+ # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
16463
+ class ListRegionInstanceTemplatesRequest
16464
+ include ::Google::Protobuf::MessageExts
16465
+ extend ::Google::Protobuf::MessageExts::ClassMethods
16466
+ end
16467
+
16258
16468
  # A request message for RegionNetworkEndpointGroups.List. See the method description for details.
16259
16469
  # @!attribute [rw] filter
16260
16470
  # @return [::String]
@@ -17867,7 +18077,7 @@ module Google
17867
18077
  # Name of the firewall policy to update.
17868
18078
  # @!attribute [rw] parent_id
17869
18079
  # @return [::String]
17870
- # The new parent of the firewall policy.
18080
+ # 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.
17871
18081
  # @!attribute [rw] request_id
17872
18082
  # @return [::String]
17873
18083
  # 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).
@@ -18600,7 +18810,7 @@ module Google
18600
18810
  # Check the Ipv6AccessType enum for the list of possible values.
18601
18811
  # @!attribute [rw] ipv6_address
18602
18812
  # @return [::String]
18603
- # An IPv6 internal network address for this network interface.
18813
+ # 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.
18604
18814
  # @!attribute [rw] kind
18605
18815
  # @return [::String]
18606
18816
  # [Output Only] Type of the resource. Always compute#networkInterface for network interfaces.
@@ -19200,6 +19410,14 @@ module Google
19200
19410
  extend ::Google::Protobuf::MessageExts::ClassMethods
19201
19411
  end
19202
19412
 
19413
+ # @!attribute [rw] nodes
19414
+ # @return [::Array<::String>]
19415
+ # Names of the nodes to go under maintenance simulation.
19416
+ class NodeGroupsSimulateMaintenanceEventRequest
19417
+ include ::Google::Protobuf::MessageExts
19418
+ extend ::Google::Protobuf::MessageExts::ClassMethods
19419
+ end
19420
+
19203
19421
  # 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.
19204
19422
  # @!attribute [rw] accelerators
19205
19423
  # @return [::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>]
@@ -19232,7 +19450,7 @@ module Google
19232
19450
  # The node type to use for nodes group that are created from this template.
19233
19451
  # @!attribute [rw] node_type_flexibility
19234
19452
  # @return [::Google::Cloud::Compute::V1::NodeTemplateNodeTypeFlexibility]
19235
- # 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.
19453
+ # Do not use. Instead, use the node_type property.
19236
19454
  # @!attribute [rw] region
19237
19455
  # @return [::String]
19238
19456
  # [Output Only] The name of the region where the node template resides, such as us-central1.
@@ -21748,6 +21966,8 @@ module Google
21748
21966
 
21749
21967
  NETWORKS = 485_481_477
21750
21968
 
21969
+ NETWORK_ATTACHMENTS = 149_028_575
21970
+
21751
21971
  NETWORK_ENDPOINT_GROUPS = 102_144_909
21752
21972
 
21753
21973
  NETWORK_FIREWALL_POLICIES = 101_117_374
@@ -22205,7 +22425,7 @@ module Google
22205
22425
  # RegionInstanceGroupManagers.applyUpdatesToInstances
22206
22426
  # @!attribute [rw] all_instances
22207
22427
  # @return [::Boolean]
22208
- # 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.
22428
+ # 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.
22209
22429
  # @!attribute [rw] instances
22210
22430
  # @return [::Array<::String>]
22211
22431
  # 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].
@@ -22799,6 +23019,7 @@ module Google
22799
23019
  # 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.
22800
23020
  # @!attribute [rw] resource_policies
22801
23021
  # @return [::Google::Protobuf::Map{::String => ::String}]
23022
+ # 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.
22802
23023
  # @!attribute [rw] resource_status
22803
23024
  # @return [::Google::Cloud::Compute::V1::AllocationResourceStatus]
22804
23025
  # [Output Only] Status information for Reservation resource.
@@ -23307,7 +23528,7 @@ module Google
23307
23528
  # The start time of the schedule. The timestamp is an RFC3339 string.
23308
23529
  # @!attribute [rw] time_zone
23309
23530
  # @return [::String]
23310
- # 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.
23531
+ # 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.
23311
23532
  # @!attribute [rw] vm_start_schedule
23312
23533
  # @return [::Google::Cloud::Compute::V1::ResourcePolicyInstanceSchedulePolicySchedule]
23313
23534
  # Specifies the schedule for starting instances.
@@ -23820,7 +24041,7 @@ module Google
23820
24041
  # Check the AdvertiseMode enum for the list of possible values.
23821
24042
  # @!attribute [rw] advertised_groups
23822
24043
  # @return [::Array<::String>]
23823
- # 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.
24044
+ # 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.
23824
24045
  # Check the AdvertisedGroups enum for the list of possible values.
23825
24046
  # @!attribute [rw] advertised_ip_ranges
23826
24047
  # @return [::Array<::Google::Cloud::Compute::V1::RouterAdvertisedIpRange>]
@@ -24895,13 +25116,13 @@ module Google
24895
25116
  # [Output Only] Server-defined URL for the resource.
24896
25117
  # @!attribute [rw] type
24897
25118
  # @return [::String]
24898
- # 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.
25119
+ # 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.
24899
25120
  # Check the Type enum for the list of possible values.
24900
25121
  class SecurityPolicy
24901
25122
  include ::Google::Protobuf::MessageExts
24902
25123
  extend ::Google::Protobuf::MessageExts::ClassMethods
24903
25124
 
24904
- # 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.
25125
+ # 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.
24905
25126
  module Type
24906
25127
  # A value indicating that the enum field is not set.
24907
25128
  UNDEFINED_TYPE = 0
@@ -25043,7 +25264,7 @@ module Google
25043
25264
  # 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).
25044
25265
  # @!attribute [rw] action
25045
25266
  # @return [::String]
25046
- # 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.
25267
+ # 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.
25047
25268
  # @!attribute [rw] description
25048
25269
  # @return [::String]
25049
25270
  # An optional description of this resource. Provide this property when you create the resource.
@@ -25056,6 +25277,9 @@ module Google
25056
25277
  # @!attribute [rw] match
25057
25278
  # @return [::Google::Cloud::Compute::V1::SecurityPolicyRuleMatcher]
25058
25279
  # A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
25280
+ # @!attribute [rw] preconfigured_waf_config
25281
+ # @return [::Google::Cloud::Compute::V1::SecurityPolicyRulePreconfiguredWafConfig]
25282
+ # 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.
25059
25283
  # @!attribute [rw] preview
25060
25284
  # @return [::Boolean]
25061
25285
  # If set to true, the specified action is not enforced.
@@ -25125,6 +25349,70 @@ module Google
25125
25349
  extend ::Google::Protobuf::MessageExts::ClassMethods
25126
25350
  end
25127
25351
 
25352
+ # @!attribute [rw] exclusions
25353
+ # @return [::Array<::Google::Cloud::Compute::V1::SecurityPolicyRulePreconfiguredWafConfigExclusion>]
25354
+ # A list of exclusions to apply during preconfigured WAF evaluation.
25355
+ class SecurityPolicyRulePreconfiguredWafConfig
25356
+ include ::Google::Protobuf::MessageExts
25357
+ extend ::Google::Protobuf::MessageExts::ClassMethods
25358
+ end
25359
+
25360
+ # @!attribute [rw] request_cookies_to_exclude
25361
+ # @return [::Array<::Google::Cloud::Compute::V1::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
25362
+ # A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.
25363
+ # @!attribute [rw] request_headers_to_exclude
25364
+ # @return [::Array<::Google::Cloud::Compute::V1::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
25365
+ # A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.
25366
+ # @!attribute [rw] request_query_params_to_exclude
25367
+ # @return [::Array<::Google::Cloud::Compute::V1::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
25368
+ # 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.
25369
+ # @!attribute [rw] request_uris_to_exclude
25370
+ # @return [::Array<::Google::Cloud::Compute::V1::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
25371
+ # 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.
25372
+ # @!attribute [rw] target_rule_ids
25373
+ # @return [::Array<::String>]
25374
+ # 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.
25375
+ # @!attribute [rw] target_rule_set
25376
+ # @return [::String]
25377
+ # Target WAF rule set to apply the preconfigured WAF exclusion.
25378
+ class SecurityPolicyRulePreconfiguredWafConfigExclusion
25379
+ include ::Google::Protobuf::MessageExts
25380
+ extend ::Google::Protobuf::MessageExts::ClassMethods
25381
+ end
25382
+
25383
+ # @!attribute [rw] op
25384
+ # @return [::String]
25385
+ # The match operator for the field.
25386
+ # Check the Op enum for the list of possible values.
25387
+ # @!attribute [rw] val
25388
+ # @return [::String]
25389
+ # The value of the field.
25390
+ class SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams
25391
+ include ::Google::Protobuf::MessageExts
25392
+ extend ::Google::Protobuf::MessageExts::ClassMethods
25393
+
25394
+ # The match operator for the field.
25395
+ module Op
25396
+ # A value indicating that the enum field is not set.
25397
+ UNDEFINED_OP = 0
25398
+
25399
+ # The operator matches if the field value contains the specified value.
25400
+ CONTAINS = 215_180_831
25401
+
25402
+ # The operator matches if the field value ends with the specified value.
25403
+ ENDS_WITH = 490_402_221
25404
+
25405
+ # The operator matches if the field value equals the specified value.
25406
+ EQUALS = 442_201_023
25407
+
25408
+ # The operator matches if the field value is any value.
25409
+ EQUALS_ANY = 337_226_060
25410
+
25411
+ # The operator matches if the field value starts with the specified value.
25412
+ STARTS_WITH = 139_505_652
25413
+ end
25414
+ end
25415
+
25128
25416
  # @!attribute [rw] ban_duration_sec
25129
25417
  # @return [::Integer]
25130
25418
  # 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.
@@ -25143,7 +25431,7 @@ module Google
25143
25431
  # 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.
25144
25432
  # @!attribute [rw] exceed_action
25145
25433
  # @return [::String]
25146
- # 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.
25434
+ # 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.
25147
25435
  # @!attribute [rw] exceed_redirect_options
25148
25436
  # @return [::Google::Cloud::Compute::V1::SecurityPolicyRuleRedirectOptions]
25149
25437
  # Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.
@@ -26454,6 +26742,27 @@ module Google
26454
26742
  extend ::Google::Protobuf::MessageExts::ClassMethods
26455
26743
  end
26456
26744
 
26745
+ # A request message for Instances.SetName. See the method description for details.
26746
+ # @!attribute [rw] instance
26747
+ # @return [::String]
26748
+ # The instance name for this request.
26749
+ # @!attribute [rw] instances_set_name_request_resource
26750
+ # @return [::Google::Cloud::Compute::V1::InstancesSetNameRequest]
26751
+ # The body resource for this request
26752
+ # @!attribute [rw] project
26753
+ # @return [::String]
26754
+ # Project ID for this request.
26755
+ # @!attribute [rw] request_id
26756
+ # @return [::String]
26757
+ # 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).
26758
+ # @!attribute [rw] zone
26759
+ # @return [::String]
26760
+ # The name of the zone for this request.
26761
+ class SetNameInstanceRequest
26762
+ include ::Google::Protobuf::MessageExts
26763
+ extend ::Google::Protobuf::MessageExts::ClassMethods
26764
+ end
26765
+
26457
26766
  # A request message for InstanceGroups.SetNamedPorts. See the method description for details.
26458
26767
  # @!attribute [rw] instance_group
26459
26768
  # @return [::String]
@@ -27088,6 +27397,27 @@ module Google
27088
27397
  extend ::Google::Protobuf::MessageExts::ClassMethods
27089
27398
  end
27090
27399
 
27400
+ # A request message for NodeGroups.SimulateMaintenanceEvent. See the method description for details.
27401
+ # @!attribute [rw] node_group
27402
+ # @return [::String]
27403
+ # Name of the NodeGroup resource whose nodes will go under maintenance simulation.
27404
+ # @!attribute [rw] node_groups_simulate_maintenance_event_request_resource
27405
+ # @return [::Google::Cloud::Compute::V1::NodeGroupsSimulateMaintenanceEventRequest]
27406
+ # The body resource for this request
27407
+ # @!attribute [rw] project
27408
+ # @return [::String]
27409
+ # Project ID for this request.
27410
+ # @!attribute [rw] request_id
27411
+ # @return [::String]
27412
+ # 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).
27413
+ # @!attribute [rw] zone
27414
+ # @return [::String]
27415
+ # The name of the zone for this request.
27416
+ class SimulateMaintenanceEventNodeGroupRequest
27417
+ include ::Google::Protobuf::MessageExts
27418
+ extend ::Google::Protobuf::MessageExts::ClassMethods
27419
+ end
27420
+
27091
27421
  # 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.
27092
27422
  # @!attribute [rw] architecture
27093
27423
  # @return [::String]
@@ -29831,6 +30161,32 @@ module Google
29831
30161
  extend ::Google::Protobuf::MessageExts::ClassMethods
29832
30162
  end
29833
30163
 
30164
+ # A request message for Disks.Update. See the method description for details.
30165
+ # @!attribute [rw] disk
30166
+ # @return [::String]
30167
+ # The disk name for this request.
30168
+ # @!attribute [rw] disk_resource
30169
+ # @return [::Google::Cloud::Compute::V1::Disk]
30170
+ # The body resource for this request
30171
+ # @!attribute [rw] paths
30172
+ # @return [::String]
30173
+ # @!attribute [rw] project
30174
+ # @return [::String]
30175
+ # Project ID for this request.
30176
+ # @!attribute [rw] request_id
30177
+ # @return [::String]
30178
+ # 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).
30179
+ # @!attribute [rw] update_mask
30180
+ # @return [::String]
30181
+ # update_mask indicates fields to be updated as part of this request.
30182
+ # @!attribute [rw] zone
30183
+ # @return [::String]
30184
+ # The name of the zone for this request.
30185
+ class UpdateDiskRequest
30186
+ include ::Google::Protobuf::MessageExts
30187
+ extend ::Google::Protobuf::MessageExts::ClassMethods
30188
+ end
30189
+
29834
30190
  # A request message for Instances.UpdateDisplayDevice. See the method description for details.
29835
30191
  # @!attribute [rw] display_device_resource
29836
30192
  # @return [::Google::Cloud::Compute::V1::DisplayDevice]
@@ -30091,6 +30447,32 @@ module Google
30091
30447
  extend ::Google::Protobuf::MessageExts::ClassMethods
30092
30448
  end
30093
30449
 
30450
+ # A request message for RegionDisks.Update. See the method description for details.
30451
+ # @!attribute [rw] disk
30452
+ # @return [::String]
30453
+ # The disk name for this request.
30454
+ # @!attribute [rw] disk_resource
30455
+ # @return [::Google::Cloud::Compute::V1::Disk]
30456
+ # The body resource for this request
30457
+ # @!attribute [rw] paths
30458
+ # @return [::String]
30459
+ # @!attribute [rw] project
30460
+ # @return [::String]
30461
+ # Project ID for this request.
30462
+ # @!attribute [rw] region
30463
+ # @return [::String]
30464
+ # The name of the region for this request.
30465
+ # @!attribute [rw] request_id
30466
+ # @return [::String]
30467
+ # 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).
30468
+ # @!attribute [rw] update_mask
30469
+ # @return [::String]
30470
+ # update_mask indicates fields to be updated as part of this request.
30471
+ class UpdateRegionDiskRequest
30472
+ include ::Google::Protobuf::MessageExts
30473
+ extend ::Google::Protobuf::MessageExts::ClassMethods
30474
+ end
30475
+
30094
30476
  # A request message for RegionHealthChecks.Update. See the method description for details.
30095
30477
  # @!attribute [rw] health_check
30096
30478
  # @return [::String]
@@ -30723,7 +31105,7 @@ module Google
30723
31105
  # [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
30724
31106
  # @!attribute [rw] label_fingerprint
30725
31107
  # @return [::String]
30726
- # 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.
31108
+ # 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.
30727
31109
  # @!attribute [rw] labels
30728
31110
  # @return [::Google::Protobuf::Map{::String => ::String}]
30729
31111
  # 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.
@@ -31144,6 +31526,9 @@ module Google
31144
31526
  # @!attribute [rw] id
31145
31527
  # @return [::String]
31146
31528
  # 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
31529
+ # @!attribute [rw] sensitivity
31530
+ # @return [::Integer]
31531
+ # 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.
31147
31532
  class WafExpressionSetExpression
31148
31533
  include ::Google::Protobuf::MessageExts
31149
31534
  extend ::Google::Protobuf::MessageExts::ClassMethods