google-apis-compute_v1 0.69.0 → 0.71.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: 6c8ed37f7f4ed231a552425feb0db1e5eef7ed2b5552f75d95ac4e22eed2aed6
4
- data.tar.gz: bafda83ef73e58358d8c467727f05b981d081f6d52675e2049fd3d2a3c26e95c
3
+ metadata.gz: 11c2160708cc9fd5638860dff7b003ee7933890b73212ef045f18153a9df41b8
4
+ data.tar.gz: 44353c4ab42f618b14063fed9d22a5f9119ed7bb8ba88e1628b89a91d6c1e2ac
5
5
  SHA512:
6
- metadata.gz: 33bb622083003d1de13ab17776eb3a640743a12d809c8ebe3caad425263fe452b267425c6a2a4abf956efa1137a47ccc26393a56e6e5571881252362f9b48a02
7
- data.tar.gz: 0da5d4da5f6336c07b1c4144199b8febdca3686eed59cf565bfb2cbeaf130b379d42039f4f7b343e76539f8d20e21dcedd114c951911c12d613848597027b469
6
+ metadata.gz: 8d8816b079fd98a5e4936baafeea7f31aaaa582696106e5963569a5bdaedca2f7d51cb1800a2fe05ea67e4d3f848321106a6792c9e973ba2996f5d704e985b35
7
+ data.tar.gz: cf9d56eee6cd2c5db479ccdf1b8f43f3923039d0eb0bed8b228eb968d8e0ac26bd4cce1c80c3c2fca00fd7c5acbc82818218e3ac229282b8f78973c057f6ecf6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.71.0 (2023-06-18)
4
+
5
+ * Regenerated from discovery document revision 20230606
6
+
7
+ ### v0.70.0 (2023-06-11)
8
+
9
+ * Regenerated from discovery document revision 20230530
10
+
3
11
  ### v0.69.0 (2023-05-28)
4
12
 
5
13
  * Regenerated from discovery document revision 20230516
@@ -4755,6 +4755,30 @@ module Google
4755
4755
  end
4756
4756
  end
4757
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
+
4758
4782
  # A transient resource used in compute.instances.bulkInsert and compute.
4759
4783
  # regionInstances.bulkInsert . This resource is not persisted anywhere, it is
4760
4784
  # used only for processing the requests.
@@ -5738,7 +5762,9 @@ module Google
5738
5762
 
5739
5763
  # The name of the encryption key that is stored in Google Cloud KMS. For example:
5740
5764
  # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/
5741
- # cryptoKeys/key
5765
+ # cryptoKeys/key The fully-qualifed key name may be returned for resource GET
5766
+ # requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/
5767
+ # keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
5742
5768
  # Corresponds to the JSON property `kmsKeyName`
5743
5769
  # @return [String]
5744
5770
  attr_accessor :kms_key_name
@@ -7281,6 +7307,55 @@ module Google
7281
7307
  end
7282
7308
  end
7283
7309
 
7310
+ #
7311
+ class DisksStartAsyncReplicationRequest
7312
+ include Google::Apis::Core::Hashable
7313
+
7314
+ # The secondary disk to start asynchronous replication to. You can provide this
7315
+ # as a partial or full URL to the resource. For example, the following are valid
7316
+ # values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /
7317
+ # disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/
7318
+ # region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/
7319
+ # regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk
7320
+ # Corresponds to the JSON property `asyncSecondaryDisk`
7321
+ # @return [String]
7322
+ attr_accessor :async_secondary_disk
7323
+
7324
+ def initialize(**args)
7325
+ update!(**args)
7326
+ end
7327
+
7328
+ # Update properties of this object
7329
+ def update!(**args)
7330
+ @async_secondary_disk = args[:async_secondary_disk] if args.key?(:async_secondary_disk)
7331
+ end
7332
+ end
7333
+
7334
+ # A transient resource used in compute.disks.stopGroupAsyncReplication and
7335
+ # compute.regionDisks.stopGroupAsyncReplication. It is only used to process
7336
+ # requests and is not persisted.
7337
+ class DisksStopGroupAsyncReplicationResource
7338
+ include Google::Apis::Core::Hashable
7339
+
7340
+ # The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This
7341
+ # may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/
7342
+ # projects/project/regions/region /resourcePolicies/resourcePolicy - projects/
7343
+ # project/regions/region/resourcePolicies/resourcePolicy - regions/region/
7344
+ # resourcePolicies/resourcePolicy
7345
+ # Corresponds to the JSON property `resourcePolicy`
7346
+ # @return [String]
7347
+ attr_accessor :resource_policy
7348
+
7349
+ def initialize(**args)
7350
+ update!(**args)
7351
+ end
7352
+
7353
+ # Update properties of this object
7354
+ def update!(**args)
7355
+ @resource_policy = args[:resource_policy] if args.key?(:resource_policy)
7356
+ end
7357
+ end
7358
+
7284
7359
  # A set of Display Device options
