google-apis-compute_v1 0.99.0 → 0.101.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f7814569d8157b15724067b1b18bb5fc1d7f3fdbea1664d4910797fb97206f6
|
4
|
+
data.tar.gz: 5cb11f67b4f26e580e9588a5adece5495081b9dadfcd35688c9213a96b64022a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c3d966f77bb6698b286929bf1ab272462c95a4e8ccf025e74b0a144aeaa043c31667f58312888a33ba86760b4d0d9096e8a0d86f894eecbda760e253a7442df
|
7
|
+
data.tar.gz: 5251a8affbb9ebcf39f585e549dd82373d81e1f37e6ec2f902eea761c457143efd848e510a5ed117a601522c2247187254408debfaa1c4316cf972a68ded3e98
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-compute_v1
|
2
2
|
|
3
|
+
### v0.101.0 (2024-06-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240618
|
6
|
+
|
7
|
+
### v0.100.0 (2024-06-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240604
|
10
|
+
|
3
11
|
### v0.99.0 (2024-06-02)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240526
|
@@ -1145,6 +1145,11 @@ module Google
|
|
1145
1145
|
attr_accessor :enable_uefi_networking
|
1146
1146
|
alias_method :enable_uefi_networking?, :enable_uefi_networking
|
1147
1147
|
|
1148
|
+
# Type of Performance Monitoring Unit requested on instance.
|
1149
|
+
# Corresponds to the JSON property `performanceMonitoringUnit`
|
1150
|
+
# @return [String]
|
1151
|
+
attr_accessor :performance_monitoring_unit
|
1152
|
+
|
1148
1153
|
# The number of threads per physical core. To disable simultaneous
|
1149
1154
|
# multithreading (SMT) set this to 1. If unset, the maximum number of threads
|
1150
1155
|
# supported per core by the underlying processor is assumed.
|
@@ -1168,6 +1173,7 @@ module Google
|
|
1168
1173
|
def update!(**args)
|
1169
1174
|
@enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
|
1170
1175
|
@enable_uefi_networking = args[:enable_uefi_networking] if args.key?(:enable_uefi_networking)
|
1176
|
+
@performance_monitoring_unit = args[:performance_monitoring_unit] if args.key?(:performance_monitoring_unit)
|
1171
1177
|
@threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
|
1172
1178
|
@visible_core_count = args[:visible_core_count] if args.key?(:visible_core_count)
|
1173
1179
|
end
|
@@ -5954,6 +5960,11 @@ module Google
|
|
5954
5960
|
class ConfidentialInstanceConfig
|
5955
5961
|
include Google::Apis::Core::Hashable
|
5956
5962
|
|
5963
|
+
# Defines the type of technology used by the confidential instance.
|
5964
|
+
# Corresponds to the JSON property `confidentialInstanceType`
|
5965
|
+
# @return [String]
|
5966
|
+
attr_accessor :confidential_instance_type
|
5967
|
+
|
5957
5968
|
# Defines whether the instance should have confidential compute enabled.
|
5958
5969
|
# Corresponds to the JSON property `enableConfidentialCompute`
|
5959
5970
|
# @return [Boolean]
|
@@ -5966,6 +5977,7 @@ module Google
|
|
5966
5977
|
|
5967
5978
|
# Update properties of this object
|
5968
5979
|
def update!(**args)
|
5980
|
+
@confidential_instance_type = args[:confidential_instance_type] if args.key?(:confidential_instance_type)
|
5969
5981
|
@enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
|
5970
5982
|
end
|
5971
5983
|
end
|
@@ -6137,6 +6149,95 @@ module Google
|
|
6137
6149
|
end
|
6138
6150
|
end
|
6139
6151
|
|
6152
|
+
# Specifies the custom error response policy that must be applied when the
|
6153
|
+
# backend service or backend bucket responds with an error.
|
6154
|
+
class CustomErrorResponsePolicy
|
6155
|
+
include Google::Apis::Core::Hashable
|
6156
|
+
|
6157
|
+
# Specifies rules for returning error responses. In a given policy, if you
|
6158
|
+
# specify rules for both a range of error codes as well as rules for specific
|
6159
|
+
# error codes then rules with specific error codes have a higher priority. For
|
6160
|
+
# example, assume that you configure a rule for 401 (Un-authorized) code, and
|
6161
|
+
# another for all 4 series error codes (4XX). If the backend service returns a
|
6162
|
+
# 401, then the rule for 401 will be applied. However if the backend service
|
6163
|
+
# returns a 403, the rule for 4xx takes effect.
|
6164
|
+
# Corresponds to the JSON property `errorResponseRules`
|
6165
|
+
# @return [Array<Google::Apis::ComputeV1::CustomErrorResponsePolicyCustomErrorResponseRule>]
|
6166
|
+
attr_accessor :error_response_rules
|
6167
|
+
|
6168
|
+
# The full or partial URL to the BackendBucket resource that contains the custom
|
6169
|
+
# error content. Examples are: - https://www.googleapis.com/compute/v1/projects/
|
6170
|
+
# project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/
|
6171
|
+
# global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket
|
6172
|
+
# If errorService is not specified at lower levels like pathMatcher, pathRule
|
6173
|
+
# and routeRule, an errorService specified at a higher level in the UrlMap will
|
6174
|
+
# be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more
|
6175
|
+
# errorResponseRules[], it must specify errorService. If load balancer cannot
|
6176
|
+
# reach the backendBucket, a simple Not Found Error will be returned, with the
|
6177
|
+
# original response code (or overrideResponseCode if configured). errorService
|
6178
|
+
# is not supported for internal or regional HTTP/HTTPS load balancers.
|
6179
|
+
# Corresponds to the JSON property `errorService`
|
6180
|
+
# @return [String]
|
6181
|
+
attr_accessor :error_service
|
6182
|
+
|
6183
|
+
def initialize(**args)
|
6184
|
+
update!(**args)
|
6185
|
+
end
|
6186
|
+
|
6187
|
+
# Update properties of this object
|
6188
|
+
def update!(**args)
|
6189
|
+
@error_response_rules = args[:error_response_rules] if args.key?(:error_response_rules)
|
6190
|
+
@error_service = args[:error_service] if args.key?(:error_service)
|
6191
|
+
end
|
6192
|
+
end
|
6193
|
+
|
6194
|
+
# Specifies the mapping between the response code that will be returned along
|
6195
|
+
# with the custom error content and the response code returned by the backend
|
6196
|
+
# service.
|
6197
|
+
class CustomErrorResponsePolicyCustomErrorResponseRule
|
6198
|
+
include Google::Apis::Core::Hashable
|
6199
|
+
|
6200
|
+
# Valid values include: - A number between 400 and 599: For example 401 or 503,
|
6201
|
+
# in which case the load balancer applies the policy if the error code exactly
|
6202
|
+
# matches this value. - 5xx: Load Balancer will apply the policy if the backend
|
6203
|
+
# service responds with any response code in the range of 500 to 599. - 4xx:
|
6204
|
+
# Load Balancer will apply the policy if the backend service responds with any
|
6205
|
+
# response code in the range of 400 to 499. Values must be unique within
|
6206
|
+
# matchResponseCodes and across all errorResponseRules of
|
6207
|
+
# CustomErrorResponsePolicy.
|
6208
|
+
# Corresponds to the JSON property `matchResponseCodes`
|
6209
|
+
# @return [Array<String>]
|
6210
|
+
attr_accessor :match_response_codes
|
6211
|
+
|
6212
|
+
# The HTTP status code returned with the response containing the custom error
|
6213
|
+
# content. If overrideResponseCode is not supplied, the same response code
|
6214
|
+
# returned by the original backend bucket or backend service is returned to the
|
6215
|
+
# client.
|
6216
|
+
# Corresponds to the JSON property `overrideResponseCode`
|
6217
|
+
# @return [Fixnum]
|
6218
|
+
attr_accessor :override_response_code
|
6219
|
+
|
6220
|
+
# The full path to a file within backendBucket . For example: /errors/
|
6221
|
+
# defaultError.html path must start with a leading slash. path cannot have
|
6222
|
+
# trailing slashes. If the file is not available in backendBucket or the load
|
6223
|
+
# balancer cannot reach the BackendBucket, a simple Not Found Error is returned
|
6224
|
+
# to the client. The value must be from 1 to 1024 characters
|
6225
|
+
# Corresponds to the JSON property `path`
|
6226
|
+
# @return [String]
|
6227
|
+
attr_accessor :path
|
6228
|
+
|
6229
|
+
def initialize(**args)
|
6230
|
+
update!(**args)
|
6231
|
+
end
|
6232
|
+
|
6233
|
+
# Update properties of this object
|
6234
|
+
def update!(**args)
|
6235
|
+
@match_response_codes = args[:match_response_codes] if args.key?(:match_response_codes)
|
6236
|
+
@override_response_code = args[:override_response_code] if args.key?(:override_response_code)
|
6237
|
+
@path = args[:path] if args.key?(:path)
|
6238
|
+
end
|
6239
|
+
end
|
6240
|
+
|
6140
6241
|
#
|
6141
6242
|
class CustomerEncryptionKey
|
6142
6243
|
include Google::Apis::Core::Hashable
|
@@ -12704,6 +12805,12 @@ module Google
|
|
12704
12805
|
class HttpRouteRule
|
12705
12806
|
include Google::Apis::Core::Hashable
|
12706
12807
|
|
12808
|
+
# Specifies the custom error response policy that must be applied when the
|
12809
|
+
# backend service or backend bucket responds with an error.
|
12810
|
+
# Corresponds to the JSON property `customErrorResponsePolicy`
|
12811
|
+
# @return [Google::Apis::ComputeV1::CustomErrorResponsePolicy]
|
12812
|
+
attr_accessor :custom_error_response_policy
|
12813
|
+
|
12707
12814
|
# The short description conveying the intent of this routeRule. The description
|
12708
12815
|
# can have a maximum length of 1024 characters.
|
12709
12816
|
# Corresponds to the JSON property `description`
|
@@ -12774,6 +12881,7 @@ module Google
|
|
12774
12881
|
|
12775
12882
|
# Update properties of this object
|
12776
12883
|
def update!(**args)
|
12884
|
+
@custom_error_response_policy = args[:custom_error_response_policy] if args.key?(:custom_error_response_policy)
|
12777
12885
|
@description = args[:description] if args.key?(:description)
|
12778
12886
|
@header_action = args[:header_action] if args.key?(:header_action)
|
12779
12887
|
@match_rules = args[:match_rules] if args.key?(:match_rules)
|
@@ -17181,9 +17289,10 @@ module Google
|
|
17181
17289
|
attr_accessor :labels
|
17182
17290
|
|
17183
17291
|
# The machine type to use for instances that are created from these properties.
|
17184
|
-
# This field only
|
17185
|
-
#
|
17186
|
-
# us-central1-a/machineTypes/n2-standard-4
|
17292
|
+
# This field only accepts a machine type name, for example `n2-standard-4`. If
|
17293
|
+
# you use the machine type full or partial URL, for example `projects/my-l7ilb-
|
17294
|
+
# project/zones/us-central1-a/machineTypes/n2-standard-4`, the request will
|
17295
|
+
# result in an `INTERNAL_ERROR`.
|
17187
17296
|
# Corresponds to the JSON property `machineType`
|
17188
17297
|
# @return [String]
|
17189
17298
|
attr_accessor :machine_type
|
@@ -29079,6 +29188,12 @@ module Google
|
|
29079
29188
|
class PathMatcher
|
29080
29189
|
include Google::Apis::Core::Hashable
|
29081
29190
|
|
29191
|
+
# Specifies the custom error response policy that must be applied when the
|
29192
|
+
# backend service or backend bucket responds with an error.
|
29193
|
+
# Corresponds to the JSON property `defaultCustomErrorResponsePolicy`
|
29194
|
+
# @return [Google::Apis::ComputeV1::CustomErrorResponsePolicy]
|
29195
|
+
attr_accessor :default_custom_error_response_policy
|
29196
|
+
|
29082
29197
|
# defaultRouteAction takes effect when none of the pathRules or routeRules match.
|
29083
29198
|
# The load balancer performs advanced routing actions, such as URL rewrites and
|
29084
29199
|
# header transformations, before forwarding the request to the selected backend.
|
@@ -29158,6 +29273,7 @@ module Google
|
|
29158
29273
|
|
29159
29274
|
# Update properties of this object
|
29160
29275
|
def update!(**args)
|
29276
|
+
@default_custom_error_response_policy = args[:default_custom_error_response_policy] if args.key?(:default_custom_error_response_policy)
|
29161
29277
|
@default_route_action = args[:default_route_action] if args.key?(:default_route_action)
|
29162
29278
|
@default_service = args[:default_service] if args.key?(:default_service)
|
29163
29279
|
@default_url_redirect = args[:default_url_redirect] if args.key?(:default_url_redirect)
|
@@ -29174,6 +29290,12 @@ module Google
|
|
29174
29290
|
class PathRule
|
29175
29291
|
include Google::Apis::Core::Hashable
|
29176
29292
|
|
29293
|
+
# Specifies the custom error response policy that must be applied when the
|
29294
|
+
# backend service or backend bucket responds with an error.
|
29295
|
+
# Corresponds to the JSON property `customErrorResponsePolicy`
|
29296
|
+
# @return [Google::Apis::ComputeV1::CustomErrorResponsePolicy]
|
29297
|
+
attr_accessor :custom_error_response_policy
|
29298
|
+
|
29177
29299
|
# The list of path patterns to match. Each must start with / and the only place
|
29178
29300
|
# a * is allowed is at the end following a /. The string fed to the path matcher
|
29179
29301
|
# does not include any text after the first ? or #, and those chars are not
|
@@ -29215,6 +29337,7 @@ module Google
|
|
29215
29337
|
|
29216
29338
|
# Update properties of this object
|
29217
29339
|
def update!(**args)
|
29340
|
+
@custom_error_response_policy = args[:custom_error_response_policy] if args.key?(:custom_error_response_policy)
|
29218
29341
|
@paths = args[:paths] if args.key?(:paths)
|
29219
29342
|
@route_action = args[:route_action] if args.key?(:route_action)
|
29220
29343
|
@service = args[:service] if args.key?(:service)
|
@@ -33993,9 +34116,14 @@ module Google
|
|
33993
34116
|
|
33994
34117
|
# The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should
|
33995
34118
|
# handle matching packets or the IP address of the forwarding Rule. For example,
|
33996
|
-
# the following are all valid URLs: -
|
33997
|
-
#
|
33998
|
-
#
|
34119
|
+
# the following are all valid URLs: - https://www.googleapis.com/compute/v1/
|
34120
|
+
# projects/project/regions/region /forwardingRules/forwardingRule - regions/
|
34121
|
+
# region/forwardingRules/forwardingRule If an IP address is provided, must
|
34122
|
+
# specify an IPv4 address in dot-decimal notation or an IPv6 address in RFC 4291
|
34123
|
+
# format. For example, the following are all valid IP addresses: - 10.128.0.56 -
|
34124
|
+
# 2001:db8::2d9:51:0:0 - 2001:db8:0:0:2d9:51:0:0 IPv6 addresses will be
|
34125
|
+
# displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should
|
34126
|
+
# never be an IPv4-mapped IPv6 address.
|
33999
34127
|
# Corresponds to the JSON property `nextHopIlb`
|
34000
34128
|
# @return [String]
|
34001
34129
|
attr_accessor :next_hop_ilb
|
@@ -35392,11 +35520,11 @@ module Google
|
|
35392
35520
|
# CEL expression that specifies the match condition that egress traffic from a
|
35393
35521
|
# VM is evaluated against. If it evaluates to true, the corresponding `action`
|
35394
35522
|
# is enforced. The following examples are valid match expressions for public NAT:
|
35395
|
-
#
|
35396
|
-
# 0/16')
|
35397
|
-
# following example is a valid match expression for private NAT:
|
35523
|
+
# `inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.
|
35524
|
+
# 0/16')` `destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'` The
|
35525
|
+
# following example is a valid match expression for private NAT: `nexthop.hub ==
|
35398
35526
|
# '//networkconnectivity.googleapis.com/projects/my-project/locations/global/
|
35399
|
-
# hubs/hub-1'
|
35527
|
+
# hubs/hub-1'`
|
35400
35528
|
# Corresponds to the JSON property `match`
|
35401
35529
|
# @return [String]
|
35402
35530
|
attr_accessor :match
|
@@ -35507,12 +35635,19 @@ module Google
|
|
35507
35635
|
class RouterStatus
|
35508
35636
|
include Google::Apis::Core::Hashable
|
35509
35637
|
|
35510
|
-
#
|
35638
|
+
# A list of the best dynamic routes for this Cloud Router's Virtual Private
|
35639
|
+
# Cloud (VPC) network in the same region as this Cloud Router. Lists all of the
|
35640
|
+
# best routes per prefix that are programmed into this region's VPC data plane.
|
35641
|
+
# When global dynamic routing mode is turned on in the VPC network, this list
|
35642
|
+
# can include cross-region dynamic routes from Cloud Routers in other regions.
|
35511
35643
|
# Corresponds to the JSON property `bestRoutes`
|
35512
35644
|
# @return [Array<Google::Apis::ComputeV1::Route>]
|
35513
35645
|
attr_accessor :best_routes
|
35514
35646
|
|
35515
|
-
#
|
35647
|
+
# A list of the best BGP routes learned by this Cloud Router. It is possible
|
35648
|
+
# that routes listed might not be programmed into the data plane, if the Google
|
35649
|
+
# Cloud control plane finds a more optimal route for a prefix than a route
|
35650
|
+
# learned by this Cloud Router.
|
35516
35651
|
# Corresponds to the JSON property `bestRoutesForRouter`
|
35517
35652
|
# @return [Array<Google::Apis::ComputeV1::Route>]
|
35518
35653
|
attr_accessor :best_routes_for_router
|
@@ -36309,6 +36444,14 @@ module Google
|
|
36309
36444
|
# @return [String]
|
36310
36445
|
attr_accessor :location_hint
|
36311
36446
|
|
36447
|
+
# A Duration represents a fixed-length span of time represented as a count of
|
36448
|
+
# seconds and fractions of seconds at nanosecond resolution. It is independent
|
36449
|
+
# of any calendar and concepts like "day" or "month". Range is approximately 10,
|
36450
|
+
# 000 years.
|
36451
|
+
# Corresponds to the JSON property `maxRunDuration`
|
36452
|
+
# @return [Google::Apis::ComputeV1::Duration]
|
36453
|
+
attr_accessor :max_run_duration
|
36454
|
+
|
36312
36455
|
# The minimum number of virtual CPUs this instance will consume when running on
|
36313
36456
|
# a sole-tenant node.
|
36314
36457
|
# Corresponds to the JSON property `minNodeCpus`
|
@@ -36329,6 +36472,11 @@ module Google
|
|
36329
36472
|
# @return [String]
|
36330
36473
|
attr_accessor :on_host_maintenance
|
36331
36474
|
|
36475
|
+
# Defines the behaviour for instances with the instance_termination_action STOP.
|
36476
|
+
# Corresponds to the JSON property `onInstanceStopAction`
|
36477
|
+
# @return [Google::Apis::ComputeV1::SchedulingOnInstanceStopAction]
|
36478
|
+
attr_accessor :on_instance_stop_action
|
36479
|
+
|
36332
36480
|
# Defines whether the instance is preemptible. This can only be set during
|
36333
36481
|
# instance creation or while the instance is stopped and therefore, in a `
|
36334
36482
|
# TERMINATED` state. See Instance Life Cycle for more information on the
|
@@ -36343,6 +36491,13 @@ module Google
|
|
36343
36491
|
# @return [String]
|
36344
36492
|
attr_accessor :provisioning_model
|
36345
36493
|
|
36494
|
+
# Specifies the timestamp, when the instance will be terminated, in RFC3339 text
|
36495
|
+
# format. If specified, the instance termination action will be performed at the
|
36496
|
+
# termination time.
|
36497
|
+
# Corresponds to the JSON property `terminationTime`
|
36498
|
+
# @return [String]
|
36499
|
+
attr_accessor :termination_time
|
36500
|
+
|
36346
36501
|
def initialize(**args)
|
36347
36502
|
update!(**args)
|
36348
36503
|
end
|
@@ -36353,11 +36508,14 @@ module Google
|
|
36353
36508
|
@instance_termination_action = args[:instance_termination_action] if args.key?(:instance_termination_action)
|
36354
36509
|
@local_ssd_recovery_timeout = args[:local_ssd_recovery_timeout] if args.key?(:local_ssd_recovery_timeout)
|
36355
36510
|
@location_hint = args[:location_hint] if args.key?(:location_hint)
|
36511
|
+
@max_run_duration = args[:max_run_duration] if args.key?(:max_run_duration)
|
36356
36512
|
@min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
|
36357
36513
|
@node_affinities = args[:node_affinities] if args.key?(:node_affinities)
|
36358
36514
|
@on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
|
36515
|
+
@on_instance_stop_action = args[:on_instance_stop_action] if args.key?(:on_instance_stop_action)
|
36359
36516
|
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
36360
36517
|
@provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
|
36518
|
+
@termination_time = args[:termination_time] if args.key?(:termination_time)
|
36361
36519
|
end
|
36362
36520
|
end
|
36363
36521
|
|
@@ -36394,6 +36552,28 @@ module Google
|
|
36394
36552
|
end
|
36395
36553
|
end
|
36396
36554
|
|
36555
|
+
# Defines the behaviour for instances with the instance_termination_action STOP.
|
36556
|
+
class SchedulingOnInstanceStopAction
|
36557
|
+
include Google::Apis::Core::Hashable
|
36558
|
+
|
36559
|
+
# If true, the contents of any attached Local SSD disks will be discarded else,
|
36560
|
+
# the Local SSD data will be preserved when the instance is stopped at the end
|
36561
|
+
# of the run duration/termination time.
|
36562
|
+
# Corresponds to the JSON property `discardLocalSsd`
|
36563
|
+
# @return [Boolean]
|
36564
|
+
attr_accessor :discard_local_ssd
|
36565
|
+
alias_method :discard_local_ssd?, :discard_local_ssd
|
36566
|
+
|
36567
|
+
def initialize(**args)
|
36568
|
+
update!(**args)
|
36569
|
+
end
|
36570
|
+
|
36571
|
+
# Update properties of this object
|
36572
|
+
def update!(**args)
|
36573
|
+
@discard_local_ssd = args[:discard_local_ssd] if args.key?(:discard_local_ssd)
|
36574
|
+
end
|
36575
|
+
end
|
36576
|
+
|
36397
36577
|
# An instance's screenshot.
|
36398
36578
|
class Screenshot
|
36399
36579
|
include Google::Apis::Core::Hashable
|
@@ -36925,12 +37105,33 @@ module Google
|
|
36925
37105
|
# @return [Float]
|
36926
37106
|
attr_accessor :auto_deploy_load_threshold
|
36927
37107
|
|
37108
|
+
#
|
37109
|
+
# Corresponds to the JSON property `detectionAbsoluteQps`
|
37110
|
+
# @return [Float]
|
37111
|
+
attr_accessor :detection_absolute_qps
|
37112
|
+
|
37113
|
+
#
|
37114
|
+
# Corresponds to the JSON property `detectionLoadThreshold`
|
37115
|
+
# @return [Float]
|
37116
|
+
attr_accessor :detection_load_threshold
|
37117
|
+
|
37118
|
+
#
|
37119
|
+
# Corresponds to the JSON property `detectionRelativeToBaselineQps`
|
37120
|
+
# @return [Float]
|
37121
|
+
attr_accessor :detection_relative_to_baseline_qps
|
37122
|
+
|
36928
37123
|
# The name must be 1-63 characters long, and comply with RFC1035. The name must
|
36929
37124
|
# be unique within the security policy.
|
36930
37125
|
# Corresponds to the JSON property `name`
|
36931
37126
|
# @return [String]
|
36932
37127
|
attr_accessor :name
|
36933
37128
|
|
37129
|
+
# Configuration options for enabling Adaptive Protection to operate on specified
|
37130
|
+
# granular traffic units.
|
37131
|
+
# Corresponds to the JSON property `trafficGranularityConfigs`
|
37132
|
+
# @return [Array<Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig>]
|
37133
|
+
attr_accessor :traffic_granularity_configs
|
37134
|
+
|
36934
37135
|
def initialize(**args)
|
36935
37136
|
update!(**args)
|
36936
37137
|
end
|
@@ -36941,7 +37142,46 @@ module Google
|
|
36941
37142
|
@auto_deploy_expiration_sec = args[:auto_deploy_expiration_sec] if args.key?(:auto_deploy_expiration_sec)
|
36942
37143
|
@auto_deploy_impacted_baseline_threshold = args[:auto_deploy_impacted_baseline_threshold] if args.key?(:auto_deploy_impacted_baseline_threshold)
|
36943
37144
|
@auto_deploy_load_threshold = args[:auto_deploy_load_threshold] if args.key?(:auto_deploy_load_threshold)
|
37145
|
+
@detection_absolute_qps = args[:detection_absolute_qps] if args.key?(:detection_absolute_qps)
|
37146
|
+
@detection_load_threshold = args[:detection_load_threshold] if args.key?(:detection_load_threshold)
|
37147
|
+
@detection_relative_to_baseline_qps = args[:detection_relative_to_baseline_qps] if args.key?(:detection_relative_to_baseline_qps)
|
36944
37148
|
@name = args[:name] if args.key?(:name)
|
37149
|
+
@traffic_granularity_configs = args[:traffic_granularity_configs] if args.key?(:traffic_granularity_configs)
|
37150
|
+
end
|
37151
|
+
end
|
37152
|
+
|
37153
|
+
# Configurations to specifc granular traffic units processed by Adaptive
|
37154
|
+
# Protection.
|
37155
|
+
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig
|
37156
|
+
include Google::Apis::Core::Hashable
|
37157
|
+
|
37158
|
+
# If enabled, traffic matching each unique value for the specified type
|
37159
|
+
# constitutes a separate traffic unit. It can only be set to true if `value` is
|
37160
|
+
# empty.
|
37161
|
+
# Corresponds to the JSON property `enableEachUniqueValue`
|
37162
|
+
# @return [Boolean]
|
37163
|
+
attr_accessor :enable_each_unique_value
|
37164
|
+
alias_method :enable_each_unique_value?, :enable_each_unique_value
|
37165
|
+
|
37166
|
+
# Type of this configuration.
|
37167
|
+
# Corresponds to the JSON property `type`
|
37168
|
+
# @return [String]
|
37169
|
+
attr_accessor :type
|
37170
|
+
|
37171
|
+
# Requests that match this value constitute a granular traffic unit.
|
37172
|
+
# Corresponds to the JSON property `value`
|
37173
|
+
# @return [String]
|
37174
|
+
attr_accessor :value
|
37175
|
+
|
37176
|
+
def initialize(**args)
|
37177
|
+
update!(**args)
|
37178
|
+
end
|
37179
|
+
|
37180
|
+
# Update properties of this object
|
37181
|
+
def update!(**args)
|
37182
|
+
@enable_each_unique_value = args[:enable_each_unique_value] if args.key?(:enable_each_unique_value)
|
37183
|
+
@type = args[:type] if args.key?(:type)
|
37184
|
+
@value = args[:value] if args.key?(:value)
|
36945
37185
|
end
|
36946
37186
|
end
|
36947
37187
|
|
@@ -40811,7 +41051,8 @@ module Google
|
|
40811
41051
|
# @return [String]
|
40812
41052
|
attr_accessor :performance_provisioning_type
|
40813
41053
|
|
40814
|
-
# Size, in GiB, of the storage pool.
|
41054
|
+
# Size, in GiB, of the storage pool. For more information about the size limits,
|
41055
|
+
# see https://cloud.google.com/compute/docs/disks/storage-pools.
|
40815
41056
|
# Corresponds to the JSON property `poolProvisionedCapacityGb`
|
40816
41057
|
# @return [Fixnum]
|
40817
41058
|
attr_accessor :pool_provisioned_capacity_gb
|
@@ -41393,8 +41634,9 @@ module Google
|
|
41393
41634
|
# @return [Fixnum]
|
41394
41635
|
attr_accessor :pool_used_capacity_bytes
|
41395
41636
|
|
41396
|
-
# Sum of all the disks' provisioned IOPS, minus some amount that
|
41397
|
-
# disk that is not counted towards pool's IOPS capacity.
|
41637
|
+
# [Output Only] Sum of all the disks' provisioned IOPS, minus some amount that
|
41638
|
+
# is allowed per disk that is not counted towards pool's IOPS capacity. For more
|
41639
|
+
# information, see https://cloud.google.com/compute/docs/disks/storage-pools.
|
41398
41640
|
# Corresponds to the JSON property `poolUsedIops`
|
41399
41641
|
# @return [Fixnum]
|
41400
41642
|
attr_accessor :pool_used_iops
|
@@ -46461,6 +46703,12 @@ module Google
|
|
46461
46703
|
# @return [String]
|
46462
46704
|
attr_accessor :creation_timestamp
|
46463
46705
|
|
46706
|
+
# Specifies the custom error response policy that must be applied when the
|
46707
|
+
# backend service or backend bucket responds with an error.
|
46708
|
+
# Corresponds to the JSON property `defaultCustomErrorResponsePolicy`
|
46709
|
+
# @return [Google::Apis::ComputeV1::CustomErrorResponsePolicy]
|
46710
|
+
attr_accessor :default_custom_error_response_policy
|
46711
|
+
|
46464
46712
|
# defaultRouteAction takes effect when none of the hostRules match. The load
|
46465
46713
|
# balancer performs advanced routing actions, such as URL rewrites and header
|
46466
46714
|
# transformations, before forwarding the request to the selected backend. If
|
@@ -46574,6 +46822,7 @@ module Google
|
|
46574
46822
|
# Update properties of this object
|
46575
46823
|
def update!(**args)
|
46576
46824
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
46825
|
+
@default_custom_error_response_policy = args[:default_custom_error_response_policy] if args.key?(:default_custom_error_response_policy)
|
46577
46826
|
@default_route_action = args[:default_route_action] if args.key?(:default_route_action)
|
46578
46827
|
@default_service = args[:default_service] if args.key?(:default_service)
|
46579
46828
|
@default_url_redirect = args[:default_url_redirect] if args.key?(:default_url_redirect)
|
@@ -49004,7 +49253,9 @@ module Google
|
|
49004
49253
|
# selection of a backend service is determined only for new traffic. Once a user'
|
49005
49254
|
# s request has been directed to a backend service, subsequent requests are sent
|
49006
49255
|
# to the same backend service as determined by the backend service's session
|
49007
|
-
# affinity policy.
|
49256
|
+
# affinity policy. Don't configure session affinity if you're using weighted
|
49257
|
+
# traffic splitting. If you do, the weighted traffic splitting configuration
|
49258
|
+
# takes precedence. The value must be from 0 to 1000.
|
49008
49259
|
# Corresponds to the JSON property `weight`
|
49009
49260
|
# @return [Fixnum]
|
49010
49261
|
attr_accessor :weight
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeV1
|
18
18
|
# Version of the google-apis-compute_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.101.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240618"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -718,6 +718,18 @@ module Google
|
|
718
718
|
include Google::Apis::Core::JsonObjectSupport
|
719
719
|
end
|
720
720
|
|
721
|
+
class CustomErrorResponsePolicy
|
722
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
|
+
|
724
|
+
include Google::Apis::Core::JsonObjectSupport
|
725
|
+
end
|
726
|
+
|
727
|
+
class CustomErrorResponsePolicyCustomErrorResponseRule
|
728
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
729
|
+
|
730
|
+
include Google::Apis::Core::JsonObjectSupport
|
731
|
+
end
|
732
|
+
|
721
733
|
class CustomerEncryptionKey
|
722
734
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
735
|
|
@@ -4702,6 +4714,12 @@ module Google
|
|
4702
4714
|
include Google::Apis::Core::JsonObjectSupport
|
4703
4715
|
end
|
4704
4716
|
|
4717
|
+
class SchedulingOnInstanceStopAction
|
4718
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4719
|
+
|
4720
|
+
include Google::Apis::Core::JsonObjectSupport
|
4721
|
+
end
|
4722
|
+
|
4705
4723
|
class Screenshot
|
4706
4724
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4707
4725
|
|
@@ -4780,6 +4798,12 @@ module Google
|
|
4780
4798
|
include Google::Apis::Core::JsonObjectSupport
|
4781
4799
|
end
|
4782
4800
|
|
4801
|
+
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig
|
4802
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4803
|
+
|
4804
|
+
include Google::Apis::Core::JsonObjectSupport
|
4805
|
+
end
|
4806
|
+
|
4783
4807
|
class SecurityPolicyAdvancedOptionsConfig
|
4784
4808
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4785
4809
|
|
@@ -6769,6 +6793,7 @@ module Google
|
|
6769
6793
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6770
6794
|
property :enable_nested_virtualization, as: 'enableNestedVirtualization'
|
6771
6795
|
property :enable_uefi_networking, as: 'enableUefiNetworking'
|
6796
|
+
property :performance_monitoring_unit, as: 'performanceMonitoringUnit'
|
6772
6797
|
property :threads_per_core, as: 'threadsPerCore'
|
6773
6798
|
property :visible_core_count, as: 'visibleCoreCount'
|
6774
6799
|
end
|
@@ -7823,6 +7848,7 @@ module Google
|
|
7823
7848
|
class ConfidentialInstanceConfig
|
7824
7849
|
# @private
|
7825
7850
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7851
|
+
property :confidential_instance_type, as: 'confidentialInstanceType'
|
7826
7852
|
property :enable_confidential_compute, as: 'enableConfidentialCompute'
|
7827
7853
|
end
|
7828
7854
|
end
|
@@ -7868,6 +7894,24 @@ module Google
|
|
7868
7894
|
end
|
7869
7895
|
end
|
7870
7896
|
|
7897
|
+
class CustomErrorResponsePolicy
|
7898
|
+
# @private
|
7899
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7900
|
+
collection :error_response_rules, as: 'errorResponseRules', class: Google::Apis::ComputeV1::CustomErrorResponsePolicyCustomErrorResponseRule, decorator: Google::Apis::ComputeV1::CustomErrorResponsePolicyCustomErrorResponseRule::Representation
|
7901
|
+
|
7902
|
+
property :error_service, as: 'errorService'
|
7903
|
+
end
|
7904
|
+
end
|
7905
|
+
|
7906
|
+
class CustomErrorResponsePolicyCustomErrorResponseRule
|
7907
|
+
# @private
|
7908
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7909
|
+
collection :match_response_codes, as: 'matchResponseCodes'
|
7910
|
+
property :override_response_code, as: 'overrideResponseCode'
|
7911
|
+
property :path, as: 'path'
|
7912
|
+
end
|
7913
|
+
end
|
7914
|
+
|
7871
7915
|
class CustomerEncryptionKey
|
7872
7916
|
# @private
|
7873
7917
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9362,6 +9406,8 @@ module Google
|
|
9362
9406
|
class HttpRouteRule
|
9363
9407
|
# @private
|
9364
9408
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9409
|
+
property :custom_error_response_policy, as: 'customErrorResponsePolicy', class: Google::Apis::ComputeV1::CustomErrorResponsePolicy, decorator: Google::Apis::ComputeV1::CustomErrorResponsePolicy::Representation
|
9410
|
+
|
9365
9411
|
property :description, as: 'description'
|
9366
9412
|
property :header_action, as: 'headerAction', class: Google::Apis::ComputeV1::HttpHeaderAction, decorator: Google::Apis::ComputeV1::HttpHeaderAction::Representation
|
9367
9413
|
|
@@ -13500,6 +13546,8 @@ module Google
|
|
13500
13546
|
class PathMatcher
|
13501
13547
|
# @private
|
13502
13548
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13549
|
+
property :default_custom_error_response_policy, as: 'defaultCustomErrorResponsePolicy', class: Google::Apis::ComputeV1::CustomErrorResponsePolicy, decorator: Google::Apis::ComputeV1::CustomErrorResponsePolicy::Representation
|
13550
|
+
|
13503
13551
|
property :default_route_action, as: 'defaultRouteAction', class: Google::Apis::ComputeV1::HttpRouteAction, decorator: Google::Apis::ComputeV1::HttpRouteAction::Representation
|
13504
13552
|
|
13505
13553
|
property :default_service, as: 'defaultService'
|
@@ -13519,6 +13567,8 @@ module Google
|
|
13519
13567
|
class PathRule
|
13520
13568
|
# @private
|
13521
13569
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13570
|
+
property :custom_error_response_policy, as: 'customErrorResponsePolicy', class: Google::Apis::ComputeV1::CustomErrorResponsePolicy, decorator: Google::Apis::ComputeV1::CustomErrorResponsePolicy::Representation
|
13571
|
+
|
13522
13572
|
collection :paths, as: 'paths'
|
13523
13573
|
property :route_action, as: 'routeAction', class: Google::Apis::ComputeV1::HttpRouteAction, decorator: Google::Apis::ComputeV1::HttpRouteAction::Representation
|
13524
13574
|
|
@@ -15325,12 +15375,17 @@ module Google
|
|
15325
15375
|
property :local_ssd_recovery_timeout, as: 'localSsdRecoveryTimeout', class: Google::Apis::ComputeV1::Duration, decorator: Google::Apis::ComputeV1::Duration::Representation
|
15326
15376
|
|
15327
15377
|
property :location_hint, as: 'locationHint'
|
15378
|
+
property :max_run_duration, as: 'maxRunDuration', class: Google::Apis::ComputeV1::Duration, decorator: Google::Apis::ComputeV1::Duration::Representation
|
15379
|
+
|
15328
15380
|
property :min_node_cpus, as: 'minNodeCpus'
|
15329
15381
|
collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ComputeV1::SchedulingNodeAffinity, decorator: Google::Apis::ComputeV1::SchedulingNodeAffinity::Representation
|
15330
15382
|
|
15331
15383
|
property :on_host_maintenance, as: 'onHostMaintenance'
|
15384
|
+
property :on_instance_stop_action, as: 'onInstanceStopAction', class: Google::Apis::ComputeV1::SchedulingOnInstanceStopAction, decorator: Google::Apis::ComputeV1::SchedulingOnInstanceStopAction::Representation
|
15385
|
+
|
15332
15386
|
property :preemptible, as: 'preemptible'
|
15333
15387
|
property :provisioning_model, as: 'provisioningModel'
|
15388
|
+
property :termination_time, as: 'terminationTime'
|
15334
15389
|
end
|
15335
15390
|
end
|
15336
15391
|
|
@@ -15343,6 +15398,13 @@ module Google
|
|
15343
15398
|
end
|
15344
15399
|
end
|
15345
15400
|
|
15401
|
+
class SchedulingOnInstanceStopAction
|
15402
|
+
# @private
|
15403
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15404
|
+
property :discard_local_ssd, as: 'discardLocalSsd'
|
15405
|
+
end
|
15406
|
+
end
|
15407
|
+
|
15346
15408
|
class Screenshot
|
15347
15409
|
# @private
|
15348
15410
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -15483,7 +15545,21 @@ module Google
|
|
15483
15545
|
property :auto_deploy_expiration_sec, as: 'autoDeployExpirationSec'
|
15484
15546
|
property :auto_deploy_impacted_baseline_threshold, as: 'autoDeployImpactedBaselineThreshold'
|
15485
15547
|
property :auto_deploy_load_threshold, as: 'autoDeployLoadThreshold'
|
15548
|
+
property :detection_absolute_qps, as: 'detectionAbsoluteQps'
|
15549
|
+
property :detection_load_threshold, as: 'detectionLoadThreshold'
|
15550
|
+
property :detection_relative_to_baseline_qps, as: 'detectionRelativeToBaselineQps'
|
15486
15551
|
property :name, as: 'name'
|
15552
|
+
collection :traffic_granularity_configs, as: 'trafficGranularityConfigs', class: Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig, decorator: Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig::Representation
|
15553
|
+
|
15554
|
+
end
|
15555
|
+
end
|
15556
|
+
|
15557
|
+
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig
|
15558
|
+
# @private
|
15559
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15560
|
+
property :enable_each_unique_value, as: 'enableEachUniqueValue'
|
15561
|
+
property :type, as: 'type'
|
15562
|
+
property :value, as: 'value'
|
15487
15563
|
end
|
15488
15564
|
end
|
15489
15565
|
|
@@ -17867,6 +17943,8 @@ module Google
|
|
17867
17943
|
# @private
|
17868
17944
|
class Representation < Google::Apis::Core::JsonRepresentation
|
17869
17945
|
property :creation_timestamp, as: 'creationTimestamp'
|
17946
|
+
property :default_custom_error_response_policy, as: 'defaultCustomErrorResponsePolicy', class: Google::Apis::ComputeV1::CustomErrorResponsePolicy, decorator: Google::Apis::ComputeV1::CustomErrorResponsePolicy::Representation
|
17947
|
+
|
17870
17948
|
property :default_route_action, as: 'defaultRouteAction', class: Google::Apis::ComputeV1::HttpRouteAction, decorator: Google::Apis::ComputeV1::HttpRouteAction::Representation
|
17871
17949
|
|
17872
17950
|
property :default_service, as: 'defaultService'
|
@@ -38867,7 +38867,8 @@ module Google
|
|
38867
38867
|
|
38868
38868
|
# Updates the specified storagePool with the data included in the request. The
|
38869
38869
|
# update is performed only on selected fields included as part of update-mask.
|
38870
|
-
# Only the following fields can be modified:
|
38870
|
+
# Only the following fields can be modified: pool_provisioned_capacity_gb,
|
38871
|
+
# pool_provisioned_iops and pool_provisioned_throughput.
|
38871
38872
|
# @param [String] project
|
38872
38873
|
# Project ID for this request.
|
38873
38874
|
# @param [String] zone
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.101.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.101.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|