google-apis-compute_v1 0.100.0 → 0.102.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: 8d3c070d3584b58584491ec30d0d0a07397aa3c18bd40ebc44d25817a8128563
4
- data.tar.gz: b4976ccfb0a1c0e73b99e105a5d67d6dfbaefff45c3ba90e77fad0243836a184
3
+ metadata.gz: c34b2060bc9725d099c89ce3918428176813c0cc2efa85fb5bed9fd3ebd68aa2
4
+ data.tar.gz: 77fa4e70485f5625da682da96cad0a75db89cdfd2984bab780c9a95950f2f00b
5
5
  SHA512:
6
- metadata.gz: 5c6822e0177dcc93b77d9eb74a0cb55d415112bfc5d0752b1e2b858f81d3c113a11cd7a93e2df76f73bad0f1754eda5c6dc4166e7148c5b218185d9419799b83
7
- data.tar.gz: 6cda078d45d8a288cc09514fd0acb26509ef8d5c635f2ab32fefa42dbe9e010fe746c8ccc0a6fe7070b6e9131a524e2a7a790919c324f1db590f9da6367d1059
6
+ metadata.gz: 846efa4a3be99d4fc379d0faec149708f190349ac58687ca3fe310ca963daaa2c66d7561dd65b93986c7c77543cf48597bd69e5567866ee250de82730e5d1786
7
+ data.tar.gz: f1d64d459ce4d427709a79bbacc05c61552f471f37df14a5e1d61729f4919692b4fbdeb12550e8a47126f9e3f03e51442ffaca8de57584b19bec309a7b62917a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.102.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240702
6
+
7
+ ### v0.101.0 (2024-06-26)
8
+
9
+ * Regenerated from discovery document revision 20240618
10
+
3
11
  ### v0.100.0 (2024-06-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20240604
@@ -3645,7 +3645,7 @@ module Google
3645
3645
  # @return [Fixnum]
3646
3646
  attr_accessor :timeout_sec
3647
3647
 
3648
- #
3648
+ # [Output Only] List of resources referencing given backend service.
3649
3649
  # Corresponds to the JSON property `usedBy`
3650
3650
  # @return [Array<Google::Apis::ComputeV1::BackendServiceUsedBy>]
3651
3651
  attr_accessor :used_by
@@ -4619,7 +4619,9 @@ module Google
4619
4619
  class BackendServiceUsedBy
4620
4620
  include Google::Apis::Core::Hashable
4621
4621
 
4622
- #
4622
+ # [Output Only] Server-defined URL for resources referencing given
4623
+ # BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and
4624
+ # ForwardingRule.
4623
4625
  # Corresponds to the JSON property `reference`
4624
4626
  # @return [String]
4625
4627
  attr_accessor :reference
@@ -6149,6 +6151,95 @@ module Google
6149
6151
  end
6150
6152
  end
6151
6153
 
