google-apis-compute_beta 0.138.0 → 0.139.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f741c6bb02443707999b6b737d6550ec69594618c1f8de0bec7fab03fe2f714
|
|
4
|
+
data.tar.gz: bd9aab5c6cbcce2c7fd9df58d7c15c72b27157af997dfe58ff2c57306ae58bba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 057753eeb41277eb06c17544f686a2eb7103791686ff9442da88fd127708fcb13ad3f31e97c928462c1b7358252974d0101f90827fd68f86fbe7c37aa21a4235
|
|
7
|
+
data.tar.gz: 45a02d357e1acb4e5c3cdf2e11c29b97cc87f6824439b7ec47e2cfb3a1bb7ea368cbd6f724cfec15435caa31dff782aec2e4de07f4c0920861b78faa55732f4f
|
data/CHANGELOG.md
CHANGED
|
@@ -1991,24 +1991,7 @@ module Google
|
|
|
1991
1991
|
# @return [Fixnum]
|
|
1992
1992
|
attr_accessor :disk_size_gb
|
|
1993
1993
|
|
|
1994
|
-
# Specifies the disk type to use to create the instance. If not specified,
|
|
1995
|
-
# the default is pd-standard, specified using the full URL.
|
|
1996
|
-
# For example:
|
|
1997
|
-
# https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-
|
|
1998
|
-
# standard
|
|
1999
|
-
# For a full list of acceptable values, seePersistent disk
|
|
2000
|
-
# types. If you specify this field when creating a VM, you can provide
|
|
2001
|
-
# either the full or partial URL. For example, the following values are
|
|
2002
|
-
# valid:
|
|
2003
|
-
#
|
|
2004
1994
|
#
|
|
2005
|
-
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/
|
|
2006
|
-
# diskTypes/diskType
|
|
2007
|
-
# - projects/project/zones/zone/diskTypes/diskType
|
|
2008
|
-
# - zones/zone/diskTypes/diskType
|
|
2009
|
-
# If you specify this field when creating or updating an instance template
|
|
2010
|
-
# or all-instances configuration, specify the type of the disk, not the
|
|
2011
|
-
# URL. For example: pd-standard.
|
|
2012
1995
|
# Corresponds to the JSON property `diskType`
|
|
2013
1996
|
# @return [String]
|
|
2014
1997
|
attr_accessor :disk_type
|
|
@@ -10817,6 +10800,43 @@ module Google
|
|
|
10817
10800
|
# @return [String]
|
|
10818
10801
|
attr_accessor :source_instant_snapshot_id
|
|
10819
10802
|
|
|
10803
|
+
# The machine image to create the disk from. You can provide this as a
|
|
10804
|
+
# partial or full URL to the resource. For example, the following are valid
|
|
10805
|
+
# values:
|
|
10806
|
+
#
|
|
10807
|
+
#
|
|
10808
|
+
# - https://www.googleapis.com/compute/v1/projects/project/global/
|
|
10809
|
+
# machineImages/machineImage
|
|
10810
|
+
# - projects/project/global/machineImages/machineImage
|
|
10811
|
+
# - global/machineImages/machineImage
|
|
10812
|
+
# Corresponds to the JSON property `sourceMachineImage`
|
|
10813
|
+
# @return [String]
|
|
10814
|
+
attr_accessor :source_machine_image
|
|
10815
|
+
|
|
10816
|
+
# The device name of a disk within a given machine image. The
|
|
10817
|
+
# source_machine_image must be specified.
|
|
10818
|
+
# Corresponds to the JSON property `sourceMachineImageDiskDeviceName`
|
|
10819
|
+
# @return [String]
|
|
10820
|
+
attr_accessor :source_machine_image_disk_device_name
|
|
10821
|
+
|
|
10822
|
+
# Thecustomer-supplied
|
|
10823
|
+
# encryption key of the source machine image. Required if the source
|
|
10824
|
+
# machine image is protected by a customer-supplied encryption key.
|
|
10825
|
+
# Corresponds to the JSON property `sourceMachineImageEncryptionKey`
|
|
10826
|
+
# @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
|
|
10827
|
+
attr_accessor :source_machine_image_encryption_key
|
|
10828
|
+
|
|
10829
|
+
# Output only. [Output Only] The unique ID of the machine image used to create
|
|
10830
|
+
# this disk.
|
|
10831
|
+
# This value identifies the exact machine image that was used to create this
|
|
10832
|
+
# persistent disk. For example, if you created the persistent disk from a
|
|
10833
|
+
# machine image that was later deleted and recreated under the same name, the
|
|
10834
|
+
# source machine image ID would identify the exact version of the machine
|
|
10835
|
+
# image that was used.
|
|
10836
|
+
# Corresponds to the JSON property `sourceMachineImageId`
|
|
10837
|
+
# @return [String]
|
|
10838
|
+
attr_accessor :source_machine_image_id
|
|
10839
|
+
|
|
10820
10840
|
# The source snapshot used to create this disk. You can provide this as a
|
|
10821
10841
|
# partial or full URL to the resource. For example, the following are valid
|
|
10822
10842
|
# values:
|
|
@@ -10961,6 +10981,10 @@ module Google
|
|
|
10961
10981
|
@source_image_id = args[:source_image_id] if args.key?(:source_image_id)
|
|
10962
10982
|
@source_instant_snapshot = args[:source_instant_snapshot] if args.key?(:source_instant_snapshot)
|
|
10963
10983
|
@source_instant_snapshot_id = args[:source_instant_snapshot_id] if args.key?(:source_instant_snapshot_id)
|
|
10984
|
+
@source_machine_image = args[:source_machine_image] if args.key?(:source_machine_image)
|
|
10985
|
+
@source_machine_image_disk_device_name = args[:source_machine_image_disk_device_name] if args.key?(:source_machine_image_disk_device_name)
|
|
10986
|
+
@source_machine_image_encryption_key = args[:source_machine_image_encryption_key] if args.key?(:source_machine_image_encryption_key)
|
|
10987
|
+
@source_machine_image_id = args[:source_machine_image_id] if args.key?(:source_machine_image_id)
|
|
10964
10988
|
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
|
|
10965
10989
|
@source_snapshot_encryption_key = args[:source_snapshot_encryption_key] if args.key?(:source_snapshot_encryption_key)
|
|
10966
10990
|
@source_snapshot_id = args[:source_snapshot_id] if args.key?(:source_snapshot_id)
|
|
@@ -29990,6 +30014,14 @@ module Google
|
|
|
29990
30014
|
# @return [String]
|
|
29991
30015
|
attr_accessor :description
|
|
29992
30016
|
|
|
30017
|
+
# Output only. [Output Only] URL of the InterconnectLocation object that
|
|
30018
|
+
# represents where
|
|
30019
|
+
# this connection is to be provisioned. By default it will be the same as the
|
|
30020
|
+
# location field.
|
|
30021
|
+
# Corresponds to the JSON property `effectiveLocation`
|
|
30022
|
+
# @return [String]
|
|
30023
|
+
attr_accessor :effective_location
|
|
30024
|
+
|
|
29993
30025
|
# Output only. [Output Only] A list of outages expected for this Interconnect.
|
|
29994
30026
|
# Corresponds to the JSON property `expectedOutages`
|
|
29995
30027
|
# @return [Array<Google::Apis::ComputeBeta::InterconnectOutageNotification>]
|
|
@@ -30231,6 +30263,7 @@ module Google
|
|
|
30231
30263
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
30232
30264
|
@customer_name = args[:customer_name] if args.key?(:customer_name)
|
|
30233
30265
|
@description = args[:description] if args.key?(:description)
|
|
30266
|
+
@effective_location = args[:effective_location] if args.key?(:effective_location)
|
|
30234
30267
|
@expected_outages = args[:expected_outages] if args.key?(:expected_outages)
|
|
30235
30268
|
@google_ip_address = args[:google_ip_address] if args.key?(:google_ip_address)
|
|
30236
30269
|
@google_reference_id = args[:google_reference_id] if args.key?(:google_reference_id)
|
|
@@ -35830,6 +35863,18 @@ module Google
|
|
|
35830
35863
|
class MachineImageParams
|
|
35831
35864
|
include Google::Apis::Core::Hashable
|
|
35832
35865
|
|
|
35866
|
+
# Input only. [Input Only] Specifies the list of disk device names that must be
|
|
35867
|
+
# excluded from the new machine image.
|
|
35868
|
+
# Corresponds to the JSON property `excludedDisks`
|
|
35869
|
+
# @return [Array<String>]
|
|
35870
|
+
attr_accessor :excluded_disks
|
|
35871
|
+
|
|
35872
|
+
# Input only. [Input Only] Specifies the list of disk device names that must be
|
|
35873
|
+
# included with the new machine image.
|
|
35874
|
+
# Corresponds to the JSON property `includedDisks`
|
|
35875
|
+
# @return [Array<String>]
|
|
35876
|
+
attr_accessor :included_disks
|
|
35877
|
+
|
|
35833
35878
|
# Input only. Resource manager tags to be bound to the machine image. Tag keys
|
|
35834
35879
|
# and values
|
|
35835
35880
|
# have the same definition as resource
|
|
@@ -35848,6 +35893,8 @@ module Google
|
|
|
35848
35893
|
|
|
35849
35894
|
# Update properties of this object
|
|
35850
35895
|
def update!(**args)
|
|
35896
|
+
@excluded_disks = args[:excluded_disks] if args.key?(:excluded_disks)
|
|
35897
|
+
@included_disks = args[:included_disks] if args.key?(:included_disks)
|
|
35851
35898
|
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
|
35852
35899
|
end
|
|
35853
35900
|
end
|
|
@@ -39052,7 +39099,13 @@ module Google
|
|
|
39052
39099
|
attr_accessor :name
|
|
39053
39100
|
|
|
39054
39101
|
# The URL of the network to which all network endpoints in the NEG belong.
|
|
39055
|
-
#
|
|
39102
|
+
# For networkEndpointType GCE_VM_IP_PORT,GCE_VM_IP_PORTMAP or
|
|
39103
|
+
# NON_GCP_PRIVATE_IP_PORT,
|
|
39104
|
+
# if this field is not specified, a default network will be used.
|
|
39105
|
+
# This field cannot be set for NEGs with networkEndpointType set toSERVERLESS or
|
|
39106
|
+
# PRIVATE_SERVICE_CONNECT and for
|
|
39107
|
+
# global NEGs.
|
|
39108
|
+
# For all other network endpoint types, this field is required.
|
|
39056
39109
|
# Corresponds to the JSON property `network`
|
|
39057
39110
|
# @return [String]
|
|
39058
39111
|
attr_accessor :network
|
|
@@ -39437,7 +39490,13 @@ module Google
|
|
|
39437
39490
|
attr_accessor :default_port
|
|
39438
39491
|
|
|
39439
39492
|
# The URL of the network to which all network endpoints in the NEG belong.
|
|
39440
|
-
#
|
|
39493
|
+
# For networkEndpointType GCE_VM_IP_PORT,GCE_VM_IP_PORTMAP or
|
|
39494
|
+
# NON_GCP_PRIVATE_IP_PORT,
|
|
39495
|
+
# if this field is not specified, a default network will be used.
|
|
39496
|
+
# This field cannot be set for NEGs with networkEndpointType set toSERVERLESS or
|
|
39497
|
+
# PRIVATE_SERVICE_CONNECT and for
|
|
39498
|
+
# global NEGs.
|
|
39499
|
+
# For all other network endpoint types, this field is required.
|
|
39441
39500
|
# [Deprecated] This field is deprecated.
|
|
39442
39501
|
# Corresponds to the JSON property `network`
|
|
39443
39502
|
# @return [String]
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ComputeBeta
|
|
18
18
|
# Version of the google-apis-compute_beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.139.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260501"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -11824,6 +11824,11 @@ module Google
|
|
|
11824
11824
|
property :source_image_id, as: 'sourceImageId'
|
|
11825
11825
|
property :source_instant_snapshot, as: 'sourceInstantSnapshot'
|
|
11826
11826
|
property :source_instant_snapshot_id, as: 'sourceInstantSnapshotId'
|
|
11827
|
+
property :source_machine_image, as: 'sourceMachineImage'
|
|
11828
|
+
property :source_machine_image_disk_device_name, as: 'sourceMachineImageDiskDeviceName'
|
|
11829
|
+
property :source_machine_image_encryption_key, as: 'sourceMachineImageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
|
11830
|
+
|
|
11831
|
+
property :source_machine_image_id, as: 'sourceMachineImageId'
|
|
11827
11832
|
property :source_snapshot, as: 'sourceSnapshot'
|
|
11828
11833
|
property :source_snapshot_encryption_key, as: 'sourceSnapshotEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
|
11829
11834
|
|
|
@@ -16256,6 +16261,7 @@ module Google
|
|
|
16256
16261
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
16257
16262
|
property :customer_name, as: 'customerName'
|
|
16258
16263
|
property :description, as: 'description'
|
|
16264
|
+
property :effective_location, as: 'effectiveLocation'
|
|
16259
16265
|
collection :expected_outages, as: 'expectedOutages', class: Google::Apis::ComputeBeta::InterconnectOutageNotification, decorator: Google::Apis::ComputeBeta::InterconnectOutageNotification::Representation
|
|
16260
16266
|
|
|
16261
16267
|
property :google_ip_address, as: 'googleIpAddress'
|
|
@@ -17594,6 +17600,8 @@ module Google
|
|
|
17594
17600
|
class MachineImageParams
|
|
17595
17601
|
# @private
|
|
17596
17602
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
17603
|
+
collection :excluded_disks, as: 'excludedDisks'
|
|
17604
|
+
collection :included_disks, as: 'includedDisks'
|
|
17597
17605
|
hash :resource_manager_tags, as: 'resourceManagerTags'
|
|
17598
17606
|
end
|
|
17599
17607
|
end
|
|
@@ -53244,6 +53244,58 @@ module Google
|
|
|
53244
53244
|
execute_or_queue_command(command, &block)
|
|
53245
53245
|
end
|
|
53246
53246
|
|
|
53247
|
+
# Advances a Rollout to the next wave, or completes it if no waves remain.
|
|
53248
|
+
# @param [String] project
|
|
53249
|
+
# Required. Project ID for this request.
|
|
53250
|
+
# @param [String] rollout
|
|
53251
|
+
# Required. Name of the Rollout resource to advance.
|
|
53252
|
+
# @param [Fixnum] current_wave_number
|
|
53253
|
+
# Required. Wave number of the current wave.
|
|
53254
|
+
# @param [String] request_id
|
|
53255
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
53256
|
+
# that if you must retry your request, the server will know to ignore the
|
|
53257
|
+
# request if it has already been completed.
|
|
53258
|
+
# For example, consider a situation where you make an initial request and
|
|
53259
|
+
# the request times out. If you make the request again with the same
|
|
53260
|
+
# request ID, the server can check if original operation with the same
|
|
53261
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
53262
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
53263
|
+
# The request ID must be
|
|
53264
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
53265
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
53266
|
+
# @param [String] fields
|
|
53267
|
+
# Selector specifying which fields to include in a partial response.
|
|
53268
|
+
# @param [String] quota_user
|
|
53269
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
53270
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
53271
|
+
# @param [String] user_ip
|
|
53272
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
53273
|
+
# @param [Google::Apis::RequestOptions] options
|
|
53274
|
+
# Request-specific options
|
|
53275
|
+
#
|
|
53276
|
+
# @yield [result, err] Result & error if block supplied
|
|
53277
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
53278
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
53279
|
+
#
|
|
53280
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
53281
|
+
#
|
|
53282
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
53283
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
53284
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
53285
|
+
def advance_rollout(project, rollout, current_wave_number: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
53286
|
+
command = make_simple_command(:post, 'projects/{project}/global/rollouts/{rollout}/advance', options)
|
|
53287
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
53288
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
53289
|
+
command.params['project'] = project unless project.nil?
|
|
53290
|
+
command.params['rollout'] = rollout unless rollout.nil?
|
|
53291
|
+
command.query['currentWaveNumber'] = current_wave_number unless current_wave_number.nil?
|
|
53292
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
53293
|
+
command.query['fields'] = fields unless fields.nil?
|
|
53294
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
53295
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
53296
|
+
execute_or_queue_command(command, &block)
|
|
53297
|
+
end
|
|
53298
|
+
|
|
53247
53299
|
# Cancels a Rollout.
|
|
53248
53300
|
# @param [String] project
|
|
53249
53301
|
# Project ID for this request.
|
|
@@ -53499,6 +53551,114 @@ module Google
|
|
|
53499
53551
|
execute_or_queue_command(command, &block)
|
|
53500
53552
|
end
|
|
53501
53553
|
|
|
53554
|
+
# Pauses a Rollout.
|
|
53555
|
+
# @param [String] project
|
|
53556
|
+
# Required. Project ID for this request.
|
|
53557
|
+
# @param [String] rollout
|
|
53558
|
+
# Required. Name of the Rollout resource to pause.
|
|
53559
|
+
# @param [String] etag
|
|
53560
|
+
# The etag of the Rollout.
|
|
53561
|
+
# If this is provided, the request will only succeed if the etag matches
|
|
53562
|
+
# the current etag of the Rollout.
|
|
53563
|
+
# @param [String] request_id
|
|
53564
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
53565
|
+
# that if you must retry your request, the server will know to ignore the
|
|
53566
|
+
# request if it has already been completed.
|
|
53567
|
+
# For example, consider a situation where you make an initial request and
|
|
53568
|
+
# the request times out. If you make the request again with the same
|
|
53569
|
+
# request ID, the server can check if original operation with the same
|
|
53570
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
53571
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
53572
|
+
# The request ID must be
|
|
53573
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
53574
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
53575
|
+
# @param [String] fields
|
|
53576
|
+
# Selector specifying which fields to include in a partial response.
|
|
53577
|
+
# @param [String] quota_user
|
|
53578
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
53579
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
53580
|
+
# @param [String] user_ip
|
|
53581
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
53582
|
+
# @param [Google::Apis::RequestOptions] options
|
|
53583
|
+
# Request-specific options
|
|
53584
|
+
#
|
|
53585
|
+
# @yield [result, err] Result & error if block supplied
|
|
53586
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
53587
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
53588
|
+
#
|
|
53589
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
53590
|
+
#
|
|
53591
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
53592
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
53593
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
53594
|
+
def pause_rollout(project, rollout, etag: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
53595
|
+
command = make_simple_command(:post, 'projects/{project}/global/rollouts/{rollout}/pause', options)
|
|
53596
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
53597
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
53598
|
+
command.params['project'] = project unless project.nil?
|
|
53599
|
+
command.params['rollout'] = rollout unless rollout.nil?
|
|
53600
|
+
command.query['etag'] = etag unless etag.nil?
|
|
53601
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
53602
|
+
command.query['fields'] = fields unless fields.nil?
|
|
53603
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
53604
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
53605
|
+
execute_or_queue_command(command, &block)
|
|
53606
|
+
end
|
|
53607
|
+
|
|
53608
|
+
# Resumes a Rollout.
|
|
53609
|
+
# @param [String] project
|
|
53610
|
+
# Required. Project ID for this request.
|
|
53611
|
+
# @param [String] rollout
|
|
53612
|
+
# Required. Name of the Rollout resource to resume.
|
|
53613
|
+
# @param [String] etag
|
|
53614
|
+
# The etag of the Rollout.
|
|
53615
|
+
# If this is provided, the request will only succeed if the etag matches
|
|
53616
|
+
# the current etag of the Rollout.
|
|
53617
|
+
# @param [String] request_id
|
|
53618
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
53619
|
+
# that if you must retry your request, the server will know to ignore the
|
|
53620
|
+
# request if it has already been completed.
|
|
53621
|
+
# For example, consider a situation where you make an initial request and
|
|
53622
|
+
# the request times out. If you make the request again with the same
|
|
53623
|
+
# request ID, the server can check if original operation with the same
|
|
53624
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
53625
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
53626
|
+
# The request ID must be
|
|
53627
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
53628
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
53629
|
+
# @param [String] fields
|
|
53630
|
+
# Selector specifying which fields to include in a partial response.
|
|
53631
|
+
# @param [String] quota_user
|
|
53632
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
53633
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
53634
|
+
# @param [String] user_ip
|
|
53635
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
53636
|
+
# @param [Google::Apis::RequestOptions] options
|
|
53637
|
+
# Request-specific options
|
|
53638
|
+
#
|
|
53639
|
+
# @yield [result, err] Result & error if block supplied
|
|
53640
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
53641
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
53642
|
+
#
|
|
53643
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
53644
|
+
#
|
|
53645
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
53646
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
53647
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
53648
|
+
def resume_rollout(project, rollout, etag: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
53649
|
+
command = make_simple_command(:post, 'projects/{project}/global/rollouts/{rollout}/resume', options)
|
|
53650
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
53651
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
53652
|
+
command.params['project'] = project unless project.nil?
|
|
53653
|
+
command.params['rollout'] = rollout unless rollout.nil?
|
|
53654
|
+
command.query['etag'] = etag unless etag.nil?
|
|
53655
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
53656
|
+
command.query['fields'] = fields unless fields.nil?
|
|
53657
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
53658
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
53659
|
+
execute_or_queue_command(command, &block)
|
|
53660
|
+
end
|
|
53661
|
+
|
|
53502
53662
|
# Retrieves an aggregated list of routers.
|
|
53503
53663
|
# To prevent failure, Google recommends that you set the
|
|
53504
53664
|
# `returnPartialSuccess` parameter to `true`.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-compute_beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.139.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.139.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|