7285
7360
  class DisplayDevice
7286
7361
  include Google::Apis::Core::Hashable
@@ -13115,6 +13190,16 @@ module Google
13115
13190
  # @return [Fixnum]
13116
13191
  attr_accessor :id
13117
13192
 
13193
+ # Encrypts suspended data for an instance with a customer-managed encryption key.
13194
+ # If you are creating a new instance, this field will encrypt the local SSD and
13195
+ # in-memory contents of the instance during the suspend operation. If you do not
13196
+ # provide an encryption key when creating the instance, then the local SSD and
13197
+ # in-memory contents will be encrypted using an automatically generated key
13198
+ # during the suspend operation.
13199
+ # Corresponds to the JSON property `instanceEncryptionKey`
13200
+ # @return [Google::Apis::ComputeV1::CustomerEncryptionKey]
13201
+ attr_accessor :instance_encryption_key
13202
+
13118
13203
  # KeyRevocationActionType of the instance. Supported options are "STOP" and "
13119
13204
  # NONE". The default value is "NONE" if it is not specified.
13120
13205
  # Corresponds to the JSON property `keyRevocationActionType`
@@ -13334,6 +13419,7 @@ module Google
13334
13419
  @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
13335
13420
  @hostname = args[:hostname] if args.key?(:hostname)
13336
13421
  @id = args[:id] if args.key?(:id)
13422
+ @instance_encryption_key = args[:instance_encryption_key] if args.key?(:instance_encryption_key)
13337
13423
  @key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
13338
13424
  @kind = args[:kind] if args.key?(:kind)
13339
13425
  @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@@ -28705,6 +28791,30 @@ module Google
28705
28791
  end
28706
28792
  end
28707
28793
 
28794
+ #
28795
+ class RegionDisksStartAsyncReplicationRequest
28796
+ include Google::Apis::Core::Hashable
28797
+
28798
+ # The secondary disk to start asynchronous replication to. You can provide this
28799
+ # as a partial or full URL to the resource. For example, the following are valid
28800
+ # values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /
28801
+ # disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/
28802
+ # region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/
28803
+ # regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk
28804
+ # Corresponds to the JSON property `asyncSecondaryDisk`
28805
+ # @return [String]
28806
+ attr_accessor :async_secondary_disk
28807
+
28808
+ def initialize(**args)
28809
+ update!(**args)
28810
+ end
28811
+
28812
+ # Update properties of this object
28813
+ def update!(**args)
28814
+ @async_secondary_disk = args[:async_secondary_disk] if args.key?(:async_secondary_disk)
28815
+ end
28816
+ end
28817
+
28708
28818
  # Contains a list of InstanceGroup resources.
28709
28819
  class RegionInstanceGroupList
28710
28820
  include Google::Apis::Core::Hashable
@@ -30554,6 +30664,11 @@ module Google
30554
30664
  # @return [String]
30555
30665
  attr_accessor :description
30556
30666
 
30667
+ # Resource policy for disk consistency groups.
30668
+ # Corresponds to the JSON property `diskConsistencyGroupPolicy`
30669
+ # @return [Google::Apis::ComputeV1::ResourcePolicyDiskConsistencyGroupPolicy]
30670
+ attr_accessor :disk_consistency_group_policy
30671
+
30557
30672
  # A GroupPlacementPolicy specifies resource placement configuration. It
30558
30673
  # specifies the failure bucket separation as well as network locality
30559
30674
  # Corresponds to the JSON property `groupPlacementPolicy`
@@ -30626,6 +30741,7 @@ module Google
30626
30741
  def update!(**args)
30627
30742
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
30628
30743
  @description = args[:description] if args.key?(:description)
30744
+ @disk_consistency_group_policy = args[:disk_consistency_group_policy] if args.key?(:disk_consistency_group_policy)
30629
30745
  @group_placement_policy = args[:group_placement_policy] if args.key?(:group_placement_policy)
30630
30746
  @id = args[:id] if args.key?(:id)
30631
30747
  @instance_schedule_policy = args[:instance_schedule_policy] if args.key?(:instance_schedule_policy)
@@ -30803,6 +30919,19 @@ module Google
30803
30919
  end
30804
30920
  end
30805
30921
 