6154
+ # Specifies the custom error response policy that must be applied when the
6155
+ # backend service or backend bucket responds with an error.
6156
+ class CustomErrorResponsePolicy
6157
+ include Google::Apis::Core::Hashable
6158
+
6159
+ # Specifies rules for returning error responses. In a given policy, if you
6160
+ # specify rules for both a range of error codes as well as rules for specific
6161
+ # error codes then rules with specific error codes have a higher priority. For
6162
+ # example, assume that you configure a rule for 401 (Un-authorized) code, and
6163
+ # another for all 4 series error codes (4XX). If the backend service returns a
6164
+ # 401, then the rule for 401 will be applied. However if the backend service
6165
+ # returns a 403, the rule for 4xx takes effect.
6166
+ # Corresponds to the JSON property `errorResponseRules`
6167
+ # @return [Array<Google::Apis::ComputeV1::CustomErrorResponsePolicyCustomErrorResponseRule>]
6168
+ attr_accessor :error_response_rules
6169
+
6170
+ # The full or partial URL to the BackendBucket resource that contains the custom
6171
+ # error content. Examples are: - https://www.googleapis.com/compute/v1/projects/
6172
+ # project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/
6173
+ # global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket
6174
+ # If errorService is not specified at lower levels like pathMatcher, pathRule
6175
+ # and routeRule, an errorService specified at a higher level in the UrlMap will
6176
+ # be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more
6177
+ # errorResponseRules[], it must specify errorService. If load balancer cannot
6178
+ # reach the backendBucket, a simple Not Found Error will be returned, with the
6179
+ # original response code (or overrideResponseCode if configured). errorService
6180
+ # is not supported for internal or regional HTTP/HTTPS load balancers.
6181
+ # Corresponds to the JSON property `errorService`
6182
+ # @return [String]
6183
+ attr_accessor :error_service
6184
+
6185
+ def initialize(**args)
6186
+ update!(**args)
6187
+ end
6188
+
6189
+ # Update properties of this object
6190
+ def update!(**args)
6191
+ @error_response_rules = args[:error_response_rules] if args.key?(:error_response_rules)
6192
+ @error_service = args[:error_service] if args.key?(:error_service)
6193
+ end
6194
+ end
6195
+
6196
+ # Specifies the mapping between the response code that will be returned along
6197
+ # with the custom error content and the response code returned by the backend
6198
+ # service.
6199
+ class CustomErrorResponsePolicyCustomErrorResponseRule
6200
+ include Google::Apis::Core::Hashable
6201
+
6202
+ # Valid values include: - A number between 400 and 599: For example 401 or 503,
6203
+ # in which case the load balancer applies the policy if the error code exactly
6204
+ # matches this value. - 5xx: Load Balancer will apply the policy if the backend
6205
+ # service responds with any response code in the range of 500 to 599. - 4xx:
6206
+ # Load Balancer will apply the policy if the backend service responds with any
6207
+ # response code in the range of 400 to 499. Values must be unique within
6208
+ # matchResponseCodes and across all errorResponseRules of
6209
+ # CustomErrorResponsePolicy.
6210
+ # Corresponds to the JSON property `matchResponseCodes`
6211
+ # @return [Array<String>]
6212
+ attr_accessor :match_response_codes
6213
+
6214
+ # The HTTP status code returned with the response containing the custom error
6215
+ # content. If overrideResponseCode is not supplied, the same response code
6216
+ # returned by the original backend bucket or backend service is returned to the
6217
+ # client.
6218
+ # Corresponds to the JSON property `overrideResponseCode`
6219
+ # @return [Fixnum]
6220
+ attr_accessor :override_response_code
6221
+
6222
+ # The full path to a file within backendBucket . For example: /errors/
6223
+ # defaultError.html path must start with a leading slash. path cannot have
6224
+ # trailing slashes. If the file is not available in backendBucket or the load
6225
+ # balancer cannot reach the BackendBucket, a simple Not Found Error is returned
6226
+ # to the client. The value must be from 1 to 1024 characters
6227
+ # Corresponds to the JSON property `path`
6228
+ # @return [String]
6229
+ attr_accessor :path
6230
+
6231
+ def initialize(**args)
6232
+ update!(**args)
6233
+ end
6234
+
6235
+ # Update properties of this object
6236
+ def update!(**args)
6237
+ @match_response_codes = args[:match_response_codes] if args.key?(:match_response_codes)
6238
+ @override_response_code = args[:override_response_code] if args.key?(:override_response_code)
6239
+ @path = args[:path] if args.key?(:path)
6240
+ end
6241
+ end
6242
+
6152
6243
  #
6153
6244
  class CustomerEncryptionKey
6154
6245
  include Google::Apis::Core::Hashable
@@ -12716,6 +12807,12 @@ module Google
12716
12807
  class HttpRouteRule
12717
12808
  include Google::Apis::Core::Hashable
12718
12809
 
12810
+ # Specifies the custom error response policy that must be applied when the
12811
+ # backend service or backend bucket responds with an error.
12812
+ # Corresponds to the JSON property `customErrorResponsePolicy`
12813
+ # @return [Google::Apis::ComputeV1::CustomErrorResponsePolicy]
12814
+ attr_accessor :custom_error_response_policy
12815
+
12719
12816
  # The short description conveying the intent of this routeRule. The description
12720
12817
  # can have a maximum length of 1024 characters.
12721
12818
  # Corresponds to the JSON property `description`
@@ -12786,6 +12883,7 @@ module Google
12786
12883
 
12787
12884
  # Update properties of this object
12788
12885
  def update!(**args)
12886
+ @custom_error_response_policy = args[:custom_error_response_policy] if args.key?(:custom_error_response_policy)
12789
12887
  @description = args[:description] if args.key?(:description)
