google-apis-compute_v1 0.100.0 → 0.101.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -6149,6 +6149,95 @@ module Google
|
|
6149
6149
|
end
|
6150
6150
|
end
|
6151
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
|
+
|
6152
6241
|
#
|
6153
6242
|
class CustomerEncryptionKey
|
6154
6243
|
include Google::Apis::Core::Hashable
|
@@ -12716,6 +12805,12 @@ module Google
|
|
12716
12805
|
class HttpRouteRule
|
12717
12806
|
include Google::Apis::Core::Hashable
|
12718
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
|
+
|
12719
12814
|
# The short description conveying the intent of this routeRule. The description
|
12720
12815
|
# can have a maximum length of 1024 characters.
|
12721
12816
|
# Corresponds to the JSON property `description`
|
@@ -12786,6 +12881,7 @@ module Google
|
|
12786
12881
|
|
12787
12882
|
# Update properties of this object
|
12788
12883
|
def update!(**args)
|
12884
|
+
@custom_error_response_policy = args[:custom_error_response_policy] if args.key?(:custom_error_response_policy)
|
12789
12885
|
@description = args[:description] if args.key?(:description)
|
12790
12886
|
@header_action = args[:header_action] if args.key?(:header_action)
|
12791
12887
|
@match_rules = args[:match_rules] if args.key?(:match_rules)
|
@@ -17193,9 +17289,10 @@ module Google
|
|
17193
17289
|
attr_accessor :labels
|
17194
17290
|
|
17195
17291
|
# The machine type to use for instances that are created from these properties.
|
17196
|
-
# This field only
|
17197
|
-
#
|
17198
|
-
# 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`.
|
17199
17296
|
# Corresponds to the JSON property `machineType`
|
17200
17297
|
# @return [String]
|
17201
17298
|
attr_accessor :machine_type
|
@@ -29091,6 +29188,12 @@ module Google
|
|
29091
29188
|
class PathMatcher
|
29092
29189
|
include Google::Apis::Core::Hashable
|
29093
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
|
+
|
29094
29197
|
# defaultRouteAction takes effect when none of the pathRules or routeRules match.
|
29095
29198
|
# The load balancer performs advanced routing actions, such as URL rewrites and
|
29096
29199
|
# header transformations, before forwarding the request to the selected backend.
|
@@ -29170,6 +29273,7 @@ module Google
|
|
29170
29273
|
|
29171
29274
|
# Update properties of this object
|
29172
29275
|
def update!(**args)
|
29276
|
+
@default_custom_error_response_policy = args[:default_custom_error_response_policy] if args.key?(:default_custom_error_response_policy)
|
29173
29277
|
@default_route_action = args[:default_route_action] if args.key?(:default_route_action)
|
29174
29278
|
@default_service = args[:default_service] if args.key?(:default_service)
|
29175
29279
|
@default_url_redirect = args[:default_url_redirect] if args.key?(:default_url_redirect)
|
@@ -29186,6 +29290,12 @@ module Google
|
|
29186
29290
|
class PathRule
|
29187
29291
|
include Google::Apis::Core::Hashable
|
29188
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
|
+
|
29189
29299
|
# The list of path patterns to match. Each must start with / and the only place
|
29190
29300
|
# a * is allowed is at the end following a /. The string fed to the path matcher
|
29191
29301
|
# does not include any text after the first ? or #, and those chars are not
|
@@ -29227,6 +29337,7 @@ module Google
|
|
29227
29337
|
|
29228
29338
|
# Update properties of this object
|
29229
29339
|
def update!(**args)
|
29340
|
+
@custom_error_response_policy = args[:custom_error_response_policy] if args.key?(:custom_error_response_policy)
|
29230
29341
|
@paths = args[:paths] if args.key?(:paths)
|
29231
29342
|
@route_action = args[:route_action] if args.key?(:route_action)
|
29232
29343
|
@service = args[:service] if args.key?(:service)
|
@@ -34005,9 +34116,14 @@ module Google
|
|
34005
34116
|
|
34006
34117
|
# The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should
|
34007
34118
|
# handle matching packets or the IP address of the forwarding Rule. For example,
|
34008
|
-
# the following are all valid URLs: -
|
34009
|
-
#
|
34010
|
-
#
|
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.
|
34011
34127
|
# Corresponds to the JSON property `nextHopIlb`
|
34012
34128
|
# @return [String]
|
34013
34129
|
attr_accessor :next_hop_ilb
|
@@ -35404,11 +35520,11 @@ module Google
|
|
35404
35520
|
# CEL expression that specifies the match condition that egress traffic from a
|
35405
35521
|
# VM is evaluated against. If it evaluates to true, the corresponding `action`
|
35406
35522
|
# is enforced. The following examples are valid match expressions for public NAT:
|
35407
|
-
#
|
35408
|
-
# 0/16')
|
35409
|
-
# 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 ==
|
35410
35526
|
# '//networkconnectivity.googleapis.com/projects/my-project/locations/global/
|
35411
|
-
# hubs/hub-1'
|
35527
|
+
# hubs/hub-1'`
|
35412
35528
|
# Corresponds to the JSON property `match`
|
35413
35529
|
# @return [String]
|
35414
35530
|
attr_accessor :match
|
@@ -35519,12 +35635,19 @@ module Google
|
|
35519
35635
|
class RouterStatus
|
35520
35636
|
include Google::Apis::Core::Hashable
|
35521
35637
|
|
35522
|
-
#
|
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.
|
35523
35643
|
# Corresponds to the JSON property `bestRoutes`
|
35524
35644
|
# @return [Array<Google::Apis::ComputeV1::Route>]
|
35525
35645
|
attr_accessor :best_routes
|
35526
35646
|
|
35527
|
-
#
|
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.
|
35528
35651
|
# Corresponds to the JSON property `bestRoutesForRouter`
|
35529
35652
|
# @return [Array<Google::Apis::ComputeV1::Route>]
|
35530
35653
|
attr_accessor :best_routes_for_router
|
@@ -36982,12 +37105,33 @@ module Google
|
|
36982
37105
|
# @return [Float]
|
36983
37106
|
attr_accessor :auto_deploy_load_threshold
|
36984
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
|
+
|
36985
37123
|
# The name must be 1-63 characters long, and comply with RFC1035. The name must
|
36986
37124
|
# be unique within the security policy.
|
36987
37125
|
# Corresponds to the JSON property `name`
|
36988
37126
|
# @return [String]
|
36989
37127
|
attr_accessor :name
|
36990
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
|
+
|
36991
37135
|
def initialize(**args)
|
36992
37136
|
update!(**args)
|
36993
37137
|
end
|
@@ -36998,7 +37142,46 @@ module Google
|
|
36998
37142
|
@auto_deploy_expiration_sec = args[:auto_deploy_expiration_sec] if args.key?(:auto_deploy_expiration_sec)
|
36999
37143
|
@auto_deploy_impacted_baseline_threshold = args[:auto_deploy_impacted_baseline_threshold] if args.key?(:auto_deploy_impacted_baseline_threshold)
|
37000
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)
|
37001
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)
|
37002
37185
|
end
|
37003
37186
|
end
|
37004
37187
|
|
@@ -40868,7 +41051,8 @@ module Google
|
|
40868
41051
|
# @return [String]
|
40869
41052
|
attr_accessor :performance_provisioning_type
|
40870
41053
|
|
40871
|
-
# 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.
|
40872
41056
|
# Corresponds to the JSON property `poolProvisionedCapacityGb`
|
40873
41057
|
# @return [Fixnum]
|
40874
41058
|
attr_accessor :pool_provisioned_capacity_gb
|
@@ -41450,8 +41634,9 @@ module Google
|
|
41450
41634
|
# @return [Fixnum]
|
41451
41635
|
attr_accessor :pool_used_capacity_bytes
|
41452
41636
|
|
41453
|
-
# Sum of all the disks' provisioned IOPS, minus some amount that
|
41454
|
-
# 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.
|
41455
41640
|
# Corresponds to the JSON property `poolUsedIops`
|
41456
41641
|
# @return [Fixnum]
|
41457
41642
|
attr_accessor :pool_used_iops
|
@@ -46518,6 +46703,12 @@ module Google
|
|
46518
46703
|
# @return [String]
|
46519
46704
|
attr_accessor :creation_timestamp
|
46520
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
|
+
|
46521
46712
|
# defaultRouteAction takes effect when none of the hostRules match. The load
|
46522
46713
|
# balancer performs advanced routing actions, such as URL rewrites and header
|
46523
46714
|
# transformations, before forwarding the request to the selected backend. If
|
@@ -46631,6 +46822,7 @@ module Google
|
|
46631
46822
|
# Update properties of this object
|
46632
46823
|
def update!(**args)
|
46633
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)
|
46634
46826
|
@default_route_action = args[:default_route_action] if args.key?(:default_route_action)
|
46635
46827
|
@default_service = args[:default_service] if args.key?(:default_service)
|
46636
46828
|
@default_url_redirect = args[:default_url_redirect] if args.key?(:default_url_redirect)
|
@@ -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
|
|
@@ -4786,6 +4798,12 @@ module Google
|
|
4786
4798
|
include Google::Apis::Core::JsonObjectSupport
|
4787
4799
|
end
|
4788
4800
|
|
4801
|
+
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig
|
4802
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4803
|
+
|
4804
|
+
include Google::Apis::Core::JsonObjectSupport
|
4805
|
+
end
|
4806
|
+
|
4789
4807
|
class SecurityPolicyAdvancedOptionsConfig
|
4790
4808
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4791
4809
|
|
@@ -7876,6 +7894,24 @@ module Google
|
|
7876
7894
|
end
|
7877
7895
|
end
|
7878
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
|
+
|
7879
7915
|
class CustomerEncryptionKey
|
7880
7916
|
# @private
|
7881
7917
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9370,6 +9406,8 @@ module Google
|
|
9370
9406
|
class HttpRouteRule
|
9371
9407
|
# @private
|
9372
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
|
+
|
9373
9411
|
property :description, as: 'description'
|
9374
9412
|
property :header_action, as: 'headerAction', class: Google::Apis::ComputeV1::HttpHeaderAction, decorator: Google::Apis::ComputeV1::HttpHeaderAction::Representation
|
9375
9413
|
|
@@ -13508,6 +13546,8 @@ module Google
|
|
13508
13546
|
class PathMatcher
|
13509
13547
|
# @private
|
13510
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
|
+
|
13511
13551
|
property :default_route_action, as: 'defaultRouteAction', class: Google::Apis::ComputeV1::HttpRouteAction, decorator: Google::Apis::ComputeV1::HttpRouteAction::Representation
|
13512
13552
|
|
13513
13553
|
property :default_service, as: 'defaultService'
|
@@ -13527,6 +13567,8 @@ module Google
|
|
13527
13567
|
class PathRule
|
13528
13568
|
# @private
|
13529
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
|
+
|
13530
13572
|
collection :paths, as: 'paths'
|
13531
13573
|
property :route_action, as: 'routeAction', class: Google::Apis::ComputeV1::HttpRouteAction, decorator: Google::Apis::ComputeV1::HttpRouteAction::Representation
|
13532
13574
|
|
@@ -15503,7 +15545,21 @@ module Google
|
|
15503
15545
|
property :auto_deploy_expiration_sec, as: 'autoDeployExpirationSec'
|
15504
15546
|
property :auto_deploy_impacted_baseline_threshold, as: 'autoDeployImpactedBaselineThreshold'
|
15505
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'
|
15506
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'
|
15507
15563
|
end
|
15508
15564
|
end
|
15509
15565
|
|
@@ -17887,6 +17943,8 @@ module Google
|
|
17887
17943
|
# @private
|
17888
17944
|
class Representation < Google::Apis::Core::JsonRepresentation
|
17889
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
|
+
|
17890
17948
|
property :default_route_action, as: 'defaultRouteAction', class: Google::Apis::ComputeV1::HttpRouteAction, decorator: Google::Apis::ComputeV1::HttpRouteAction::Representation
|
17891
17949
|
|
17892
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: []
|