google-apis-compute_alpha 0.25.0 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -3347,165 +3347,6 @@ module Google
|
|
3347
3347
|
execute_or_queue_command(command, &block)
|
3348
3348
|
end
|
3349
3349
|
|
3350
|
-
# Starts asynchronous replication. Must be invoked on the primary disk.
|
3351
|
-
# @param [String] project
|
3352
|
-
# Project ID for this request.
|
3353
|
-
# @param [String] zone
|
3354
|
-
# The name of the zone for this request.
|
3355
|
-
# @param [String] disk
|
3356
|
-
# The name of the persistent disk.
|
3357
|
-
# @param [Google::Apis::ComputeAlpha::DisksStartAsyncReplicationRequest] disks_start_async_replication_request_object
|
3358
|
-
# @param [String] request_id
|
3359
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
3360
|
-
# that if you must retry your request, the server will know to ignore the
|
3361
|
-
# request if it has already been completed. For example, consider a situation
|
3362
|
-
# where you make an initial request and the request times out. If you make the
|
3363
|
-
# request again with the same request ID, the server can check if original
|
3364
|
-
# operation with the same request ID was received, and if so, will ignore the
|
3365
|
-
# second request. This prevents clients from accidentally creating duplicate
|
3366
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
3367
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
3368
|
-
# @param [String] fields
|
3369
|
-
# Selector specifying which fields to include in a partial response.
|
3370
|
-
# @param [String] quota_user
|
3371
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3372
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3373
|
-
# @param [String] user_ip
|
3374
|
-
# Legacy name for parameter that has been superseded by `quotaUser`.
|
3375
|
-
# @param [Google::Apis::RequestOptions] options
|
3376
|
-
# Request-specific options
|
3377
|
-
#
|
3378
|
-
# @yield [result, err] Result & error if block supplied
|
3379
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
3380
|
-
# @yieldparam err [StandardError] error object if request failed
|
3381
|
-
#
|
3382
|
-
# @return [Google::Apis::ComputeAlpha::Operation]
|
3383
|
-
#
|
3384
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3385
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3386
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3387
|
-
def start_disk_async_replication(project, zone, disk, disks_start_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3388
|
-
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/startAsyncReplication', options)
|
3389
|
-
command.request_representation = Google::Apis::ComputeAlpha::DisksStartAsyncReplicationRequest::Representation
|
3390
|
-
command.request_object = disks_start_async_replication_request_object
|
3391
|
-
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
3392
|
-
command.response_class = Google::Apis::ComputeAlpha::Operation
|
3393
|
-
command.params['project'] = project unless project.nil?
|
3394
|
-
command.params['zone'] = zone unless zone.nil?
|
3395
|
-
command.params['disk'] = disk unless disk.nil?
|
3396
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
3397
|
-
command.query['fields'] = fields unless fields.nil?
|
3398
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3399
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3400
|
-
execute_or_queue_command(command, &block)
|
3401
|
-
end
|
3402
|
-
|
3403
|
-
# Stops asynchronous replication. Can be invoked either on the primary or on the
|
3404
|
-
# secondary disk.
|
3405
|
-
# @param [String] project
|
3406
|
-
# Project ID for this request.
|
3407
|
-
# @param [String] zone
|
3408
|
-
# The name of the zone for this request.
|
3409
|
-
# @param [String] disk
|
3410
|
-
# The name of the persistent disk.
|
3411
|
-
# @param [Google::Apis::ComputeAlpha::DisksStopAsyncReplicationRequest] disks_stop_async_replication_request_object
|
3412
|
-
# @param [String] request_id
|
3413
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
3414
|
-
# that if you must retry your request, the server will know to ignore the
|
3415
|
-
# request if it has already been completed. For example, consider a situation
|
3416
|
-
# where you make an initial request and the request times out. If you make the
|
3417
|
-
# request again with the same request ID, the server can check if original
|
3418
|
-
# operation with the same request ID was received, and if so, will ignore the
|
3419
|
-
# second request. This prevents clients from accidentally creating duplicate
|
3420
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
3421
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
3422
|
-
# @param [String] fields
|
3423
|
-
# Selector specifying which fields to include in a partial response.
|
3424
|
-
# @param [String] quota_user
|
3425
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3426
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3427
|
-
# @param [String] user_ip
|
3428
|
-
# Legacy name for parameter that has been superseded by `quotaUser`.
|
3429
|
-
# @param [Google::Apis::RequestOptions] options
|
3430
|
-
# Request-specific options
|
3431
|
-
#
|
3432
|
-
# @yield [result, err] Result & error if block supplied
|
3433
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
3434
|
-
# @yieldparam err [StandardError] error object if request failed
|
3435
|
-
#
|
3436
|
-
# @return [Google::Apis::ComputeAlpha::Operation]
|
3437
|
-
#
|
3438
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3439
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3440
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3441
|
-
def stop_disk_async_replication(project, zone, disk, disks_stop_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3442
|
-
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/stopAsyncReplication', options)
|
3443
|
-
command.request_representation = Google::Apis::ComputeAlpha::DisksStopAsyncReplicationRequest::Representation
|
3444
|
-
command.request_object = disks_stop_async_replication_request_object
|
3445
|
-
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
3446
|
-
command.response_class = Google::Apis::ComputeAlpha::Operation
|
3447
|
-
command.params['project'] = project unless project.nil?
|
3448
|
-
command.params['zone'] = zone unless zone.nil?
|
3449
|
-
command.params['disk'] = disk unless disk.nil?
|
3450
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
3451
|
-
command.query['fields'] = fields unless fields.nil?
|
3452
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3453
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3454
|
-
execute_or_queue_command(command, &block)
|
3455
|
-
end
|
3456
|
-
|
3457
|
-
# Stops asynchronous replication for a consistency group of disks. Can be
|
3458
|
-
# invoked either in the primary or secondary scope.
|
3459
|
-
# @param [String] project
|
3460
|
-
# Project ID for this request.
|
3461
|
-
# @param [String] zone
|
3462
|
-
# The name of the zone for this request. This must be the zone of the primary or
|
3463
|
-
# secondary disks in the consistency group.
|
3464
|
-
# @param [Google::Apis::ComputeAlpha::DisksStopGroupAsyncReplicationRequest] disks_stop_group_async_replication_request_object
|
3465
|
-
# @param [String] request_id
|
3466
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
3467
|
-
# that if you must retry your request, the server will know to ignore the
|
3468
|
-
# request if it has already been completed. For example, consider a situation
|
3469
|
-
# where you make an initial request and the request times out. If you make the
|
3470
|
-
# request again with the same request ID, the server can check if original
|
3471
|
-
# operation with the same request ID was received, and if so, will ignore the
|
3472
|
-
# second request. This prevents clients from accidentally creating duplicate
|
3473
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
3474
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
3475
|
-
# @param [String] fields
|
3476
|
-
# Selector specifying which fields to include in a partial response.
|
3477
|
-
# @param [String] quota_user
|
3478
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3479
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3480
|
-
# @param [String] user_ip
|
3481
|
-
# Legacy name for parameter that has been superseded by `quotaUser`.
|
3482
|
-
# @param [Google::Apis::RequestOptions] options
|
3483
|
-
# Request-specific options
|
3484
|
-
#
|
3485
|
-
# @yield [result, err] Result & error if block supplied
|
3486
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
3487
|
-
# @yieldparam err [StandardError] error object if request failed
|
3488
|
-
#
|
3489
|
-
# @return [Google::Apis::ComputeAlpha::Operation]
|
3490
|
-
#
|
3491
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3492
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3493
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3494
|
-
def stop_disk_group_async_replication(project, zone, disks_stop_group_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3495
|
-
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/stopGroupAsyncReplication', options)
|
3496
|
-
command.request_representation = Google::Apis::ComputeAlpha::DisksStopGroupAsyncReplicationRequest::Representation
|
3497
|
-
command.request_object = disks_stop_group_async_replication_request_object
|
3498
|
-
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
3499
|
-
command.response_class = Google::Apis::ComputeAlpha::Operation
|
3500
|
-
command.params['project'] = project unless project.nil?
|
3501
|
-
command.params['zone'] = zone unless zone.nil?
|
3502
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
3503
|
-
command.query['fields'] = fields unless fields.nil?
|
3504
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3505
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3506
|
-
execute_or_queue_command(command, &block)
|
3507
|
-
end
|
3508
|
-
|
3509
3350
|
# Returns permissions that a caller has on the specified resource.
|
3510
3351
|
# @param [String] project
|
3511
3352
|
# Project ID for this request.
|
@@ -25847,165 +25688,6 @@ module Google
|
|
25847
25688
|
execute_or_queue_command(command, &block)
|
25848
25689
|
end
|
25849
25690
|
|
25850
|
-
# Starts asynchronous replication. Must be invoked on the primary disk.
|
25851
|
-
# @param [String] project
|
25852
|
-
# Project ID for this request.
|
25853
|
-
# @param [String] region
|
25854
|
-
# The name of the region for this request.
|
25855
|
-
# @param [String] disk
|
25856
|
-
# The name of the persistent disk.
|
25857
|
-
# @param [Google::Apis::ComputeAlpha::RegionDisksStartAsyncReplicationRequest] region_disks_start_async_replication_request_object
|
25858
|
-
# @param [String] request_id
|
25859
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
25860
|
-
# that if you must retry your request, the server will know to ignore the
|
25861
|
-
# request if it has already been completed. For example, consider a situation
|
25862
|
-
# where you make an initial request and the request times out. If you make the
|
25863
|
-
# request again with the same request ID, the server can check if original
|
25864
|
-
# operation with the same request ID was received, and if so, will ignore the
|
25865
|
-
# second request. This prevents clients from accidentally creating duplicate
|
25866
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
25867
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
25868
|
-
# @param [String] fields
|
25869
|
-
# Selector specifying which fields to include in a partial response.
|
25870
|
-
# @param [String] quota_user
|
25871
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
25872
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
25873
|
-
# @param [String] user_ip
|
25874
|
-
# Legacy name for parameter that has been superseded by `quotaUser`.
|
25875
|
-
# @param [Google::Apis::RequestOptions] options
|
25876
|
-
# Request-specific options
|
25877
|
-
#
|
25878
|
-
# @yield [result, err] Result & error if block supplied
|
25879
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
25880
|
-
# @yieldparam err [StandardError] error object if request failed
|
25881
|
-
#
|
25882
|
-
# @return [Google::Apis::ComputeAlpha::Operation]
|
25883
|
-
#
|
25884
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
25885
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
25886
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
25887
|
-
def start_region_disk_async_replication(project, region, disk, region_disks_start_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
25888
|
-
command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/startAsyncReplication', options)
|
25889
|
-
command.request_representation = Google::Apis::ComputeAlpha::RegionDisksStartAsyncReplicationRequest::Representation
|
25890
|
-
command.request_object = region_disks_start_async_replication_request_object
|
25891
|
-
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
25892
|
-
command.response_class = Google::Apis::ComputeAlpha::Operation
|
25893
|
-
command.params['project'] = project unless project.nil?
|
25894
|
-
command.params['region'] = region unless region.nil?
|
25895
|
-
command.params['disk'] = disk unless disk.nil?
|
25896
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
25897
|
-
command.query['fields'] = fields unless fields.nil?
|
25898
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
25899
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
25900
|
-
execute_or_queue_command(command, &block)
|
25901
|
-
end
|
25902
|
-
|
25903
|
-
# Stops asynchronous replication. Can be invoked either on the primary or on the
|
25904
|
-
# secondary disk.
|
25905
|
-
# @param [String] project
|
25906
|
-
# Project ID for this request.
|
25907
|
-
# @param [String] region
|
25908
|
-
# The name of the region for this request.
|
25909
|
-
# @param [String] disk
|
25910
|
-
# The name of the persistent disk.
|
25911
|
-
# @param [Google::Apis::ComputeAlpha::RegionDisksStopAsyncReplicationRequest] region_disks_stop_async_replication_request_object
|
25912
|
-
# @param [String] request_id
|
25913
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
25914
|
-
# that if you must retry your request, the server will know to ignore the
|
25915
|
-
# request if it has already been completed. For example, consider a situation
|
25916
|
-
# where you make an initial request and the request times out. If you make the
|
25917
|
-
# request again with the same request ID, the server can check if original
|
25918
|
-
# operation with the same request ID was received, and if so, will ignore the
|
25919
|
-
# second request. This prevents clients from accidentally creating duplicate
|
25920
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
25921
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
25922
|
-
# @param [String] fields
|
25923
|
-
# Selector specifying which fields to include in a partial response.
|
25924
|
-
# @param [String] quota_user
|
25925
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
25926
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
25927
|
-
# @param [String] user_ip
|
25928
|
-
# Legacy name for parameter that has been superseded by `quotaUser`.
|
25929
|
-
# @param [Google::Apis::RequestOptions] options
|
25930
|
-
# Request-specific options
|
25931
|
-
#
|
25932
|
-
# @yield [result, err] Result & error if block supplied
|
25933
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
25934
|
-
# @yieldparam err [StandardError] error object if request failed
|
25935
|
-
#
|
25936
|
-
# @return [Google::Apis::ComputeAlpha::Operation]
|
25937
|
-
#
|
25938
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
25939
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
25940
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
25941
|
-
def stop_region_disk_async_replication(project, region, disk, region_disks_stop_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
25942
|
-
command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/stopAsyncReplication', options)
|
25943
|
-
command.request_representation = Google::Apis::ComputeAlpha::RegionDisksStopAsyncReplicationRequest::Representation
|
25944
|
-
command.request_object = region_disks_stop_async_replication_request_object
|
25945
|
-
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
25946
|
-
command.response_class = Google::Apis::ComputeAlpha::Operation
|
25947
|
-
command.params['project'] = project unless project.nil?
|
25948
|
-
command.params['region'] = region unless region.nil?
|
25949
|
-
command.params['disk'] = disk unless disk.nil?
|
25950
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
25951
|
-
command.query['fields'] = fields unless fields.nil?
|
25952
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
25953
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
25954
|
-
execute_or_queue_command(command, &block)
|
25955
|
-
end
|
25956
|
-
|
25957
|
-
# Stops asynchronous replication for a consistency group of disks. Can be
|
25958
|
-
# invoked either in the primary or secondary scope.
|
25959
|
-
# @param [String] project
|
25960
|
-
# Project ID for this request.
|
25961
|
-
# @param [String] region
|
25962
|
-
# The name of the region for this request. This must be the region of the
|
25963
|
-
# primary or secondary disks in the consistency group.
|
25964
|
-
# @param [Google::Apis::ComputeAlpha::RegionDisksStopGroupAsyncReplicationRequest] region_disks_stop_group_async_replication_request_object
|
25965
|
-
# @param [String] request_id
|
25966
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
25967
|
-
# that if you must retry your request, the server will know to ignore the
|
25968
|
-
# request if it has already been completed. For example, consider a situation
|
25969
|
-
# where you make an initial request and the request times out. If you make the
|
25970
|
-
# request again with the same request ID, the server can check if original
|
25971
|
-
# operation with the same request ID was received, and if so, will ignore the
|
25972
|
-
# second request. This prevents clients from accidentally creating duplicate
|
25973
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
25974
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
25975
|
-
# @param [String] fields
|
25976
|
-
# Selector specifying which fields to include in a partial response.
|
25977
|
-
# @param [String] quota_user
|
25978
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
25979
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
25980
|
-
# @param [String] user_ip
|
25981
|
-
# Legacy name for parameter that has been superseded by `quotaUser`.
|
25982
|
-
# @param [Google::Apis::RequestOptions] options
|
25983
|
-
# Request-specific options
|
25984
|
-
#
|
25985
|
-
# @yield [result, err] Result & error if block supplied
|
25986
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
25987
|
-
# @yieldparam err [StandardError] error object if request failed
|
25988
|
-
#
|
25989
|
-
# @return [Google::Apis::ComputeAlpha::Operation]
|
25990
|
-
#
|
25991
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
25992
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
25993
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
25994
|
-
def stop_region_disk_group_async_replication(project, region, region_disks_stop_group_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
25995
|
-
command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/stopGroupAsyncReplication', options)
|
25996
|
-
command.request_representation = Google::Apis::ComputeAlpha::RegionDisksStopGroupAsyncReplicationRequest::Representation
|
25997
|
-
command.request_object = region_disks_stop_group_async_replication_request_object
|
25998
|
-
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
25999
|
-
command.response_class = Google::Apis::ComputeAlpha::Operation
|
26000
|
-
command.params['project'] = project unless project.nil?
|
26001
|
-
command.params['region'] = region unless region.nil?
|
26002
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
26003
|
-
command.query['fields'] = fields unless fields.nil?
|
26004
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
26005
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
26006
|
-
execute_or_queue_command(command, &block)
|
26007
|
-
end
|
26008
|
-
|
26009
25691
|
# Returns permissions that a caller has on the specified resource.
|
26010
25692
|
# @param [String] project
|
26011
25693
|
# Project ID for this request.
|
@@ -31968,6 +31650,49 @@ module Google
|
|
31968
31650
|
execute_or_queue_command(command, &block)
|
31969
31651
|
end
|
31970
31652
|
|
31653
|
+
# Gets the access control policy for a resource. May be empty if no such policy
|
31654
|
+
# or resource exists.
|
31655
|
+
# @param [String] project
|
31656
|
+
# Project ID for this request.
|
31657
|
+
# @param [String] region
|
31658
|
+
# The name of the region for this request.
|
31659
|
+
# @param [String] resource
|
31660
|
+
# Name or id of the resource for this request.
|
31661
|
+
# @param [Fixnum] options_requested_policy_version
|
31662
|
+
# Requested IAM Policy version.
|
31663
|
+
# @param [String] fields
|
31664
|
+
# Selector specifying which fields to include in a partial response.
|
31665
|
+
# @param [String] quota_user
|
31666
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
31667
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
31668
|
+
# @param [String] user_ip
|
31669
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
31670
|
+
# @param [Google::Apis::RequestOptions] options
|
31671
|
+
# Request-specific options
|
31672
|
+
#
|
31673
|
+
# @yield [result, err] Result & error if block supplied
|
31674
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
|
31675
|
+
# @yieldparam err [StandardError] error object if request failed
|
31676
|
+
#
|
31677
|
+
# @return [Google::Apis::ComputeAlpha::Policy]
|
31678
|
+
#
|
31679
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31680
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31681
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31682
|
+
def get_region_ssl_policy_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31683
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslPolicies/{resource}/getIamPolicy', options)
|
31684
|
+
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
31685
|
+
command.response_class = Google::Apis::ComputeAlpha::Policy
|
31686
|
+
command.params['project'] = project unless project.nil?
|
31687
|
+
command.params['region'] = region unless region.nil?
|
31688
|
+
command.params['resource'] = resource unless resource.nil?
|
31689
|
+
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
31690
|
+
command.query['fields'] = fields unless fields.nil?
|
31691
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31692
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
31693
|
+
execute_or_queue_command(command, &block)
|
31694
|
+
end
|
31695
|
+
|
31971
31696
|
# Creates a new policy in the specified project and region using the data
|
31972
31697
|
# included in the request.
|
31973
31698
|
# @param [String] project
|
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.26.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-02-
|
11
|
+
date: 2022-02-21 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.26.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: []
|