12790
12888
  @header_action = args[:header_action] if args.key?(:header_action)
12791
12889
  @match_rules = args[:match_rules] if args.key?(:match_rules)
@@ -14545,10 +14643,15 @@ module Google
14545
14643
  # @return [Array<Google::Apis::ComputeV1::InstanceGroupManagerAutoHealingPolicy>]
14546
14644
  attr_accessor :auto_healing_policies
14547
14645
 
14548
- # The base instance name to use for instances in this group. The value must be 1-
14549
- # 58 characters long. Instances are named by appending a hyphen and a random
14550
- # four-character string to the base instance name. The base instance name must
14551
- # comply with RFC1035.
14646
+ # The base instance name is a prefix that you want to attach to the names of all
14647
+ # VMs in a MIG. The maximum character length is 58 and the name must comply with
14648
+ # RFC1035 format. When a VM is created in the group, the MIG appends a hyphen
14649
+ # and a random four-character string to the base instance name. If you want the
14650
+ # MIG to assign sequential numbers instead of a random string, then end the base
14651
+ # instance name with a hyphen followed by one or more hash symbols. The hash
14652
+ # symbols indicate the number of digits. For example, a base instance name of "
14653
+ # vm-###" results in "vm-001" as a VM name. @pattern [a-z](([-a-z0-9]`0,57`)|([-
14654
+ # a-z0-9]`0,52`-#`1,10`(\\[[0-9]`1,10`\\])?))
14552
14655
  # Corresponds to the JSON property `baseInstanceName`
14553
14656
  # @return [String]
14554
14657
  attr_accessor :base_instance_name
@@ -17193,9 +17296,10 @@ module Google
17193
17296
  attr_accessor :labels
17194
17297
 
17195
17298
  # The machine type to use for instances that are created from these properties.
17196
- # This field only accept machine types name. e.g. n2-standard-4 and does not
17197
- # accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/
17198
- # us-central1-a/machineTypes/n2-standard-4 will throw INTERNAL_ERROR.
17299
+ # This field only accepts a machine type name, for example `n2-standard-4`. If
17300
+ # you use the machine type full or partial URL, for example `projects/my-l7ilb-
17301
+ # project/zones/us-central1-a/machineTypes/n2-standard-4`, the request will
17302
+ # result in an `INTERNAL_ERROR`.
17199
17303
  # Corresponds to the JSON property `machineType`
17200
17304
  # @return [String]
17201
17305
  attr_accessor :machine_type
@@ -29091,6 +29195,12 @@ module Google
29091
29195
  class PathMatcher
29092
29196
  include Google::Apis::Core::Hashable
29093
29197
 
29198
+ # Specifies the custom error response policy that must be applied when the
29199
+ # backend service or backend bucket responds with an error.
29200
+ # Corresponds to the JSON property `defaultCustomErrorResponsePolicy`
29201
+ # @return [Google::Apis::ComputeV1::CustomErrorResponsePolicy]
29202
+ attr_accessor :default_custom_error_response_policy
29203
+
29094
29204
  # defaultRouteAction takes effect when none of the pathRules or routeRules match.
29095
29205
  # The load balancer performs advanced routing actions, such as URL rewrites and
29096
29206
  # header transformations, before forwarding the request to the selected backend.
@@ -29170,6 +29280,7 @@ module Google
29170
29280
 
29171
29281
  # Update properties of this object
29172
29282
  def update!(**args)
29283
+ @default_custom_error_response_policy = args[:default_custom_error_response_policy] if args.key?(:default_custom_error_response_policy)
29173
29284
  @default_route_action = args[:default_route_action] if args.key?(:default_route_action)
29174
29285
  @default_service = args[:default_service] if args.key?(:default_service)
29175
29286
  @default_url_redirect = args[:default_url_redirect] if args.key?(:default_url_redirect)
@@ -29186,6 +29297,12 @@ module Google
29186
29297
  class PathRule
29187
29298
  include Google::Apis::Core::Hashable
29188
29299
 
29300
+ # Specifies the custom error response policy that must be applied when the
29301
+ # backend service or backend bucket responds with an error.
29302
+ # Corresponds to the JSON property `customErrorResponsePolicy`
29303
+ # @return [Google::Apis::ComputeV1::CustomErrorResponsePolicy]
29304
+ attr_accessor :custom_error_response_policy
29305
+
29189
29306
  # The list of path patterns to match. Each must start with / and the only place
