google-apis-compute_beta 0.30.0 → 0.33.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.
@@ -9051,8 +9051,8 @@ module Google
9051
9051
  execute_or_queue_command(command, &block)
9052
9052
  end
9053
9053
 
9054
- # Creates instances with per-instance configs in this managed instance group.
9055
- # Instances are created using the current instance template. The create
9054
+ # Creates instances with per-instance configurations in this managed instance
9055
+ # group. Instances are created using the current instance template. The create
9056
9056
  # instances operation is marked DONE if the createInstances request is
9057
9057
  # successful. The underlying actions take additional time. You must separately
9058
9058
  # verify the status of the creating or actions with the listmanagedinstances
@@ -9224,7 +9224,7 @@ module Google
9224
9224
  execute_or_queue_command(command, &block)
9225
9225
  end
9226
9226
 
9227
- # Deletes selected per-instance configs for the managed instance group.
9227
+ # Deletes selected per-instance configurations for the managed instance group.
9228
9228
  # @param [String] project
9229
9229
  # Project ID for this request.
9230
9230
  # @param [String] zone
@@ -9620,8 +9620,8 @@ module Google
9620
9620
  execute_or_queue_command(command, &block)
9621
9621
  end
9622
9622
 
9623
- # Lists all of the per-instance configs defined for the managed instance group.
9624
- # The orderBy query parameter is not supported.
9623
+ # Lists all of the per-instance configurations defined for the managed instance
9624
+ # group. The orderBy query parameter is not supported.
9625
9625
  # @param [String] project
9626
9626
  # Project ID for this request.
9627
9627
  # @param [String] zone
@@ -9767,7 +9767,7 @@ module Google
9767
9767
  execute_or_queue_command(command, &block)
9768
9768
  end
9769
9769
 
9770
- # Inserts or patches per-instance configs for the managed instance group.
9770
+ # Inserts or patches per-instance configurations for the managed instance group.
9771
9771
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
9772
9772
  # insert or patch.
9773
9773
  # @param [String] project
@@ -10289,7 +10289,7 @@ module Google
10289
10289
  execute_or_queue_command(command, &block)
10290
10290
  end
10291
10291
 
10292
- # Inserts or updates per-instance configs for the managed instance group.
10292
+ # Inserts or updates per-instance configurations for the managed instance group.
10293
10293
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
10294
10294
  # insert or patch.
10295
10295
  # @param [String] project
@@ -24707,9 +24707,9 @@ module Google
24707
24707
  execute_or_queue_command(command, &block)
24708
24708
  end
24709
24709
 
24710
- # Creates instances with per-instance configs in this regional managed instance
24711
- # group. Instances are created using the current instance template. The create
24712
- # instances operation is marked DONE if the createInstances request is
24710
+ # Creates instances with per-instance configurations in this regional managed
24711
+ # instance group. Instances are created using the current instance template. The
24712
+ # create instances operation is marked DONE if the createInstances request is
24713
24713
  # successful. The underlying actions take additional time. You must separately
24714
24714
  # verify the status of the creating or actions with the listmanagedinstances
24715
24715
  # method.
@@ -24879,7 +24879,7 @@ module Google
24879
24879
  execute_or_queue_command(command, &block)
24880
24880
  end
24881
24881
 
24882
- # Deletes selected per-instance configs for the managed instance group.
24882
+ # Deletes selected per-instance configurations for the managed instance group.
24883
24883
  # @param [String] project
24884
24884
  # Project ID for this request.
24885
24885
  # @param [String] region
@@ -25268,8 +25268,8 @@ module Google
25268
25268
  execute_or_queue_command(command, &block)
25269
25269
  end
25270
25270
 
25271
- # Lists all of the per-instance configs defined for the managed instance group.
25272
- # The orderBy query parameter is not supported.
25271
+ # Lists all of the per-instance configurations defined for the managed instance
25272
+ # group. The orderBy query parameter is not supported.
25273
25273
  # @param [String] project
25274
25274
  # Project ID for this request.
25275
25275
  # @param [String] region
@@ -25414,7 +25414,7 @@ module Google
25414
25414
  execute_or_queue_command(command, &block)
25415
25415
  end
25416
25416
 
25417
- # Inserts or patches per-instance configs for the managed instance group.
25417
+ # Inserts or patches per-instance configurations for the managed instance group.
25418
25418
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
25419
25419
  # insert or patch.
