Class: Google::Apis::ComputeBeta::RegionDisksStartAsyncReplicationRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::RegionDisksStartAsyncReplicationRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#async_secondary_disk ⇒ String
The secondary disk to start asynchronous replication to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RegionDisksStartAsyncReplicationRequest
constructor
A new instance of RegionDisksStartAsyncReplicationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RegionDisksStartAsyncReplicationRequest
Returns a new instance of RegionDisksStartAsyncReplicationRequest.
45922 45923 45924 |
# File 'lib/google/apis/compute_beta/classes.rb', line 45922 def initialize(**args) update!(**args) end |
Instance Attribute Details
#async_secondary_disk ⇒ String
The secondary disk to start asynchronous replication to. You can provide this as a partial or full URL to the resource. For example, the following are valid values:
- https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/ disk
- https://www.googleapis.com/compute/v1/projects/project/regions/region/ disks/disk
- projects/project/zones/zone/disks/disk
- projects/project/regions/region/disks/disk
- zones/zone/disks/disk
-
regions/region/disks/disk
Corresponds to the JSON property asyncSecondaryDisk
45920 45921 45922 |
# File 'lib/google/apis/compute_beta/classes.rb', line 45920 def async_secondary_disk @async_secondary_disk end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
45927 45928 45929 |
# File 'lib/google/apis/compute_beta/classes.rb', line 45927 def update!(**args) @async_secondary_disk = args[:async_secondary_disk] if args.key?(:async_secondary_disk) end |