29190
29307
  # a * is allowed is at the end following a /. The string fed to the path matcher
29191
29308
  # does not include any text after the first ? or #, and those chars are not
@@ -29227,6 +29344,7 @@ module Google
29227
29344
 
29228
29345
  # Update properties of this object
29229
29346
  def update!(**args)
29347
+ @custom_error_response_policy = args[:custom_error_response_policy] if args.key?(:custom_error_response_policy)
29230
29348
  @paths = args[:paths] if args.key?(:paths)
29231
29349
  @route_action = args[:route_action] if args.key?(:route_action)
29232
29350
  @service = args[:service] if args.key?(:service)
@@ -34005,9 +34123,14 @@ module Google
34005
34123
 
34006
34124
  # The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should
34007
34125
  # handle matching packets or the IP address of the forwarding Rule. For example,
34008
- # the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/
34009
- # compute/v1/projects/project/regions/region /forwardingRules/forwardingRule -
34010
- # regions/region/forwardingRules/forwardingRule
34126
+ # the following are all valid URLs: - https://www.googleapis.com/compute/v1/
34127
+ # projects/project/regions/region /forwardingRules/forwardingRule - regions/
34128
+ # region/forwardingRules/forwardingRule If an IP address is provided, must
34129
+ # specify an IPv4 address in dot-decimal notation or an IPv6 address in RFC 4291
34130
+ # format. For example, the following are all valid IP addresses: - 10.128.0.56 -
34131
+ # 2001:db8::2d9:51:0:0 - 2001:db8:0:0:2d9:51:0:0 IPv6 addresses will be
34132
+ # displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should
34133
+ # never be an IPv4-mapped IPv6 address.
34011
34134
  # Corresponds to the JSON property `nextHopIlb`
34012
34135
  # @return [String]
34013
34136
  attr_accessor :next_hop_ilb
@@ -35404,11 +35527,11 @@ module Google
35404
35527
  # CEL expression that specifies the match condition that egress traffic from a
35405
35528
  # VM is evaluated against. If it evaluates to true, the corresponding `action`
35406
35529
  # is enforced. The following examples are valid match expressions for public NAT:
35407
- # "inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.
35408
- # 0/16')" "destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'" The
35409
- # following example is a valid match expression for private NAT: "nexthop.hub ==
35530
+ # `inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.
35531
+ # 0/16')` `destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'` The
35532
+ # following example is a valid match expression for private NAT: `nexthop.hub ==
35410
35533
  # '//networkconnectivity.googleapis.com/projects/my-project/locations/global/
35411
- # hubs/hub-1'"
35534
+ # hubs/hub-1'`
35412
35535
  # Corresponds to the JSON property `match`
35413
35536
  # @return [String]
35414
35537
  attr_accessor :match
@@ -35519,12 +35642,19 @@ module Google
35519
35642
  class RouterStatus
35520
35643
  include Google::Apis::Core::Hashable
35521
35644
 
35522
- # Best routes for this router's network.
35645
+ # A list of the best dynamic routes for this Cloud Router's Virtual Private
35646
+ # Cloud (VPC) network in the same region as this Cloud Router. Lists all of the
35647
+ # best routes per prefix that are programmed into this region's VPC data plane.
35648
+ # When global dynamic routing mode is turned on in the VPC network, this list
35649
+ # can include cross-region dynamic routes from Cloud Routers in other regions.
35523
35650
  # Corresponds to the JSON property `bestRoutes`
35524
35651
  # @return [Array<Google::Apis::ComputeV1::Route>]
35525
35652
  attr_accessor :best_routes
35526
35653
 
35527
- # Best routes learned by this router.
35654
+ # A list of the best BGP routes learned by this Cloud Router. It is possible
35655
+ # that routes listed might not be programmed into the data plane, if the Google
35656
+ # Cloud control plane finds a more optimal route for a prefix than a route
35657
+ # learned by this Cloud Router.
35528
35658
  # Corresponds to the JSON property `bestRoutesForRouter`
35529
35659
  # @return [Array<Google::Apis::ComputeV1::Route>]
35530
35660
  attr_accessor :best_routes_for_router
@@ -36302,6 +36432,13 @@ module Google
36302
36432
  attr_accessor :automatic_restart
36303
36433
  alias_method :automatic_restart?, :automatic_restart
