google-apis-compute_v1 0.80.0 → 0.81.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: a155203fed72f190c2cd6435e4020d1da62362e7dff6f1fbf80841c61b042d24
4
- data.tar.gz: 606373ddf37df5358590898f84fd220282244ab8125cda8b457acca9143328dc
3
+ metadata.gz: be1eaebd730ec1d09a50cd198bd3f90d7b92b4cbf1c7bb9e26072d7c735387ec
4
+ data.tar.gz: 414bdf42d2af95c69b012028e890e8b9a5ca6b32655164dfe3c198bfd9b2eca7
5
5
  SHA512:
6
- metadata.gz: 04c3d6fd43bf32fb0bbccfe570458b2e1069a9b6fbe4200ff87539559b7992a487274ac05bf6f42de93bb4cbcefccd25beb87d50b035d0b9dbdba78a94bf1b82
7
- data.tar.gz: 5bbd6743154b0ba8a2c9f1e96297085092d1cdc1e7b92de65e78c3b7e8112537be03affa70e148f77addae211a8a86833d606ec32fb438c461982d0030e95e04
6
+ metadata.gz: 05f48b822b0e802a43269e9b74d93fa99b022ec4fea58a8cd58e7aed25f1a470f253792d7294a550d4bed5735c5ddbb5f84394dfe0c5550d600c8118941a6f23
7
+ data.tar.gz: 47c366ae55487d2dd91acdc150bfcc3bdf6e2bbb1c1025f36ade20ccac178d818611342c2c0084526f892257fbdd9fcc4a5fd355c2dcc305430dd1e27be0ff56
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.81.0 (2023-10-08)
4
+
5
+ * Regenerated from discovery document revision 20230923
6
+
3
7
  ### v0.80.0 (2023-10-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20230920
@@ -2624,7 +2624,7 @@ module Google
2624
2624
 
2625
2625
  # The time zone to use when interpreting the schedule. The value of this field
2626
2626
  # must be a time zone name from the tz database: https://en.wikipedia.org/wiki/
2627
- # Tz_database. This field is assigned a default value of UTC if left empty.
2627
+ # Tz_database. This field is assigned a default value of "UTC" if left empty.
2628
2628
  # Corresponds to the JSON property `timeZone`
2629
2629
  # @return [String]
2630
2630
  attr_accessor :time_zone
@@ -3539,6 +3539,11 @@ module Google
3539
3539
  # @return [Fixnum]
3540
3540
  attr_accessor :timeout_sec
3541
3541
 
3542
+ #
3543
+ # Corresponds to the JSON property `usedBy`
3544
+ # @return [Array<Google::Apis::ComputeV1::BackendServiceUsedBy>]
3545
+ attr_accessor :used_by
3546
+
3542
3547
  def initialize(**args)
3543
3548
  update!(**args)
3544
3549
  end
@@ -3585,6 +3590,7 @@ module Google
3585
3590
  @session_affinity = args[:session_affinity] if args.key?(:session_affinity)
3586
3591
  @subsetting = args[:subsetting] if args.key?(:subsetting)
3587
3592
  @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
3593
+ @used_by = args[:used_by] if args.key?(:used_by)
3588
3594
  end
3589
3595
  end
3590
3596
 
@@ -4233,6 +4239,124 @@ module Google
4233
4239
  end
4234
4240
  end
4235
4241
 