30922
+ # Resource policy for disk consistency groups.
30923
+ class ResourcePolicyDiskConsistencyGroupPolicy
30924
+ include Google::Apis::Core::Hashable
30925
+
30926
+ def initialize(**args)
30927
+ update!(**args)
30928
+ end
30929
+
30930
+ # Update properties of this object
30931
+ def update!(**args)
30932
+ end
30933
+ end
30934
+
30806
30935
  # A GroupPlacementPolicy specifies resource placement configuration. It
30807
30936
  # specifies the failure bucket separation as well as network locality
30808
30937
  class ResourcePolicyGroupPlacementPolicy
@@ -32058,6 +32187,20 @@ module Google
32058
32187
  # @return [Google::Apis::ComputeV1::RouterBgpPeerBfd]
32059
32188
  attr_accessor :bfd
32060
32189
 
32190
+ # A list of user-defined custom learned route IP address ranges for a BGP
32191
+ # session.
32192
+ # Corresponds to the JSON property `customLearnedIpRanges`
32193
+ # @return [Array<Google::Apis::ComputeV1::RouterBgpPeerCustomLearnedIpRange>]
32194
+ attr_accessor :custom_learned_ip_ranges
32195
+
32196
+ # The user-defined custom learned route priority for a BGP session. This value
32197
+ # is applied to all custom learned route ranges for the session. You can choose
32198
+ # a value from `0` to `65335`. If you don't provide a value, Google Cloud
32199
+ # assigns a priority of `100` to the ranges.
32200
+ # Corresponds to the JSON property `customLearnedRoutePriority`
32201
+ # @return [Fixnum]
32202
+ attr_accessor :custom_learned_route_priority
32203
+
32061
32204
  # The status of the BGP peer connection. If set to FALSE, any active session
32062
32205
  # with the peer is terminated and all associated routing information is removed.
32063
32206
  # If set to TRUE, the peer connection can be established with routing
@@ -32151,6 +32294,8 @@ module Google
32151
32294
  @advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges)
32152
32295
  @advertised_route_priority = args[:advertised_route_priority] if args.key?(:advertised_route_priority)
32153
32296
  @bfd = args[:bfd] if args.key?(:bfd)
32297
+ @custom_learned_ip_ranges = args[:custom_learned_ip_ranges] if args.key?(:custom_learned_ip_ranges)
32298
+ @custom_learned_route_priority = args[:custom_learned_route_priority] if args.key?(:custom_learned_route_priority)
32154
32299
  @enable = args[:enable] if args.key?(:enable)
32155
32300
  @enable_ipv6 = args[:enable_ipv6] if args.key?(:enable_ipv6)
32156
32301
  @interface_name = args[:interface_name] if args.key?(:interface_name)
@@ -32217,6 +32362,27 @@ module Google
32217
32362
  end
32218
32363
  end
32219
32364
 
32365
+ #
32366
+ class RouterBgpPeerCustomLearnedIpRange
32367
+ include Google::Apis::Core::Hashable
32368
+
32369
+ # The custom learned route IP address range. Must be a valid CIDR-formatted
32370
+ # prefix. If an IP address is provided without a subnet mask, it is interpreted
32371
+ # as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`.
32372
+ # Corresponds to the JSON property `range`
32373
+ # @return [String]
32374
+ attr_accessor :range
32375
+
32376
+ def initialize(**args)
32377
+ update!(**args)
32378
+ end
32379
+
32380
+ # Update properties of this object
32381
+ def update!(**args)
32382
+ @range = args[:range] if args.key?(:range)
32383
+ end
32384
+ end
32385
+
32220
32386
  #
32221
32387
  class RouterInterface
32222
32388
  include Google::Apis::Core::Hashable
@@ -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.69.0"
19
+ GEM_VERSION = "0.71.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 = "20230516"
25
+ REVISION = "20230606"
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
 
@@ -4174,6 +4204,12 @@ module Google
4174
4204
  include Google::Apis::Core::JsonObjectSupport
4175
4205
  end
4176
4206
 
4207
+ class RouterBgpPeerCustomLearnedIpRange
4208
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4209
+
4210
+ include Google::Apis::Core::JsonObjectSupport
4211
+ end
4212
+
4177
4213
  class RouterInterface
4178
4214
  class Representation < Google::Apis::Core::JsonRepresentation; end
4179
4215
 
@@ -6929,6 +6965,13 @@ module Google
6929
6965
  end
6930
6966
  end
6931
6967
 
6968
+ class BulkInsertDiskResource
6969
+ # @private
6970
+ class Representation < Google::Apis::Core::JsonRepresentation
6971
+ property :source_consistency_group_policy, as: 'sourceConsistencyGroupPolicy'
6972
+ end
6973
+ end
6974
+
6932
6975
  class BulkInsertInstanceResource
