google-apis-compute_alpha 0.102.0 → 0.104.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -22526,6 +22526,133 @@ module Google
|
|
22526
22526
|
execute_or_queue_command(command, &block)
|
22527
22527
|
end
|
22528
22528
|
|
22529
|
+
# Returns the specified network profile.
|
22530
|
+
# @param [String] project
|
22531
|
+
# Project ID for this request.
|
22532
|
+
# @param [String] network_profile
|
22533
|
+
# Name of the network profile to return.
|
22534
|
+
# @param [String] fields
|
22535
|
+
# Selector specifying which fields to include in a partial response.
|
22536
|
+
# @param [String] quota_user
|
22537
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22538
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22539
|
+
# @param [String] user_ip
|
22540
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
22541
|
+
# @param [Google::Apis::RequestOptions] options
|
22542
|
+
# Request-specific options
|
22543
|
+
#
|
22544
|
+
# @yield [result, err] Result & error if block supplied
|
22545
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::NetworkProfile] parsed result object
|
22546
|
+
# @yieldparam err [StandardError] error object if request failed
|
22547
|
+
#
|
22548
|
+
# @return [Google::Apis::ComputeAlpha::NetworkProfile]
|
22549
|
+
#
|
22550
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22551
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22552
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22553
|
+
def get_network_profile(project, network_profile, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
22554
|
+
command = make_simple_command(:get, 'projects/{project}/global/networkProfiles/{networkProfile}', options)
|
22555
|
+
command.response_representation = Google::Apis::ComputeAlpha::NetworkProfile::Representation
|
22556
|
+
command.response_class = Google::Apis::ComputeAlpha::NetworkProfile
|
22557
|
+
command.params['project'] = project unless project.nil?
|
22558
|
+
command.params['networkProfile'] = network_profile unless network_profile.nil?
|
22559
|
+
command.query['fields'] = fields unless fields.nil?
|
22560
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22561
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
22562
|
+
execute_or_queue_command(command, &block)
|
22563
|
+
end
|
22564
|
+
|
22565
|
+
# Retrieves a list of network profiles available to the specified project.
|
22566
|
+
# @param [String] project
|
22567
|
+
# Project ID for this request.
|
22568
|
+
# @param [String] filter
|
22569
|
+
# A filter expression that filters resources listed in the response. Most
|
22570
|
+
# Compute resources support two types of filter expressions: expressions that
|
22571
|
+
# support regular expressions and expressions that follow API improvement
|
22572
|
+
# proposal AIP-160. These two types of filter expressions cannot be mixed in one
|
22573
|
+
# request. If you want to use AIP-160, your expression must specify the field
|
22574
|
+
# name, an operator, and the value that you want to use for filtering. The value
|
22575
|
+
# must be a string, a number, or a boolean. The operator must be either `=`, `!=`
|
22576
|
+
# , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
22577
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
22578
|
+
# specifying `name != example-instance`. The `:*` comparison can be used to test
|
22579
|
+
# whether a key has been defined. For example, to find all objects with `owner`
|
22580
|
+
# label use: ``` labels.owner:* ``` You can also filter nested fields. For
|
22581
|
+
# example, you could specify `scheduling.automaticRestart = false` to include
|
22582
|
+
# instances only if they are not scheduled for automatic restarts. You can use
|
22583
|
+
# filtering on nested fields to filter based on resource labels. To filter on
|
22584
|
+
# multiple expressions, provide each separate expression within parentheses. For
|
22585
|
+
# example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
|
22586
|
+
# Skylake") ``` By default, each expression is an `AND` expression. However, you
|
22587
|
+
# can include `AND` and `OR` expressions explicitly. For example: ``` (
|
22588
|
+
# cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
|
22589
|
+
# scheduling.automaticRestart = true) ``` If you want to use a regular
|
22590
|
+
# expression, use the `eq` (equal) or `ne` (not equal) operator against a single
|
22591
|
+
# un-parenthesized expression with or without quotes or against multiple
|
22592
|
+
# parenthesized expressions. Examples: `fieldname eq unquoted literal` `
|
22593
|
+
# fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
|
22594
|
+
# fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
|
22595
|
+
# interpreted as a regular expression using Google RE2 library syntax. The
|
22596
|
+
# literal value must match the entire field. For example, to filter for
|
22597
|
+
# instances that do not end with name "instance", you would use `name ne .*
|
22598
|
+
# instance`. You cannot combine constraints on multiple fields using regular
|
22599
|
+
# expressions.
|
22600
|
+
# @param [Fixnum] max_results
|
22601
|
+
# The maximum number of results per page that should be returned. If the number
|
22602
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
22603
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
22604
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
22605
|
+
# @param [String] order_by
|
22606
|
+
# Sorts list results by a certain order. By default, results are returned in
|
22607
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
22608
|
+
# descending order based on the creation timestamp using `orderBy="
|
22609
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
22610
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
22611
|
+
# resources like operations so that the newest operation is returned first.
|
22612
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
22613
|
+
# @param [String] page_token
|
22614
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
22615
|
+
# by a previous list request to get the next page of results.
|
22616
|
+
# @param [Boolean] return_partial_success
|
22617
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
22618
|
+
# failure. The default value is false. For example, when partial success
|
22619
|
+
# behavior is enabled, aggregatedList for a single zone scope either returns all
|
22620
|
+
# resources in the zone or no resources, with an error code.
|
22621
|
+
# @param [String] fields
|
22622
|
+
# Selector specifying which fields to include in a partial response.
|
22623
|
+
# @param [String] quota_user
|
22624
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22625
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22626
|
+
# @param [String] user_ip
|
22627
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
22628
|
+
# @param [Google::Apis::RequestOptions] options
|
22629
|
+
# Request-specific options
|
22630
|
+
#
|
22631
|
+
# @yield [result, err] Result & error if block supplied
|
22632
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::NetworkProfilesListResponse] parsed result object
|
22633
|
+
# @yieldparam err [StandardError] error object if request failed
|
22634
|
+
#
|
22635
|
+
# @return [Google::Apis::ComputeAlpha::NetworkProfilesListResponse]
|
22636
|
+
#
|
22637
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22638
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22639
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22640
|
+
def list_network_profiles(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)
|
22641
|
+
command = make_simple_command(:get, 'projects/{project}/global/networkProfiles', options)
|
22642
|
+
command.response_representation = Google::Apis::ComputeAlpha::NetworkProfilesListResponse::Representation
|
22643
|
+
command.response_class = Google::Apis::ComputeAlpha::NetworkProfilesListResponse
|
22644
|
+
command.params['project'] = project unless project.nil?
|
22645
|
+
command.query['filter'] = filter unless filter.nil?
|
22646
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
22647
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
22648
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
22649
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
22650
|
+
command.query['fields'] = fields unless fields.nil?
|
22651
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22652
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
22653
|
+
execute_or_queue_command(command, &block)
|
22654
|
+
end
|
22655
|
+
|
22529
22656
|
# Adds a peering to the specified network.
|
22530
22657
|
# @param [String] project
|
22531
22658
|
# Project ID for this request.
|
@@ -34117,6 +34244,239 @@ module Google
|
|
34117
34244
|
execute_or_queue_command(command, &block)
|
34118
34245
|
end
|
34119
34246
|
|
34247
|
+
# Deletes a regional multiMIG in the specified project.
|
34248
|
+
# @param [String] project
|
34249
|
+
# Project ID for this request.
|
34250
|
+
# @param [String] region
|
34251
|
+
# Name of the region for this request.
|
34252
|
+
# @param [String] multi_mig
|
34253
|
+
# Name of the multiMIG to delete.
|
34254
|
+
# @param [String] request_id
|
34255
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
34256
|
+
# that if you must retry your request, the server will know to ignore the
|
34257
|
+
# request if it has already been completed. For example, consider a situation
|
34258
|
+
# where you make an initial request and the request times out. If you make the
|
34259
|
+
# request again with the same request ID, the server can check if original
|
34260
|
+
# operation with the same request ID was received, and if so, will ignore the
|
34261
|
+
# second request. This prevents clients from accidentally creating duplicate
|
34262
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
34263
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
34264
|
+
# @param [String] fields
|
34265
|
+
# Selector specifying which fields to include in a partial response.
|
34266
|
+
# @param [String] quota_user
|
34267
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
34268
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
34269
|
+
# @param [String] user_ip
|
34270
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
34271
|
+
# @param [Google::Apis::RequestOptions] options
|
34272
|
+
# Request-specific options
|
34273
|
+
#
|
34274
|
+
# @yield [result, err] Result & error if block supplied
|
34275
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
34276
|
+
# @yieldparam err [StandardError] error object if request failed
|
34277
|
+
#
|
34278
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
34279
|
+
#
|
34280
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
34281
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
34282
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
34283
|
+
def delete_region_multi_mig(project, region, multi_mig, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
34284
|
+
command = make_simple_command(:delete, 'projects/{project}/regions/{region}/multiMigs/{multiMig}', options)
|
34285
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
34286
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
34287
|
+
command.params['project'] = project unless project.nil?
|
34288
|
+
command.params['region'] = region unless region.nil?
|
34289
|
+
command.params['multiMig'] = multi_mig unless multi_mig.nil?
|
34290
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
34291
|
+
command.query['fields'] = fields unless fields.nil?
|
34292
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
34293
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
34294
|
+
execute_or_queue_command(command, &block)
|
34295
|
+
end
|
34296
|
+
|
34297
|
+
# Returns the specified MultiMIG resource.
|
34298
|
+
# @param [String] project
|
34299
|
+
# Project ID for this request.
|
34300
|
+
# @param [String] region
|
34301
|
+
# Name of the region for this request.
|
34302
|
+
# @param [String] multi_mig
|
34303
|
+
# Name of the MultiMig resource to return.
|
34304
|
+
# @param [String] fields
|
34305
|
+
# Selector specifying which fields to include in a partial response.
|
34306
|
+
# @param [String] quota_user
|
34307
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
34308
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
34309
|
+
# @param [String] user_ip
|
34310
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
34311
|
+
# @param [Google::Apis::RequestOptions] options
|
34312
|
+
# Request-specific options
|
34313
|
+
#
|
34314
|
+
# @yield [result, err] Result & error if block supplied
|
34315
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::MultiMig] parsed result object
|
34316
|
+
# @yieldparam err [StandardError] error object if request failed
|
34317
|
+
#
|
34318
|
+
# @return [Google::Apis::ComputeAlpha::MultiMig]
|
34319
|
+
#
|
34320
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
34321
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
34322
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
34323
|
+
def get_region_multi_mig(project, region, multi_mig, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
34324
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/multiMigs/{multiMig}', options)
|
34325
|
+
command.response_representation = Google::Apis::ComputeAlpha::MultiMig::Representation
|
34326
|
+
command.response_class = Google::Apis::ComputeAlpha::MultiMig
|
34327
|
+
command.params['project'] = project unless project.nil?
|
34328
|
+
command.params['region'] = region unless region.nil?
|
34329
|
+
command.params['multiMig'] = multi_mig unless multi_mig.nil?
|
34330
|
+
command.query['fields'] = fields unless fields.nil?
|
34331
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
34332
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
34333
|
+
execute_or_queue_command(command, &block)
|
34334
|
+
end
|
34335
|
+
|
34336
|
+
# Creates a regional multiMIG in the specified project.
|
34337
|
+
# @param [String] project
|
34338
|
+
# Project ID for this request.
|
34339
|
+
# @param [String] region
|
34340
|
+
# Name of the region for this request.
|
34341
|
+
# @param [Google::Apis::ComputeAlpha::MultiMig] multi_mig_object
|
34342
|
+
# @param [String] request_id
|
34343
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
34344
|
+
# that if you must retry your request, the server will know to ignore the
|
34345
|
+
# request if it has already been completed. For example, consider a situation
|
34346
|
+
# where you make an initial request and the request times out. If you make the
|
34347
|
+
# request again with the same request ID, the server can check if original
|
34348
|
+
# operation with the same request ID was received, and if so, will ignore the
|
34349
|
+
# second request. This prevents clients from accidentally creating duplicate
|
34350
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
34351
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
34352
|
+
# @param [String] fields
|
34353
|
+
# Selector specifying which fields to include in a partial response.
|
34354
|
+
# @param [String] quota_user
|
34355
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
34356
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
34357
|
+
# @param [String] user_ip
|
34358
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
34359
|
+
# @param [Google::Apis::RequestOptions] options
|
34360
|
+
# Request-specific options
|
34361
|
+
#
|
34362
|
+
# @yield [result, err] Result & error if block supplied
|
34363
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
34364
|
+
# @yieldparam err [StandardError] error object if request failed
|
34365
|
+
#
|
34366
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
34367
|
+
#
|
34368
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
34369
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
34370
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
34371
|
+
def insert_region_multi_mig(project, region, multi_mig_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
34372
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/multiMigs', options)
|
34373
|
+
command.request_representation = Google::Apis::ComputeAlpha::MultiMig::Representation
|
34374
|
+
command.request_object = multi_mig_object
|
34375
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
34376
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
34377
|
+
command.params['project'] = project unless project.nil?
|
34378
|
+
command.params['region'] = region unless region.nil?
|
34379
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
34380
|
+
command.query['fields'] = fields unless fields.nil?
|
34381
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
34382
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
34383
|
+
execute_or_queue_command(command, &block)
|
34384
|
+
end
|
34385
|
+
|
34386
|
+
# Retrieves a list of MultiMIGs in a project and region.
|
34387
|
+
# @param [String] project
|
34388
|
+
# Project ID for this request.
|
34389
|
+
# @param [String] region
|
34390
|
+
# Name of the region for this request.
|
34391
|
+
# @param [String] filter
|
34392
|
+
# A filter expression that filters resources listed in the response. Most
|
34393
|
+
# Compute resources support two types of filter expressions: expressions that
|
34394
|
+
# support regular expressions and expressions that follow API improvement
|
34395
|
+
# proposal AIP-160. These two types of filter expressions cannot be mixed in one
|
34396
|
+
# request. If you want to use AIP-160, your expression must specify the field
|
34397
|
+
# name, an operator, and the value that you want to use for filtering. The value
|
34398
|
+
# must be a string, a number, or a boolean. The operator must be either `=`, `!=`
|
34399
|
+
# , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
34400
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
34401
|
+
# specifying `name != example-instance`. The `:*` comparison can be used to test
|
34402
|
+
# whether a key has been defined. For example, to find all objects with `owner`
|
34403
|
+
# label use: ``` labels.owner:* ``` You can also filter nested fields. For
|
34404
|
+
# example, you could specify `scheduling.automaticRestart = false` to include
|
34405
|
+
# instances only if they are not scheduled for automatic restarts. You can use
|
34406
|
+
# filtering on nested fields to filter based on resource labels. To filter on
|
34407
|
+
# multiple expressions, provide each separate expression within parentheses. For
|
34408
|
+
# example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
|
34409
|
+
# Skylake") ``` By default, each expression is an `AND` expression. However, you
|
34410
|
+
# can include `AND` and `OR` expressions explicitly. For example: ``` (
|
34411
|
+
# cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
|
34412
|
+
# scheduling.automaticRestart = true) ``` If you want to use a regular
|
34413
|
+
# expression, use the `eq` (equal) or `ne` (not equal) operator against a single
|
34414
|
+
# un-parenthesized expression with or without quotes or against multiple
|
34415
|
+
# parenthesized expressions. Examples: `fieldname eq unquoted literal` `
|
34416
|
+
# fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
|
34417
|
+
# fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
|
34418
|
+
# interpreted as a regular expression using Google RE2 library syntax. The
|
34419
|
+
# literal value must match the entire field. For example, to filter for
|
34420
|
+
# instances that do not end with name "instance", you would use `name ne .*
|
34421
|
+
# instance`. You cannot combine constraints on multiple fields using regular
|
34422
|
+
# expressions.
|
34423
|
+
# @param [Fixnum] max_results
|
34424
|
+
# The maximum number of results per page that should be returned. If the number
|
34425
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
34426
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
34427
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
34428
|
+
# @param [String] order_by
|
34429
|
+
# Sorts list results by a certain order. By default, results are returned in
|
34430
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
34431
|
+
# descending order based on the creation timestamp using `orderBy="
|
34432
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
34433
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
34434
|
+
# resources like operations so that the newest operation is returned first.
|
34435
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
34436
|
+
# @param [String] page_token
|
34437
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
34438
|
+
# by a previous list request to get the next page of results.
|
34439
|
+
# @param [Boolean] return_partial_success
|
34440
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
34441
|
+
# failure. The default value is false. For example, when partial success
|
34442
|
+
# behavior is enabled, aggregatedList for a single zone scope either returns all
|
34443
|
+
# resources in the zone or no resources, with an error code.
|
34444
|
+
# @param [String] fields
|
34445
|
+
# Selector specifying which fields to include in a partial response.
|
34446
|
+
# @param [String] quota_user
|
34447
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
34448
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
34449
|
+
# @param [String] user_ip
|
34450
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
34451
|
+
# @param [Google::Apis::RequestOptions] options
|
34452
|
+
# Request-specific options
|
34453
|
+
#
|
34454
|
+
# @yield [result, err] Result & error if block supplied
|
34455
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::MultiMigsList] parsed result object
|
34456
|
+
# @yieldparam err [StandardError] error object if request failed
|
34457
|
+
#
|
34458
|
+
# @return [Google::Apis::ComputeAlpha::MultiMigsList]
|
34459
|
+
#
|
34460
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
34461
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
34462
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
34463
|
+
def list_region_multi_migs(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)
|
34464
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/multiMigs', options)
|
34465
|
+
command.response_representation = Google::Apis::ComputeAlpha::MultiMigsList::Representation
|
34466
|
+
command.response_class = Google::Apis::ComputeAlpha::MultiMigsList
|
34467
|
+
command.params['project'] = project unless project.nil?
|
34468
|
+
command.params['region'] = region unless region.nil?
|
34469
|
+
command.query['filter'] = filter unless filter.nil?
|
34470
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
34471
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
34472
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
34473
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
34474
|
+
command.query['fields'] = fields unless fields.nil?
|
34475
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
34476
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
34477
|
+
execute_or_queue_command(command, &block)
|
34478
|
+
end
|
34479
|
+
|
34120
34480
|
# Attach a list of network endpoints to the specified network endpoint group.
|
34121
34481
|
# @param [String] project
|
34122
34482
|
# Project ID for this request.
|
@@ -45883,7 +46243,8 @@ module Google
|
|
45883
46243
|
|
45884
46244
|
# Updates the specified storagePool with the data included in the request. The
|
45885
46245
|
# update is performed only on selected fields included as part of update-mask.
|
45886
|
-
# Only the following fields can be modified:
|
46246
|
+
# Only the following fields can be modified: pool_provisioned_capacity_gb,
|
46247
|
+
# pool_provisioned_iops and pool_provisioned_throughput.
|
45887
46248
|
# @param [String] project
|
45888
46249
|
# Project ID for this request.
|
45889
46250
|
# @param [String] zone
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.104.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.104.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|