google-cloud-compute-v1 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/compute_pb.rb +94 -2
- data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/disks/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb +1 -1
- data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/images/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +10 -10
- data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +4 -4
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/licenses/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/networks/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/node_types/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/projects/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +9 -9
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/regions/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/reservations/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/routers/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/routes/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +12 -6
- data/lib/google/cloud/compute/v1/security_policies/rest/service_stub.rb +5 -1
- data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +3 -3
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +86 -2
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/service_stub.rb +46 -0
- data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +85 -1
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +46 -0
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +2 -2
- data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/zones/rest/client.rb +1 -1
- data/proto_docs/google/cloud/compute/v1/compute.rb +393 -173
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '05270902306c60eb7c8b8963f687ca7a70b0a6d8c41b135a858b94f484b9107a'
|
4
|
+
data.tar.gz: 5874fd037ea809324e9beac21d377c534815b416f9ed73a20b7839128038ac8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 736c11cc1b444eba0cfa938cdacf45ea90252e3d43983c4052b983f2c9fdfb9bfd931235ac1173e198502aadfe32a6e47180bcc1517891da5f309a2d83c0b73c
|
7
|
+
data.tar.gz: 0ce9875e1351d27189b110bec383267a17d77a500a266e35095e03e05c34063421b31b05e085e0039db6d16ed2b8b92bee61f3e6e4beb9b5775035e1815311c1
|
data/README.md
CHANGED
@@ -37,6 +37,11 @@ for class and method documentation.
|
|
37
37
|
See also the [Product Documentation](https://cloud.google.com/compute/)
|
38
38
|
for general usage information.
|
39
39
|
|
40
|
+
|
41
|
+
## Google Cloud Samples
|
42
|
+
|
43
|
+
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
44
|
+
|
40
45
|
## Supported Ruby Versions
|
41
46
|
|
42
47
|
This library is supported on Ruby 2.5+.
|
@@ -163,7 +163,7 @@ module Google
|
|
163
163
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
164
164
|
#
|
165
165
|
# @param filter [::String]
|
166
|
-
# A filter expression that filters resources listed in the response.
|
166
|
+
# 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`.
|
167
167
|
# @param include_all_scopes [::Boolean]
|
168
168
|
# 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.
|
169
169
|
# @param max_results [::Integer]
|
@@ -302,7 +302,7 @@ module Google
|
|
302
302
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
303
303
|
#
|
304
304
|
# @param filter [::String]
|
305
|
-
# A filter expression that filters resources listed in the response.
|
305
|
+
# 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`.
|
306
306
|
# @param max_results [::Integer]
|
307
307
|
# 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`)
|
308
308
|
# @param order_by [::String]
|
@@ -178,7 +178,7 @@ module Google
|
|
178
178
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
179
179
|
#
|
180
180
|
# @param filter [::String]
|
181
|
-
# A filter expression that filters resources listed in the response.
|
181
|
+
# 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`.
|
182
182
|
# @param include_all_scopes [::Boolean]
|
183
183
|
# 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.
|
184
184
|
# @param max_results [::Integer]
|
@@ -469,7 +469,7 @@ module Google
|
|
469
469
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
470
470
|
#
|
471
471
|
# @param filter [::String]
|
472
|
-
# A filter expression that filters resources listed in the response.
|
472
|
+
# 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`.
|
473
473
|
# @param max_results [::Integer]
|
474
474
|
# 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`)
|
475
475
|
# @param order_by [::String]
|
@@ -182,7 +182,7 @@ module Google
|
|
182
182
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
183
183
|
#
|
184
184
|
# @param filter [::String]
|
185
|
-
# A filter expression that filters resources listed in the response.
|
185
|
+
# 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`.
|
186
186
|
# @param include_all_scopes [::Boolean]
|
187
187
|
# 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.
|
188
188
|
# @param max_results [::Integer]
|
@@ -473,7 +473,7 @@ module Google
|
|
473
473
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
474
474
|
#
|
475
475
|
# @param filter [::String]
|
476
|
-
# A filter expression that filters resources listed in the response.
|
476
|
+
# 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`.
|
477
477
|
# @param max_results [::Integer]
|
478
478
|
# 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`)
|
479
479
|
# @param order_by [::String]
|
@@ -542,7 +542,7 @@ module Google
|
|
542
542
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
543
543
|
#
|
544
544
|
# @param filter [::String]
|
545
|
-
# A filter expression that filters resources listed in the response.
|
545
|
+
# 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`.
|
546
546
|
# @param max_results [::Integer]
|
547
547
|
# 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`)
|
548
548
|
# @param order_by [::String]
|
@@ -267,7 +267,7 @@ module Google
|
|
267
267
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
268
268
|
#
|
269
269
|
# @param filter [::String]
|
270
|
-
# A filter expression that filters resources listed in the response.
|
270
|
+
# 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`.
|
271
271
|
# @param include_all_scopes [::Boolean]
|
272
272
|
# 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.
|
273
273
|
# @param max_results [::Integer]
|
@@ -689,7 +689,7 @@ module Google
|
|
689
689
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
690
690
|
#
|
691
691
|
# @param filter [::String]
|
692
|
-
# A filter expression that filters resources listed in the response.
|
692
|
+
# 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`.
|
693
693
|
# @param max_results [::Integer]
|
694
694
|
# 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`)
|
695
695
|
# @param order_by [::String]
|
@@ -1,12 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/compute/v1/compute.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/annotations_pb'
|
5
7
|
require 'google/api/client_pb'
|
6
8
|
require 'google/api/field_behavior_pb'
|
7
9
|
require 'google/api/resource_pb'
|
8
10
|
require 'google/cloud/extended_operations_pb'
|
9
|
-
require 'google/protobuf'
|
10
11
|
|
11
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
13
|
add_file("google/cloud/compute/v1/compute.proto", :syntax => :proto3) do
|
@@ -197,6 +198,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
197
198
|
optional :project, :string, 227560217
|
198
199
|
optional :security_policy, :string, 171082513
|
199
200
|
optional :security_policy_rule_resource, :message, 402693443, "google.cloud.compute.v1.SecurityPolicyRule"
|
201
|
+
proto3_optional :validate_only, :bool, 242744629
|
200
202
|
end
|
201
203
|
add_message "google.cloud.compute.v1.AddSignedUrlKeyBackendBucketRequest" do
|
202
204
|
optional :backend_bucket, :string, 91714037
|
@@ -255,6 +257,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
255
257
|
value :IPSEC_INTERCONNECT, 340437251
|
256
258
|
value :NAT_AUTO, 163666477
|
257
259
|
value :PRIVATE_SERVICE_CONNECT, 48134724
|
260
|
+
value :SERVERLESS, 270492508
|
258
261
|
value :SHARED_LOADBALANCER_VIP, 294447572
|
259
262
|
value :VPC_PEERING, 400800170
|
260
263
|
end
|
@@ -1001,6 +1004,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1001
1004
|
proto3_optional :security_policy, :string, 171082513
|
1002
1005
|
proto3_optional :security_settings, :message, 478649922, "google.cloud.compute.v1.SecuritySettings"
|
1003
1006
|
proto3_optional :self_link, :string, 456214797
|
1007
|
+
repeated :service_bindings, :string, 133581016
|
1004
1008
|
proto3_optional :session_affinity, :string, 463888561
|
1005
1009
|
proto3_optional :subsetting, :message, 450283536, "google.cloud.compute.v1.Subsetting"
|
1006
1010
|
proto3_optional :timeout_sec, :int32, 79994995
|
@@ -1359,6 +1363,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1359
1363
|
value :GENERAL_PURPOSE_N2D, 232471400
|
1360
1364
|
value :GENERAL_PURPOSE_T2D, 232477166
|
1361
1365
|
value :MEMORY_OPTIMIZED, 281753417
|
1366
|
+
value :MEMORY_OPTIMIZED_M3, 276301372
|
1362
1367
|
value :TYPE_UNSPECIFIED, 437714322
|
1363
1368
|
end
|
1364
1369
|
add_message "google.cloud.compute.v1.CommitmentAggregatedList" do
|
@@ -2373,6 +2378,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
2373
2378
|
proto3_optional :name, :string, 3373707
|
2374
2379
|
proto3_optional :network, :string, 232872494
|
2375
2380
|
proto3_optional :network_tier, :string, 517397843
|
2381
|
+
proto3_optional :no_automate_dns_zone, :bool, 64546991
|
2376
2382
|
proto3_optional :port_range, :string, 217518079
|
2377
2383
|
repeated :ports, :string, 106854418
|
2378
2384
|
proto3_optional :psc_connection_id, :uint64, 292082397
|
@@ -3762,6 +3768,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
3762
3768
|
optional :project, :string, 227560217
|
3763
3769
|
proto3_optional :request_id, :string, 37109963
|
3764
3770
|
optional :security_policy_resource, :message, 216159612, "google.cloud.compute.v1.SecurityPolicy"
|
3771
|
+
proto3_optional :validate_only, :bool, 242744629
|
3765
3772
|
end
|
3766
3773
|
add_message "google.cloud.compute.v1.InsertServiceAttachmentRequest" do
|
3767
3774
|
optional :project, :string, 227560217
|
@@ -5557,6 +5564,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
5557
5564
|
end
|
5558
5565
|
add_message "google.cloud.compute.v1.LocationPolicy" do
|
5559
5566
|
map :locations, :string, :message, 413423454, "google.cloud.compute.v1.LocationPolicyLocation"
|
5567
|
+
proto3_optional :target_shape, :string, 338621299
|
5568
|
+
end
|
5569
|
+
add_enum "google.cloud.compute.v1.LocationPolicy.TargetShape" do
|
5570
|
+
value :UNDEFINED_TARGET_SHAPE, 0
|
5571
|
+
value :ANY, 64972
|
5572
|
+
value :ANY_SINGLE_ZONE, 61100880
|
5573
|
+
value :BALANCED, 468409608
|
5560
5574
|
end
|
5561
5575
|
add_message "google.cloud.compute.v1.LocationPolicyLocation" do
|
5562
5576
|
proto3_optional :preference, :string, 150781147
|
@@ -5756,7 +5770,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
5756
5770
|
end
|
5757
5771
|
add_message "google.cloud.compute.v1.MoveFirewallPolicyRequest" do
|
5758
5772
|
optional :firewall_policy, :string, 498173265
|
5759
|
-
|
5773
|
+
optional :parent_id, :string, 459714768
|
5760
5774
|
proto3_optional :request_id, :string, 37109963
|
5761
5775
|
end
|
5762
5776
|
add_message "google.cloud.compute.v1.MoveInstanceProjectRequest" do
|
@@ -5968,9 +5982,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
5968
5982
|
proto3_optional :name, :string, 3373707
|
5969
5983
|
proto3_optional :network, :string, 232872494
|
5970
5984
|
proto3_optional :peer_mtu, :int32, 69584721
|
5985
|
+
proto3_optional :stack_type, :string, 425908881
|
5971
5986
|
proto3_optional :state, :string, 109757585
|
5972
5987
|
proto3_optional :state_details, :string, 95566996
|
5973
5988
|
end
|
5989
|
+
add_enum "google.cloud.compute.v1.NetworkPeering.StackType" do
|
5990
|
+
value :UNDEFINED_STACK_TYPE, 0
|
5991
|
+
value :IPV4_IPV6, 22197249
|
5992
|
+
value :IPV4_ONLY, 22373798
|
5993
|
+
end
|
5974
5994
|
add_enum "google.cloud.compute.v1.NetworkPeering.State" do
|
5975
5995
|
value :UNDEFINED_STATE, 0
|
5976
5996
|
value :ACTIVE, 314733318
|
@@ -6649,6 +6669,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
6649
6669
|
optional :project, :string, 227560217
|
6650
6670
|
optional :security_policy, :string, 171082513
|
6651
6671
|
optional :security_policy_rule_resource, :message, 402693443, "google.cloud.compute.v1.SecurityPolicyRule"
|
6672
|
+
proto3_optional :validate_only, :bool, 242744629
|
6652
6673
|
end
|
6653
6674
|
add_message "google.cloud.compute.v1.PatchSecurityPolicyRequest" do
|
6654
6675
|
optional :project, :string, 227560217
|
@@ -6945,6 +6966,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
6945
6966
|
value :COMMITTED_N2A_CPUS, 40064304
|
6946
6967
|
value :COMMITTED_N2D_CPUS, 125951757
|
6947
6968
|
value :COMMITTED_N2_CPUS, 322589603
|
6969
|
+
value :COMMITTED_NVIDIA_A100_80GB_GPUS, 464326565
|
6948
6970
|
value :COMMITTED_NVIDIA_A100_GPUS, 375799445
|
6949
6971
|
value :COMMITTED_NVIDIA_K80_GPUS, 3857188
|
6950
6972
|
value :COMMITTED_NVIDIA_P100_GPUS, 107528100
|
@@ -6995,6 +7017,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
6995
7017
|
value :NETWORK_FIREWALL_POLICIES, 101117374
|
6996
7018
|
value :NODE_GROUPS, 24624817
|
6997
7019
|
value :NODE_TEMPLATES, 474896668
|
7020
|
+
value :NVIDIA_A100_80GB_GPUS, 286389320
|
6998
7021
|
value :NVIDIA_A100_GPUS, 504872978
|
6999
7022
|
value :NVIDIA_K80_GPUS, 163886599
|
7000
7023
|
value :NVIDIA_P100_GPUS, 236601633
|
@@ -7008,6 +7031,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
7008
7031
|
value :PD_EXTREME_TOTAL_PROVISIONED_IOPS, 69593965
|
7009
7032
|
value :PREEMPTIBLE_CPUS, 251184841
|
7010
7033
|
value :PREEMPTIBLE_LOCAL_SSD_GB, 260819336
|
7034
|
+
value :PREEMPTIBLE_NVIDIA_A100_80GB_GPUS, 151942410
|
7011
7035
|
value :PREEMPTIBLE_NVIDIA_A100_GPUS, 68832784
|
7012
7036
|
value :PREEMPTIBLE_NVIDIA_K80_GPUS, 374960201
|
7013
7037
|
value :PREEMPTIBLE_NVIDIA_P100_GPUS, 337432351
|
@@ -7773,6 +7797,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
7773
7797
|
repeated :drain_nat_ips, :string, 504078535
|
7774
7798
|
proto3_optional :enable_dynamic_port_allocation, :bool, 532106402
|
7775
7799
|
proto3_optional :enable_endpoint_independent_mapping, :bool, 259441819
|
7800
|
+
repeated :endpoint_types, :string, 502633807
|
7776
7801
|
proto3_optional :icmp_idle_timeout_sec, :int32, 3647562
|
7777
7802
|
proto3_optional :log_config, :message, 351299741, "google.cloud.compute.v1.RouterNatLogConfig"
|
7778
7803
|
proto3_optional :max_ports_per_vm, :int32, 250062049
|
@@ -7788,6 +7813,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
7788
7813
|
proto3_optional :tcp_transitory_idle_timeout_sec, :int32, 205028774
|
7789
7814
|
proto3_optional :udp_idle_timeout_sec, :int32, 64919878
|
7790
7815
|
end
|
7816
|
+
add_enum "google.cloud.compute.v1.RouterNat.EndpointTypes" do
|
7817
|
+
value :UNDEFINED_ENDPOINT_TYPES, 0
|
7818
|
+
value :ENDPOINT_TYPE_SWG, 159344456
|
7819
|
+
value :ENDPOINT_TYPE_VM, 57095474
|
7820
|
+
end
|
7791
7821
|
add_enum "google.cloud.compute.v1.RouterNat.NatIpAllocateOption" do
|
7792
7822
|
value :UNDEFINED_NAT_IP_ALLOCATE_OPTION, 0
|
7793
7823
|
value :AUTO_ONLY, 182333500
|
@@ -8293,6 +8323,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
8293
8323
|
optional :target_pool, :string, 62796298
|
8294
8324
|
optional :target_reference_resource, :message, 523721712, "google.cloud.compute.v1.TargetReference"
|
8295
8325
|
end
|
8326
|
+
add_message "google.cloud.compute.v1.SetCertificateMapTargetHttpsProxyRequest" do
|
8327
|
+
optional :project, :string, 227560217
|
8328
|
+
proto3_optional :request_id, :string, 37109963
|
8329
|
+
optional :target_https_proxies_set_certificate_map_request_resource, :message, 467639099, "google.cloud.compute.v1.TargetHttpsProxiesSetCertificateMapRequest"
|
8330
|
+
optional :target_https_proxy, :string, 52336748
|
8331
|
+
end
|
8332
|
+
add_message "google.cloud.compute.v1.SetCertificateMapTargetSslProxyRequest" do
|
8333
|
+
optional :project, :string, 227560217
|
8334
|
+
proto3_optional :request_id, :string, 37109963
|
8335
|
+
optional :target_ssl_proxies_set_certificate_map_request_resource, :message, 343984954, "google.cloud.compute.v1.TargetSslProxiesSetCertificateMapRequest"
|
8336
|
+
optional :target_ssl_proxy, :string, 338795853
|
8337
|
+
end
|
8296
8338
|
add_message "google.cloud.compute.v1.SetCommonInstanceMetadataProjectRequest" do
|
8297
8339
|
optional :metadata_resource, :message, 291086110, "google.cloud.compute.v1.Metadata"
|
8298
8340
|
optional :project, :string, 227560217
|
@@ -9147,6 +9189,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
9147
9189
|
repeated :target_https_proxies, :message, 366607882, "google.cloud.compute.v1.TargetHttpsProxy"
|
9148
9190
|
proto3_optional :warning, :message, 50704284, "google.cloud.compute.v1.Warning"
|
9149
9191
|
end
|
9192
|
+
add_message "google.cloud.compute.v1.TargetHttpsProxiesSetCertificateMapRequest" do
|
9193
|
+
proto3_optional :certificate_map, :string, 156463796
|
9194
|
+
end
|
9150
9195
|
add_message "google.cloud.compute.v1.TargetHttpsProxiesSetQuicOverrideRequest" do
|
9151
9196
|
proto3_optional :quic_override, :string, 456577197
|
9152
9197
|
end
|
@@ -9161,6 +9206,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
9161
9206
|
end
|
9162
9207
|
add_message "google.cloud.compute.v1.TargetHttpsProxy" do
|
9163
9208
|
proto3_optional :authorization_policy, :string, 33945528
|
9209
|
+
proto3_optional :certificate_map, :string, 156463796
|
9164
9210
|
proto3_optional :creation_timestamp, :string, 30525366
|
9165
9211
|
proto3_optional :description, :string, 422937596
|
9166
9212
|
proto3_optional :fingerprint, :string, 234678500
|
@@ -9304,6 +9350,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
9304
9350
|
add_message "google.cloud.compute.v1.TargetSslProxiesSetBackendServiceRequest" do
|
9305
9351
|
proto3_optional :service, :string, 373540533
|
9306
9352
|
end
|
9353
|
+
add_message "google.cloud.compute.v1.TargetSslProxiesSetCertificateMapRequest" do
|
9354
|
+
proto3_optional :certificate_map, :string, 156463796
|
9355
|
+
end
|
9307
9356
|
add_message "google.cloud.compute.v1.TargetSslProxiesSetProxyHeaderRequest" do
|
9308
9357
|
proto3_optional :proxy_header, :string, 160374142
|
9309
9358
|
end
|
@@ -9316,6 +9365,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
9316
9365
|
repeated :ssl_certificates, :string, 366006543
|
9317
9366
|
end
|
9318
9367
|
add_message "google.cloud.compute.v1.TargetSslProxy" do
|
9368
|
+
proto3_optional :certificate_map, :string, 156463796
|
9319
9369
|
proto3_optional :creation_timestamp, :string, 30525366
|
9320
9370
|
proto3_optional :description, :string, 422937596
|
9321
9371
|
proto3_optional :id, :uint64, 3355
|
@@ -9792,11 +9842,40 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
9792
9842
|
proto3_optional :path_prefix_rewrite, :string, 41186361
|
9793
9843
|
end
|
9794
9844
|
add_message "google.cloud.compute.v1.UsableSubnetwork" do
|
9845
|
+
proto3_optional :external_ipv6_prefix, :string, 139299190
|
9846
|
+
proto3_optional :internal_ipv6_prefix, :string, 506270056
|
9795
9847
|
proto3_optional :ip_cidr_range, :string, 98117322
|
9848
|
+
proto3_optional :ipv6_access_type, :string, 504658653
|
9796
9849
|
proto3_optional :network, :string, 232872494
|
9850
|
+
proto3_optional :purpose, :string, 316407070
|
9851
|
+
proto3_optional :role, :string, 3506294
|
9797
9852
|
repeated :secondary_ip_ranges, :message, 136658915, "google.cloud.compute.v1.UsableSubnetworkSecondaryRange"
|
9853
|
+
proto3_optional :stack_type, :string, 425908881
|
9798
9854
|
proto3_optional :subnetwork, :string, 307827694
|
9799
9855
|
end
|
9856
|
+
add_enum "google.cloud.compute.v1.UsableSubnetwork.Ipv6AccessType" do
|
9857
|
+
value :UNDEFINED_IPV6_ACCESS_TYPE, 0
|
9858
|
+
value :EXTERNAL, 35607499
|
9859
|
+
value :INTERNAL, 279295677
|
9860
|
+
end
|
9861
|
+
add_enum "google.cloud.compute.v1.UsableSubnetwork.Purpose" do
|
9862
|
+
value :UNDEFINED_PURPOSE, 0
|
9863
|
+
value :INTERNAL_HTTPS_LOAD_BALANCER, 248748889
|
9864
|
+
value :PRIVATE, 403485027
|
9865
|
+
value :PRIVATE_RFC_1918, 254902107
|
9866
|
+
value :PRIVATE_SERVICE_CONNECT, 48134724
|
9867
|
+
value :REGIONAL_MANAGED_PROXY, 153049966
|
9868
|
+
end
|
9869
|
+
add_enum "google.cloud.compute.v1.UsableSubnetwork.Role" do
|
9870
|
+
value :UNDEFINED_ROLE, 0
|
9871
|
+
value :ACTIVE, 314733318
|
9872
|
+
value :BACKUP, 341010882
|
9873
|
+
end
|
9874
|
+
add_enum "google.cloud.compute.v1.UsableSubnetwork.StackType" do
|
9875
|
+
value :UNDEFINED_STACK_TYPE, 0
|
9876
|
+
value :IPV4_IPV6, 22197249
|
9877
|
+
value :IPV4_ONLY, 22373798
|
9878
|
+
end
|
9800
9879
|
add_message "google.cloud.compute.v1.UsableSubnetworkSecondaryRange" do
|
9801
9880
|
proto3_optional :ip_cidr_range, :string, 98117322
|
9802
9881
|
proto3_optional :range_name, :string, 332216397
|
@@ -10021,6 +10100,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
10021
10100
|
value :MISSING_TYPE_DEPENDENCY, 344505463
|
10022
10101
|
value :NEXT_HOP_ADDRESS_NOT_ASSIGNED, 324964999
|
10023
10102
|
value :NEXT_HOP_CANNOT_IP_FORWARD, 383382887
|
10103
|
+
value :NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE, 146748434
|
10024
10104
|
value :NEXT_HOP_INSTANCE_NOT_FOUND, 464250446
|
10025
10105
|
value :NEXT_HOP_INSTANCE_NOT_ON_NETWORK, 243758146
|
10026
10106
|
value :NEXT_HOP_NOT_RUNNING, 417081265
|
@@ -10054,6 +10134,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
10054
10134
|
value :MISSING_TYPE_DEPENDENCY, 344505463
|
10055
10135
|
value :NEXT_HOP_ADDRESS_NOT_ASSIGNED, 324964999
|
10056
10136
|
value :NEXT_HOP_CANNOT_IP_FORWARD, 383382887
|
10137
|
+
value :NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE, 146748434
|
10057
10138
|
value :NEXT_HOP_INSTANCE_NOT_FOUND, 464250446
|
10058
10139
|
value :NEXT_HOP_INSTANCE_NOT_ON_NETWORK, 243758146
|
10059
10140
|
value :NEXT_HOP_NOT_RUNNING, 417081265
|
@@ -10948,6 +11029,7 @@ module Google
|
|
10948
11029
|
ListZonesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.ListZonesRequest").msgclass
|
10949
11030
|
LocalDisk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.LocalDisk").msgclass
|
10950
11031
|
LocationPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.LocationPolicy").msgclass
|
11032
|
+
LocationPolicy::TargetShape = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.LocationPolicy.TargetShape").enummodule
|
10951
11033
|
LocationPolicyLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.LocationPolicyLocation").msgclass
|
10952
11034
|
LocationPolicyLocation::Preference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.LocationPolicyLocation.Preference").enummodule
|
10953
11035
|
LogConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.LogConfig").msgclass
|
@@ -11005,6 +11087,7 @@ module Google
|
|
11005
11087
|
NetworkInterface::StackType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.NetworkInterface.StackType").enummodule
|
11006
11088
|
NetworkList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.NetworkList").msgclass
|
11007
11089
|
NetworkPeering = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.NetworkPeering").msgclass
|
11090
|
+
NetworkPeering::StackType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.NetworkPeering.StackType").enummodule
|
11008
11091
|
NetworkPeering::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.NetworkPeering.State").enummodule
|
11009
11092
|
NetworkPerformanceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.NetworkPerformanceConfig").msgclass
|
11010
11093
|
NetworkPerformanceConfig::TotalEgressBandwidthTier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.NetworkPerformanceConfig.TotalEgressBandwidthTier").enummodule
|
@@ -11262,6 +11345,7 @@ module Google
|
|
11262
11345
|
RouterInterface::ManagementType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterInterface.ManagementType").enummodule
|
11263
11346
|
RouterList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterList").msgclass
|
11264
11347
|
RouterNat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterNat").msgclass
|
11348
|
+
RouterNat::EndpointTypes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterNat.EndpointTypes").enummodule
|
11265
11349
|
RouterNat::NatIpAllocateOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterNat.NatIpAllocateOption").enummodule
|
11266
11350
|
RouterNat::SourceSubnetworkIpRangesToNat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterNat.SourceSubnetworkIpRangesToNat").enummodule
|
11267
11351
|
RouterNatLogConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.RouterNatLogConfig").msgclass
|
@@ -11346,6 +11430,8 @@ module Google
|
|
11346
11430
|
SetBackendServiceTargetSslProxyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.SetBackendServiceTargetSslProxyRequest").msgclass
|
11347
11431
|
SetBackendServiceTargetTcpProxyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.SetBackendServiceTargetTcpProxyRequest").msgclass
|
11348
11432
|
SetBackupTargetPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.SetBackupTargetPoolRequest").msgclass
|
11433
|
+
SetCertificateMapTargetHttpsProxyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.SetCertificateMapTargetHttpsProxyRequest").msgclass
|
11434
|
+
SetCertificateMapTargetSslProxyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.SetCertificateMapTargetSslProxyRequest").msgclass
|
11349
11435
|
SetCommonInstanceMetadataProjectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.SetCommonInstanceMetadataProjectRequest").msgclass
|
11350
11436
|
SetDefaultNetworkTierProjectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.SetDefaultNetworkTierProjectRequest").msgclass
|
11351
11437
|
SetDeletionProtectionInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.SetDeletionProtectionInstanceRequest").msgclass
|
@@ -11478,6 +11564,7 @@ module Google
|
|
11478
11564
|
TargetHttpProxyAggregatedList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.TargetHttpProxyAggregatedList").msgclass
|
11479
11565
|
TargetHttpProxyList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.TargetHttpProxyList").msgclass
|
11480
11566
|
TargetHttpsProxiesScopedList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.TargetHttpsProxiesScopedList").msgclass
|
11567
|
+
TargetHttpsProxiesSetCertificateMapRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.TargetHttpsProxiesSetCertificateMapRequest").msgclass
|
11481
11568
|
TargetHttpsProxiesSetQuicOverrideRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.TargetHttpsProxiesSetQuicOverrideRequest").msgclass
|
11482
11569
|
TargetHttpsProxiesSetQuicOverrideRequest::QuicOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.TargetHttpsProxiesSetQuicOverrideRequest.QuicOverride").enummodule
|
11483
11570
|
TargetHttpsProxiesSetSslCertificatesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.TargetHttpsProxiesSetSslCertificatesRequest").msgclass
|
@@ -11502,6 +11589,7 @@ module Google
|
|
11502
11589
|
TargetPoolsScopedList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.TargetPoolsScopedList").msgclass
|
11503
11590
|
TargetReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.TargetReference").msgclass
|
11504
11591
|
TargetSslProxiesSetBackendServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.TargetSslProxiesSetBackendServiceRequest").msgclass
|
11592
|
+
TargetSslProxiesSetCertificateMapRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.TargetSslProxiesSetCertificateMapRequest").msgclass
|
11505
11593
|
TargetSslProxiesSetProxyHeaderRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.TargetSslProxiesSetProxyHeaderRequest").msgclass
|
11506
11594
|
TargetSslProxiesSetProxyHeaderRequest::ProxyHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.TargetSslProxiesSetProxyHeaderRequest.ProxyHeader").enummodule
|
11507
11595
|
TargetSslProxiesSetSslCertificatesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.TargetSslProxiesSetSslCertificatesRequest").msgclass
|
@@ -11581,6 +11669,10 @@ module Google
|
|
11581
11669
|
UrlMapsValidateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.UrlMapsValidateResponse").msgclass
|
11582
11670
|
UrlRewrite = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.UrlRewrite").msgclass
|
11583
11671
|
UsableSubnetwork = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.UsableSubnetwork").msgclass
|
11672
|
+
UsableSubnetwork::Ipv6AccessType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.UsableSubnetwork.Ipv6AccessType").enummodule
|
11673
|
+
UsableSubnetwork::Purpose = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.UsableSubnetwork.Purpose").enummodule
|
11674
|
+
UsableSubnetwork::Role = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.UsableSubnetwork.Role").enummodule
|
11675
|
+
UsableSubnetwork::StackType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.UsableSubnetwork.StackType").enummodule
|
11584
11676
|
UsableSubnetworkSecondaryRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.UsableSubnetworkSecondaryRange").msgclass
|
11585
11677
|
UsableSubnetworksAggregatedList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.UsableSubnetworksAggregatedList").msgclass
|
11586
11678
|
UsageExportLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.compute.v1.UsageExportLocation").msgclass
|
@@ -161,7 +161,7 @@ module Google
|
|
161
161
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
162
162
|
#
|
163
163
|
# @param filter [::String]
|
164
|
-
# A filter expression that filters resources listed in the response.
|
164
|
+
# 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`.
|
165
165
|
# @param include_all_scopes [::Boolean]
|
166
166
|
# 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.
|
167
167
|
# @param max_results [::Integer]
|
@@ -300,7 +300,7 @@ module Google
|
|
300
300
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
301
301
|
#
|
302
302
|
# @param filter [::String]
|
303
|
-
# A filter expression that filters resources listed in the response.
|
303
|
+
# 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`.
|
304
304
|
# @param max_results [::Integer]
|
305
305
|
# 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`)
|
306
306
|
# @param order_by [::String]
|
@@ -275,7 +275,7 @@ module Google
|
|
275
275
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
276
276
|
#
|
277
277
|
# @param filter [::String]
|
278
|
-
# A filter expression that filters resources listed in the response.
|
278
|
+
# 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`.
|
279
279
|
# @param include_all_scopes [::Boolean]
|
280
280
|
# 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.
|
281
281
|
# @param max_results [::Integer]
|
@@ -715,7 +715,7 @@ module Google
|
|
715
715
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
716
716
|
#
|
717
717
|
# @param filter [::String]
|
718
|
-
# A filter expression that filters resources listed in the response.
|
718
|
+
# 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`.
|
719
719
|
# @param max_results [::Integer]
|
720
720
|
# 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`)
|
721
721
|
# @param order_by [::String]
|
@@ -386,7 +386,7 @@ module Google
|
|
386
386
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
387
387
|
#
|
388
388
|
# @param filter [::String]
|
389
|
-
# A filter expression that filters resources listed in the response.
|
389
|
+
# 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`.
|
390
390
|
# @param max_results [::Integer]
|
391
391
|
# 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`)
|
392
392
|
# @param order_by [::String]
|
@@ -820,7 +820,7 @@ module Google
|
|
820
820
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
821
821
|
#
|
822
822
|
# @param filter [::String]
|
823
|
-
# A filter expression that filters resources listed in the response.
|
823
|
+
# 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`.
|
824
824
|
# @param max_results [::Integer]
|
825
825
|
# 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`)
|
826
826
|
# @param order_by [::String]
|