36304
36434
 
36435
+ # Specifies the availability domain to place the instance in. The value must be
36436
+ # a number between 1 and the number of availability domains specified in the
36437
+ # spread placement policy attached to the instance.
36438
+ # Corresponds to the JSON property `availabilityDomain`
36439
+ # @return [Fixnum]
36440
+ attr_accessor :availability_domain
36441
+
36305
36442
  # Specifies the termination action for the instance.
36306
36443
  # Corresponds to the JSON property `instanceTerminationAction`
36307
36444
  # @return [String]
@@ -36382,6 +36519,7 @@ module Google
36382
36519
  # Update properties of this object
36383
36520
  def update!(**args)
36384
36521
  @automatic_restart = args[:automatic_restart] if args.key?(:automatic_restart)
36522
+ @availability_domain = args[:availability_domain] if args.key?(:availability_domain)
36385
36523
  @instance_termination_action = args[:instance_termination_action] if args.key?(:instance_termination_action)
36386
36524
  @local_ssd_recovery_timeout = args[:local_ssd_recovery_timeout] if args.key?(:local_ssd_recovery_timeout)
36387
36525
  @location_hint = args[:location_hint] if args.key?(:location_hint)
@@ -36982,12 +37120,33 @@ module Google
36982
37120
  # @return [Float]
36983
37121
  attr_accessor :auto_deploy_load_threshold
36984
37122
 
37123
+ #
37124
+ # Corresponds to the JSON property `detectionAbsoluteQps`
37125
+ # @return [Float]
37126
+ attr_accessor :detection_absolute_qps
37127
+
37128
+ #
37129
+ # Corresponds to the JSON property `detectionLoadThreshold`
37130
+ # @return [Float]
37131
+ attr_accessor :detection_load_threshold
37132
+
37133
+ #
37134
+ # Corresponds to the JSON property `detectionRelativeToBaselineQps`
37135
+ # @return [Float]
37136
+ attr_accessor :detection_relative_to_baseline_qps
37137
+
36985
37138
  # The name must be 1-63 characters long, and comply with RFC1035. The name must
36986
37139
  # be unique within the security policy.
36987
37140
  # Corresponds to the JSON property `name`
36988
37141
  # @return [String]
36989
37142
  attr_accessor :name
36990
37143
 
37144
+ # Configuration options for enabling Adaptive Protection to operate on specified
37145
+ # granular traffic units.
37146
+ # Corresponds to the JSON property `trafficGranularityConfigs`
37147
+ # @return [Array<Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig>]
37148
+ attr_accessor :traffic_granularity_configs
37149
+
36991
37150
  def initialize(**args)
36992
37151
  update!(**args)
36993
37152
  end
@@ -36998,7 +37157,46 @@ module Google
36998
37157
  @auto_deploy_expiration_sec = args[:auto_deploy_expiration_sec] if args.key?(:auto_deploy_expiration_sec)
36999
37158
  @auto_deploy_impacted_baseline_threshold = args[:auto_deploy_impacted_baseline_threshold] if args.key?(:auto_deploy_impacted_baseline_threshold)
37000
37159
  @auto_deploy_load_threshold = args[:auto_deploy_load_threshold] if args.key?(:auto_deploy_load_threshold)
37160
+ @detection_absolute_qps = args[:detection_absolute_qps] if args.key?(:detection_absolute_qps)
37161
+ @detection_load_threshold = args[:detection_load_threshold] if args.key?(:detection_load_threshold)
37162
+ @detection_relative_to_baseline_qps = args[:detection_relative_to_baseline_qps] if args.key?(:detection_relative_to_baseline_qps)
37001
37163
  @name = args[:name] if args.key?(:name)
