google-apis-compute_alpha 0.26.0 → 0.29.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.
@@ -2823,8 +2823,7 @@ module Google
|
|
2823
2823
|
# @param [Google::Apis::ComputeAlpha::Snapshot] snapshot_object
|
2824
2824
|
# @param [Boolean] guest_flush
|
2825
2825
|
# [Input Only] Whether to attempt an application consistent snapshot by
|
2826
|
-
# informing the OS to prepare for the snapshot process.
|
2827
|
-
# on Windows instances using the Volume Shadow Copy Service (VSS).
|
2826
|
+
# informing the OS to prepare for the snapshot process.
|
2828
2827
|
# @param [String] request_id
|
2829
2828
|
# An optional request ID to identify requests. Specify a unique request ID so
|
2830
2829
|
# that if you must retry your request, the server will know to ignore the
|
@@ -3347,6 +3346,165 @@ module Google
|
|
3347
3346
|
execute_or_queue_command(command, &block)
|
3348
3347
|
end
|
3349
3348
|
|
3349
|
+
# Starts asynchronous replication. Must be invoked on the primary disk.
|
3350
|
+
# @param [String] project
|
3351
|
+
# Project ID for this request.
|
3352
|
+
# @param [String] zone
|
3353
|
+
# The name of the zone for this request.
|
3354
|
+
# @param [String] disk
|
3355
|
+
# The name of the persistent disk.
|
3356
|
+
# @param [Google::Apis::ComputeAlpha::DisksStartAsyncReplicationRequest] disks_start_async_replication_request_object
|
3357
|
+
# @param [String] request_id
|
3358
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
3359
|
+
# that if you must retry your request, the server will know to ignore the
|
3360
|
+
# request if it has already been completed. For example, consider a situation
|
3361
|
+
# where you make an initial request and the request times out. If you make the
|
3362
|
+
# request again with the same request ID, the server can check if original
|
3363
|
+
# operation with the same request ID was received, and if so, will ignore the
|
3364
|
+
# second request. This prevents clients from accidentally creating duplicate
|
3365
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
3366
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
3367
|
+
# @param [String] fields
|
3368
|
+
# Selector specifying which fields to include in a partial response.
|
3369
|
+
# @param [String] quota_user
|
3370
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3371
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3372
|
+
# @param [String] user_ip
|
3373
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
3374
|
+
# @param [Google::Apis::RequestOptions] options
|
3375
|
+
# Request-specific options
|
3376
|
+
#
|
3377
|
+
# @yield [result, err] Result & error if block supplied
|
3378
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
3379
|
+
# @yieldparam err [StandardError] error object if request failed
|
3380
|
+
#
|
3381
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
3382
|
+
#
|
3383
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3384
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3385
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3386
|
+
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)
|
3387
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/startAsyncReplication', options)
|
3388
|
+
command.request_representation = Google::Apis::ComputeAlpha::DisksStartAsyncReplicationRequest::Representation
|
3389
|
+
command.request_object = disks_start_async_replication_request_object
|
3390
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
3391
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
3392
|
+
command.params['project'] = project unless project.nil?
|
3393
|
+
command.params['zone'] = zone unless zone.nil?
|
3394
|
+
command.params['disk'] = disk unless disk.nil?
|
3395
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3396
|
+
command.query['fields'] = fields unless fields.nil?
|
3397
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3398
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3399
|
+
execute_or_queue_command(command, &block)
|
3400
|
+
end
|
3401
|
+
|
3402
|
+
# Stops asynchronous replication. Can be invoked either on the primary or on the
|
3403
|
+
# secondary disk.
|
3404
|
+
# @param [String] project
|
3405
|
+
# Project ID for this request.
|
3406
|
+
# @param [String] zone
|
3407
|
+
# The name of the zone for this request.
|
3408
|
+
# @param [String] disk
|
3409
|
+
# The name of the persistent disk.
|
3410
|
+
# @param [Google::Apis::ComputeAlpha::DisksStopAsyncReplicationRequest] disks_stop_async_replication_request_object
|
3411
|
+
# @param [String] request_id
|
3412
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
3413
|
+
# that if you must retry your request, the server will know to ignore the
|
3414
|
+
# request if it has already been completed. For example, consider a situation
|
3415
|
+
# where you make an initial request and the request times out. If you make the
|
3416
|
+
# request again with the same request ID, the server can check if original
|
3417
|
+
# operation with the same request ID was received, and if so, will ignore the
|
3418
|
+
# second request. This prevents clients from accidentally creating duplicate
|
3419
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
3420
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
3421
|
+
# @param [String] fields
|
3422
|
+
# Selector specifying which fields to include in a partial response.
|
3423
|
+
# @param [String] quota_user
|
3424
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3425
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3426
|
+
# @param [String] user_ip
|
3427
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
3428
|
+
# @param [Google::Apis::RequestOptions] options
|
3429
|
+
# Request-specific options
|
3430
|
+
#
|
3431
|
+
# @yield [result, err] Result & error if block supplied
|
3432
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
3433
|
+
# @yieldparam err [StandardError] error object if request failed
|
3434
|
+
#
|
3435
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
3436
|
+
#
|
3437
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3438
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3439
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3440
|
+
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)
|
3441
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/stopAsyncReplication', options)
|
3442
|
+
command.request_representation = Google::Apis::ComputeAlpha::DisksStopAsyncReplicationRequest::Representation
|
3443
|
+
command.request_object = disks_stop_async_replication_request_object
|
3444
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
3445
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
3446
|
+
command.params['project'] = project unless project.nil?
|
3447
|
+
command.params['zone'] = zone unless zone.nil?
|
3448
|
+
command.params['disk'] = disk unless disk.nil?
|
3449
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3450
|
+
command.query['fields'] = fields unless fields.nil?
|
3451
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3452
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3453
|
+
execute_or_queue_command(command, &block)
|
3454
|
+
end
|
3455
|
+
|
3456
|
+
# Stops asynchronous replication for a consistency group of disks. Can be
|
3457
|
+
# invoked either in the primary or secondary scope.
|
3458
|
+
# @param [String] project
|
3459
|
+
# Project ID for this request.
|
3460
|
+
# @param [String] zone
|
3461
|
+
# The name of the zone for this request. This must be the zone of the primary or
|
3462
|
+
# secondary disks in the consistency group.
|
3463
|
+
# @param [Google::Apis::ComputeAlpha::DisksStopGroupAsyncReplicationRequest] disks_stop_group_async_replication_request_object
|
3464
|
+
# @param [String] request_id
|
3465
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
3466
|
+
# that if you must retry your request, the server will know to ignore the
|
3467
|
+
# request if it has already been completed. For example, consider a situation
|
3468
|
+
# where you make an initial request and the request times out. If you make the
|
3469
|
+
# request again with the same request ID, the server can check if original
|
3470
|
+
# operation with the same request ID was received, and if so, will ignore the
|
3471
|
+
# second request. This prevents clients from accidentally creating duplicate
|
3472
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
3473
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
3474
|
+
# @param [String] fields
|
3475
|
+
# Selector specifying which fields to include in a partial response.
|
3476
|
+
# @param [String] quota_user
|
3477
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3478
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3479
|
+
# @param [String] user_ip
|
3480
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
3481
|
+
# @param [Google::Apis::RequestOptions] options
|
3482
|
+
# Request-specific options
|
3483
|
+
#
|
3484
|
+
# @yield [result, err] Result & error if block supplied
|
3485
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
3486
|
+
# @yieldparam err [StandardError] error object if request failed
|
3487
|
+
#
|
3488
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
3489
|
+
#
|
3490
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3491
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3492
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3493
|
+
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)
|
3494
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/stopGroupAsyncReplication', options)
|
3495
|
+
command.request_representation = Google::Apis::ComputeAlpha::DisksStopGroupAsyncReplicationRequest::Representation
|
3496
|
+
command.request_object = disks_stop_group_async_replication_request_object
|
3497
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
3498
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
3499
|
+
command.params['project'] = project unless project.nil?
|
3500
|
+
command.params['zone'] = zone unless zone.nil?
|
3501
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3502
|
+
command.query['fields'] = fields unless fields.nil?
|
3503
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3504
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3505
|
+
execute_or_queue_command(command, &block)
|
3506
|
+
end
|
3507
|
+
|
3350
3508
|
# Returns permissions that a caller has on the specified resource.
|
3351
3509
|
# @param [String] project
|
3352
3510
|
# Project ID for this request.
|
@@ -13152,7 +13310,7 @@ module Google
|
|
13152
13310
|
execute_or_queue_command(command, &block)
|
13153
13311
|
end
|
13154
13312
|
|
13155
|
-
# Performs a reset on the instance. This is a hard reset
|
13313
|
+
# Performs a reset on the instance. This is a hard reset. The VM does not do a
|
13156
13314
|
# graceful shutdown. For more information, see Resetting an instance.
|
13157
13315
|
# @param [String] project
|
13158
13316
|
# Project ID for this request.
|
@@ -14052,6 +14210,16 @@ module Google
|
|
14052
14210
|
# The name of the zone for this request.
|
14053
14211
|
# @param [String] instance
|
14054
14212
|
# Name of the instance scoping this request.
|
14213
|
+
# @param [String] request_id
|
14214
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
14215
|
+
# that if you must retry your request, the server will know to ignore the
|
14216
|
+
# request if it has already been completed. For example, consider a situation
|
14217
|
+
# where you make an initial request and the request times out. If you make the
|
14218
|
+
# request again with the same request ID, the server can check if original
|
14219
|
+
# operation with the same request ID was received, and if so, will ignore the
|
14220
|
+
# second request. This prevents clients from accidentally creating duplicate
|
14221
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
14222
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
14055
14223
|
# @param [String] fields
|
14056
14224
|
# Selector specifying which fields to include in a partial response.
|
14057
14225
|
# @param [String] quota_user
|
@@ -14071,13 +14239,14 @@ module Google
|
|
14071
14239
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
14072
14240
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
14073
14241
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
14074
|
-
def simulate_instance_maintenance_event(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
14242
|
+
def simulate_instance_maintenance_event(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
14075
14243
|
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', options)
|
14076
14244
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
14077
14245
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
14078
14246
|
command.params['project'] = project unless project.nil?
|
14079
14247
|
command.params['zone'] = zone unless zone.nil?
|
14080
14248
|
command.params['instance'] = instance unless instance.nil?
|
14249
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
14081
14250
|
command.query['fields'] = fields unless fields.nil?
|
14082
14251
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
14083
14252
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -23078,6 +23247,53 @@ module Google
|
|
23078
23247
|
execute_or_queue_command(command, &block)
|
23079
23248
|
end
|
23080
23249
|
|
23250
|
+
# Announces the specified PublicAdvertisedPrefix
|
23251
|
+
# @param [String] project
|
23252
|
+
# Project ID for this request.
|
23253
|
+
# @param [String] public_advertised_prefix
|
23254
|
+
# The name of the public advertised prefix. It should comply with RFC1035.
|
23255
|
+
# @param [String] request_id
|
23256
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
23257
|
+
# that if you must retry your request, the server will know to ignore the
|
23258
|
+
# request if it has already been completed. For example, consider a situation
|
23259
|
+
# where you make an initial request and the request times out. If you make the
|
23260
|
+
# request again with the same request ID, the server can check if original
|
23261
|
+
# operation with the same request ID was received, and if so, will ignore the
|
23262
|
+
# second request. This prevents clients from accidentally creating duplicate
|
23263
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
23264
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23265
|
+
# @param [String] fields
|
23266
|
+
# Selector specifying which fields to include in a partial response.
|
23267
|
+
# @param [String] quota_user
|
23268
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23269
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23270
|
+
# @param [String] user_ip
|
23271
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
23272
|
+
# @param [Google::Apis::RequestOptions] options
|
23273
|
+
# Request-specific options
|
23274
|
+
#
|
23275
|
+
# @yield [result, err] Result & error if block supplied
|
23276
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
23277
|
+
# @yieldparam err [StandardError] error object if request failed
|
23278
|
+
#
|
23279
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
23280
|
+
#
|
23281
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23282
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23283
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23284
|
+
def announce_public_advertised_prefix(project, public_advertised_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
23285
|
+
command = make_simple_command(:post, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/announce', options)
|
23286
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
23287
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
23288
|
+
command.params['project'] = project unless project.nil?
|
23289
|
+
command.params['publicAdvertisedPrefix'] = public_advertised_prefix unless public_advertised_prefix.nil?
|
23290
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
23291
|
+
command.query['fields'] = fields unless fields.nil?
|
23292
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23293
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
23294
|
+
execute_or_queue_command(command, &block)
|
23295
|
+
end
|
23296
|
+
|
23081
23297
|
# Deletes the specified PublicAdvertisedPrefix
|
23082
23298
|
# @param [String] project
|
23083
23299
|
# Project ID for this request.
|
@@ -23338,6 +23554,53 @@ module Google
|
|
23338
23554
|
execute_or_queue_command(command, &block)
|
23339
23555
|
end
|
23340
23556
|
|
23557
|
+
# Withdraws the specified PublicAdvertisedPrefix
|
23558
|
+
# @param [String] project
|
23559
|
+
# Project ID for this request.
|
23560
|
+
# @param [String] public_advertised_prefix
|
23561
|
+
# The name of the public advertised prefix. It should comply with RFC1035.
|
23562
|
+
# @param [String] request_id
|
23563
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
23564
|
+
# that if you must retry your request, the server will know to ignore the
|
23565
|
+
# request if it has already been completed. For example, consider a situation
|
23566
|
+
# where you make an initial request and the request times out. If you make the
|
23567
|
+
# request again with the same request ID, the server can check if original
|
23568
|
+
# operation with the same request ID was received, and if so, will ignore the
|
23569
|
+
# second request. This prevents clients from accidentally creating duplicate
|
23570
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
23571
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23572
|
+
# @param [String] fields
|
23573
|
+
# Selector specifying which fields to include in a partial response.
|
23574
|
+
# @param [String] quota_user
|
23575
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23576
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23577
|
+
# @param [String] user_ip
|
23578
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
23579
|
+
# @param [Google::Apis::RequestOptions] options
|
23580
|
+
# Request-specific options
|
23581
|
+
#
|
23582
|
+
# @yield [result, err] Result & error if block supplied
|
23583
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
23584
|
+
# @yieldparam err [StandardError] error object if request failed
|
23585
|
+
#
|
23586
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
23587
|
+
#
|
23588
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23589
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23590
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23591
|
+
def withdraw_public_advertised_prefix(project, public_advertised_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
23592
|
+
command = make_simple_command(:post, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/withdraw', options)
|
23593
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
23594
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
23595
|
+
command.params['project'] = project unless project.nil?
|
23596
|
+
command.params['publicAdvertisedPrefix'] = public_advertised_prefix unless public_advertised_prefix.nil?
|
23597
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
23598
|
+
command.query['fields'] = fields unless fields.nil?
|
23599
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23600
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
23601
|
+
execute_or_queue_command(command, &block)
|
23602
|
+
end
|
23603
|
+
|
23341
23604
|
# Lists all PublicDelegatedPrefix resources owned by the specific project across
|
23342
23605
|
# all scopes.
|
23343
23606
|
# @param [String] project
|
@@ -23424,13 +23687,14 @@ module Google
|
|
23424
23687
|
execute_or_queue_command(command, &block)
|
23425
23688
|
end
|
23426
23689
|
|
23427
|
-
#
|
23690
|
+
# Announces the specified PublicDelegatedPrefix in the given region.
|
23428
23691
|
# @param [String] project
|
23429
23692
|
# Project ID for this request.
|
23430
23693
|
# @param [String] region
|
23431
|
-
#
|
23694
|
+
# The name of the region where the public delegated prefix is located. It should
|
23695
|
+
# comply with RFC1035.
|
23432
23696
|
# @param [String] public_delegated_prefix
|
23433
|
-
#
|
23697
|
+
# The name of the public delegated prefix. It should comply with RFC1035.
|
23434
23698
|
# @param [String] request_id
|
23435
23699
|
# An optional request ID to identify requests. Specify a unique request ID so
|
23436
23700
|
# that if you must retry your request, the server will know to ignore the
|
@@ -23460,8 +23724,8 @@ module Google
|
|
23460
23724
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23461
23725
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23462
23726
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23463
|
-
def
|
23464
|
-
command = make_simple_command(:
|
23727
|
+
def announce_public_delegated_prefix(project, region, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
23728
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/announce', options)
|
23465
23729
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
23466
23730
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
23467
23731
|
command.params['project'] = project unless project.nil?
|
@@ -23474,13 +23738,23 @@ module Google
|
|
23474
23738
|
execute_or_queue_command(command, &block)
|
23475
23739
|
end
|
23476
23740
|
|
23477
|
-
#
|
23741
|
+
# Deletes the specified PublicDelegatedPrefix in the given region.
|
23478
23742
|
# @param [String] project
|
23479
23743
|
# Project ID for this request.
|
23480
23744
|
# @param [String] region
|
23481
23745
|
# Name of the region of this request.
|
23482
23746
|
# @param [String] public_delegated_prefix
|
23483
|
-
# Name of the PublicDelegatedPrefix resource to
|
23747
|
+
# Name of the PublicDelegatedPrefix resource to delete.
|
23748
|
+
# @param [String] request_id
|
23749
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
23750
|
+
# that if you must retry your request, the server will know to ignore the
|
23751
|
+
# request if it has already been completed. For example, consider a situation
|
23752
|
+
# where you make an initial request and the request times out. If you make the
|
23753
|
+
# request again with the same request ID, the server can check if original
|
23754
|
+
# operation with the same request ID was received, and if so, will ignore the
|
23755
|
+
# second request. This prevents clients from accidentally creating duplicate
|
23756
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
23757
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23484
23758
|
# @param [String] fields
|
23485
23759
|
# Selector specifying which fields to include in a partial response.
|
23486
23760
|
# @param [String] quota_user
|
@@ -23492,7 +23766,47 @@ module Google
|
|
23492
23766
|
# Request-specific options
|
23493
23767
|
#
|
23494
23768
|
# @yield [result, err] Result & error if block supplied
|
23495
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::
|
23769
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
23770
|
+
# @yieldparam err [StandardError] error object if request failed
|
23771
|
+
#
|
23772
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
23773
|
+
#
|
23774
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23775
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23776
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23777
|
+
def delete_public_delegated_prefix(project, region, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
23778
|
+
command = make_simple_command(:delete, 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}', options)
|
23779
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
23780
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
23781
|
+
command.params['project'] = project unless project.nil?
|
23782
|
+
command.params['region'] = region unless region.nil?
|
23783
|
+
command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil?
|
23784
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
23785
|
+
command.query['fields'] = fields unless fields.nil?
|
23786
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23787
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
23788
|
+
execute_or_queue_command(command, &block)
|
23789
|
+
end
|
23790
|
+
|
23791
|
+
# Returns the specified PublicDelegatedPrefix resource in the given region.
|
23792
|
+
# @param [String] project
|
23793
|
+
# Project ID for this request.
|
23794
|
+
# @param [String] region
|
23795
|
+
# Name of the region of this request.
|
23796
|
+
# @param [String] public_delegated_prefix
|
23797
|
+
# Name of the PublicDelegatedPrefix resource to return.
|
23798
|
+
# @param [String] fields
|
23799
|
+
# Selector specifying which fields to include in a partial response.
|
23800
|
+
# @param [String] quota_user
|
23801
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23802
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23803
|
+
# @param [String] user_ip
|
23804
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
23805
|
+
# @param [Google::Apis::RequestOptions] options
|
23806
|
+
# Request-specific options
|
23807
|
+
#
|
23808
|
+
# @yield [result, err] Result & error if block supplied
|
23809
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::PublicDelegatedPrefix] parsed result object
|
23496
23810
|
# @yieldparam err [StandardError] error object if request failed
|
23497
23811
|
#
|
23498
23812
|
# @return [Google::Apis::ComputeAlpha::PublicDelegatedPrefix]
|
@@ -23699,6 +24013,57 @@ module Google
|
|
23699
24013
|
execute_or_queue_command(command, &block)
|
23700
24014
|
end
|
23701
24015
|
|
24016
|
+
# Withdraws the specified PublicDelegatedPrefix in the given region.
|
24017
|
+
# @param [String] project
|
24018
|
+
# Project ID for this request.
|
24019
|
+
# @param [String] region
|
24020
|
+
# The name of the region where the public delegated prefix is located. It should
|
24021
|
+
# comply with RFC1035.
|
24022
|
+
# @param [String] public_delegated_prefix
|
24023
|
+
# The name of the public delegated prefix. It should comply with RFC1035.
|
24024
|
+
# @param [String] request_id
|
24025
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
24026
|
+
# that if you must retry your request, the server will know to ignore the
|
24027
|
+
# request if it has already been completed. For example, consider a situation
|
24028
|
+
# where you make an initial request and the request times out. If you make the
|
24029
|
+
# request again with the same request ID, the server can check if original
|
24030
|
+
# operation with the same request ID was received, and if so, will ignore the
|
24031
|
+
# second request. This prevents clients from accidentally creating duplicate
|
24032
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
24033
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
24034
|
+
# @param [String] fields
|
24035
|
+
# Selector specifying which fields to include in a partial response.
|
24036
|
+
# @param [String] quota_user
|
24037
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
24038
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
24039
|
+
# @param [String] user_ip
|
24040
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
24041
|
+
# @param [Google::Apis::RequestOptions] options
|
24042
|
+
# Request-specific options
|
24043
|
+
#
|
24044
|
+
# @yield [result, err] Result & error if block supplied
|
24045
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
24046
|
+
# @yieldparam err [StandardError] error object if request failed
|
24047
|
+
#
|
24048
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
24049
|
+
#
|
24050
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
24051
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
24052
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
24053
|
+
def withdraw_public_delegated_prefix(project, region, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
24054
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/withdraw', options)
|
24055
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
24056
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
24057
|
+
command.params['project'] = project unless project.nil?
|
24058
|
+
command.params['region'] = region unless region.nil?
|
24059
|
+
command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil?
|
24060
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
24061
|
+
command.query['fields'] = fields unless fields.nil?
|
24062
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
24063
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
24064
|
+
execute_or_queue_command(command, &block)
|
24065
|
+
end
|
24066
|
+
|
23702
24067
|
# Deletes the specified autoscaler.
|
23703
24068
|
# @param [String] project
|
23704
24069
|
# Project ID for this request.
|
@@ -25169,8 +25534,7 @@ module Google
|
|
25169
25534
|
# @param [Google::Apis::ComputeAlpha::Snapshot] snapshot_object
|
25170
25535
|
# @param [Boolean] guest_flush
|
25171
25536
|
# [Input Only] Specifies to create an application consistent snapshot by
|
25172
|
-
# informing the OS to prepare for the snapshot process.
|
25173
|
-
# on Windows instances using the Volume Shadow Copy Service (VSS).
|
25537
|
+
# informing the OS to prepare for the snapshot process.
|
25174
25538
|
# @param [String] request_id
|
25175
25539
|
# An optional request ID to identify requests. Specify a unique request ID so
|
25176
25540
|
# that if you must retry your request, the server will know to ignore the
|
@@ -25688,6 +26052,165 @@ module Google
|
|
25688
26052
|
execute_or_queue_command(command, &block)
|
25689
26053
|
end
|
25690
26054
|
|
26055
|
+
# Starts asynchronous replication. Must be invoked on the primary disk.
|
26056
|
+
# @param [String] project
|
26057
|
+
# Project ID for this request.
|
26058
|
+
# @param [String] region
|
26059
|
+
# The name of the region for this request.
|
26060
|
+
# @param [String] disk
|
26061
|
+
# The name of the persistent disk.
|
26062
|
+
# @param [Google::Apis::ComputeAlpha::RegionDisksStartAsyncReplicationRequest] region_disks_start_async_replication_request_object
|
26063
|
+
# @param [String] request_id
|
26064
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
26065
|
+
# that if you must retry your request, the server will know to ignore the
|
26066
|
+
# request if it has already been completed. For example, consider a situation
|
26067
|
+
# where you make an initial request and the request times out. If you make the
|
26068
|
+
# request again with the same request ID, the server can check if original
|
26069
|
+
# operation with the same request ID was received, and if so, will ignore the
|
26070
|
+
# second request. This prevents clients from accidentally creating duplicate
|
26071
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
26072
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
26073
|
+
# @param [String] fields
|
26074
|
+
# Selector specifying which fields to include in a partial response.
|
26075
|
+
# @param [String] quota_user
|
26076
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
26077
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
26078
|
+
# @param [String] user_ip
|
26079
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
26080
|
+
# @param [Google::Apis::RequestOptions] options
|
26081
|
+
# Request-specific options
|
26082
|
+
#
|
26083
|
+
# @yield [result, err] Result & error if block supplied
|
26084
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
26085
|
+
# @yieldparam err [StandardError] error object if request failed
|
26086
|
+
#
|
26087
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
26088
|
+
#
|
26089
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
26090
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
26091
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
26092
|
+
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)
|
26093
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/startAsyncReplication', options)
|
26094
|
+
command.request_representation = Google::Apis::ComputeAlpha::RegionDisksStartAsyncReplicationRequest::Representation
|
26095
|
+
command.request_object = region_disks_start_async_replication_request_object
|
26096
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
26097
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
26098
|
+
command.params['project'] = project unless project.nil?
|
26099
|
+
command.params['region'] = region unless region.nil?
|
26100
|
+
command.params['disk'] = disk unless disk.nil?
|
26101
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
26102
|
+
command.query['fields'] = fields unless fields.nil?
|
26103
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
26104
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
26105
|
+
execute_or_queue_command(command, &block)
|
26106
|
+
end
|
26107
|
+
|
26108
|
+
# Stops asynchronous replication. Can be invoked either on the primary or on the
|
26109
|
+
# secondary disk.
|
26110
|
+
# @param [String] project
|
26111
|
+
# Project ID for this request.
|
26112
|
+
# @param [String] region
|
26113
|
+
# The name of the region for this request.
|
26114
|
+
# @param [String] disk
|
26115
|
+
# The name of the persistent disk.
|
26116
|
+
# @param [Google::Apis::ComputeAlpha::RegionDisksStopAsyncReplicationRequest] region_disks_stop_async_replication_request_object
|
26117
|
+
# @param [String] request_id
|
26118
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
26119
|
+
# that if you must retry your request, the server will know to ignore the
|
26120
|
+
# request if it has already been completed. For example, consider a situation
|
26121
|
+
# where you make an initial request and the request times out. If you make the
|
26122
|
+
# request again with the same request ID, the server can check if original
|
26123
|
+
# operation with the same request ID was received, and if so, will ignore the
|
26124
|
+
# second request. This prevents clients from accidentally creating duplicate
|
26125
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
26126
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
26127
|
+
# @param [String] fields
|
26128
|
+
# Selector specifying which fields to include in a partial response.
|
26129
|
+
# @param [String] quota_user
|
26130
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
26131
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
26132
|
+
# @param [String] user_ip
|
26133
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
26134
|
+
# @param [Google::Apis::RequestOptions] options
|
26135
|
+
# Request-specific options
|
26136
|
+
#
|
26137
|
+
# @yield [result, err] Result & error if block supplied
|
26138
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
26139
|
+
# @yieldparam err [StandardError] error object if request failed
|
26140
|
+
#
|
26141
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
26142
|
+
#
|
26143
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
26144
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
26145
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
26146
|
+
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)
|
26147
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/stopAsyncReplication', options)
|
26148
|
+
command.request_representation = Google::Apis::ComputeAlpha::RegionDisksStopAsyncReplicationRequest::Representation
|
26149
|
+
command.request_object = region_disks_stop_async_replication_request_object
|
26150
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
26151
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
26152
|
+
command.params['project'] = project unless project.nil?
|
26153
|
+
command.params['region'] = region unless region.nil?
|
26154
|
+
command.params['disk'] = disk unless disk.nil?
|
26155
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
26156
|
+
command.query['fields'] = fields unless fields.nil?
|
26157
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
26158
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
26159
|
+
execute_or_queue_command(command, &block)
|
26160
|
+
end
|
26161
|
+
|
26162
|
+
# Stops asynchronous replication for a consistency group of disks. Can be
|
26163
|
+
# invoked either in the primary or secondary scope.
|
26164
|
+
# @param [String] project
|
26165
|
+
# Project ID for this request.
|
26166
|
+
# @param [String] region
|
26167
|
+
# The name of the region for this request. This must be the region of the
|
26168
|
+
# primary or secondary disks in the consistency group.
|
26169
|
+
# @param [Google::Apis::ComputeAlpha::RegionDisksStopGroupAsyncReplicationRequest] region_disks_stop_group_async_replication_request_object
|
26170
|
+
# @param [String] request_id
|
26171
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
26172
|
+
# that if you must retry your request, the server will know to ignore the
|
26173
|
+
# request if it has already been completed. For example, consider a situation
|
26174
|
+
# where you make an initial request and the request times out. If you make the
|
26175
|
+
# request again with the same request ID, the server can check if original
|
26176
|
+
# operation with the same request ID was received, and if so, will ignore the
|
26177
|
+
# second request. This prevents clients from accidentally creating duplicate
|
26178
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
26179
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
26180
|
+
# @param [String] fields
|
26181
|
+
# Selector specifying which fields to include in a partial response.
|
26182
|
+
# @param [String] quota_user
|
26183
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
26184
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
26185
|
+
# @param [String] user_ip
|
26186
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
26187
|
+
# @param [Google::Apis::RequestOptions] options
|
26188
|
+
# Request-specific options
|
26189
|
+
#
|
26190
|
+
# @yield [result, err] Result & error if block supplied
|
26191
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
26192
|
+
# @yieldparam err [StandardError] error object if request failed
|
26193
|
+
#
|
26194
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
26195
|
+
#
|
26196
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
26197
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
26198
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
26199
|
+
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)
|
26200
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/stopGroupAsyncReplication', options)
|
26201
|
+
command.request_representation = Google::Apis::ComputeAlpha::RegionDisksStopGroupAsyncReplicationRequest::Representation
|
26202
|
+
command.request_object = region_disks_stop_group_async_replication_request_object
|
26203
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
26204
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
26205
|
+
command.params['project'] = project unless project.nil?
|
26206
|
+
command.params['region'] = region unless region.nil?
|
26207
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
26208
|
+
command.query['fields'] = fields unless fields.nil?
|
26209
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
26210
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
26211
|
+
execute_or_queue_command(command, &block)
|
26212
|
+
end
|
26213
|
+
|
25691
26214
|
# Returns permissions that a caller has on the specified resource.
|
25692
26215
|
# @param [String] project
|
25693
26216
|
# Project ID for this request.
|
@@ -31650,16 +32173,23 @@ module Google
|
|
31650
32173
|
execute_or_queue_command(command, &block)
|
31651
32174
|
end
|
31652
32175
|
|
31653
|
-
#
|
31654
|
-
#
|
32176
|
+
# Creates a new policy in the specified project and region using the data
|
32177
|
+
# included in the request.
|
31655
32178
|
# @param [String] project
|
31656
32179
|
# Project ID for this request.
|
31657
32180
|
# @param [String] region
|
31658
|
-
#
|
31659
|
-
# @param [
|
31660
|
-
#
|
31661
|
-
#
|
31662
|
-
#
|
32181
|
+
# Name of the region scoping this request.
|
32182
|
+
# @param [Google::Apis::ComputeAlpha::SslPolicy] ssl_policy_object
|
32183
|
+
# @param [String] request_id
|
32184
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
32185
|
+
# that if you must retry your request, the server will know to ignore the
|
32186
|
+
# request if it has already been completed. For example, consider a situation
|
32187
|
+
# where you make an initial request and the request times out. If you make the
|
32188
|
+
# request again with the same request ID, the server can check if original
|
32189
|
+
# operation with the same request ID was received, and if so, will ignore the
|
32190
|
+
# second request. This prevents clients from accidentally creating duplicate
|
32191
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
32192
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31663
32193
|
# @param [String] fields
|
31664
32194
|
# Selector specifying which fields to include in a partial response.
|
31665
32195
|
# @param [String] quota_user
|
@@ -31671,70 +32201,20 @@ module Google
|
|
31671
32201
|
# Request-specific options
|
31672
32202
|
#
|
31673
32203
|
# @yield [result, err] Result & error if block supplied
|
31674
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::
|
32204
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
31675
32205
|
# @yieldparam err [StandardError] error object if request failed
|
31676
32206
|
#
|
31677
|
-
# @return [Google::Apis::ComputeAlpha::
|
32207
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
31678
32208
|
#
|
31679
32209
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31680
32210
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31681
32211
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31682
|
-
def
|
31683
|
-
command = make_simple_command(:
|
31684
|
-
command.
|
31685
|
-
command.
|
31686
|
-
command.
|
31687
|
-
command.
|
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
|
-
|
31696
|
-
# Creates a new policy in the specified project and region using the data
|
31697
|
-
# included in the request.
|
31698
|
-
# @param [String] project
|
31699
|
-
# Project ID for this request.
|
31700
|
-
# @param [String] region
|
31701
|
-
# Name of the region scoping this request.
|
31702
|
-
# @param [Google::Apis::ComputeAlpha::SslPolicy] ssl_policy_object
|
31703
|
-
# @param [String] request_id
|
31704
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
31705
|
-
# that if you must retry your request, the server will know to ignore the
|
31706
|
-
# request if it has already been completed. For example, consider a situation
|
31707
|
-
# where you make an initial request and the request times out. If you make the
|
31708
|
-
# request again with the same request ID, the server can check if original
|
31709
|
-
# operation with the same request ID was received, and if so, will ignore the
|
31710
|
-
# second request. This prevents clients from accidentally creating duplicate
|
31711
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
31712
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31713
|
-
# @param [String] fields
|
31714
|
-
# Selector specifying which fields to include in a partial response.
|
31715
|
-
# @param [String] quota_user
|
31716
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
31717
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
31718
|
-
# @param [String] user_ip
|
31719
|
-
# Legacy name for parameter that has been superseded by `quotaUser`.
|
31720
|
-
# @param [Google::Apis::RequestOptions] options
|
31721
|
-
# Request-specific options
|
31722
|
-
#
|
31723
|
-
# @yield [result, err] Result & error if block supplied
|
31724
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
31725
|
-
# @yieldparam err [StandardError] error object if request failed
|
31726
|
-
#
|
31727
|
-
# @return [Google::Apis::ComputeAlpha::Operation]
|
31728
|
-
#
|
31729
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31730
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31731
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31732
|
-
def insert_region_ssl_policy(project, region, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31733
|
-
command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslPolicies', options)
|
31734
|
-
command.request_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation
|
31735
|
-
command.request_object = ssl_policy_object
|
31736
|
-
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
31737
|
-
command.response_class = Google::Apis::ComputeAlpha::Operation
|
32212
|
+
def insert_region_ssl_policy(project, region, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
32213
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslPolicies', options)
|
32214
|
+
command.request_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation
|
32215
|
+
command.request_object = ssl_policy_object
|
32216
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
32217
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
31738
32218
|
command.params['project'] = project unless project.nil?
|
31739
32219
|
command.params['region'] = region unless region.nil?
|
31740
32220
|
command.query['requestId'] = request_id unless request_id.nil?
|
@@ -32744,6 +33224,269 @@ module Google
|
|
32744
33224
|
execute_or_queue_command(command, &block)
|
32745
33225
|
end
|
32746
33226
|
|
33227
|
+
# Deletes the specified TargetTcpProxy resource.
|
33228
|
+
# @param [String] project
|
33229
|
+
# Project ID for this request.
|
33230
|
+
# @param [String] region
|
33231
|
+
# Name of the region scoping this request.
|
33232
|
+
# @param [String] target_tcp_proxy
|
33233
|
+
# Name of the TargetTcpProxy resource to delete.
|
33234
|
+
# @param [String] request_id
|
33235
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
33236
|
+
# that if you must retry your request, the server will know to ignore the
|
33237
|
+
# request if it has already been completed. For example, consider a situation
|
33238
|
+
# where you make an initial request and the request times out. If you make the
|
33239
|
+
# request again with the same request ID, the server can check if original
|
33240
|
+
# operation with the same request ID was received, and if so, will ignore the
|
33241
|
+
# second request. This prevents clients from accidentally creating duplicate
|
33242
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
33243
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
33244
|
+
# @param [String] fields
|
33245
|
+
# Selector specifying which fields to include in a partial response.
|
33246
|
+
# @param [String] quota_user
|
33247
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
33248
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
33249
|
+
# @param [String] user_ip
|
33250
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
33251
|
+
# @param [Google::Apis::RequestOptions] options
|
33252
|
+
# Request-specific options
|
33253
|
+
#
|
33254
|
+
# @yield [result, err] Result & error if block supplied
|
33255
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
33256
|
+
# @yieldparam err [StandardError] error object if request failed
|
33257
|
+
#
|
33258
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
33259
|
+
#
|
33260
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
33261
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
33262
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
33263
|
+
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)
|
33264
|
+
command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}', options)
|
33265
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
33266
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
33267
|
+
command.params['project'] = project unless project.nil?
|
33268
|
+
command.params['region'] = region unless region.nil?
|
33269
|
+
command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil?
|
33270
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
33271
|
+
command.query['fields'] = fields unless fields.nil?
|
33272
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
33273
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
33274
|
+
execute_or_queue_command(command, &block)
|
33275
|
+
end
|
33276
|
+
|
33277
|
+
# Returns the specified TargetTcpProxy resource.
|
33278
|
+
# @param [String] project
|
33279
|
+
# Project ID for this request.
|
33280
|
+
# @param [String] region
|
33281
|
+
# Name of the region scoping this request.
|
33282
|
+
# @param [String] target_tcp_proxy
|
33283
|
+
# Name of the TargetTcpProxy resource to return.
|
33284
|
+
# @param [String] fields
|
33285
|
+
# Selector specifying which fields to include in a partial response.
|
33286
|
+
# @param [String] quota_user
|
33287
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
33288
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
33289
|
+
# @param [String] user_ip
|
33290
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
33291
|
+
# @param [Google::Apis::RequestOptions] options
|
33292
|
+
# Request-specific options
|
33293
|
+
#
|
33294
|
+
# @yield [result, err] Result & error if block supplied
|
33295
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::TargetTcpProxy] parsed result object
|
33296
|
+
# @yieldparam err [StandardError] error object if request failed
|
33297
|
+
#
|
33298
|
+
# @return [Google::Apis::ComputeAlpha::TargetTcpProxy]
|
33299
|
+
#
|
33300
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
33301
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
33302
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
33303
|
+
def get_region_target_tcp_proxy(project, region, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
33304
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}', options)
|
33305
|
+
command.response_representation = Google::Apis::ComputeAlpha::TargetTcpProxy::Representation
|
33306
|
+
command.response_class = Google::Apis::ComputeAlpha::TargetTcpProxy
|
33307
|
+
command.params['project'] = project unless project.nil?
|
33308
|
+
command.params['region'] = region unless region.nil?
|
33309
|
+
command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil?
|
33310
|
+
command.query['fields'] = fields unless fields.nil?
|
33311
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
33312
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
33313
|
+
execute_or_queue_command(command, &block)
|
33314
|
+
end
|
33315
|
+
|
33316
|
+
# Creates a TargetTcpProxy resource in the specified project and region using
|
33317
|
+
# the data included in the request.
|
33318
|
+
# @param [String] project
|
33319
|
+
# Project ID for this request.
|
33320
|
+
# @param [String] region
|
33321
|
+
# Name of the region scoping this request.
|
33322
|
+
# @param [Google::Apis::ComputeAlpha::TargetTcpProxy] target_tcp_proxy_object
|
33323
|
+
# @param [String] request_id
|
33324
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
33325
|
+
# that if you must retry your request, the server will know to ignore the
|
33326
|
+
# request if it has already been completed. For example, consider a situation
|
33327
|
+
# where you make an initial request and the request times out. If you make the
|
33328
|
+
# request again with the same request ID, the server can check if original
|
33329
|
+
# operation with the same request ID was received, and if so, will ignore the
|
33330
|
+
# second request. This prevents clients from accidentally creating duplicate
|
33331
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
33332
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
33333
|
+
# @param [String] fields
|
33334
|
+
# Selector specifying which fields to include in a partial response.
|
33335
|
+
# @param [String] quota_user
|
33336
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
33337
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
33338
|
+
# @param [String] user_ip
|
33339
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
33340
|
+
# @param [Google::Apis::RequestOptions] options
|
33341
|
+
# Request-specific options
|
33342
|
+
#
|
33343
|
+
# @yield [result, err] Result & error if block supplied
|
33344
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
33345
|
+
# @yieldparam err [StandardError] error object if request failed
|
33346
|
+
#
|
33347
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
33348
|
+
#
|
33349
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
33350
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
33351
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
33352
|
+
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)
|
33353
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetTcpProxies', options)
|
33354
|
+
command.request_representation = Google::Apis::ComputeAlpha::TargetTcpProxy::Representation
|
33355
|
+
command.request_object = target_tcp_proxy_object
|
33356
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
33357
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
33358
|
+
command.params['project'] = project unless project.nil?
|
33359
|
+
command.params['region'] = region unless region.nil?
|
33360
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
33361
|
+
command.query['fields'] = fields unless fields.nil?
|
33362
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
33363
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
33364
|
+
execute_or_queue_command(command, &block)
|
33365
|
+
end
|
33366
|
+
|
33367
|
+
# Retrieves a list of TargetTcpProxy resources available to the specified
|
33368
|
+
# project in a given region.
|
33369
|
+
# @param [String] project
|
33370
|
+
# Project ID for this request.
|
33371
|
+
# @param [String] region
|
33372
|
+
# Name of the region scoping this request.
|
33373
|
+
# @param [String] filter
|
33374
|
+
# A filter expression that filters resources listed in the response. The
|
33375
|
+
# expression must specify the field name, an operator, and the value that you
|
33376
|
+
# want to use for filtering. The value must be a string, a number, or a boolean.
|
33377
|
+
# The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For
|
33378
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
33379
|
+
# instances named `example-instance` by specifying `name != example-instance`.
|
33380
|
+
# The `:` operator can be used with string fields to match substrings. For non-
|
33381
|
+
# string fields it is equivalent to the `=` operator. The `:*` comparison can be
|
33382
|
+
# used to test whether a key has been defined. For example, to find all objects
|
33383
|
+
# with `owner` label use: ``` labels.owner:* ``` You can also filter nested
|
33384
|
+
# fields. For example, you could specify `scheduling.automaticRestart = false`
|
33385
|
+
# to include instances only if they are not scheduled for automatic restarts.
|
33386
|
+
# You can use filtering on nested fields to filter based on resource labels. To
|
33387
|
+
# filter on multiple expressions, provide each separate expression within
|
33388
|
+
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
33389
|
+
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
33390
|
+
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
33391
|
+
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
33392
|
+
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
33393
|
+
# @param [Fixnum] max_results
|
33394
|
+
# The maximum number of results per page that should be returned. If the number
|
33395
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
33396
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
33397
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
33398
|
+
# @param [String] order_by
|
33399
|
+
# Sorts list results by a certain order. By default, results are returned in
|
33400
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
33401
|
+
# descending order based on the creation timestamp using `orderBy="
|
33402
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
33403
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
33404
|
+
# resources like operations so that the newest operation is returned first.
|
33405
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
33406
|
+
# @param [String] page_token
|
33407
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
33408
|
+
# by a previous list request to get the next page of results.
|
33409
|
+
# @param [Boolean] return_partial_success
|
33410
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
33411
|
+
# failure. The default value is false.
|
33412
|
+
# @param [String] fields
|
33413
|
+
# Selector specifying which fields to include in a partial response.
|
33414
|
+
# @param [String] quota_user
|
33415
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
33416
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
33417
|
+
# @param [String] user_ip
|
33418
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
33419
|
+
# @param [Google::Apis::RequestOptions] options
|
33420
|
+
# Request-specific options
|
33421
|
+
#
|
33422
|
+
# @yield [result, err] Result & error if block supplied
|
33423
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::TargetTcpProxyList] parsed result object
|
33424
|
+
# @yieldparam err [StandardError] error object if request failed
|
33425
|
+
#
|
33426
|
+
# @return [Google::Apis::ComputeAlpha::TargetTcpProxyList]
|
33427
|
+
#
|
33428
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
33429
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
33430
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
33431
|
+
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)
|
33432
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetTcpProxies', options)
|
33433
|
+
command.response_representation = Google::Apis::ComputeAlpha::TargetTcpProxyList::Representation
|
33434
|
+
command.response_class = Google::Apis::ComputeAlpha::TargetTcpProxyList
|
33435
|
+
command.params['project'] = project unless project.nil?
|
33436
|
+
command.params['region'] = region unless region.nil?
|
33437
|
+
command.query['filter'] = filter unless filter.nil?
|
33438
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
33439
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
33440
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
33441
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
33442
|
+
command.query['fields'] = fields unless fields.nil?
|
33443
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
33444
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
33445
|
+
execute_or_queue_command(command, &block)
|
33446
|
+
end
|
33447
|
+
|
33448
|
+
# Returns permissions that a caller has on the specified resource.
|
33449
|
+
# @param [String] project
|
33450
|
+
# Project ID for this request.
|
33451
|
+
# @param [String] region
|
33452
|
+
# The name of the region for this request.
|
33453
|
+
# @param [String] resource
|
33454
|
+
# Name or id of the resource for this request.
|
33455
|
+
# @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
|
33456
|
+
# @param [String] fields
|
33457
|
+
# Selector specifying which fields to include in a partial response.
|
33458
|
+
# @param [String] quota_user
|
33459
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
33460
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
33461
|
+
# @param [String] user_ip
|
33462
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
33463
|
+
# @param [Google::Apis::RequestOptions] options
|
33464
|
+
# Request-specific options
|
33465
|
+
#
|
33466
|
+
# @yield [result, err] Result & error if block supplied
|
33467
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
|
33468
|
+
# @yieldparam err [StandardError] error object if request failed
|
33469
|
+
#
|
33470
|
+
# @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
|
33471
|
+
#
|
33472
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
33473
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
33474
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
33475
|
+
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)
|
33476
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetTcpProxies/{resource}/testIamPermissions', options)
|
33477
|
+
command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
|
33478
|
+
command.request_object = test_permissions_request_object
|
33479
|
+
command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
|
33480
|
+
command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
|
33481
|
+
command.params['project'] = project unless project.nil?
|
33482
|
+
command.params['region'] = region unless region.nil?
|
33483
|
+
command.params['resource'] = resource unless resource.nil?
|
33484
|
+
command.query['fields'] = fields unless fields.nil?
|
33485
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
33486
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
33487
|
+
execute_or_queue_command(command, &block)
|
33488
|
+
end
|
33489
|
+
|
32747
33490
|
# Deletes the specified UrlMap resource.
|
32748
33491
|
# @param [String] project
|
32749
33492
|
# Project ID for this request.
|