4242
+ # Contains a list of usable BackendService resources.
4243
+ class BackendServiceListUsable
4244
+ include Google::Apis::Core::Hashable
4245
+
4246
+ # [Output Only] Unique identifier for the resource; defined by the server.
4247
+ # Corresponds to the JSON property `id`
4248
+ # @return [String]
4249
+ attr_accessor :id
4250
+
4251
+ # A list of BackendService resources.
4252
+ # Corresponds to the JSON property `items`
4253
+ # @return [Array<Google::Apis::ComputeV1::BackendService>]
4254
+ attr_accessor :items
4255
+
4256
+ # [Output Only] Type of resource. Always compute#usableBackendServiceList for
4257
+ # lists of usable backend services.
4258
+ # Corresponds to the JSON property `kind`
4259
+ # @return [String]
4260
+ attr_accessor :kind
4261
+
4262
+ # [Output Only] This token allows you to get the next page of results for list
4263
+ # requests. If the number of results is larger than maxResults, use the
4264
+ # nextPageToken as a value for the query parameter pageToken in the next list
4265
+ # request. Subsequent list requests will have their own nextPageToken to
4266
+ # continue paging through the results.
4267
+ # Corresponds to the JSON property `nextPageToken`
4268
+ # @return [String]
4269
+ attr_accessor :next_page_token
4270
+
4271
+ # [Output Only] Server-defined URL for this resource.
4272
+ # Corresponds to the JSON property `selfLink`
4273
+ # @return [String]
4274
+ attr_accessor :self_link
4275
+
4276
+ # [Output Only] Informational warning message.
4277
+ # Corresponds to the JSON property `warning`
4278
+ # @return [Google::Apis::ComputeV1::BackendServiceListUsable::Warning]
4279
+ attr_accessor :warning
4280
+
4281
+ def initialize(**args)
4282
+ update!(**args)
4283
+ end
4284
+
4285
+ # Update properties of this object
4286
+ def update!(**args)
4287
+ @id = args[:id] if args.key?(:id)
4288
+ @items = args[:items] if args.key?(:items)
4289
+ @kind = args[:kind] if args.key?(:kind)
4290
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4291
+ @self_link = args[:self_link] if args.key?(:self_link)
4292
+ @warning = args[:warning] if args.key?(:warning)
4293
+ end
4294
+
4295
+ # [Output Only] Informational warning message.
4296
+ class Warning
4297
+ include Google::Apis::Core::Hashable
4298
+
4299
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
4300
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
4301
+ # Corresponds to the JSON property `code`
4302
+ # @return [String]
4303
+ attr_accessor :code
4304
+
4305
+ # [Output Only] Metadata about this warning in key: value format. For example: "
4306
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
4307
+ # Corresponds to the JSON property `data`
4308
+ # @return [Array<Google::Apis::ComputeV1::BackendServiceListUsable::Warning::Datum>]
4309
+ attr_accessor :data
4310
+
4311
+ # [Output Only] A human-readable description of the warning code.
4312
+ # Corresponds to the JSON property `message`
4313
+ # @return [String]
4314
+ attr_accessor :message
4315
+
4316
+ def initialize(**args)
4317
+ update!(**args)
4318
+ end
4319
+
4320
+ # Update properties of this object
4321
+ def update!(**args)
4322
+ @code = args[:code] if args.key?(:code)
4323
+ @data = args[:data] if args.key?(:data)
4324
+ @message = args[:message] if args.key?(:message)
4325
+ end
4326
+
4327
+ #
4328
+ class Datum
4329
+ include Google::Apis::Core::Hashable
4330
+
4331
+ # [Output Only] A key that provides more detail on the warning being returned.
4332
+ # For example, for warnings where there are no results in a list request for a
4333
+ # particular zone, this key might be scope and the key value might be the zone
4334
+ # name. Other examples might be a key indicating a deprecated resource and a
4335
+ # suggested replacement, or a warning about invalid network settings (for
4336
+ # example, if an instance attempts to perform IP forwarding but is not enabled
4337
+ # for IP forwarding).
4338
+ # Corresponds to the JSON property `key`
4339
+ # @return [String]
4340
+ attr_accessor :key
4341
+
4342
+ # [Output Only] A warning data value corresponding to the key.
4343
+ # Corresponds to the JSON property `value`
4344
+ # @return [String]
4345
+ attr_accessor :value
4346
+
4347
+ def initialize(**args)
4348
+ update!(**args)
4349
+ end
4350
+
4351
+ # Update properties of this object
4352
+ def update!(**args)
4353
+ @key = args[:key] if args.key?(:key)
4354
+ @value = args[:value] if args.key?(:value)
4355
+ end
4356
+ end
4357
+ end
4358
+ end
4359
+
4236
4360
  # Container for either a built-in LB policy supported by gRPC or Envoy or a
4237
4361
  # custom one implemented by the end user.
4238
4362
  class BackendServiceLocalityLoadBalancingPolicyConfig
@@ -4384,6 +4508,25 @@ module Google
4384
4508
  end
4385
4509
  end
4386
4510
 