37164
+ @traffic_granularity_configs = args[:traffic_granularity_configs] if args.key?(:traffic_granularity_configs)
37165
+ end
37166
+ end
37167
+
37168
+ # Configurations to specifc granular traffic units processed by Adaptive
37169
+ # Protection.
37170
+ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig
37171
+ include Google::Apis::Core::Hashable
37172
+
37173
+ # If enabled, traffic matching each unique value for the specified type
37174
+ # constitutes a separate traffic unit. It can only be set to true if `value` is
37175
+ # empty.
37176
+ # Corresponds to the JSON property `enableEachUniqueValue`
37177
+ # @return [Boolean]
37178
+ attr_accessor :enable_each_unique_value
37179
+ alias_method :enable_each_unique_value?, :enable_each_unique_value
37180
+
37181
+ # Type of this configuration.
37182
+ # Corresponds to the JSON property `type`
37183
+ # @return [String]
37184
+ attr_accessor :type
37185
+
37186
+ # Requests that match this value constitute a granular traffic unit.
37187
+ # Corresponds to the JSON property `value`
37188
+ # @return [String]
37189
+ attr_accessor :value
37190
+
37191
+ def initialize(**args)
37192
+ update!(**args)
37193
+ end
37194
+
37195
+ # Update properties of this object
37196
+ def update!(**args)
37197
+ @enable_each_unique_value = args[:enable_each_unique_value] if args.key?(:enable_each_unique_value)
37198
+ @type = args[:type] if args.key?(:type)
37199
+ @value = args[:value] if args.key?(:value)
37002
37200
  end
37003
37201
  end
37004
37202
 
@@ -40868,7 +41066,8 @@ module Google
40868
41066
  # @return [String]
40869
41067
  attr_accessor :performance_provisioning_type
40870
41068
 
40871
- # Size, in GiB, of the storage pool.
41069
+ # Size, in GiB, of the storage pool. For more information about the size limits,
41070
+ # see https://cloud.google.com/compute/docs/disks/storage-pools.
40872
41071
  # Corresponds to the JSON property `poolProvisionedCapacityGb`
40873
41072
  # @return [Fixnum]
40874
41073
  attr_accessor :pool_provisioned_capacity_gb
@@ -41450,8 +41649,9 @@ module Google
41450
41649
  # @return [Fixnum]
41451
41650
  attr_accessor :pool_used_capacity_bytes
41452
41651
 
41453
- # Sum of all the disks' provisioned IOPS, minus some amount that is allowed per
41454
- # disk that is not counted towards pool's IOPS capacity.
41652
+ # [Output Only] Sum of all the disks' provisioned IOPS, minus some amount that
41653
+ # is allowed per disk that is not counted towards pool's IOPS capacity. For more
41654
+ # information, see https://cloud.google.com/compute/docs/disks/storage-pools.
41455
41655
  # Corresponds to the JSON property `poolUsedIops`
41456
41656
  # @return [Fixnum]
41457
41657
  attr_accessor :pool_used_iops
@@ -46518,6 +46718,12 @@ module Google
46518
46718
  # @return [String]
46519
46719
  attr_accessor :creation_timestamp
46520
46720
 
46721
+ # Specifies the custom error response policy that must be applied when the
46722
+ # backend service or backend bucket responds with an error.
46723
+ # Corresponds to the JSON property `defaultCustomErrorResponsePolicy`
46724
+ # @return [Google::Apis::ComputeV1::CustomErrorResponsePolicy]
46725
+ attr_accessor :default_custom_error_response_policy
46726
+
46521
46727
  # defaultRouteAction takes effect when none of the hostRules match. The load
46522
46728
  # balancer performs advanced routing actions, such as URL rewrites and header
46523
46729
  # transformations, before forwarding the request to the selected backend. If
@@ -46631,6 +46837,7 @@ module Google
46631
46837
  # Update properties of this object
46632
46838
  def update!(**args)
46633
46839
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
46840
+ @default_custom_error_response_policy = args[:default_custom_error_response_policy] if args.key?(:default_custom_error_response_policy)
46634
46841
  @default_route_action = args[:default_route_action] if args.key?(:default_route_action)
46635
46842
  @default_service = args[:default_service] if args.key?(:default_service)
46636
46843
  @default_url_redirect = args[:default_url_redirect] if args.key?(:default_url_redirect)
@@ -47868,8 +48075,9 @@ module Google
47868
48075
  attr_accessor :self_link
47869
48076
 
47870
48077
  # The stack type for this VPN gateway to identify the IP protocols that are
47871
- # enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified,
47872
- # IPV4_ONLY will be used.
48078
+ # enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not
48079
+ # specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6
48080
+ # if the gateway IP version is IPV6.
47873
48081
  # Corresponds to the JSON property `stackType`
47874
48082
  # @return [String]
47875
48083
  attr_accessor :stack_type
@@ -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.100.0"
19
+ GEM_VERSION = "0.102.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 = "20240604"
25
+ REVISION = "20240702"
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
 
