google-apis-compute_alpha 0.106.0 → 0.107.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/compute_alpha/classes.rb +360 -240
- data/lib/google/apis/compute_alpha/gem_version.rb +2 -2
- data/lib/google/apis/compute_alpha/representations.rb +117 -51
- data/lib/google/apis/compute_alpha/service.rb +275 -23
- metadata +4 -4
@@ -2249,6 +2249,42 @@ module Google
|
|
2249
2249
|
execute_or_queue_command(command, &block)
|
2250
2250
|
end
|
2251
2251
|
|
2252
|
+
# Returns effective security policies applied to this backend service.
|
2253
|
+
# @param [String] project
|
2254
|
+
# Project ID for this request.
|
2255
|
+
# @param [String] backend_service
|
2256
|
+
# Name of the Backend Service for this request.
|
2257
|
+
# @param [String] fields
|
2258
|
+
# Selector specifying which fields to include in a partial response.
|
2259
|
+
# @param [String] quota_user
|
2260
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2261
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2262
|
+
# @param [String] user_ip
|
2263
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
2264
|
+
# @param [Google::Apis::RequestOptions] options
|
2265
|
+
# Request-specific options
|
2266
|
+
#
|
2267
|
+
# @yield [result, err] Result & error if block supplied
|
2268
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::BackendServicesGetEffectiveSecurityPoliciesResponse] parsed result object
|
2269
|
+
# @yieldparam err [StandardError] error object if request failed
|
2270
|
+
#
|
2271
|
+
# @return [Google::Apis::ComputeAlpha::BackendServicesGetEffectiveSecurityPoliciesResponse]
|
2272
|
+
#
|
2273
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2274
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2275
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2276
|
+
def get_backend_service_effective_security_policies(project, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2277
|
+
command = make_simple_command(:get, 'projects/{project}/global/backendServices/{backendService}/getEffectiveSecurityPolicies', options)
|
2278
|
+
command.response_representation = Google::Apis::ComputeAlpha::BackendServicesGetEffectiveSecurityPoliciesResponse::Representation
|
2279
|
+
command.response_class = Google::Apis::ComputeAlpha::BackendServicesGetEffectiveSecurityPoliciesResponse
|
2280
|
+
command.params['project'] = project unless project.nil?
|
2281
|
+
command.params['backendService'] = backend_service unless backend_service.nil?
|
2282
|
+
command.query['fields'] = fields unless fields.nil?
|
2283
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2284
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2285
|
+
execute_or_queue_command(command, &block)
|
2286
|
+
end
|
2287
|
+
|
2252
2288
|
# Gets the most recent health check results for this BackendService. Example
|
2253
2289
|
# request body: ` "group": "/zones/us-east1-b/instanceGroups/lb-backend-example"
|
2254
2290
|
# `
|
@@ -2947,9 +2983,7 @@ module Google
|
|
2947
2983
|
# UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
2948
2984
|
# MixerMutationRequestBuilder
|
2949
2985
|
# @param [Boolean] validate_only
|
2950
|
-
# [Input Only] Validate the new configuration, but don't create it.
|
2951
|
-
# applicable, any configuration notices are returned in the `
|
2952
|
-
# configurationNotices` field.
|
2986
|
+
# [Input Only] Validate the new configuration, but don't create it.
|
2953
2987
|
# @param [String] fields
|
2954
2988
|
# Selector specifying which fields to include in a partial response.
|
2955
2989
|
# @param [String] quota_user
|
@@ -3094,10 +3128,10 @@ module Google
|
|
3094
3128
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
3095
3129
|
# UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
3096
3130
|
# MixerMutationRequestBuilder
|
3131
|
+
# @param [String] update_mask
|
3132
|
+
# update_mask indicates fields to be updated as part of this request.
|
3097
3133
|
# @param [Boolean] validate_only
|
3098
|
-
# [Input Only] Validate the new configuration, but don't update it.
|
3099
|
-
# applicable, any configuration notices are returned in the `
|
3100
|
-
# configurationNotices` field.
|
3134
|
+
# [Input Only] Validate the new configuration, but don't update it.
|
3101
3135
|
# @param [String] fields
|
3102
3136
|
# Selector specifying which fields to include in a partial response.
|
3103
3137
|
# @param [String] quota_user
|
@@ -3117,7 +3151,7 @@ module Google
|
|
3117
3151
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3118
3152
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3119
3153
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3120
|
-
def patch_cross_site_network(project, cross_site_network, cross_site_network_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3154
|
+
def patch_cross_site_network(project, cross_site_network, cross_site_network_object = nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3121
3155
|
command = make_simple_command(:patch, 'projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}', options)
|
3122
3156
|
command.request_representation = Google::Apis::ComputeAlpha::CrossSiteNetwork::Representation
|
3123
3157
|
command.request_object = cross_site_network_object
|
@@ -3126,6 +3160,7 @@ module Google
|
|
3126
3160
|
command.params['project'] = project unless project.nil?
|
3127
3161
|
command.params['crossSiteNetwork'] = cross_site_network unless cross_site_network.nil?
|
3128
3162
|
command.query['requestId'] = request_id unless request_id.nil?
|
3163
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3129
3164
|
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
3130
3165
|
command.query['fields'] = fields unless fields.nil?
|
3131
3166
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -14364,7 +14399,7 @@ module Google
|
|
14364
14399
|
execute_or_queue_command(command, &block)
|
14365
14400
|
end
|
14366
14401
|
|
14367
|
-
# Adds
|
14402
|
+
# Adds one dynamic network interface to an active instance.
|
14368
14403
|
# @param [String] project
|
14369
14404
|
# Project ID for this request.
|
14370
14405
|
# @param [String] zone
|
@@ -14701,7 +14736,7 @@ module Google
|
|
14701
14736
|
# @param [String] instance
|
14702
14737
|
# Name of the instance resource to delete.
|
14703
14738
|
# @param [Boolean] no_graceful_shutdown
|
14704
|
-
# If true,
|
14739
|
+
# If set to true, Graceful Shutdown is skipped.
|
14705
14740
|
# @param [String] request_id
|
14706
14741
|
# An optional request ID to identify requests. Specify a unique request ID so
|
14707
14742
|
# that if you must retry your request, the server will know to ignore the
|
@@ -14802,11 +14837,10 @@ module Google
|
|
14802
14837
|
execute_or_queue_command(command, &block)
|
14803
14838
|
end
|
14804
14839
|
|
14805
|
-
# Deletes one network interface from an active instance.
|
14840
|
+
# Deletes one dynamic network interface from an active instance.
|
14806
14841
|
# InstancesDeleteNetworkInterfaceRequest indicates: - instance from which to
|
14807
|
-
# delete, using project+zone+resource_id fields; - network interface to
|
14808
|
-
# deleted, using network_interface_name field;
|
14809
|
-
# supported for now.
|
14842
|
+
# delete, using project+zone+resource_id fields; - dynamic network interface to
|
14843
|
+
# be deleted, using network_interface_name field;
|
14810
14844
|
# @param [String] project
|
14811
14845
|
# Project ID for this request.
|
14812
14846
|
# @param [String] zone
|
@@ -14815,8 +14849,7 @@ module Google
|
|
14815
14849
|
# The instance name for this request stored as resource_id. Name should conform
|
14816
14850
|
# to RFC1035 or be an unsigned long integer.
|
14817
14851
|
# @param [String] network_interface_name
|
14818
|
-
# The name of the network interface to be deleted from the instance.
|
14819
|
-
# network interface deletion is supported.
|
14852
|
+
# The name of the dynamic network interface to be deleted from the instance.
|
14820
14853
|
# @param [String] request_id
|
14821
14854
|
# An optional request ID to identify requests. Specify a unique request ID so
|
14822
14855
|
# that if you must retry your request, the server will know to ignore the
|
@@ -15188,7 +15221,9 @@ module Google
|
|
15188
15221
|
# and the adjusted start position is returned as the `start` property value. You
|
15189
15222
|
# can also provide a negative start position, which translates to the most
|
15190
15223
|
# recent number of bytes written to the serial port. For example, -3 is
|
15191
|
-
# interpreted as the most recent 3 bytes written to the serial console.
|
15224
|
+
# interpreted as the most recent 3 bytes written to the serial console. Note
|
15225
|
+
# that the negative start is bounded by the retained buffer size, and the
|
15226
|
+
# returned serial console output will not exceed the max buffer size.
|
15192
15227
|
# @param [String] fields
|
15193
15228
|
# Selector specifying which fields to include in a partial response.
|
15194
15229
|
# @param [String] quota_user
|
@@ -16896,7 +16931,7 @@ module Google
|
|
16896
16931
|
# false, Local SSD data will be preserved when the instance is suspended. If
|
16897
16932
|
# true, the contents of any attached Local SSD disks will be discarded.
|
16898
16933
|
# @param [Boolean] no_graceful_shutdown
|
16899
|
-
# If true,
|
16934
|
+
# If set to true, Graceful Shutdown is skipped.
|
16900
16935
|
# @param [String] request_id
|
16901
16936
|
# An optional request ID to identify requests. Specify a unique request ID so
|
16902
16937
|
# that if you must retry your request, the server will know to ignore the
|
@@ -21028,6 +21063,61 @@ module Google
|
|
21028
21063
|
execute_or_queue_command(command, &block)
|
21029
21064
|
end
|
21030
21065
|
|
21066
|
+
# Updates a License resource in the specified project. *Caution* This resource
|
21067
|
+
# is intended for use only by third-party partners who are creating Cloud
|
21068
|
+
# Marketplace images.
|
21069
|
+
# @param [String] project
|
21070
|
+
# Project ID for this request.
|
21071
|
+
# @param [String] license
|
21072
|
+
# The license name for this request.
|
21073
|
+
# @param [Google::Apis::ComputeAlpha::License] license_object
|
21074
|
+
# @param [String] request_id
|
21075
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
21076
|
+
# that if you must retry your request, the server will know to ignore the
|
21077
|
+
# request if it has already been completed. For example, consider a situation
|
21078
|
+
# where you make an initial request and the request times out. If you make the
|
21079
|
+
# request again with the same request ID, the server can check if original
|
21080
|
+
# operation with the same request ID was received, and if so, will ignore the
|
21081
|
+
# second request. This prevents clients from accidentally creating duplicate
|
21082
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
21083
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
21084
|
+
# @param [String] update_mask
|
21085
|
+
# update_mask indicates fields to be updated as part of this request.
|
21086
|
+
# @param [String] fields
|
21087
|
+
# Selector specifying which fields to include in a partial response.
|
21088
|
+
# @param [String] quota_user
|
21089
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
21090
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
21091
|
+
# @param [String] user_ip
|
21092
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
21093
|
+
# @param [Google::Apis::RequestOptions] options
|
21094
|
+
# Request-specific options
|
21095
|
+
#
|
21096
|
+
# @yield [result, err] Result & error if block supplied
|
21097
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
21098
|
+
# @yieldparam err [StandardError] error object if request failed
|
21099
|
+
#
|
21100
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
21101
|
+
#
|
21102
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
21103
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
21104
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
21105
|
+
def update_license(project, license, license_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
21106
|
+
command = make_simple_command(:patch, 'projects/{project}/global/licenses/{license}', options)
|
21107
|
+
command.request_representation = Google::Apis::ComputeAlpha::License::Representation
|
21108
|
+
command.request_object = license_object
|
21109
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
21110
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
21111
|
+
command.params['project'] = project unless project.nil?
|
21112
|
+
command.params['license'] = license unless license.nil?
|
21113
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
21114
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
21115
|
+
command.query['fields'] = fields unless fields.nil?
|
21116
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
21117
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
21118
|
+
execute_or_queue_command(command, &block)
|
21119
|
+
end
|
21120
|
+
|
21031
21121
|
# Deletes the specified machine image. Deleting a machine image is permanent and
|
21032
21122
|
# cannot be undone.
|
21033
21123
|
# @param [String] project
|
@@ -39358,6 +39448,60 @@ module Google
|
|
39358
39448
|
execute_or_queue_command(command, &block)
|
39359
39449
|
end
|
39360
39450
|
|
39451
|
+
# Sets the labels on a security policy. To learn more about labels, read the
|
39452
|
+
# Labeling Resources documentation.
|
39453
|
+
# @param [String] project
|
39454
|
+
# Project ID for this request.
|
39455
|
+
# @param [String] region
|
39456
|
+
# The region for this request.
|
39457
|
+
# @param [String] resource
|
39458
|
+
# Name or id of the resource for this request.
|
39459
|
+
# @param [Google::Apis::ComputeAlpha::RegionSetLabelsRequest] region_set_labels_request_object
|
39460
|
+
# @param [String] request_id
|
39461
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
39462
|
+
# that if you must retry your request, the server will know to ignore the
|
39463
|
+
# request if it has already been completed. For example, consider a situation
|
39464
|
+
# where you make an initial request and the request times out. If you make the
|
39465
|
+
# request again with the same request ID, the server can check if original
|
39466
|
+
# operation with the same request ID was received, and if so, will ignore the
|
39467
|
+
# second request. This prevents clients from accidentally creating duplicate
|
39468
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
39469
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
39470
|
+
# @param [String] fields
|
39471
|
+
# Selector specifying which fields to include in a partial response.
|
39472
|
+
# @param [String] quota_user
|
39473
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
39474
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
39475
|
+
# @param [String] user_ip
|
39476
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
39477
|
+
# @param [Google::Apis::RequestOptions] options
|
39478
|
+
# Request-specific options
|
39479
|
+
#
|
39480
|
+
# @yield [result, err] Result & error if block supplied
|
39481
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
39482
|
+
# @yieldparam err [StandardError] error object if request failed
|
39483
|
+
#
|
39484
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
39485
|
+
#
|
39486
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
39487
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
39488
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
39489
|
+
def set_region_security_policy_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
39490
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/securityPolicies/{resource}/setLabels', options)
|
39491
|
+
command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation
|
39492
|
+
command.request_object = region_set_labels_request_object
|
39493
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
39494
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
39495
|
+
command.params['project'] = project unless project.nil?
|
39496
|
+
command.params['region'] = region unless region.nil?
|
39497
|
+
command.params['resource'] = resource unless resource.nil?
|
39498
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
39499
|
+
command.query['fields'] = fields unless fields.nil?
|
39500
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
39501
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
39502
|
+
execute_or_queue_command(command, &block)
|
39503
|
+
end
|
39504
|
+
|
39361
39505
|
# Get region snapshot settings.
|
39362
39506
|
# @param [String] project
|
39363
39507
|
# Project ID for this request.
|
@@ -42451,6 +42595,64 @@ module Google
|
|
42451
42595
|
execute_or_queue_command(command, &block)
|
42452
42596
|
end
|
42453
42597
|
|
42598
|
+
# Allows customers to perform maintenance on a reservation block
|
42599
|
+
# @param [String] project
|
42600
|
+
# Project ID for this request.
|
42601
|
+
# @param [String] zone
|
42602
|
+
# Name of the zone for this request. Zone name should conform to RFC1035.
|
42603
|
+
# @param [String] reservation
|
42604
|
+
# The name of the reservation. Name should conform to RFC1035 or be a resource
|
42605
|
+
# ID.
|
42606
|
+
# @param [String] reservation_block
|
42607
|
+
# The name of the reservation block. Name should conform to RFC1035 or be a
|
42608
|
+
# resource ID.
|
42609
|
+
# @param [Google::Apis::ComputeAlpha::ReservationsBlocksPerformMaintenanceRequest] reservations_blocks_perform_maintenance_request_object
|
42610
|
+
# @param [String] request_id
|
42611
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
42612
|
+
# that if you must retry your request, the server will know to ignore the
|
42613
|
+
# request if it has already been completed. For example, consider a situation
|
42614
|
+
# where you make an initial request and the request times out. If you make the
|
42615
|
+
# request again with the same request ID, the server can check if original
|
42616
|
+
# operation with the same request ID was received, and if so, will ignore the
|
42617
|
+
# second request. This prevents clients from accidentally creating duplicate
|
42618
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
42619
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
42620
|
+
# @param [String] fields
|
42621
|
+
# Selector specifying which fields to include in a partial response.
|
42622
|
+
# @param [String] quota_user
|
42623
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
42624
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
42625
|
+
# @param [String] user_ip
|
42626
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
42627
|
+
# @param [Google::Apis::RequestOptions] options
|
42628
|
+
# Request-specific options
|
42629
|
+
#
|
42630
|
+
# @yield [result, err] Result & error if block supplied
|
42631
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
42632
|
+
# @yieldparam err [StandardError] error object if request failed
|
42633
|
+
#
|
42634
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
42635
|
+
#
|
42636
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
42637
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
42638
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
42639
|
+
def perform_reservation_block_maintenance(project, zone, reservation, reservation_block, reservations_blocks_perform_maintenance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
42640
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}/performMaintenance', options)
|
42641
|
+
command.request_representation = Google::Apis::ComputeAlpha::ReservationsBlocksPerformMaintenanceRequest::Representation
|
42642
|
+
command.request_object = reservations_blocks_perform_maintenance_request_object
|
42643
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
42644
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
42645
|
+
command.params['project'] = project unless project.nil?
|
42646
|
+
command.params['zone'] = zone unless zone.nil?
|
42647
|
+
command.params['reservation'] = reservation unless reservation.nil?
|
42648
|
+
command.params['reservationBlock'] = reservation_block unless reservation_block.nil?
|
42649
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
42650
|
+
command.query['fields'] = fields unless fields.nil?
|
42651
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
42652
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
42653
|
+
execute_or_queue_command(command, &block)
|
42654
|
+
end
|
42655
|
+
|
42454
42656
|
# Retrieves an aggregated list of reservations. To prevent failure, Google
|
42455
42657
|
# recommends that you set the `returnPartialSuccess` parameter to `true`.
|
42456
42658
|
# @param [String] project
|
@@ -42833,6 +43035,60 @@ module Google
|
|
42833
43035
|
execute_or_queue_command(command, &block)
|
42834
43036
|
end
|
42835
43037
|
|
43038
|
+
# Perform maintenance on an extended reservation
|
43039
|
+
# @param [String] project
|
43040
|
+
# Project ID for this request.
|
43041
|
+
# @param [String] zone
|
43042
|
+
# Name of the zone for this request. Zone name should conform to RFC1035.
|
43043
|
+
# @param [String] reservation
|
43044
|
+
# The name of the reservation. Name should conform to RFC1035 or be a resource
|
43045
|
+
# ID.
|
43046
|
+
# @param [Google::Apis::ComputeAlpha::ReservationsPerformMaintenanceRequest] reservations_perform_maintenance_request_object
|
43047
|
+
# @param [String] request_id
|
43048
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
43049
|
+
# that if you must retry your request, the server will know to ignore the
|
43050
|
+
# request if it has already been completed. For example, consider a situation
|
43051
|
+
# where you make an initial request and the request times out. If you make the
|
43052
|
+
# request again with the same request ID, the server can check if original
|
43053
|
+
# operation with the same request ID was received, and if so, will ignore the
|
43054
|
+
# second request. This prevents clients from accidentally creating duplicate
|
43055
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
43056
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
43057
|
+
# @param [String] fields
|
43058
|
+
# Selector specifying which fields to include in a partial response.
|
43059
|
+
# @param [String] quota_user
|
43060
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
43061
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43062
|
+
# @param [String] user_ip
|
43063
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
43064
|
+
# @param [Google::Apis::RequestOptions] options
|
43065
|
+
# Request-specific options
|
43066
|
+
#
|
43067
|
+
# @yield [result, err] Result & error if block supplied
|
43068
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
43069
|
+
# @yieldparam err [StandardError] error object if request failed
|
43070
|
+
#
|
43071
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
43072
|
+
#
|
43073
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
43074
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
43075
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
43076
|
+
def perform_reservation_maintenance(project, zone, reservation, reservations_perform_maintenance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
43077
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations/{reservation}/performMaintenance', options)
|
43078
|
+
command.request_representation = Google::Apis::ComputeAlpha::ReservationsPerformMaintenanceRequest::Representation
|
43079
|
+
command.request_object = reservations_perform_maintenance_request_object
|
43080
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
43081
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
43082
|
+
command.params['project'] = project unless project.nil?
|
43083
|
+
command.params['zone'] = zone unless zone.nil?
|
43084
|
+
command.params['reservation'] = reservation unless reservation.nil?
|
43085
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
43086
|
+
command.query['fields'] = fields unless fields.nil?
|
43087
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
43088
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
43089
|
+
execute_or_queue_command(command, &block)
|
43090
|
+
end
|
43091
|
+
|
42836
43092
|
# Resizes the reservation (applicable to standalone reservations only). For more
|
42837
43093
|
# information, read Modifying reservations.
|
42838
43094
|
# @param [String] project
|
@@ -55236,9 +55492,7 @@ module Google
|
|
55236
55492
|
# UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
55237
55493
|
# MixerMutationRequestBuilder
|
55238
55494
|
# @param [Boolean] validate_only
|
55239
|
-
# [Input Only] Validate the new configuration, but don't create it.
|
55240
|
-
# applicable, any configuration notices are returned in the `
|
55241
|
-
# configurationNotices` field.
|
55495
|
+
# [Input Only] Validate the new configuration, but don't create it.
|
55242
55496
|
# @param [String] fields
|
55243
55497
|
# Selector specifying which fields to include in a partial response.
|
55244
55498
|
# @param [String] quota_user
|
@@ -55390,9 +55644,7 @@ module Google
|
|
55390
55644
|
# @param [String] update_mask
|
55391
55645
|
# update_mask indicates fields to be updated as part of this request.
|
55392
55646
|
# @param [Boolean] validate_only
|
55393
|
-
# [Input Only] Validate the new configuration, but don't update it.
|
55394
|
-
# applicable, any configuration notices are returned in the `
|
55395
|
-
# configurationNotices` field.
|
55647
|
+
# [Input Only] Validate the new configuration, but don't update it.
|
55396
55648
|
# @param [String] fields
|
55397
55649
|
# Selector specifying which fields to include in a partial response.
|
55398
55650
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.107.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.107.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Compute Engine API Alpha
|