4511
+ #
4512
+ class BackendServiceUsedBy
4513
+ include Google::Apis::Core::Hashable
4514
+
4515
+ #
4516
+ # Corresponds to the JSON property `reference`
4517
+ # @return [String]
4518
+ attr_accessor :reference
4519
+
4520
+ def initialize(**args)
4521
+ update!(**args)
4522
+ end
4523
+
4524
+ # Update properties of this object
4525
+ def update!(**args)
4526
+ @reference = args[:reference] if args.key?(:reference)
4527
+ end
4528
+ end
4529
+
4387
4530
  #
4388
4531
  class BackendServicesScopedList
4389
4532
  include Google::Apis::Core::Hashable
@@ -39735,14 +39878,14 @@ module Google
39735
39878
  # Represents a Target HTTP Proxy resource. Google Compute Engine has two Target
39736
39879
  # HTTP Proxy resources: * [Global](/compute/docs/reference/rest/v1/
39737
39880
  # targetHttpProxies) * [Regional](/compute/docs/reference/rest/v1/
39738
- # regionTargetHttpProxies) A target HTTP proxy is a component of GCP HTTP load
39739
- # balancers. * targetHttpProxies are used by global external Application Load
39740
- # Balancers, classic Application Load Balancers, cross-region internal
39741
- # Application Load Balancers, and Traffic Director. * regionTargetHttpProxies
39742
- # are used by regional internal Application Load Balancers and regional external
39743
- # Application Load Balancers. Forwarding rules reference a target HTTP proxy,
39744
- # and the target proxy then references a URL map. For more information, read
39745
- # Using Target Proxies and Forwarding rule concepts.
39881
+ # regionTargetHttpProxies) A target HTTP proxy is a component of Google Cloud
39882
+ # HTTP load balancers. * targetHttpProxies are used by global external
39883
+ # Application Load Balancers, classic Application Load Balancers, cross-region
39884
+ # internal Application Load Balancers, and Traffic Director. *
39885
+ # regionTargetHttpProxies are used by regional internal Application Load
39886
+ # Balancers and regional external Application Load Balancers. Forwarding rules
39887
+ # reference a target HTTP proxy, and the target proxy then references a URL map.
39888
+ # For more information, read Using Target Proxies and Forwarding rule concepts.
39746
39889
  class TargetHttpProxy
39747
39890
  include Google::Apis::Core::Hashable
39748
39891
 
@@ -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.80.0"
19
+ GEM_VERSION = "0.81.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230920"
25
+ REVISION = "20230923"
26
26
  end
27
27
  end
28
28
  end
@@ -472,6 +472,24 @@ module Google
472
472
  include Google::Apis::Core::JsonObjectSupport
473
473
  end
474
474
 
475
+ class BackendServiceListUsable
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ class Warning
479
+ class Representation < Google::Apis::Core::JsonRepresentation; end
480
+
481
+ class Datum
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ include Google::Apis::Core::JsonObjectSupport
488
+ end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
475
493
  class BackendServiceLocalityLoadBalancingPolicyConfig
476
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
495
 
@@ -502,6 +520,12 @@ module Google
502
520
  include Google::Apis::Core::JsonObjectSupport
503
521
  end
504
522
 
523
+ class BackendServiceUsedBy
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
505
529
  class BackendServicesScopedList
506
530
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
531
 
@@ -6856,6 +6880,8 @@ module Google
6856
6880
  property :subsetting, as: 'subsetting', class: Google::Apis::ComputeV1::Subsetting, decorator: Google::Apis::ComputeV1::Subsetting::Representation
6857
6881
 
6858
6882
  property :timeout_sec, as: 'timeoutSec'
6883
+ collection :used_by, as: 'usedBy', class: Google::Apis::ComputeV1::BackendServiceUsedBy, decorator: Google::Apis::ComputeV1::BackendServiceUsedBy::Representation
6884
+
6859
6885
  end
6860
6886
  end
6861
6887
 
@@ -6999,6 +7025,38 @@ module Google
6999
7025
  end
7000
7026
  end
7001
7027
 