@@ -15329,6 +15371,7 @@ module Google
15329
15371
  # @private
15330
15372
  class Representation < Google::Apis::Core::JsonRepresentation
15331
15373
  property :automatic_restart, as: 'automaticRestart'
15374
+ property :availability_domain, as: 'availabilityDomain'
15332
15375
  property :instance_termination_action, as: 'instanceTerminationAction'
15333
15376
  property :local_ssd_recovery_timeout, as: 'localSsdRecoveryTimeout', class: Google::Apis::ComputeV1::Duration, decorator: Google::Apis::ComputeV1::Duration::Representation
15334
15377
 
@@ -15503,7 +15546,21 @@ module Google
15503
15546
  property :auto_deploy_expiration_sec, as: 'autoDeployExpirationSec'
15504
15547
  property :auto_deploy_impacted_baseline_threshold, as: 'autoDeployImpactedBaselineThreshold'
15505
15548
  property :auto_deploy_load_threshold, as: 'autoDeployLoadThreshold'
15549
+ property :detection_absolute_qps, as: 'detectionAbsoluteQps'
15550
+ property :detection_load_threshold, as: 'detectionLoadThreshold'
15551
+ property :detection_relative_to_baseline_qps, as: 'detectionRelativeToBaselineQps'
15506
15552
  property :name, as: 'name'
15553
+ collection :traffic_granularity_configs, as: 'trafficGranularityConfigs', class: Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig, decorator: Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig::Representation
15554
+
15555
+ end
15556
+ end
15557
+
15558
+ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig
15559
+ # @private
15560
+ class Representation < Google::Apis::Core::JsonRepresentation
15561
+ property :enable_each_unique_value, as: 'enableEachUniqueValue'
15562
+ property :type, as: 'type'
15563
+ property :value, as: 'value'
15507
15564
  end
15508
15565
  end
15509
15566
 
@@ -17887,6 +17944,8 @@ module Google
17887
17944
  # @private
17888
17945
  class Representation < Google::Apis::Core::JsonRepresentation
17889
17946
  property :creation_timestamp, as: 'creationTimestamp'
17947
+ property :default_custom_error_response_policy, as: 'defaultCustomErrorResponsePolicy', class: Google::Apis::ComputeV1::CustomErrorResponsePolicy, decorator: Google::Apis::ComputeV1::CustomErrorResponsePolicy::Representation
17948
+
17890
17949
  property :default_route_action, as: 'defaultRouteAction', class: Google::Apis::ComputeV1::HttpRouteAction, decorator: Google::Apis::ComputeV1::HttpRouteAction::Representation
17891
17950
 
17892
17951
  property :default_service, as: 'defaultService'
@@ -33440,7 +33440,13 @@ module Google
33440
33440
  # information (the `quotas` field). To exclude one or more fields, set your
33441
33441
  # request's `fields` query parameter to only include the fields you need. For
33442
33442
  # example, to only include the `id` and `selfLink` fields, add the query
33443
- # parameter `?fields=id,selfLink` to your request.
33443
+ # parameter `?fields=id,selfLink` to your request. This method fails if the
33444
+ # quota information is unavailable for the region and if the organization policy
33445
+ # constraint compute.requireBasicQuotaInResponse is enforced. This constraint,
33446
+ # when enforced, disables the fail-open behaviour when quota information (the `
33447
+ # items.quotas` field) is unavailable for the region. It is recommended to use
33448
+ # the default setting for the constraint unless your application requires the
33449
+ # fail-closed behaviour for this method.
33444
33450
  # @param [String] project
33445
33451
  # Project ID for this request.
33446
33452
  # @param [String] region
@@ -38867,7 +38873,8 @@ module Google
38867
38873
 
38868
38874
  # Updates the specified storagePool with the data included in the request. The
38869
38875
  # update is performed only on selected fields included as part of update-mask.
38870
- # Only the following fields can be modified: size_tb and provisioned_iops.
38876
+ # Only the following fields can be modified: pool_provisioned_capacity_gb,
38877
+ # pool_provisioned_iops and pool_provisioned_throughput.
38871
38878
  # @param [String] project
38872
38879
  # Project ID for this request.
38873
38880
  # @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.100.0
4
+ version: 0.102.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-16 00:00:00.000000000 Z
11
+ date: 2024-07-25 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.100.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.102.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: []