google-apis-compute_alpha 0.68.0 → 0.70.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.
@@ -2615,6 +2615,95 @@ module Google
|
|
2615
2615
|
execute_or_queue_command(command, &block)
|
2616
2616
|
end
|
2617
2617
|
|
2618
|
+
# Get Zonal Disk Settings.
|
2619
|
+
# @param [String] project
|
2620
|
+
# Project ID for this request.
|
2621
|
+
# @param [String] zone
|
2622
|
+
# Name of the zone for this request.
|
2623
|
+
# @param [String] fields
|
2624
|
+
# Selector specifying which fields to include in a partial response.
|
2625
|
+
# @param [String] quota_user
|
2626
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2627
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2628
|
+
# @param [String] user_ip
|
2629
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
2630
|
+
# @param [Google::Apis::RequestOptions] options
|
2631
|
+
# Request-specific options
|
2632
|
+
#
|
2633
|
+
# @yield [result, err] Result & error if block supplied
|
2634
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::DiskSettings] parsed result object
|
2635
|
+
# @yieldparam err [StandardError] error object if request failed
|
2636
|
+
#
|
2637
|
+
# @return [Google::Apis::ComputeAlpha::DiskSettings]
|
2638
|
+
#
|
2639
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2640
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2641
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2642
|
+
def get_disk_setting(project, zone, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2643
|
+
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/diskSettings', options)
|
2644
|
+
command.response_representation = Google::Apis::ComputeAlpha::DiskSettings::Representation
|
2645
|
+
command.response_class = Google::Apis::ComputeAlpha::DiskSettings
|
2646
|
+
command.params['project'] = project unless project.nil?
|
2647
|
+
command.params['zone'] = zone unless zone.nil?
|
2648
|
+
command.query['fields'] = fields unless fields.nil?
|
2649
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2650
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2651
|
+
execute_or_queue_command(command, &block)
|
2652
|
+
end
|
2653
|
+
|
2654
|
+
# Patch Zonal Disk Settings
|
2655
|
+
# @param [String] project
|
2656
|
+
# Project ID for this request.
|
2657
|
+
# @param [String] zone
|
2658
|
+
# The name of the zone for this request.
|
2659
|
+
# @param [Google::Apis::ComputeAlpha::DiskSettings] disk_settings_object
|
2660
|
+
# @param [String] request_id
|
2661
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
2662
|
+
# that if you must retry your request, the server will know to ignore the
|
2663
|
+
# request if it has already been completed. For example, consider a situation
|
2664
|
+
# where you make an initial request and the request times out. If you make the
|
2665
|
+
# request again with the same request ID, the server can check if original
|
2666
|
+
# operation with the same request ID was received, and if so, will ignore the
|
2667
|
+
# second request. This prevents clients from accidentally creating duplicate
|
2668
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
2669
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
2670
|
+
# @param [String] update_mask
|
2671
|
+
# update_mask indicates fields to be updated as part of this request.
|
2672
|
+
# @param [String] fields
|
2673
|
+
# Selector specifying which fields to include in a partial response.
|
2674
|
+
# @param [String] quota_user
|
2675
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2676
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2677
|
+
# @param [String] user_ip
|
2678
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
2679
|
+
# @param [Google::Apis::RequestOptions] options
|
2680
|
+
# Request-specific options
|
2681
|
+
#
|
2682
|
+
# @yield [result, err] Result & error if block supplied
|
2683
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
2684
|
+
# @yieldparam err [StandardError] error object if request failed
|
2685
|
+
#
|
2686
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
2687
|
+
#
|
2688
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2689
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2690
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2691
|
+
def patch_disk_setting(project, zone, disk_settings_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2692
|
+
command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/diskSettings', options)
|
2693
|
+
command.request_representation = Google::Apis::ComputeAlpha::DiskSettings::Representation
|
2694
|
+
command.request_object = disk_settings_object
|
2695
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
2696
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
2697
|
+
command.params['project'] = project unless project.nil?
|
2698
|
+
command.params['zone'] = zone unless zone.nil?
|
2699
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2700
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2701
|
+
command.query['fields'] = fields unless fields.nil?
|
2702
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2703
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2704
|
+
execute_or_queue_command(command, &block)
|
2705
|
+
end
|
2706
|
+
|
2618
2707
|
# Retrieves an aggregated list of disk types.
|
2619
2708
|
# @param [String] project
|
2620
2709
|
# Project ID for this request.
|
@@ -3648,7 +3737,6 @@ module Google
|
|
3648
3737
|
# The name of the zone for this request.
|
3649
3738
|
# @param [String] disk
|
3650
3739
|
# The name of the persistent disk.
|
3651
|
-
# @param [Google::Apis::ComputeAlpha::DisksStopAsyncReplicationRequest] disks_stop_async_replication_request_object
|
3652
3740
|
# @param [String] request_id
|
3653
3741
|
# An optional request ID to identify requests. Specify a unique request ID so
|
3654
3742
|
# that if you must retry your request, the server will know to ignore the
|
@@ -3678,10 +3766,8 @@ module Google
|
|
3678
3766
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3679
3767
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3680
3768
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3681
|
-
def stop_disk_async_replication(project, zone, disk,
|
3769
|
+
def stop_disk_async_replication(project, zone, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3682
3770
|
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/stopAsyncReplication', options)
|
3683
|
-
command.request_representation = Google::Apis::ComputeAlpha::DisksStopAsyncReplicationRequest::Representation
|
3684
|
-
command.request_object = disks_stop_async_replication_request_object
|
3685
3771
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
3686
3772
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
3687
3773
|
command.params['project'] = project unless project.nil?
|
@@ -12984,6 +13070,8 @@ module Google
|
|
12984
13070
|
# Project ID for this request.
|
12985
13071
|
# @param [String] instance_template
|
12986
13072
|
# The name of the instance template.
|
13073
|
+
# @param [String] view
|
13074
|
+
# View of the instance template.
|
12987
13075
|
# @param [String] fields
|
12988
13076
|
# Selector specifying which fields to include in a partial response.
|
12989
13077
|
# @param [String] quota_user
|
@@ -13003,12 +13091,13 @@ module Google
|
|
13003
13091
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
13004
13092
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
13005
13093
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
13006
|
-
def get_instance_template(project, instance_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
13094
|
+
def get_instance_template(project, instance_template, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
13007
13095
|
command = make_simple_command(:get, 'projects/{project}/global/instanceTemplates/{instanceTemplate}', options)
|
13008
13096
|
command.response_representation = Google::Apis::ComputeAlpha::InstanceTemplate::Representation
|
13009
13097
|
command.response_class = Google::Apis::ComputeAlpha::InstanceTemplate
|
13010
13098
|
command.params['project'] = project unless project.nil?
|
13011
13099
|
command.params['instanceTemplate'] = instance_template unless instance_template.nil?
|
13100
|
+
command.query['view'] = view unless view.nil?
|
13012
13101
|
command.query['fields'] = fields unless fields.nil?
|
13013
13102
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
13014
13103
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -13159,6 +13248,8 @@ module Google
|
|
13159
13248
|
# @param [Boolean] return_partial_success
|
13160
13249
|
# Opt-in for partial success behavior which provides partial results in case of
|
13161
13250
|
# failure. The default value is false.
|
13251
|
+
# @param [String] view
|
13252
|
+
# View of the instance template.
|
13162
13253
|
# @param [String] fields
|
13163
13254
|
# Selector specifying which fields to include in a partial response.
|
13164
13255
|
# @param [String] quota_user
|
@@ -13178,7 +13269,7 @@ module Google
|
|
13178
13269
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
13179
13270
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
13180
13271
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
13181
|
-
def list_instance_templates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
13272
|
+
def list_instance_templates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
13182
13273
|
command = make_simple_command(:get, 'projects/{project}/global/instanceTemplates', options)
|
13183
13274
|
command.response_representation = Google::Apis::ComputeAlpha::InstanceTemplateList::Representation
|
13184
13275
|
command.response_class = Google::Apis::ComputeAlpha::InstanceTemplateList
|
@@ -13188,6 +13279,7 @@ module Google
|
|
13188
13279
|
command.query['orderBy'] = order_by unless order_by.nil?
|
13189
13280
|
command.query['pageToken'] = page_token unless page_token.nil?
|
13190
13281
|
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
13282
|
+
command.query['view'] = view unless view.nil?
|
13191
13283
|
command.query['fields'] = fields unless fields.nil?
|
13192
13284
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
13193
13285
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -13762,6 +13854,8 @@ module Google
|
|
13762
13854
|
# The name of the zone for this request.
|
13763
13855
|
# @param [String] instance
|
13764
13856
|
# Name of the instance resource to return.
|
13857
|
+
# @param [String] view
|
13858
|
+
# View of the instance.
|
13765
13859
|
# @param [String] fields
|
13766
13860
|
# Selector specifying which fields to include in a partial response.
|
13767
13861
|
# @param [String] quota_user
|
@@ -13781,13 +13875,14 @@ module Google
|
|
13781
13875
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
13782
13876
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
13783
13877
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
13784
|
-
def get_instance(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
13878
|
+
def get_instance(project, zone, instance, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
13785
13879
|
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}', options)
|
13786
13880
|
command.response_representation = Google::Apis::ComputeAlpha::Instance::Representation
|
13787
13881
|
command.response_class = Google::Apis::ComputeAlpha::Instance
|
13788
13882
|
command.params['project'] = project unless project.nil?
|
13789
13883
|
command.params['zone'] = zone unless zone.nil?
|
13790
13884
|
command.params['instance'] = instance unless instance.nil?
|
13885
|
+
command.query['view'] = view unless view.nil?
|
13791
13886
|
command.query['fields'] = fields unless fields.nil?
|
13792
13887
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
13793
13888
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -13924,6 +14019,48 @@ module Google
|
|
13924
14019
|
execute_or_queue_command(command, &block)
|
13925
14020
|
end
|
13926
14021
|
|
14022
|
+
# Gets partner metadata of the specified instance and namespaces.
|
14023
|
+
# @param [String] project
|
14024
|
+
# Project ID for this request.
|
14025
|
+
# @param [String] zone
|
14026
|
+
# The name of the zone for this request.
|
14027
|
+
# @param [String] instance
|
14028
|
+
# Name of the instance scoping this request.
|
14029
|
+
# @param [String] namespaces
|
14030
|
+
# Comma separated partner metadata namespaces.
|
14031
|
+
# @param [String] fields
|
14032
|
+
# Selector specifying which fields to include in a partial response.
|
14033
|
+
# @param [String] quota_user
|
14034
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
14035
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
14036
|
+
# @param [String] user_ip
|
14037
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
14038
|
+
# @param [Google::Apis::RequestOptions] options
|
14039
|
+
# Request-specific options
|
14040
|
+
#
|
14041
|
+
# @yield [result, err] Result & error if block supplied
|
14042
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::PartnerMetadata] parsed result object
|
14043
|
+
# @yieldparam err [StandardError] error object if request failed
|
14044
|
+
#
|
14045
|
+
# @return [Google::Apis::ComputeAlpha::PartnerMetadata]
|
14046
|
+
#
|
14047
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
14048
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
14049
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
14050
|
+
def get_instance_partner_metadata(project, zone, instance, namespaces: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
14051
|
+
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/getPartnerMetadata', options)
|
14052
|
+
command.response_representation = Google::Apis::ComputeAlpha::PartnerMetadata::Representation
|
14053
|
+
command.response_class = Google::Apis::ComputeAlpha::PartnerMetadata
|
14054
|
+
command.params['project'] = project unless project.nil?
|
14055
|
+
command.params['zone'] = zone unless zone.nil?
|
14056
|
+
command.params['instance'] = instance unless instance.nil?
|
14057
|
+
command.query['namespaces'] = namespaces unless namespaces.nil?
|
14058
|
+
command.query['fields'] = fields unless fields.nil?
|
14059
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
14060
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
14061
|
+
execute_or_queue_command(command, &block)
|
14062
|
+
end
|
14063
|
+
|
13927
14064
|
# Returns the screenshot from the specified instance.
|
13928
14065
|
# @param [String] project
|
13929
14066
|
# Project ID for this request.
|
@@ -14216,6 +14353,8 @@ module Google
|
|
14216
14353
|
# @param [Boolean] return_partial_success
|
14217
14354
|
# Opt-in for partial success behavior which provides partial results in case of
|
14218
14355
|
# failure. The default value is false.
|
14356
|
+
# @param [String] view
|
14357
|
+
# View of the instance.
|
14219
14358
|
# @param [String] fields
|
14220
14359
|
# Selector specifying which fields to include in a partial response.
|
14221
14360
|
# @param [String] quota_user
|
@@ -14235,7 +14374,7 @@ module Google
|
|
14235
14374
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
14236
14375
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
14237
14376
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
14238
|
-
def list_instances(project, zone, 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)
|
14377
|
+
def list_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
14239
14378
|
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances', options)
|
14240
14379
|
command.response_representation = Google::Apis::ComputeAlpha::InstanceList::Representation
|
14241
14380
|
command.response_class = Google::Apis::ComputeAlpha::InstanceList
|
@@ -14246,6 +14385,7 @@ module Google
|
|
14246
14385
|
command.query['orderBy'] = order_by unless order_by.nil?
|
14247
14386
|
command.query['pageToken'] = page_token unless page_token.nil?
|
14248
14387
|
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
14388
|
+
command.query['view'] = view unless view.nil?
|
14249
14389
|
command.query['fields'] = fields unless fields.nil?
|
14250
14390
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
14251
14391
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -14350,6 +14490,59 @@ module Google
|
|
14350
14490
|
execute_or_queue_command(command, &block)
|
14351
14491
|
end
|
14352
14492
|
|
14493
|
+
# Patches partner metadata of the specified instance.
|
14494
|
+
# @param [String] project
|
14495
|
+
# Project ID for this request.
|
14496
|
+
# @param [String] zone
|
14497
|
+
# The name of the zone for this request.
|
14498
|
+
# @param [String] instance
|
14499
|
+
# Name of the instance scoping this request.
|
14500
|
+
# @param [Google::Apis::ComputeAlpha::PartnerMetadata] partner_metadata_object
|
14501
|
+
# @param [String] request_id
|
14502
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
14503
|
+
# that if you must retry your request, the server will know to ignore the
|
14504
|
+
# request if it has already been completed. For example, consider a situation
|
14505
|
+
# where you make an initial request and the request times out. If you make the
|
14506
|
+
# request again with the same request ID, the server can check if original
|
14507
|
+
# operation with the same request ID was received, and if so, will ignore the
|
14508
|
+
# second request. This prevents clients from accidentally creating duplicate
|
14509
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
14510
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
14511
|
+
# @param [String] fields
|
14512
|
+
# Selector specifying which fields to include in a partial response.
|
14513
|
+
# @param [String] quota_user
|
14514
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
14515
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
14516
|
+
# @param [String] user_ip
|
14517
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
14518
|
+
# @param [Google::Apis::RequestOptions] options
|
14519
|
+
# Request-specific options
|
14520
|
+
#
|
14521
|
+
# @yield [result, err] Result & error if block supplied
|
14522
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
14523
|
+
# @yieldparam err [StandardError] error object if request failed
|
14524
|
+
#
|
14525
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
14526
|
+
#
|
14527
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
14528
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
14529
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
14530
|
+
def patch_instance_partner_metadata(project, zone, instance, partner_metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
14531
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/patchPartnerMetadata', options)
|
14532
|
+
command.request_representation = Google::Apis::ComputeAlpha::PartnerMetadata::Representation
|
14533
|
+
command.request_object = partner_metadata_object
|
14534
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
14535
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
14536
|
+
command.params['project'] = project unless project.nil?
|
14537
|
+
command.params['zone'] = zone unless zone.nil?
|
14538
|
+
command.params['instance'] = instance unless instance.nil?
|
14539
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
14540
|
+
command.query['fields'] = fields unless fields.nil?
|
14541
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
14542
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
14543
|
+
execute_or_queue_command(command, &block)
|
14544
|
+
end
|
14545
|
+
|
14353
14546
|
# Perform a manual maintenance on the instance.
|
14354
14547
|
# @param [String] project
|
14355
14548
|
# Project ID for this request.
|
@@ -27901,6 +28094,95 @@ module Google
|
|
27901
28094
|
execute_or_queue_command(command, &block)
|
27902
28095
|
end
|
27903
28096
|
|
28097
|
+
# Get Regional Disk Settings.
|
28098
|
+
# @param [String] project
|
28099
|
+
# Project ID for this request.
|
28100
|
+
# @param [String] region
|
28101
|
+
# Name of the region for this request.
|
28102
|
+
# @param [String] fields
|
28103
|
+
# Selector specifying which fields to include in a partial response.
|
28104
|
+
# @param [String] quota_user
|
28105
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
28106
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
28107
|
+
# @param [String] user_ip
|
28108
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
28109
|
+
# @param [Google::Apis::RequestOptions] options
|
28110
|
+
# Request-specific options
|
28111
|
+
#
|
28112
|
+
# @yield [result, err] Result & error if block supplied
|
28113
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::DiskSettings] parsed result object
|
28114
|
+
# @yieldparam err [StandardError] error object if request failed
|
28115
|
+
#
|
28116
|
+
# @return [Google::Apis::ComputeAlpha::DiskSettings]
|
28117
|
+
#
|
28118
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
28119
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
28120
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
28121
|
+
def get_region_disk_setting(project, region, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
28122
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/diskSettings', options)
|
28123
|
+
command.response_representation = Google::Apis::ComputeAlpha::DiskSettings::Representation
|
28124
|
+
command.response_class = Google::Apis::ComputeAlpha::DiskSettings
|
28125
|
+
command.params['project'] = project unless project.nil?
|
28126
|
+
command.params['region'] = region unless region.nil?
|
28127
|
+
command.query['fields'] = fields unless fields.nil?
|
28128
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
28129
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
28130
|
+
execute_or_queue_command(command, &block)
|
28131
|
+
end
|
28132
|
+
|
28133
|
+
# Patch Regional Disk Settings
|
28134
|
+
# @param [String] project
|
28135
|
+
# Project ID for this request.
|
28136
|
+
# @param [String] region
|
28137
|
+
# Name of the region for this request.
|
28138
|
+
# @param [Google::Apis::ComputeAlpha::DiskSettings] disk_settings_object
|
28139
|
+
# @param [String] request_id
|
28140
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
28141
|
+
# that if you must retry your request, the server will know to ignore the
|
28142
|
+
# request if it has already been completed. For example, consider a situation
|
28143
|
+
# where you make an initial request and the request times out. If you make the
|
28144
|
+
# request again with the same request ID, the server can check if original
|
28145
|
+
# operation with the same request ID was received, and if so, will ignore the
|
28146
|
+
# second request. This prevents clients from accidentally creating duplicate
|
28147
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
28148
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
28149
|
+
# @param [String] update_mask
|
28150
|
+
# update_mask indicates fields to be updated as part of this request.
|
28151
|
+
# @param [String] fields
|
28152
|
+
# Selector specifying which fields to include in a partial response.
|
28153
|
+
# @param [String] quota_user
|
28154
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
28155
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
28156
|
+
# @param [String] user_ip
|
28157
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
28158
|
+
# @param [Google::Apis::RequestOptions] options
|
28159
|
+
# Request-specific options
|
28160
|
+
#
|
28161
|
+
# @yield [result, err] Result & error if block supplied
|
28162
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
28163
|
+
# @yieldparam err [StandardError] error object if request failed
|
28164
|
+
#
|
28165
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
28166
|
+
#
|
28167
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
28168
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
28169
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
28170
|
+
def patch_region_disk_setting(project, region, disk_settings_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
28171
|
+
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/diskSettings', options)
|
28172
|
+
command.request_representation = Google::Apis::ComputeAlpha::DiskSettings::Representation
|
28173
|
+
command.request_object = disk_settings_object
|
28174
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
28175
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
28176
|
+
command.params['project'] = project unless project.nil?
|
28177
|
+
command.params['region'] = region unless region.nil?
|
28178
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
28179
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
28180
|
+
command.query['fields'] = fields unless fields.nil?
|
28181
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
28182
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
28183
|
+
execute_or_queue_command(command, &block)
|
28184
|
+
end
|
28185
|
+
|
27904
28186
|
# Returns the specified regional disk type.
|
27905
28187
|
# @param [String] project
|
27906
28188
|
# Project ID for this request.
|
@@ -28738,7 +29020,6 @@ module Google
|
|
28738
29020
|
# The name of the region for this request.
|
28739
29021
|
# @param [String] disk
|
28740
29022
|
# The name of the persistent disk.
|
28741
|
-
# @param [Google::Apis::ComputeAlpha::RegionDisksStopAsyncReplicationRequest] region_disks_stop_async_replication_request_object
|
28742
29023
|
# @param [String] request_id
|
28743
29024
|
# An optional request ID to identify requests. Specify a unique request ID so
|
28744
29025
|
# that if you must retry your request, the server will know to ignore the
|
@@ -28768,10 +29049,8 @@ module Google
|
|
28768
29049
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
28769
29050
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
28770
29051
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
28771
|
-
def stop_region_disk_async_replication(project, region, disk,
|
29052
|
+
def stop_region_disk_async_replication(project, region, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
28772
29053
|
command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/stopAsyncReplication', options)
|
28773
|
-
command.request_representation = Google::Apis::ComputeAlpha::RegionDisksStopAsyncReplicationRequest::Representation
|
28774
|
-
command.request_object = region_disks_stop_async_replication_request_object
|
28775
29054
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
28776
29055
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
28777
29056
|
command.params['project'] = project unless project.nil?
|
@@ -31825,6 +32104,8 @@ module Google
|
|
31825
32104
|
# The name of the region for this request.
|
31826
32105
|
# @param [String] instance_template
|
31827
32106
|
# The name of the instance template.
|
32107
|
+
# @param [String] view
|
32108
|
+
# View of the instance template.
|
31828
32109
|
# @param [String] fields
|
31829
32110
|
# Selector specifying which fields to include in a partial response.
|
31830
32111
|
# @param [String] quota_user
|
@@ -31844,13 +32125,14 @@ module Google
|
|
31844
32125
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31845
32126
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31846
32127
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31847
|
-
def get_region_instance_template(project, region, instance_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
32128
|
+
def get_region_instance_template(project, region, instance_template, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31848
32129
|
command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceTemplates/{instanceTemplate}', options)
|
31849
32130
|
command.response_representation = Google::Apis::ComputeAlpha::InstanceTemplate::Representation
|
31850
32131
|
command.response_class = Google::Apis::ComputeAlpha::InstanceTemplate
|
31851
32132
|
command.params['project'] = project unless project.nil?
|
31852
32133
|
command.params['region'] = region unless region.nil?
|
31853
32134
|
command.params['instanceTemplate'] = instance_template unless instance_template.nil?
|
32135
|
+
command.query['view'] = view unless view.nil?
|
31854
32136
|
command.query['fields'] = fields unless fields.nil?
|
31855
32137
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31856
32138
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -31964,6 +32246,8 @@ module Google
|
|
31964
32246
|
# @param [Boolean] return_partial_success
|
31965
32247
|
# Opt-in for partial success behavior which provides partial results in case of
|
31966
32248
|
# failure. The default value is false.
|
32249
|
+
# @param [String] view
|
32250
|
+
# View of the instance template.
|
31967
32251
|
# @param [String] fields
|
31968
32252
|
# Selector specifying which fields to include in a partial response.
|
31969
32253
|
# @param [String] quota_user
|
@@ -31983,7 +32267,7 @@ module Google
|
|
31983
32267
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31984
32268
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31985
32269
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31986
|
-
def list_region_instance_templates(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)
|
32270
|
+
def list_region_instance_templates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31987
32271
|
command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceTemplates', options)
|
31988
32272
|
command.response_representation = Google::Apis::ComputeAlpha::InstanceTemplateList::Representation
|
31989
32273
|
command.response_class = Google::Apis::ComputeAlpha::InstanceTemplateList
|
@@ -31994,6 +32278,7 @@ module Google
|
|
31994
32278
|
command.query['orderBy'] = order_by unless order_by.nil?
|
31995
32279
|
command.query['pageToken'] = page_token unless page_token.nil?
|
31996
32280
|
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
32281
|
+
command.query['view'] = view unless view.nil?
|
31997
32282
|
command.query['fields'] = fields unless fields.nil?
|
31998
32283
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31999
32284
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -37126,6 +37411,98 @@ module Google
|
|
37126
37411
|
execute_or_queue_command(command, &block)
|
37127
37412
|
end
|
37128
37413
|
|
37414
|
+
# Retrieves the list of Zone resources under the specific region available to
|
37415
|
+
# the specified project.
|
37416
|
+
# @param [String] project
|
37417
|
+
# Project ID for this request.
|
37418
|
+
# @param [String] region
|
37419
|
+
# Region for this request.
|
37420
|
+
# @param [String] filter
|
37421
|
+
# A filter expression that filters resources listed in the response. Most
|
37422
|
+
# Compute resources support two types of filter expressions: expressions that
|
37423
|
+
# support regular expressions and expressions that follow API improvement
|
37424
|
+
# proposal AIP-160. If you want to use AIP-160, your expression must specify the
|
37425
|
+
# field name, an operator, and the value that you want to use for filtering. The
|
37426
|
+
# value must be a string, a number, or a boolean. The operator must be either `=`
|
37427
|
+
# , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
37428
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
37429
|
+
# specifying `name != example-instance`. The `:` operator can be used with
|
37430
|
+
# string fields to match substrings. For non-string fields it is equivalent to
|
37431
|
+
# the `=` operator. The `:*` comparison can be used to test whether a key has
|
37432
|
+
# been defined. For example, to find all objects with `owner` label use: ```
|
37433
|
+
# labels.owner:* ``` You can also filter nested fields. For example, you could
|
37434
|
+
# specify `scheduling.automaticRestart = false` to include instances only if
|
37435
|
+
# they are not scheduled for automatic restarts. You can use filtering on nested
|
37436
|
+
# fields to filter based on resource labels. To filter on multiple expressions,
|
37437
|
+
# provide each separate expression within parentheses. For example: ``` (
|
37438
|
+
# scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
|
37439
|
+
# default, each expression is an `AND` expression. However, you can include `AND`
|
37440
|
+
# and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
|
37441
|
+
# Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
37442
|
+
# automaticRestart = true) ``` If you want to use a regular expression, use the `
|
37443
|
+
# eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
|
37444
|
+
# expression with or without quotes or against multiple parenthesized
|
37445
|
+
# expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
|
37446
|
+
# quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
|
37447
|
+
# literal) (fieldname2 ne "literal")` The literal value is interpreted as a
|
37448
|
+
# regular expression using Google RE2 library syntax. The literal value must
|
37449
|
+
# match the entire field. For example, to filter for instances that do not end
|
37450
|
+
# with name "instance", you would use `name ne .*instance`.
|
37451
|
+
# @param [Fixnum] max_results
|
37452
|
+
# The maximum number of results per page that should be returned. If the number
|
37453
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
37454
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
37455
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
37456
|
+
# @param [String] order_by
|
37457
|
+
# Sorts list results by a certain order. By default, results are returned in
|
37458
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
37459
|
+
# descending order based on the creation timestamp using `orderBy="
|
37460
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
37461
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
37462
|
+
# resources like operations so that the newest operation is returned first.
|
37463
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
37464
|
+
# @param [String] page_token
|
37465
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
37466
|
+
# by a previous list request to get the next page of results.
|
37467
|
+
# @param [Boolean] return_partial_success
|
37468
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
37469
|
+
# failure. The default value is false.
|
37470
|
+
# @param [String] fields
|
37471
|
+
# Selector specifying which fields to include in a partial response.
|
37472
|
+
# @param [String] quota_user
|
37473
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
37474
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
37475
|
+
# @param [String] user_ip
|
37476
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
37477
|
+
# @param [Google::Apis::RequestOptions] options
|
37478
|
+
# Request-specific options
|
37479
|
+
#
|
37480
|
+
# @yield [result, err] Result & error if block supplied
|
37481
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::ZoneList] parsed result object
|
37482
|
+
# @yieldparam err [StandardError] error object if request failed
|
37483
|
+
#
|
37484
|
+
# @return [Google::Apis::ComputeAlpha::ZoneList]
|
37485
|
+
#
|
37486
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
37487
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
37488
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
37489
|
+
def list_region_zones(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)
|
37490
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/zones', options)
|
37491
|
+
command.response_representation = Google::Apis::ComputeAlpha::ZoneList::Representation
|
37492
|
+
command.response_class = Google::Apis::ComputeAlpha::ZoneList
|
37493
|
+
command.params['project'] = project unless project.nil?
|
37494
|
+
command.params['region'] = region unless region.nil?
|
37495
|
+
command.query['filter'] = filter unless filter.nil?
|
37496
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
37497
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
37498
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
37499
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
37500
|
+
command.query['fields'] = fields unless fields.nil?
|
37501
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
37502
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
37503
|
+
execute_or_queue_command(command, &block)
|
37504
|
+
end
|
37505
|
+
|
37129
37506
|
# Returns the specified Region resource. To decrease latency for this method,
|
37130
37507
|
# you can optionally omit any unneeded information from the response by using a
|
37131
37508
|
# field mask. This practice is especially recommended for unused quota
|
@@ -42144,6 +42521,100 @@ module Google
|
|
42144
42521
|
execute_or_queue_command(command, &block)
|
42145
42522
|
end
|
42146
42523
|
|
42524
|
+
# Lists the disks in a specified storage pool.
|
42525
|
+
# @param [String] project
|
42526
|
+
# Project ID for this request.
|
42527
|
+
# @param [String] zone
|
42528
|
+
# The name of the zone for this request.
|
42529
|
+
# @param [String] storage_pool
|
42530
|
+
# Name of the storage pool to list disks of.
|
42531
|
+
# @param [String] filter
|
42532
|
+
# A filter expression that filters resources listed in the response. Most
|
42533
|
+
# Compute resources support two types of filter expressions: expressions that
|
42534
|
+
# support regular expressions and expressions that follow API improvement
|
42535
|
+
# proposal AIP-160. If you want to use AIP-160, your expression must specify the
|
42536
|
+
# field name, an operator, and the value that you want to use for filtering. The
|
42537
|
+
# value must be a string, a number, or a boolean. The operator must be either `=`
|
42538
|
+
# , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
42539
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
42540
|
+
# specifying `name != example-instance`. The `:` operator can be used with
|
42541
|
+
# string fields to match substrings. For non-string fields it is equivalent to
|
42542
|
+
# the `=` operator. The `:*` comparison can be used to test whether a key has
|
42543
|
+
# been defined. For example, to find all objects with `owner` label use: ```
|
42544
|
+
# labels.owner:* ``` You can also filter nested fields. For example, you could
|
42545
|
+
# specify `scheduling.automaticRestart = false` to include instances only if
|
42546
|
+
# they are not scheduled for automatic restarts. You can use filtering on nested
|
42547
|
+
# fields to filter based on resource labels. To filter on multiple expressions,
|
42548
|
+
# provide each separate expression within parentheses. For example: ``` (
|
42549
|
+
# scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
|
42550
|
+
# default, each expression is an `AND` expression. However, you can include `AND`
|
42551
|
+
# and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
|
42552
|
+
# Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
42553
|
+
# automaticRestart = true) ``` If you want to use a regular expression, use the `
|
42554
|
+
# eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
|
42555
|
+
# expression with or without quotes or against multiple parenthesized
|
42556
|
+
# expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
|
42557
|
+
# quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
|
42558
|
+
# literal) (fieldname2 ne "literal")` The literal value is interpreted as a
|
42559
|
+
# regular expression using Google RE2 library syntax. The literal value must
|
42560
|
+
# match the entire field. For example, to filter for instances that do not end
|
42561
|
+
# with name "instance", you would use `name ne .*instance`.
|
42562
|
+
# @param [Fixnum] max_results
|
42563
|
+
# The maximum number of results per page that should be returned. If the number
|
42564
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
42565
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
42566
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
42567
|
+
# @param [String] order_by
|
42568
|
+
# Sorts list results by a certain order. By default, results are returned in
|
42569
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
42570
|
+
# descending order based on the creation timestamp using `orderBy="
|
42571
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
42572
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
42573
|
+
# resources like operations so that the newest operation is returned first.
|
42574
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
42575
|
+
# @param [String] page_token
|
42576
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
42577
|
+
# by a previous list request to get the next page of results.
|
42578
|
+
# @param [Boolean] return_partial_success
|
42579
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
42580
|
+
# failure. The default value is false.
|
42581
|
+
# @param [String] fields
|
42582
|
+
# Selector specifying which fields to include in a partial response.
|
42583
|
+
# @param [String] quota_user
|
42584
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
42585
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
42586
|
+
# @param [String] user_ip
|
42587
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
42588
|
+
# @param [Google::Apis::RequestOptions] options
|
42589
|
+
# Request-specific options
|
42590
|
+
#
|
42591
|
+
# @yield [result, err] Result & error if block supplied
|
42592
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::StoragePoolListDisks] parsed result object
|
42593
|
+
# @yieldparam err [StandardError] error object if request failed
|
42594
|
+
#
|
42595
|
+
# @return [Google::Apis::ComputeAlpha::StoragePoolListDisks]
|
42596
|
+
#
|
42597
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
42598
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
42599
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
42600
|
+
def list_storage_pool_disks(project, zone, storage_pool, 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)
|
42601
|
+
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/storagePools/{storagePool}/listDisks', options)
|
42602
|
+
command.response_representation = Google::Apis::ComputeAlpha::StoragePoolListDisks::Representation
|
42603
|
+
command.response_class = Google::Apis::ComputeAlpha::StoragePoolListDisks
|
42604
|
+
command.params['project'] = project unless project.nil?
|
42605
|
+
command.params['zone'] = zone unless zone.nil?
|
42606
|
+
command.params['storagePool'] = storage_pool unless storage_pool.nil?
|
42607
|
+
command.query['filter'] = filter unless filter.nil?
|
42608
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
42609
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
42610
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
42611
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
42612
|
+
command.query['fields'] = fields unless fields.nil?
|
42613
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
42614
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
42615
|
+
execute_or_queue_command(command, &block)
|
42616
|
+
end
|
42617
|
+
|
42147
42618
|
# Sets the access control policy on the specified resource. Replaces any
|
42148
42619
|
# existing policy.
|
42149
42620
|
# @param [String] project
|