7028
+ class BackendServiceListUsable
7029
+ # @private
7030
+ class Representation < Google::Apis::Core::JsonRepresentation
7031
+ property :id, as: 'id'
7032
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::BackendService, decorator: Google::Apis::ComputeV1::BackendService::Representation
7033
+
7034
+ property :kind, as: 'kind'
7035
+ property :next_page_token, as: 'nextPageToken'
7036
+ property :self_link, as: 'selfLink'
7037
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::BackendServiceListUsable::Warning, decorator: Google::Apis::ComputeV1::BackendServiceListUsable::Warning::Representation
7038
+
7039
+ end
7040
+
7041
+ class Warning
7042
+ # @private
7043
+ class Representation < Google::Apis::Core::JsonRepresentation
7044
+ property :code, as: 'code'
7045
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::BackendServiceListUsable::Warning::Datum, decorator: Google::Apis::ComputeV1::BackendServiceListUsable::Warning::Datum::Representation
7046
+
7047
+ property :message, as: 'message'
7048
+ end
7049
+
7050
+ class Datum
7051
+ # @private
7052
+ class Representation < Google::Apis::Core::JsonRepresentation
7053
+ property :key, as: 'key'
7054
+ property :value, as: 'value'
7055
+ end
7056
+ end
7057
+ end
7058
+ end
7059
+
7002
7060
  class BackendServiceLocalityLoadBalancingPolicyConfig
7003
7061
  # @private
7004
7062
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7041,6 +7099,13 @@ module Google
7041
7099
  end
7042
7100
  end
7043
7101
 
7102
+ class BackendServiceUsedBy
7103
+ # @private
7104
+ class Representation < Google::Apis::Core::JsonRepresentation
7105
+ property :reference, as: 'reference'
7106
+ end
7107
+ end
7108
+
7044
7109
  class BackendServicesScopedList
7045
7110
  # @private
7046
7111
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2143,6 +2143,96 @@ module Google
2143
2143
  execute_or_queue_command(command, &block)
2144
2144
  end
2145
2145
 
2146
+ # Retrieves an aggregated list of all usable backend services in the specified
2147
+ # project.
2148
+ # @param [String] project
2149
+ # Project ID for this request.
2150
+ # @param [String] filter
2151
+ # A filter expression that filters resources listed in the response. Most
2152
+ # Compute resources support two types of filter expressions: expressions that
2153
+ # support regular expressions and expressions that follow API improvement
2154
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
2155
+ # request. If you want to use AIP-160, your expression must specify the field
2156
+ # name, an operator, and the value that you want to use for filtering. The value
2157
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
2158
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
2159
+ # Engine instances, you can exclude instances named `example-instance` by
2160
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
2161
+ # whether a key has been defined. For example, to find all objects with `owner`
2162
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
2163
+ # example, you could specify `scheduling.automaticRestart = false` to include
2164
+ # instances only if they are not scheduled for automatic restarts. You can use
2165
+ # filtering on nested fields to filter based on resource labels. To filter on
2166
+ # multiple expressions, provide each separate expression within parentheses. For
2167
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
2168
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
2169
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
2170
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
2171
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
2172
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
2173
+ # un-parenthesized expression with or without quotes or against multiple
2174
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
2175
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
2176
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
2177
+ # interpreted as a regular expression using Google RE2 library syntax. The
2178
+ # literal value must match the entire field. For example, to filter for
2179
+ # instances that do not end with name "instance", you would use `name ne .*
2180
+ # instance`. You cannot combine constraints on multiple fields using regular
2181
+ # expressions.
2182
+ # @param [Fixnum] max_results
2183
+ # The maximum number of results per page that should be returned. If the number
2184
+ # of available results is larger than `maxResults`, Compute Engine returns a `
2185
+ # nextPageToken` that can be used to get the next page of results in subsequent
2186
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
2187
+ # @param [String] order_by
2188
+ # Sorts list results by a certain order. By default, results are returned in
2189
+ # alphanumerical order based on the resource name. You can also sort results in
2190
+ # descending order based on the creation timestamp using `orderBy="
2191
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
2192
+ # field in reverse chronological order (newest result first). Use this to sort
2193
+ # resources like operations so that the newest operation is returned first.
2194
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
2195
+ # @param [String] page_token
2196
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
2197
+ # by a previous list request to get the next page of results.
2198
+ # @param [Boolean] return_partial_success
2199
+ # Opt-in for partial success behavior which provides partial results in case of
2200
+ # failure. The default value is false.
2201
+ # @param [String] fields
2202
+ # Selector specifying which fields to include in a partial response.
2203
+ # @param [String] quota_user
2204
+ # Available to use for quota purposes for server-side applications. Can be any
2205
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2206
+ # @param [String] user_ip
2207
+ # Legacy name for parameter that has been superseded by `quotaUser`.
2208
+ # @param [Google::Apis::RequestOptions] options
2209
+ # Request-specific options
2210
+ #
2211
+ # @yield [result, err] Result & error if block supplied
2212
+ # @yieldparam result [Google::Apis::ComputeV1::BackendServiceListUsable] parsed result object
2213
+ # @yieldparam err [StandardError] error object if request failed
2214
+ #
2215
+ # @return [Google::Apis::ComputeV1::BackendServiceListUsable]
2216
+ #
2217
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2218
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2219
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2220
+ def list_backend_service_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2221
+ command = make_simple_command(:get, 'projects/{project}/global/backendServices/listUsable', options)
2222
+ command.response_representation = Google::Apis::ComputeV1::BackendServiceListUsable::Representation
2223
+ command.response_class = Google::Apis::ComputeV1::BackendServiceListUsable
2224
+ command.params['project'] = project unless project.nil?
2225
+ command.query['filter'] = filter unless filter.nil?
2226
+ command.query['maxResults'] = max_results unless max_results.nil?
2227
+ command.query['orderBy'] = order_by unless order_by.nil?
2228
+ command.query['pageToken'] = page_token unless page_token.nil?
2229
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
2230
+ command.query['fields'] = fields unless fields.nil?
2231
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2232
+ command.query['userIp'] = user_ip unless user_ip.nil?
2233
+ execute_or_queue_command(command, &block)
2234
+ end
2235
+
2146
2236
  # Patches the specified BackendService resource with the data included in the