6933
6976
  # @private
6934
6977
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7539,6 +7582,20 @@ module Google
7539
7582
  end
7540
7583
  end
7541
7584
 
7585
+ class DisksStartAsyncReplicationRequest
7586
+ # @private
7587
+ class Representation < Google::Apis::Core::JsonRepresentation
7588
+ property :async_secondary_disk, as: 'asyncSecondaryDisk'
7589
+ end
7590
+ end
7591
+
7592
+ class DisksStopGroupAsyncReplicationResource
7593
+ # @private
7594
+ class Representation < Google::Apis::Core::JsonRepresentation
7595
+ property :resource_policy, as: 'resourcePolicy'
7596
+ end
7597
+ end
7598
+
7542
7599
  class DisplayDevice
7543
7600
  # @private
7544
7601
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8847,6 +8904,8 @@ module Google
8847
8904
 
8848
8905
  property :hostname, as: 'hostname'
8849
8906
  property :id, :numeric_string => true, as: 'id'
8907
+ property :instance_encryption_key, as: 'instanceEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
8908
+
8850
8909
  property :key_revocation_action_type, as: 'keyRevocationActionType'
8851
8910
  property :kind, as: 'kind'
8852
8911
  property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
@@ -12799,6 +12858,13 @@ module Google
12799
12858
  end
12800
12859
  end
12801
12860
 
12861
+ class RegionDisksStartAsyncReplicationRequest
12862
+ # @private
12863
+ class Representation < Google::Apis::Core::JsonRepresentation
12864
+ property :async_secondary_disk, as: 'asyncSecondaryDisk'
12865
+ end
12866
+ end
12867
+
12802
12868
  class RegionInstanceGroupList
12803
12869
  # @private
12804
12870
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13313,6 +13379,8 @@ module Google
13313
13379
  class Representation < Google::Apis::Core::JsonRepresentation
13314
13380
  property :creation_timestamp, as: 'creationTimestamp'
13315
13381
  property :description, as: 'description'
13382
+ property :disk_consistency_group_policy, as: 'diskConsistencyGroupPolicy', class: Google::Apis::ComputeV1::ResourcePolicyDiskConsistencyGroupPolicy, decorator: Google::Apis::ComputeV1::ResourcePolicyDiskConsistencyGroupPolicy::Representation
13383
+
13316
13384
  property :group_placement_policy, as: 'groupPlacementPolicy', class: Google::Apis::ComputeV1::ResourcePolicyGroupPlacementPolicy, decorator: Google::Apis::ComputeV1::ResourcePolicyGroupPlacementPolicy::Representation
13317
13385
 
13318
13386
  property :id, :numeric_string => true, as: 'id'
@@ -13373,6 +13441,12 @@ module Google
13373
13441
  end
13374
13442
  end
13375
13443
 
13444
+ class ResourcePolicyDiskConsistencyGroupPolicy
13445
+ # @private
13446
+ class Representation < Google::Apis::Core::JsonRepresentation
13447
+ end
13448
+ end
13449
+
13376
13450
  class ResourcePolicyGroupPlacementPolicy
13377
13451
  # @private
13378
13452
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13701,6 +13775,9 @@ module Google
13701
13775
  property :advertised_route_priority, as: 'advertisedRoutePriority'
13702
13776
  property :bfd, as: 'bfd', class: Google::Apis::ComputeV1::RouterBgpPeerBfd, decorator: Google::Apis::ComputeV1::RouterBgpPeerBfd::Representation
13703
13777
 
13778
+ collection :custom_learned_ip_ranges, as: 'customLearnedIpRanges', class: Google::Apis::ComputeV1::RouterBgpPeerCustomLearnedIpRange, decorator: Google::Apis::ComputeV1::RouterBgpPeerCustomLearnedIpRange::Representation
13779
+
13780
+ property :custom_learned_route_priority, as: 'customLearnedRoutePriority'
13704
13781
  property :enable, as: 'enable'
13705
13782
  property :enable_ipv6, as: 'enableIpv6'
13706
13783
  property :interface_name, as: 'interfaceName'
@@ -13726,6 +13803,13 @@ module Google
13726
13803
  end
13727
13804
  end
13728
13805
 
13806
+ class RouterBgpPeerCustomLearnedIpRange
13807
+ # @private
13808
+ class Representation < Google::Apis::Core::JsonRepresentation
13809
+ property :range, as: 'range'
13810
+ end
13811
+ end
13812
+
13729
13813
  class RouterInterface
13730
13814
  # @private
13731
13815
  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.69.0
4
+ version: 0.71.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-05-28 00:00:00.000000000 Z
11
+ date: 2023-06-18 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.69.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.71.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: []