google-apis-compute_v1 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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6c5c1526696c5845a810830db39d916b6781f3cb8e51d56e89bdbc10cb1b1fd
|
4
|
+
data.tar.gz: 28eb9f35a9f9d57ca1fdfb467c2b94639bf15cd734ddb17052ab64ae206ab7a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aea9b53ff6982cb0c4f2fc0ea73e070748860fa48ba6069fcc97661c17e32b3d61c482a401a328b446b45979ca8f29cd063486ca67e3cc905cbdf819dc675687
|
7
|
+
data.tar.gz: 8dc05f1a2619d3919481c799dadfacd1756cf01eaa7285a87493d130a36090995a720e17b4bd38b888fe5ce169d7e2df8c8523d8b06f8c7cf15ff1cfd09a2e43
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-compute_v1
|
2
2
|
|
3
|
+
### v0.70.0 (2023-06-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230530
|
6
|
+
|
7
|
+
### v0.69.0 (2023-05-28)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230516
|
10
|
+
|
3
11
|
### v0.68.0 (2023-05-21)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230509
|
@@ -1424,6 +1424,14 @@ module Google
|
|
1424
1424
|
# @return [String]
|
1425
1425
|
attr_accessor :mode
|
1426
1426
|
|
1427
|
+
# For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field
|
1428
|
+
# is set to PRESERVED if the LocalSSD data has been saved to a persistent
|
1429
|
+
# location by customer request. (see the discard_local_ssd option on Stop/
|
1430
|
+
# Suspend). Read-only in the api.
|
1431
|
+
# Corresponds to the JSON property `savedState`
|
1432
|
+
# @return [String]
|
1433
|
+
attr_accessor :saved_state
|
1434
|
+
|
1427
1435
|
# Initial State for shielded instance, these are public keys which are safe to
|
1428
1436
|
# store in public
|
1429
1437
|
# Corresponds to the JSON property `shieldedInstanceInitialState`
|
@@ -1467,6 +1475,7 @@ module Google
|
|
1467
1475
|
@kind = args[:kind] if args.key?(:kind)
|
1468
1476
|
@licenses = args[:licenses] if args.key?(:licenses)
|
1469
1477
|
@mode = args[:mode] if args.key?(:mode)
|
1478
|
+
@saved_state = args[:saved_state] if args.key?(:saved_state)
|
1470
1479
|
@shielded_instance_initial_state = args[:shielded_instance_initial_state] if args.key?(:shielded_instance_initial_state)
|
1471
1480
|
@source = args[:source] if args.key?(:source)
|
1472
1481
|
@type = args[:type] if args.key?(:type)
|
@@ -2267,13 +2276,16 @@ module Google
|
|
2267
2276
|
class AutoscalingPolicy
|
2268
2277
|
include Google::Apis::Core::Hashable
|
2269
2278
|
|
2270
|
-
# The number of seconds that
|
2271
|
-
#
|
2272
|
-
#
|
2273
|
-
#
|
2274
|
-
#
|
2275
|
-
#
|
2276
|
-
#
|
2279
|
+
# The number of seconds that your application takes to initialize on a VM
|
2280
|
+
# instance. This is referred to as the [initialization period](/compute/docs/
|
2281
|
+
# autoscaler#cool_down_period). Specifying an accurate initialization period
|
2282
|
+
# improves autoscaler decisions. For example, when scaling out, the autoscaler
|
2283
|
+
# ignores data from VMs that are still initializing because those VMs might not
|
2284
|
+
# yet represent normal usage of your application. The default initialization
|
2285
|
+
# period is 60 seconds. Initialization periods might vary because of numerous
|
2286
|
+
# factors. We recommend that you test how long your application takes to
|
2287
|
+
# initialize. To do this, create a VM and time your application's startup
|
2288
|
+
# process.
|
2277
2289
|
# Corresponds to the JSON property `coolDownPeriodSec`
|
2278
2290
|
# @return [Fixnum]
|
2279
2291
|
attr_accessor :cool_down_period_sec
|
@@ -2307,7 +2319,11 @@ module Google
|
|
2307
2319
|
# @return [Fixnum]
|
2308
2320
|
attr_accessor :min_num_replicas
|
2309
2321
|
|
2310
|
-
# Defines operating mode for this policy.
|
2322
|
+
# Defines the operating mode for this policy. The following modes are available:
|
2323
|
+
# - OFF: Disables the autoscaler but maintains its configuration. -
|
2324
|
+
# ONLY_SCALE_OUT: Restricts the autoscaler to add VM instances only. - ON:
|
2325
|
+
# Enables all autoscaler activities according to its policy. For more
|
2326
|
+
# information, see "Turning off or restricting an autoscaler"
|
2311
2327
|
# Corresponds to the JSON property `mode`
|
2312
2328
|
# @return [String]
|
2313
2329
|
attr_accessor :mode
|
@@ -4739,6 +4755,30 @@ module Google
|
|
4739
4755
|
end
|
4740
4756
|
end
|
4741
4757
|
|
4758
|
+
# A transient resource used in compute.disks.bulkInsert and compute.regionDisks.
|
4759
|
+
# bulkInsert. It is only used to process requests and is not persisted.
|
4760
|
+
class BulkInsertDiskResource
|
4761
|
+
include Google::Apis::Core::Hashable
|
4762
|
+
|
4763
|
+
# The URL of the DiskConsistencyGroupPolicy for the group of disks to clone.
|
4764
|
+
# This may be a full or partial URL, such as: - https://www.googleapis.com/
|
4765
|
+
# compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy -
|
4766
|
+
# projects/project/regions/region/resourcePolicies/resourcePolicy - regions/
|
4767
|
+
# region/resourcePolicies/resourcePolicy
|
4768
|
+
# Corresponds to the JSON property `sourceConsistencyGroupPolicy`
|
4769
|
+
# @return [String]
|
4770
|
+
attr_accessor :source_consistency_group_policy
|
4771
|
+
|
4772
|
+
def initialize(**args)
|
4773
|
+
update!(**args)
|
4774
|
+
end
|
4775
|
+
|
4776
|
+
# Update properties of this object
|
4777
|
+
def update!(**args)
|
4778
|
+
@source_consistency_group_policy = args[:source_consistency_group_policy] if args.key?(:source_consistency_group_policy)
|
4779
|
+
end
|
4780
|
+
end
|
4781
|
+
|
4742
4782
|
# A transient resource used in compute.instances.bulkInsert and compute.
|
4743
4783
|
# regionInstances.bulkInsert . This resource is not persisted anywhere, it is
|
4744
4784
|
# used only for processing the requests.
|
@@ -7265,6 +7305,55 @@ module Google
|
|
7265
7305
|
end
|
7266
7306
|
end
|
7267
7307
|
|
7308
|
+
#
|
7309
|
+
class DisksStartAsyncReplicationRequest
|
7310
|
+
include Google::Apis::Core::Hashable
|
7311
|
+
|
7312
|
+
# The secondary disk to start asynchronous replication to. You can provide this
|
7313
|
+
# as a partial or full URL to the resource. For example, the following are valid
|
7314
|
+
# values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /
|
7315
|
+
# disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/
|
7316
|
+
# region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/
|
7317
|
+
# regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk
|
7318
|
+
# Corresponds to the JSON property `asyncSecondaryDisk`
|
7319
|
+
# @return [String]
|
7320
|
+
attr_accessor :async_secondary_disk
|
7321
|
+
|
7322
|
+
def initialize(**args)
|
7323
|
+
update!(**args)
|
7324
|
+
end
|
7325
|
+
|
7326
|
+
# Update properties of this object
|
7327
|
+
def update!(**args)
|
7328
|
+
@async_secondary_disk = args[:async_secondary_disk] if args.key?(:async_secondary_disk)
|
7329
|
+
end
|
7330
|
+
end
|
7331
|
+
|
7332
|
+
# A transient resource used in compute.disks.stopGroupAsyncReplication and
|
7333
|
+
# compute.regionDisks.stopGroupAsyncReplication. It is only used to process
|
7334
|
+
# requests and is not persisted.
|
7335
|
+
class DisksStopGroupAsyncReplicationResource
|
7336
|
+
include Google::Apis::Core::Hashable
|
7337
|
+
|
7338
|
+
# The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This
|
7339
|
+
# may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/
|
7340
|
+
# projects/project/regions/region /resourcePolicies/resourcePolicy - projects/
|
7341
|
+
# project/regions/region/resourcePolicies/resourcePolicy - regions/region/
|
7342
|
+
# resourcePolicies/resourcePolicy
|
7343
|
+
# Corresponds to the JSON property `resourcePolicy`
|
7344
|
+
# @return [String]
|
7345
|
+
attr_accessor :resource_policy
|
7346
|
+
|
7347
|
+
def initialize(**args)
|
7348
|
+
update!(**args)
|
7349
|
+
end
|
7350
|
+
|
7351
|
+
# Update properties of this object
|
7352
|
+
def update!(**args)
|
7353
|
+
@resource_policy = args[:resource_policy] if args.key?(:resource_policy)
|
7354
|
+
end
|
7355
|
+
end
|
7356
|
+
|
7268
7357
|
# A set of Display Device options
|
7269
7358
|
class DisplayDevice
|
7270
7359
|
include Google::Apis::Core::Hashable
|
@@ -10104,8 +10193,8 @@ module Google
|
|
10104
10193
|
# The ID of a supported feature. To add multiple values, use commas to separate
|
10105
10194
|
# values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE -
|
10106
10195
|
# WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE -
|
10107
|
-
# SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE
|
10108
|
-
#
|
10196
|
+
# SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more
|
10197
|
+
# information, see Enabling guest operating system features.
|
10109
10198
|
# Corresponds to the JSON property `type`
|
10110
10199
|
# @return [String]
|
10111
10200
|
attr_accessor :type
|
@@ -21279,8 +21368,8 @@ module Google
|
|
21279
21368
|
class NetworkAttachmentConnectedEndpoint
|
21280
21369
|
include Google::Apis::Core::Hashable
|
21281
21370
|
|
21282
|
-
# The
|
21283
|
-
# will be a range in case of Serverless.
|
21371
|
+
# The IPv4 address assigned to the producer instance network interface. This
|
21372
|
+
# value will be a range in case of Serverless.
|
21284
21373
|
# Corresponds to the JSON property `ipAddress`
|
21285
21374
|
# @return [String]
|
21286
21375
|
attr_accessor :ip_address
|
@@ -28689,6 +28778,30 @@ module Google
|
|
28689
28778
|
end
|
28690
28779
|
end
|
28691
28780
|
|
28781
|
+
#
|
28782
|
+
class RegionDisksStartAsyncReplicationRequest
|
28783
|
+
include Google::Apis::Core::Hashable
|
28784
|
+
|
28785
|
+
# The secondary disk to start asynchronous replication to. You can provide this
|
28786
|
+
# as a partial or full URL to the resource. For example, the following are valid
|
28787
|
+
# values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /
|
28788
|
+
# disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/
|
28789
|
+
# region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/
|
28790
|
+
# regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk
|
28791
|
+
# Corresponds to the JSON property `asyncSecondaryDisk`
|
28792
|
+
# @return [String]
|
28793
|
+
attr_accessor :async_secondary_disk
|
28794
|
+
|
28795
|
+
def initialize(**args)
|
28796
|
+
update!(**args)
|
28797
|
+
end
|
28798
|
+
|
28799
|
+
# Update properties of this object
|
28800
|
+
def update!(**args)
|
28801
|
+
@async_secondary_disk = args[:async_secondary_disk] if args.key?(:async_secondary_disk)
|
28802
|
+
end
|
28803
|
+
end
|
28804
|
+
|
28692
28805
|
# Contains a list of InstanceGroup resources.
|
28693
28806
|
class RegionInstanceGroupList
|
28694
28807
|
include Google::Apis::Core::Hashable
|
@@ -30538,6 +30651,11 @@ module Google
|
|
30538
30651
|
# @return [String]
|
30539
30652
|
attr_accessor :description
|
30540
30653
|
|
30654
|
+
# Resource policy for disk consistency groups.
|
30655
|
+
# Corresponds to the JSON property `diskConsistencyGroupPolicy`
|
30656
|
+
# @return [Google::Apis::ComputeV1::ResourcePolicyDiskConsistencyGroupPolicy]
|
30657
|
+
attr_accessor :disk_consistency_group_policy
|
30658
|
+
|
30541
30659
|
# A GroupPlacementPolicy specifies resource placement configuration. It
|
30542
30660
|
# specifies the failure bucket separation as well as network locality
|
30543
30661
|
# Corresponds to the JSON property `groupPlacementPolicy`
|
@@ -30610,6 +30728,7 @@ module Google
|
|
30610
30728
|
def update!(**args)
|
30611
30729
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
30612
30730
|
@description = args[:description] if args.key?(:description)
|
30731
|
+
@disk_consistency_group_policy = args[:disk_consistency_group_policy] if args.key?(:disk_consistency_group_policy)
|
30613
30732
|
@group_placement_policy = args[:group_placement_policy] if args.key?(:group_placement_policy)
|
30614
30733
|
@id = args[:id] if args.key?(:id)
|
30615
30734
|
@instance_schedule_policy = args[:instance_schedule_policy] if args.key?(:instance_schedule_policy)
|
@@ -30787,6 +30906,19 @@ module Google
|
|
30787
30906
|
end
|
30788
30907
|
end
|
30789
30908
|
|
30909
|
+
# Resource policy for disk consistency groups.
|
30910
|
+
class ResourcePolicyDiskConsistencyGroupPolicy
|
30911
|
+
include Google::Apis::Core::Hashable
|
30912
|
+
|
30913
|
+
def initialize(**args)
|
30914
|
+
update!(**args)
|
30915
|
+
end
|
30916
|
+
|
30917
|
+
# Update properties of this object
|
30918
|
+
def update!(**args)
|
30919
|
+
end
|
30920
|
+
end
|
30921
|
+
|
30790
30922
|
# A GroupPlacementPolicy specifies resource placement configuration. It
|
30791
30923
|
# specifies the failure bucket separation as well as network locality
|
30792
30924
|
class ResourcePolicyGroupPlacementPolicy
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeV1
|
18
18
|
# Version of the google-apis-compute_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.70.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230530"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -538,6 +538,12 @@ module Google
|
|
538
538
|
include Google::Apis::Core::JsonObjectSupport
|
539
539
|
end
|
540
540
|
|
541
|
+
class BulkInsertDiskResource
|
542
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
|
+
|
544
|
+
include Google::Apis::Core::JsonObjectSupport
|
545
|
+
end
|
546
|
+
|
541
547
|
class BulkInsertInstanceResource
|
542
548
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
549
|
|
@@ -862,6 +868,18 @@ module Google
|
|
862
868
|
include Google::Apis::Core::JsonObjectSupport
|
863
869
|
end
|
864
870
|
|
871
|
+
class DisksStartAsyncReplicationRequest
|
872
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
873
|
+
|
874
|
+
include Google::Apis::Core::JsonObjectSupport
|
875
|
+
end
|
876
|
+
|
877
|
+
class DisksStopGroupAsyncReplicationResource
|
878
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
879
|
+
|
880
|
+
include Google::Apis::Core::JsonObjectSupport
|
881
|
+
end
|
882
|
+
|
865
883
|
class DisplayDevice
|
866
884
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
885
|
|
@@ -3640,6 +3658,12 @@ module Google
|
|
3640
3658
|
include Google::Apis::Core::JsonObjectSupport
|
3641
3659
|
end
|
3642
3660
|
|
3661
|
+
class RegionDisksStartAsyncReplicationRequest
|
3662
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3663
|
+
|
3664
|
+
include Google::Apis::Core::JsonObjectSupport
|
3665
|
+
end
|
3666
|
+
|
3643
3667
|
class RegionInstanceGroupList
|
3644
3668
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3645
3669
|
|
@@ -3988,6 +4012,12 @@ module Google
|
|
3988
4012
|
include Google::Apis::Core::JsonObjectSupport
|
3989
4013
|
end
|
3990
4014
|
|
4015
|
+
class ResourcePolicyDiskConsistencyGroupPolicy
|
4016
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4017
|
+
|
4018
|
+
include Google::Apis::Core::JsonObjectSupport
|
4019
|
+
end
|
4020
|
+
|
3991
4021
|
class ResourcePolicyGroupPlacementPolicy
|
3992
4022
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3993
4023
|
|
@@ -6233,6 +6263,7 @@ module Google
|
|
6233
6263
|
property :kind, as: 'kind'
|
6234
6264
|
collection :licenses, as: 'licenses'
|
6235
6265
|
property :mode, as: 'mode'
|
6266
|
+
property :saved_state, as: 'savedState'
|
6236
6267
|
property :shielded_instance_initial_state, as: 'shieldedInstanceInitialState', class: Google::Apis::ComputeV1::InitialStateConfig, decorator: Google::Apis::ComputeV1::InitialStateConfig::Representation
|
6237
6268
|
|
6238
6269
|
property :source, as: 'source'
|
@@ -6928,6 +6959,13 @@ module Google
|
|
6928
6959
|
end
|
6929
6960
|
end
|
6930
6961
|
|
6962
|
+
class BulkInsertDiskResource
|
6963
|
+
# @private
|
6964
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6965
|
+
property :source_consistency_group_policy, as: 'sourceConsistencyGroupPolicy'
|
6966
|
+
end
|
6967
|
+
end
|
6968
|
+
|
6931
6969
|
class BulkInsertInstanceResource
|
6932
6970
|
# @private
|
6933
6971
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7538,6 +7576,20 @@ module Google
|
|
7538
7576
|
end
|
7539
7577
|
end
|
7540
7578
|
|
7579
|
+
class DisksStartAsyncReplicationRequest
|
7580
|
+
# @private
|
7581
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7582
|
+
property :async_secondary_disk, as: 'asyncSecondaryDisk'
|
7583
|
+
end
|
7584
|
+
end
|
7585
|
+
|
7586
|
+
class DisksStopGroupAsyncReplicationResource
|
7587
|
+
# @private
|
7588
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7589
|
+
property :resource_policy, as: 'resourcePolicy'
|
7590
|
+
end
|
7591
|
+
end
|
7592
|
+
|
7541
7593
|
class DisplayDevice
|
7542
7594
|
# @private
|
7543
7595
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12798,6 +12850,13 @@ module Google
|
|
12798
12850
|
end
|
12799
12851
|
end
|
12800
12852
|
|
12853
|
+
class RegionDisksStartAsyncReplicationRequest
|
12854
|
+
# @private
|
12855
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12856
|
+
property :async_secondary_disk, as: 'asyncSecondaryDisk'
|
12857
|
+
end
|
12858
|
+
end
|
12859
|
+
|
12801
12860
|
class RegionInstanceGroupList
|
12802
12861
|
# @private
|
12803
12862
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13312,6 +13371,8 @@ module Google
|
|
13312
13371
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13313
13372
|
property :creation_timestamp, as: 'creationTimestamp'
|
13314
13373
|
property :description, as: 'description'
|
13374
|
+
property :disk_consistency_group_policy, as: 'diskConsistencyGroupPolicy', class: Google::Apis::ComputeV1::ResourcePolicyDiskConsistencyGroupPolicy, decorator: Google::Apis::ComputeV1::ResourcePolicyDiskConsistencyGroupPolicy::Representation
|
13375
|
+
|
13315
13376
|
property :group_placement_policy, as: 'groupPlacementPolicy', class: Google::Apis::ComputeV1::ResourcePolicyGroupPlacementPolicy, decorator: Google::Apis::ComputeV1::ResourcePolicyGroupPlacementPolicy::Representation
|
13316
13377
|
|
13317
13378
|
property :id, :numeric_string => true, as: 'id'
|
@@ -13372,6 +13433,12 @@ module Google
|
|
13372
13433
|
end
|
13373
13434
|
end
|
13374
13435
|
|
13436
|
+
class ResourcePolicyDiskConsistencyGroupPolicy
|
13437
|
+
# @private
|
13438
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13439
|
+
end
|
13440
|
+
end
|
13441
|
+
|
13375
13442
|
class ResourcePolicyGroupPlacementPolicy
|
13376
13443
|
# @private
|
13377
13444
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2749,6 +2749,56 @@ module Google
|
|
2749
2749
|
execute_or_queue_command(command, &block)
|
2750
2750
|
end
|
2751
2751
|
|
2752
|
+
# Bulk create a set of disks.
|
2753
|
+
# @param [String] project
|
2754
|
+
# Project ID for this request.
|
2755
|
+
# @param [String] zone
|
2756
|
+
# The name of the zone for this request.
|
2757
|
+
# @param [Google::Apis::ComputeV1::BulkInsertDiskResource] bulk_insert_disk_resource_object
|
2758
|
+
# @param [String] request_id
|
2759
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
2760
|
+
# that if you must retry your request, the server will know to ignore the
|
2761
|
+
# request if it has already been completed. For example, consider a situation
|
2762
|
+
# where you make an initial request and the request times out. If you make the
|
2763
|
+
# request again with the same request ID, the server can check if original
|
2764
|
+
# operation with the same request ID was received, and if so, will ignore the
|
2765
|
+
# second request. This prevents clients from accidentally creating duplicate
|
2766
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
2767
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
2768
|
+
# @param [String] fields
|
2769
|
+
# Selector specifying which fields to include in a partial response.
|
2770
|
+
# @param [String] quota_user
|
2771
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2772
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2773
|
+
# @param [String] user_ip
|
2774
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
2775
|
+
# @param [Google::Apis::RequestOptions] options
|
2776
|
+
# Request-specific options
|
2777
|
+
#
|
2778
|
+
# @yield [result, err] Result & error if block supplied
|
2779
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
2780
|
+
# @yieldparam err [StandardError] error object if request failed
|
2781
|
+
#
|
2782
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
2783
|
+
#
|
2784
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2785
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2786
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2787
|
+
def bulk_disk_insert(project, zone, bulk_insert_disk_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2788
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/bulkInsert', options)
|
2789
|
+
command.request_representation = Google::Apis::ComputeV1::BulkInsertDiskResource::Representation
|
2790
|
+
command.request_object = bulk_insert_disk_resource_object
|
2791
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
2792
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
2793
|
+
command.params['project'] = project unless project.nil?
|
2794
|
+
command.params['zone'] = zone unless zone.nil?
|
2795
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2796
|
+
command.query['fields'] = fields unless fields.nil?
|
2797
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2798
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2799
|
+
execute_or_queue_command(command, &block)
|
2800
|
+
end
|
2801
|
+
|
2752
2802
|
# Creates a snapshot of a specified persistent disk. For regular snapshot
|
2753
2803
|
# creation, consider using snapshots.insert instead, as that method supports
|
2754
2804
|
# more features, such as creating snapshots in a project different from the
|
@@ -3295,6 +3345,162 @@ module Google
|
|
3295
3345
|
execute_or_queue_command(command, &block)
|
3296
3346
|
end
|
3297
3347
|
|
3348
|
+
# Starts asynchronous replication. Must be invoked on the primary disk.
|
3349
|
+
# @param [String] project
|
3350
|
+
# Project ID for this request.
|
3351
|
+
# @param [String] zone
|
3352
|
+
# The name of the zone for this request.
|
3353
|
+
# @param [String] disk
|
3354
|
+
# The name of the persistent disk.
|
3355
|
+
# @param [Google::Apis::ComputeV1::DisksStartAsyncReplicationRequest] disks_start_async_replication_request_object
|
3356
|
+
# @param [String] request_id
|
3357
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
3358
|
+
# that if you must retry your request, the server will know to ignore the
|
3359
|
+
# request if it has already been completed. For example, consider a situation
|
3360
|
+
# where you make an initial request and the request times out. If you make the
|
3361
|
+
# request again with the same request ID, the server can check if original
|
3362
|
+
# operation with the same request ID was received, and if so, will ignore the
|
3363
|
+
# second request. This prevents clients from accidentally creating duplicate
|
3364
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
3365
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
3366
|
+
# @param [String] fields
|
3367
|
+
# Selector specifying which fields to include in a partial response.
|
3368
|
+
# @param [String] quota_user
|
3369
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3370
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3371
|
+
# @param [String] user_ip
|
3372
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
3373
|
+
# @param [Google::Apis::RequestOptions] options
|
3374
|
+
# Request-specific options
|
3375
|
+
#
|
3376
|
+
# @yield [result, err] Result & error if block supplied
|
3377
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
3378
|
+
# @yieldparam err [StandardError] error object if request failed
|
3379
|
+
#
|
3380
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
3381
|
+
#
|
3382
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3383
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3384
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3385
|
+
def start_disk_async_replication(project, zone, disk, disks_start_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3386
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/startAsyncReplication', options)
|
3387
|
+
command.request_representation = Google::Apis::ComputeV1::DisksStartAsyncReplicationRequest::Representation
|
3388
|
+
command.request_object = disks_start_async_replication_request_object
|
3389
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
3390
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
3391
|
+
command.params['project'] = project unless project.nil?
|
3392
|
+
command.params['zone'] = zone unless zone.nil?
|
3393
|
+
command.params['disk'] = disk unless disk.nil?
|
3394
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3395
|
+
command.query['fields'] = fields unless fields.nil?
|
3396
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3397
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3398
|
+
execute_or_queue_command(command, &block)
|
3399
|
+
end
|
3400
|
+
|
3401
|
+
# Stops asynchronous replication. Can be invoked either on the primary or on the
|
3402
|
+
# secondary disk.
|
3403
|
+
# @param [String] project
|
3404
|
+
# Project ID for this request.
|
3405
|
+
# @param [String] zone
|
3406
|
+
# The name of the zone for this request.
|
3407
|
+
# @param [String] disk
|
3408
|
+
# The name of the persistent disk.
|
3409
|
+
# @param [String] request_id
|
3410
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
3411
|
+
# that if you must retry your request, the server will know to ignore the
|
3412
|
+
# request if it has already been completed. For example, consider a situation
|
3413
|
+
# where you make an initial request and the request times out. If you make the
|
3414
|
+
# request again with the same request ID, the server can check if original
|
3415
|
+
# operation with the same request ID was received, and if so, will ignore the
|
3416
|
+
# second request. This prevents clients from accidentally creating duplicate
|
3417
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
3418
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
3419
|
+
# @param [String] fields
|
3420
|
+
# Selector specifying which fields to include in a partial response.
|
3421
|
+
# @param [String] quota_user
|
3422
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3423
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3424
|
+
# @param [String] user_ip
|
3425
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
3426
|
+
# @param [Google::Apis::RequestOptions] options
|
3427
|
+
# Request-specific options
|
3428
|
+
#
|
3429
|
+
# @yield [result, err] Result & error if block supplied
|
3430
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
3431
|
+
# @yieldparam err [StandardError] error object if request failed
|
3432
|
+
#
|
3433
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
3434
|
+
#
|
3435
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3436
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3437
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3438
|
+
def stop_disk_async_replication(project, zone, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3439
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/stopAsyncReplication', options)
|
3440
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
3441
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
3442
|
+
command.params['project'] = project unless project.nil?
|
3443
|
+
command.params['zone'] = zone unless zone.nil?
|
3444
|
+
command.params['disk'] = disk unless disk.nil?
|
3445
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3446
|
+
command.query['fields'] = fields unless fields.nil?
|
3447
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3448
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3449
|
+
execute_or_queue_command(command, &block)
|
3450
|
+
end
|
3451
|
+
|
3452
|
+
# Stops asynchronous replication for a consistency group of disks. Can be
|
3453
|
+
# invoked either in the primary or secondary scope.
|
3454
|
+
# @param [String] project
|
3455
|
+
# Project ID for this request.
|
3456
|
+
# @param [String] zone
|
3457
|
+
# The name of the zone for this request. This must be the zone of the primary or
|
3458
|
+
# secondary disks in the consistency group.
|
3459
|
+
# @param [Google::Apis::ComputeV1::DisksStopGroupAsyncReplicationResource] disks_stop_group_async_replication_resource_object
|
3460
|
+
# @param [String] request_id
|
3461
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
3462
|
+
# that if you must retry your request, the server will know to ignore the
|
3463
|
+
# request if it has already been completed. For example, consider a situation
|
3464
|
+
# where you make an initial request and the request times out. If you make the
|
3465
|
+
# request again with the same request ID, the server can check if original
|
3466
|
+
# operation with the same request ID was received, and if so, will ignore the
|
3467
|
+
# second request. This prevents clients from accidentally creating duplicate
|
3468
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
3469
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
3470
|
+
# @param [String] fields
|
3471
|
+
# Selector specifying which fields to include in a partial response.
|
3472
|
+
# @param [String] quota_user
|
3473
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3474
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3475
|
+
# @param [String] user_ip
|
3476
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
3477
|
+
# @param [Google::Apis::RequestOptions] options
|
3478
|
+
# Request-specific options
|
3479
|
+
#
|
3480
|
+
# @yield [result, err] Result & error if block supplied
|
3481
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
3482
|
+
# @yieldparam err [StandardError] error object if request failed
|
3483
|
+
#
|
3484
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
3485
|
+
#
|
3486
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3487
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3488
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3489
|
+
def stop_disk_group_async_replication(project, zone, disks_stop_group_async_replication_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3490
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/stopGroupAsyncReplication', options)
|
3491
|
+
command.request_representation = Google::Apis::ComputeV1::DisksStopGroupAsyncReplicationResource::Representation
|
3492
|
+
command.request_object = disks_stop_group_async_replication_resource_object
|
3493
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
3494
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
3495
|
+
command.params['project'] = project unless project.nil?
|
3496
|
+
command.params['zone'] = zone unless zone.nil?
|
3497
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3498
|
+
command.query['fields'] = fields unless fields.nil?
|
3499
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3500
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3501
|
+
execute_or_queue_command(command, &block)
|
3502
|
+
end
|
3503
|
+
|
3298
3504
|
# Returns permissions that a caller has on the specified resource.
|
3299
3505
|
# @param [String] project
|
3300
3506
|
# Project ID for this request.
|
@@ -23042,6 +23248,56 @@ module Google
|
|
23042
23248
|
execute_or_queue_command(command, &block)
|
23043
23249
|
end
|
23044
23250
|
|
23251
|
+
# Bulk create a set of disks.
|
23252
|
+
# @param [String] project
|
23253
|
+
# Project ID for this request.
|
23254
|
+
# @param [String] region
|
23255
|
+
# The name of the region for this request.
|
23256
|
+
# @param [Google::Apis::ComputeV1::BulkInsertDiskResource] bulk_insert_disk_resource_object
|
23257
|
+
# @param [String] request_id
|
23258
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
23259
|
+
# that if you must retry your request, the server will know to ignore the
|
23260
|
+
# request if it has already been completed. For example, consider a situation
|
23261
|
+
# where you make an initial request and the request times out. If you make the
|
23262
|
+
# request again with the same request ID, the server can check if original
|
23263
|
+
# operation with the same request ID was received, and if so, will ignore the
|
23264
|
+
# second request. This prevents clients from accidentally creating duplicate
|
23265
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
23266
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23267
|
+
# @param [String] fields
|
23268
|
+
# Selector specifying which fields to include in a partial response.
|
23269
|
+
# @param [String] quota_user
|
23270
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23271
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23272
|
+
# @param [String] user_ip
|
23273
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
23274
|
+
# @param [Google::Apis::RequestOptions] options
|
23275
|
+
# Request-specific options
|
23276
|
+
#
|
23277
|
+
# @yield [result, err] Result & error if block supplied
|
23278
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
23279
|
+
# @yieldparam err [StandardError] error object if request failed
|
23280
|
+
#
|
23281
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
23282
|
+
#
|
23283
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23284
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23285
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23286
|
+
def bulk_region_disk_insert(project, region, bulk_insert_disk_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
23287
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/bulkInsert', options)
|
23288
|
+
command.request_representation = Google::Apis::ComputeV1::BulkInsertDiskResource::Representation
|
23289
|
+
command.request_object = bulk_insert_disk_resource_object
|
23290
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
23291
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
23292
|
+
command.params['project'] = project unless project.nil?
|
23293
|
+
command.params['region'] = region unless region.nil?
|
23294
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
23295
|
+
command.query['fields'] = fields unless fields.nil?
|
23296
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23297
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
23298
|
+
execute_or_queue_command(command, &block)
|
23299
|
+
end
|
23300
|
+
|
23045
23301
|
# Creates a snapshot of a specified persistent disk. For regular snapshot
|
23046
23302
|
# creation, consider using snapshots.insert instead, as that method supports
|
23047
23303
|
# more features, such as creating snapshots in a project different from the
|
@@ -23580,6 +23836,162 @@ module Google
|
|
23580
23836
|
execute_or_queue_command(command, &block)
|
23581
23837
|
end
|
23582
23838
|
|
23839
|
+
# Starts asynchronous replication. Must be invoked on the primary disk.
|
23840
|
+
# @param [String] project
|
23841
|
+
# Project ID for this request.
|
23842
|
+
# @param [String] region
|
23843
|
+
# The name of the region for this request.
|
23844
|
+
# @param [String] disk
|
23845
|
+
# The name of the persistent disk.
|
23846
|
+
# @param [Google::Apis::ComputeV1::RegionDisksStartAsyncReplicationRequest] region_disks_start_async_replication_request_object
|
23847
|
+
# @param [String] request_id
|
23848
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
23849
|
+
# that if you must retry your request, the server will know to ignore the
|
23850
|
+
# request if it has already been completed. For example, consider a situation
|
23851
|
+
# where you make an initial request and the request times out. If you make the
|
23852
|
+
# request again with the same request ID, the server can check if original
|
23853
|
+
# operation with the same request ID was received, and if so, will ignore the
|
23854
|
+
# second request. This prevents clients from accidentally creating duplicate
|
23855
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
23856
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23857
|
+
# @param [String] fields
|
23858
|
+
# Selector specifying which fields to include in a partial response.
|
23859
|
+
# @param [String] quota_user
|
23860
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23861
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23862
|
+
# @param [String] user_ip
|
23863
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
23864
|
+
# @param [Google::Apis::RequestOptions] options
|
23865
|
+
# Request-specific options
|
23866
|
+
#
|
23867
|
+
# @yield [result, err] Result & error if block supplied
|
23868
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
23869
|
+
# @yieldparam err [StandardError] error object if request failed
|
23870
|
+
#
|
23871
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
23872
|
+
#
|
23873
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23874
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23875
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23876
|
+
def start_region_disk_async_replication(project, region, disk, region_disks_start_async_replication_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
23877
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/startAsyncReplication', options)
|
23878
|
+
command.request_representation = Google::Apis::ComputeV1::RegionDisksStartAsyncReplicationRequest::Representation
|
23879
|
+
command.request_object = region_disks_start_async_replication_request_object
|
23880
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
23881
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
23882
|
+
command.params['project'] = project unless project.nil?
|
23883
|
+
command.params['region'] = region unless region.nil?
|
23884
|
+
command.params['disk'] = disk unless disk.nil?
|
23885
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
23886
|
+
command.query['fields'] = fields unless fields.nil?
|
23887
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23888
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
23889
|
+
execute_or_queue_command(command, &block)
|
23890
|
+
end
|
23891
|
+
|
23892
|
+
# Stops asynchronous replication. Can be invoked either on the primary or on the
|
23893
|
+
# secondary disk.
|
23894
|
+
# @param [String] project
|
23895
|
+
# Project ID for this request.
|
23896
|
+
# @param [String] region
|
23897
|
+
# The name of the region for this request.
|
23898
|
+
# @param [String] disk
|
23899
|
+
# The name of the persistent disk.
|
23900
|
+
# @param [String] request_id
|
23901
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
23902
|
+
# that if you must retry your request, the server will know to ignore the
|
23903
|
+
# request if it has already been completed. For example, consider a situation
|
23904
|
+
# where you make an initial request and the request times out. If you make the
|
23905
|
+
# request again with the same request ID, the server can check if original
|
23906
|
+
# operation with the same request ID was received, and if so, will ignore the
|
23907
|
+
# second request. This prevents clients from accidentally creating duplicate
|
23908
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
23909
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23910
|
+
# @param [String] fields
|
23911
|
+
# Selector specifying which fields to include in a partial response.
|
23912
|
+
# @param [String] quota_user
|
23913
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23914
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23915
|
+
# @param [String] user_ip
|
23916
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
23917
|
+
# @param [Google::Apis::RequestOptions] options
|
23918
|
+
# Request-specific options
|
23919
|
+
#
|
23920
|
+
# @yield [result, err] Result & error if block supplied
|
23921
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
23922
|
+
# @yieldparam err [StandardError] error object if request failed
|
23923
|
+
#
|
23924
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
23925
|
+
#
|
23926
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23927
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23928
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23929
|
+
def stop_region_disk_async_replication(project, region, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
23930
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/stopAsyncReplication', options)
|
23931
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
23932
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
23933
|
+
command.params['project'] = project unless project.nil?
|
23934
|
+
command.params['region'] = region unless region.nil?
|
23935
|
+
command.params['disk'] = disk unless disk.nil?
|
23936
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
23937
|
+
command.query['fields'] = fields unless fields.nil?
|
23938
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23939
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
23940
|
+
execute_or_queue_command(command, &block)
|
23941
|
+
end
|
23942
|
+
|
23943
|
+
# Stops asynchronous replication for a consistency group of disks. Can be
|
23944
|
+
# invoked either in the primary or secondary scope.
|
23945
|
+
# @param [String] project
|
23946
|
+
# Project ID for this request.
|
23947
|
+
# @param [String] region
|
23948
|
+
# The name of the region for this request. This must be the region of the
|
23949
|
+
# primary or secondary disks in the consistency group.
|
23950
|
+
# @param [Google::Apis::ComputeV1::DisksStopGroupAsyncReplicationResource] disks_stop_group_async_replication_resource_object
|
23951
|
+
# @param [String] request_id
|
23952
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
23953
|
+
# that if you must retry your request, the server will know to ignore the
|
23954
|
+
# request if it has already been completed. For example, consider a situation
|
23955
|
+
# where you make an initial request and the request times out. If you make the
|
23956
|
+
# request again with the same request ID, the server can check if original
|
23957
|
+
# operation with the same request ID was received, and if so, will ignore the
|
23958
|
+
# second request. This prevents clients from accidentally creating duplicate
|
23959
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
23960
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23961
|
+
# @param [String] fields
|
23962
|
+
# Selector specifying which fields to include in a partial response.
|
23963
|
+
# @param [String] quota_user
|
23964
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23965
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23966
|
+
# @param [String] user_ip
|
23967
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
23968
|
+
# @param [Google::Apis::RequestOptions] options
|
23969
|
+
# Request-specific options
|
23970
|
+
#
|
23971
|
+
# @yield [result, err] Result & error if block supplied
|
23972
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
23973
|
+
# @yieldparam err [StandardError] error object if request failed
|
23974
|
+
#
|
23975
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
23976
|
+
#
|
23977
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23978
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23979
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23980
|
+
def stop_region_disk_group_async_replication(project, region, disks_stop_group_async_replication_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
23981
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/stopGroupAsyncReplication', options)
|
23982
|
+
command.request_representation = Google::Apis::ComputeV1::DisksStopGroupAsyncReplicationResource::Representation
|
23983
|
+
command.request_object = disks_stop_group_async_replication_resource_object
|
23984
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
23985
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
23986
|
+
command.params['project'] = project unless project.nil?
|
23987
|
+
command.params['region'] = region unless region.nil?
|
23988
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
23989
|
+
command.query['fields'] = fields unless fields.nil?
|
23990
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23991
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
23992
|
+
execute_or_queue_command(command, &block)
|
23993
|
+
end
|
23994
|
+
|
23583
23995
|
# Returns permissions that a caller has on the specified resource.
|
23584
23996
|
# @param [String] project
|
23585
23997
|
# Project ID for this request.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.70.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: 2023-
|
11
|
+
date: 2023-06-11 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.70.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|