2147
2237
  # request. For more information, see Backend services overview. This method
2148
2238
  # supports PATCH semantics and uses the JSON merge patch format and processing
@@ -22790,6 +22880,100 @@ module Google
22790
22880
  execute_or_queue_command(command, &block)
22791
22881
  end
22792
22882
 
22883
+ # Retrieves an aggregated list of all usable backend services in the specified
22884
+ # project in the given region.
22885
+ # @param [String] project
22886
+ # Project ID for this request.
22887
+ # @param [String] region
22888
+ # Name of the region scoping this request. It must be a string that meets the
22889
+ # requirements in RFC1035.
22890
+ # @param [String] filter
22891
+ # A filter expression that filters resources listed in the response. Most
22892
+ # Compute resources support two types of filter expressions: expressions that
22893
+ # support regular expressions and expressions that follow API improvement
22894
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
22895
+ # request. If you want to use AIP-160, your expression must specify the field
22896
+ # name, an operator, and the value that you want to use for filtering. The value
22897
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
22898
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
22899
+ # Engine instances, you can exclude instances named `example-instance` by
22900
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
22901
+ # whether a key has been defined. For example, to find all objects with `owner`
22902
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
22903
+ # example, you could specify `scheduling.automaticRestart = false` to include
22904
+ # instances only if they are not scheduled for automatic restarts. You can use
22905
+ # filtering on nested fields to filter based on resource labels. To filter on
22906
+ # multiple expressions, provide each separate expression within parentheses. For
22907
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
22908
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
22909
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
22910
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
22911
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
22912
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
22913
+ # un-parenthesized expression with or without quotes or against multiple
22914
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
22915
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
22916
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
22917
+ # interpreted as a regular expression using Google RE2 library syntax. The
22918
+ # literal value must match the entire field. For example, to filter for
22919
+ # instances that do not end with name "instance", you would use `name ne .*
22920
+ # instance`. You cannot combine constraints on multiple fields using regular
22921
+ # expressions.
22922
+ # @param [Fixnum] max_results
22923
+ # The maximum number of results per page that should be returned. If the number
22924
+ # of available results is larger than `maxResults`, Compute Engine returns a `
22925
+ # nextPageToken` that can be used to get the next page of results in subsequent
22926
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
22927
+ # @param [String] order_by
22928
+ # Sorts list results by a certain order. By default, results are returned in
22929
+ # alphanumerical order based on the resource name. You can also sort results in
22930
+ # descending order based on the creation timestamp using `orderBy="
22931
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
22932
+ # field in reverse chronological order (newest result first). Use this to sort
22933
+ # resources like operations so that the newest operation is returned first.
22934
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
22935
+ # @param [String] page_token
22936
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
22937
+ # by a previous list request to get the next page of results.
22938
+ # @param [Boolean] return_partial_success
22939
+ # Opt-in for partial success behavior which provides partial results in case of
22940
+ # failure. The default value is false.
22941
+ # @param [String] fields
22942
+ # Selector specifying which fields to include in a partial response.
22943
+ # @param [String] quota_user
22944
+ # Available to use for quota purposes for server-side applications. Can be any
22945
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22946
+ # @param [String] user_ip
22947
+ # Legacy name for parameter that has been superseded by `quotaUser`.
22948
+ # @param [Google::Apis::RequestOptions] options
22949
+ # Request-specific options
22950
+ #
22951
+ # @yield [result, err] Result & error if block supplied
22952
+ # @yieldparam result [Google::Apis::ComputeV1::BackendServiceListUsable] parsed result object
22953
+ # @yieldparam err [StandardError] error object if request failed
22954
+ #
22955
+ # @return [Google::Apis::ComputeV1::BackendServiceListUsable]
22956
+ #
22957
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22958
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22959
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22960
+ def list_region_backend_service_usable(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22961
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/backendServices/listUsable', options)
22962
+ command.response_representation = Google::Apis::ComputeV1::BackendServiceListUsable::Representation
22963
+ command.response_class = Google::Apis::ComputeV1::BackendServiceListUsable
22964
+ command.params['project'] = project unless project.nil?
22965
+ command.params['region'] = region unless region.nil?
22966
+ command.query['filter'] = filter unless filter.nil?
22967
+ command.query['maxResults'] = max_results unless max_results.nil?
22968
+ command.query['orderBy'] = order_by unless order_by.nil?
22969
+ command.query['pageToken'] = page_token unless page_token.nil?
22970
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
22971
+ command.query['fields'] = fields unless fields.nil?
22972
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22973
+ command.query['userIp'] = user_ip unless user_ip.nil?
22974
+ execute_or_queue_command(command, &block)
22975
+ end
22976
+
22793
22977
  # Updates the specified regional BackendService resource with the data included
22794
22978
  # in the request. For more information, see Understanding backend services This
22795
22979
  # method supports PATCH semantics and uses the JSON merge patch format and
@@ -28888,6 +29072,8 @@ module Google
28888
29072
  # second request. This prevents clients from accidentally creating duplicate
28889
29073
  # commitments. The request ID must be a valid UUID with the exception that zero
28890
29074
  # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
29075
+ # @param [String] update_mask
29076
+ # Indicates fields to be cleared as part of this request.
28891
29077
  # @param [String] fields
28892
29078
  # Selector specifying which fields to include in a partial response.
28893
29079
  # @param [String] quota_user
@@ -28907,7 +29093,7 @@ module Google
28907
29093
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28908
29094
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28909
29095
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28910
- def patch_region_security_policy(project, region, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29096
+ def patch_region_security_policy(project, region, security_policy, security_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28911
29097
  command = make_simple_command(:patch, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}', options)
28912
29098
  command.request_representation = Google::Apis::ComputeV1::SecurityPolicy::Representation
28913
29099
  command.request_object = security_policy_object
@@ -28917,6 +29103,7 @@ module Google
28917
29103
  command.params['region'] = region unless region.nil?
28918
29104
  command.params['securityPolicy'] = security_policy unless security_policy.nil?
28919
29105
  command.query['requestId'] = request_id unless request_id.nil?
29106
+ command.query['updateMask'] = update_mask unless update_mask.nil?
28920
29107
  command.query['fields'] = fields unless fields.nil?
28921
29108
  command.query['quotaUser'] = quota_user unless quota_user.nil?
28922
29109
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -28934,6 +29121,8 @@ module Google
28934
29121
  # @param [Google::Apis::ComputeV1::SecurityPolicyRule] security_policy_rule_object
28935
29122
  # @param [Fixnum] priority
28936
29123
  # The priority of the rule to patch.
29124
+ # @param [String] update_mask
29125
+ # Indicates fields to be cleared as part of this request.
28937
29126
  # @param [Boolean] validate_only
28938
29127
  # If true, the request will not be committed.
28939
29128
  # @param [String] fields
@@ -28955,7 +29144,7 @@ module Google
28955
29144
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28956
29145
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28957
29146
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28958
- def patch_region_security_policy_rule(project, region, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29147
+ def patch_region_security_policy_rule(project, region, security_policy, security_policy_rule_object = nil, priority: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28959
29148
  command = make_simple_command(:post, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule', options)
28960
29149
  command.request_representation = Google::Apis::ComputeV1::SecurityPolicyRule::Representation
28961
29150
  command.request_object = security_policy_rule_object
@@ -28965,6 +29154,7 @@ module Google
28965
29154
  command.params['region'] = region unless region.nil?
28966
29155
  command.params['securityPolicy'] = security_policy unless security_policy.nil?
28967
29156
  command.query['priority'] = priority unless priority.nil?
29157
+ command.query['updateMask'] = update_mask unless update_mask.nil?
28968
29158
  command.query['validateOnly'] = validate_only unless validate_only.nil?
28969
29159
  command.query['fields'] = fields unless fields.nil?
28970
29160
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -33523,6 +33713,8 @@ module Google
33523
33713
  # second request. This prevents clients from accidentally creating duplicate
33524
33714
  # commitments. The request ID must be a valid UUID with the exception that zero
33525
33715
  # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
33716
+ # @param [String] update_mask
33717
+ # Indicates fields to be cleared as part of this request.
33526
33718
  # @param [String] fields
33527
33719
  # Selector specifying which fields to include in a partial response.
33528
33720
  # @param [String] quota_user
@@ -33542,7 +33734,7 @@ module Google
33542
33734
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
33543
33735
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
33544
33736
  # @raise [Google::Apis::AuthorizationError] Authorization is required
33545
- def patch_security_policy(project, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
33737
+ def patch_security_policy(project, security_policy, security_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
33546
33738
  command = make_simple_command(:patch, 'projects/{project}/global/securityPolicies/{securityPolicy}', options)
33547
33739
  command.request_representation = Google::Apis::ComputeV1::SecurityPolicy::Representation
33548
33740
  command.request_object = security_policy_object
@@ -33551,6 +33743,7 @@ module Google
33551
33743
  command.params['project'] = project unless project.nil?
33552
33744
  command.params['securityPolicy'] = security_policy unless security_policy.nil?
33553
33745
  command.query['requestId'] = request_id unless request_id.nil?
33746
+ command.query['updateMask'] = update_mask unless update_mask.nil?
33554
33747
  command.query['fields'] = fields unless fields.nil?
33555
33748
  command.query['quotaUser'] = quota_user unless quota_user.nil?
33556
33749
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -33566,6 +33759,8 @@ module Google
33566
33759
  # @param [Google::Apis::ComputeV1::SecurityPolicyRule] security_policy_rule_object
33567
33760
  # @param [Fixnum] priority
33568
33761
  # The priority of the rule to patch.
33762
+ # @param [String] update_mask
33763
+ # Indicates fields to be cleared as part of this request.
33569
33764
  # @param [Boolean] validate_only
33570
33765
  # If true, the request will not be committed.
33571
33766
  # @param [String] fields
@@ -33587,7 +33782,7 @@ module Google
33587
33782
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
33588
33783
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
33589
33784
  # @raise [Google::Apis::AuthorizationError] Authorization is required
33590
- def patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
33785
+ def patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
33591
33786
  command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{securityPolicy}/patchRule', options)
33592
33787
  command.request_representation = Google::Apis::ComputeV1::SecurityPolicyRule::Representation
33593
33788
  command.request_object = security_policy_rule_object
@@ -33596,6 +33791,7 @@ module Google
33596
33791
  command.params['project'] = project unless project.nil?
33597
33792
  command.params['securityPolicy'] = security_policy unless security_policy.nil?
33598
33793
  command.query['priority'] = priority unless priority.nil?
33794
+ command.query['updateMask'] = update_mask unless update_mask.nil?
33599
33795
  command.query['validateOnly'] = validate_only unless validate_only.nil?
33600
33796
  command.query['fields'] = fields unless fields.nil?
33601
33797
  command.query['quotaUser'] = quota_user unless quota_user.nil?
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.80.0
4
+ version: 0.81.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: 2023-10-01 00:00:00.000000000 Z
11
+ date: 2023-10-08 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.80.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.81.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: []