25420
25420
  # @param [String] project
@@ -25923,7 +25923,7 @@ module Google
25923
25923
  execute_or_queue_command(command, &block)
25924
25924
  end
25925
25925
 
25926
- # Inserts or updates per-instance configs for the managed instance group.
25926
+ # Inserts or updates per-instance configurations for the managed instance group.
25927
25927
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
25928
25928
  # insert or patch.
25929
25929
  # @param [String] project
@@ -29168,6 +29168,269 @@ module Google
29168
29168
  execute_or_queue_command(command, &block)
29169
29169
  end
29170
29170
 
29171
+ # Deletes the specified TargetTcpProxy resource.
29172
+ # @param [String] project
29173
+ # Project ID for this request.
29174
+ # @param [String] region
29175
+ # Name of the region scoping this request.
29176
+ # @param [String] target_tcp_proxy
29177
+ # Name of the TargetTcpProxy resource to delete.
29178
+ # @param [String] request_id
29179
+ # An optional request ID to identify requests. Specify a unique request ID so
29180
+ # that if you must retry your request, the server will know to ignore the
29181
+ # request if it has already been completed. For example, consider a situation
29182
+ # where you make an initial request and the request times out. If you make the
29183
+ # request again with the same request ID, the server can check if original
29184
+ # operation with the same request ID was received, and if so, will ignore the
29185
+ # second request. This prevents clients from accidentally creating duplicate
29186
+ # commitments. The request ID must be a valid UUID with the exception that zero
29187
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
29188
+ # @param [String] fields
29189
+ # Selector specifying which fields to include in a partial response.
29190
+ # @param [String] quota_user
29191
+ # Available to use for quota purposes for server-side applications. Can be any
29192
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29193
+ # @param [String] user_ip
29194
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29195
+ # @param [Google::Apis::RequestOptions] options
29196
+ # Request-specific options
29197
+ #
29198
+ # @yield [result, err] Result & error if block supplied
29199
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
29200
+ # @yieldparam err [StandardError] error object if request failed
29201
+ #
29202
+ # @return [Google::Apis::ComputeBeta::Operation]
29203
+ #
29204
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29205
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29206
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29207
+ def delete_region_target_tcp_proxy(project, region, target_tcp_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29208
+ command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}', options)
29209
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
29210
+ command.response_class = Google::Apis::ComputeBeta::Operation
29211
+ command.params['project'] = project unless project.nil?
29212
+ command.params['region'] = region unless region.nil?
29213
+ command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil?
29214
+ command.query['requestId'] = request_id unless request_id.nil?
29215
+ command.query['fields'] = fields unless fields.nil?
29216
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29217
+ command.query['userIp'] = user_ip unless user_ip.nil?
29218
+ execute_or_queue_command(command, &block)
29219
+ end
29220
+
29221
+ # Returns the specified TargetTcpProxy resource.
29222
+ # @param [String] project
29223
+ # Project ID for this request.
29224
+ # @param [String] region
29225
+ # Name of the region scoping this request.
29226
+ # @param [String] target_tcp_proxy
29227
+ # Name of the TargetTcpProxy resource to return.
29228
+ # @param [String] fields
29229
+ # Selector specifying which fields to include in a partial response.
29230
+ # @param [String] quota_user
29231
+ # Available to use for quota purposes for server-side applications. Can be any
29232
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29233
+ # @param [String] user_ip
29234
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29235
+ # @param [Google::Apis::RequestOptions] options
29236
+ # Request-specific options
29237
+ #
29238
+ # @yield [result, err] Result & error if block supplied
29239
+ # @yieldparam result [Google::Apis::ComputeBeta::TargetTcpProxy] parsed result object
29240
+ # @yieldparam err [StandardError] error object if request failed
29241
+ #
29242
+ # @return [Google::Apis::ComputeBeta::TargetTcpProxy]
29243
+ #
29244
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29245
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29246
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29247
+ def get_region_target_tcp_proxy(project, region, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29248
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}', options)
29249
+ command.response_representation = Google::Apis::ComputeBeta::TargetTcpProxy::Representation
29250
+ command.response_class = Google::Apis::ComputeBeta::TargetTcpProxy
29251
+ command.params['project'] = project unless project.nil?
29252
+ command.params['region'] = region unless region.nil?
29253
+ command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil?
29254
+ command.query['fields'] = fields unless fields.nil?
29255
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29256
+ command.query['userIp'] = user_ip unless user_ip.nil?
29257
+ execute_or_queue_command(command, &block)
29258
+ end
29259
+
29260
+ # Creates a TargetTcpProxy resource in the specified project and region using
29261
+ # the data included in the request.
29262
+ # @param [String] project
29263
+ # Project ID for this request.
29264
+ # @param [String] region
29265
+ # Name of the region scoping this request.
29266
+ # @param [Google::Apis::ComputeBeta::TargetTcpProxy] target_tcp_proxy_object
29267
+ # @param [String] request_id
29268
+ # An optional request ID to identify requests. Specify a unique request ID so
29269
+ # that if you must retry your request, the server will know to ignore the
29270
+ # request if it has already been completed. For example, consider a situation
29271
+ # where you make an initial request and the request times out. If you make the
29272
+ # request again with the same request ID, the server can check if original
29273
+ # operation with the same request ID was received, and if so, will ignore the
29274
+ # second request. This prevents clients from accidentally creating duplicate
29275
+ # commitments. The request ID must be a valid UUID with the exception that zero
29276
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
29277
+ # @param [String] fields
29278
+ # Selector specifying which fields to include in a partial response.
29279
+ # @param [String] quota_user
29280
+ # Available to use for quota purposes for server-side applications. Can be any
29281
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29282
+ # @param [String] user_ip
29283
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29284
+ # @param [Google::Apis::RequestOptions] options
29285
+ # Request-specific options
29286
+ #
29287
+ # @yield [result, err] Result & error if block supplied
29288
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
29289
+ # @yieldparam err [StandardError] error object if request failed
29290
+ #
29291
+ # @return [Google::Apis::ComputeBeta::Operation]
29292
+ #
29293
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29294
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29295
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29296
+ def insert_region_target_tcp_proxy(project, region, target_tcp_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29297
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetTcpProxies', options)
29298
+ command.request_representation = Google::Apis::ComputeBeta::TargetTcpProxy::Representation
29299
+ command.request_object = target_tcp_proxy_object
29300
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
29301
+ command.response_class = Google::Apis::ComputeBeta::Operation
29302
+ command.params['project'] = project unless project.nil?
29303
+ command.params['region'] = region unless region.nil?
29304
+ command.query['requestId'] = request_id unless request_id.nil?
29305
+ command.query['fields'] = fields unless fields.nil?
29306
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29307
+ command.query['userIp'] = user_ip unless user_ip.nil?
29308
+ execute_or_queue_command(command, &block)
29309
+ end
29310
+
29311
+ # Retrieves a list of TargetTcpProxy resources available to the specified
29312
+ # project in a given region.
29313
+ # @param [String] project
29314
+ # Project ID for this request.
29315
+ # @param [String] region
29316
+ # Name of the region scoping this request.
29317
+ # @param [String] filter
29318
+ # A filter expression that filters resources listed in the response. The
29319
+ # expression must specify the field name, an operator, and the value that you
29320
+ # want to use for filtering. The value must be a string, a number, or a boolean.
29321
+ # The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For
29322
+ # example, if you are filtering Compute Engine instances, you can exclude
29323
+ # instances named `example-instance` by specifying `name != example-instance`.
29324
+ # The `:` operator can be used with string fields to match substrings. For non-
29325
+ # string fields it is equivalent to the `=` operator. The `:*` comparison can be
29326
+ # used to test whether a key has been defined. For example, to find all objects
29327
+ # with `owner` label use: ``` labels.owner:* ``` You can also filter nested
29328
+ # fields. For example, you could specify `scheduling.automaticRestart = false`
29329
+ # to include instances only if they are not scheduled for automatic restarts.
29330
+ # You can use filtering on nested fields to filter based on resource labels. To
29331
+ # filter on multiple expressions, provide each separate expression within
29332
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
29333
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
29334
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
29335
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
29336
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
29337
+ # @param [Fixnum] max_results
29338
+ # The maximum number of results per page that should be returned. If the number
29339
+ # of available results is larger than `maxResults`, Compute Engine returns a `
29340
+ # nextPageToken` that can be used to get the next page of results in subsequent
29341
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
29342
+ # @param [String] order_by
29343
+ # Sorts list results by a certain order. By default, results are returned in
29344
+ # alphanumerical order based on the resource name. You can also sort results in
29345
+ # descending order based on the creation timestamp using `orderBy="
29346
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
29347
+ # field in reverse chronological order (newest result first). Use this to sort
29348
+ # resources like operations so that the newest operation is returned first.
29349
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
29350
+ # @param [String] page_token
29351
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
29352
+ # by a previous list request to get the next page of results.
29353
+ # @param [Boolean] return_partial_success
29354
+ # Opt-in for partial success behavior which provides partial results in case of
29355
+ # failure. The default value is false.
29356
+ # @param [String] fields
29357
+ # Selector specifying which fields to include in a partial response.
29358
+ # @param [String] quota_user
29359
+ # Available to use for quota purposes for server-side applications. Can be any
29360
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29361
+ # @param [String] user_ip
29362
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29363
+ # @param [Google::Apis::RequestOptions] options
29364
+ # Request-specific options
29365
+ #
29366
+ # @yield [result, err] Result & error if block supplied
29367
+ # @yieldparam result [Google::Apis::ComputeBeta::TargetTcpProxyList] parsed result object
29368
+ # @yieldparam err [StandardError] error object if request failed
29369
+ #
29370
+ # @return [Google::Apis::ComputeBeta::TargetTcpProxyList]
29371
+ #
29372
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29373
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29374
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29375
+ def list_region_target_tcp_proxies(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)
29376
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetTcpProxies', options)
29377
+ command.response_representation = Google::Apis::ComputeBeta::TargetTcpProxyList::Representation
29378
+ command.response_class = Google::Apis::ComputeBeta::TargetTcpProxyList
29379
+ command.params['project'] = project unless project.nil?
29380
+ command.params['region'] = region unless region.nil?
29381
+ command.query['filter'] = filter unless filter.nil?
29382
+ command.query['maxResults'] = max_results unless max_results.nil?
29383
+ command.query['orderBy'] = order_by unless order_by.nil?
29384
+ command.query['pageToken'] = page_token unless page_token.nil?
29385
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
29386
+ command.query['fields'] = fields unless fields.nil?
29387
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29388
+ command.query['userIp'] = user_ip unless user_ip.nil?
29389
+ execute_or_queue_command(command, &block)
29390
+ end
29391
+
29392
+ # Returns permissions that a caller has on the specified resource.
29393
+ # @param [String] project
29394
+ # Project ID for this request.
29395
+ # @param [String] region
29396
+ # The name of the region for this request.
29397
+ # @param [String] resource
29398
+ # Name or id of the resource for this request.
29399
+ # @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
29400
+ # @param [String] fields
29401
+ # Selector specifying which fields to include in a partial response.
29402
+ # @param [String] quota_user
29403
+ # Available to use for quota purposes for server-side applications. Can be any
29404
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29405
+ # @param [String] user_ip
29406
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29407
+ # @param [Google::Apis::RequestOptions] options
29408
+ # Request-specific options
29409
+ #
29410
+ # @yield [result, err] Result & error if block supplied
29411
+ # @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
29412
+ # @yieldparam err [StandardError] error object if request failed
29413
+ #
29414
+ # @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
29415
+ #
29416
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29417
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29418
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29419
+ def test_region_target_tcp_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29420
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetTcpProxies/{resource}/testIamPermissions', options)
29421
+ command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
29422
+ command.request_object = test_permissions_request_object
29423
+ command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
29424
+ command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
29425
+ command.params['project'] = project unless project.nil?
29426
+ command.params['region'] = region unless region.nil?
29427
+ command.params['resource'] = resource unless resource.nil?
29428
+ command.query['fields'] = fields unless fields.nil?
29429
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29430
+ command.query['userIp'] = user_ip unless user_ip.nil?
29431
+ execute_or_queue_command(command, &block)
29432
+ end
29433
+
29171
29434
  # Deletes the specified UrlMap resource.
29172
29435
  # @param [String] project
29173
29436
  # Project ID for this request.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.33.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: 2022-03-28 00:00:00.000000000 Z
11
+ date: 2022-05-02 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_beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.33.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
63
63
  post_install_message:
64
64
  rdoc_options: []