Class: Google::Apis::ComputeAlpha::DisksStopAsyncReplicationRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::DisksStopAsyncReplicationRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#async_secondary_disk ⇒ String
The secondary disk to stop asynchronous replication to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DisksStopAsyncReplicationRequest
constructor
A new instance of DisksStopAsyncReplicationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DisksStopAsyncReplicationRequest
Returns a new instance of DisksStopAsyncReplicationRequest.
7695 7696 7697 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 7695 def initialize(**args) update!(**args) end |
Instance Attribute Details
#async_secondary_disk ⇒ String
The secondary disk to stop asynchronous replication to. Supplied if and only
if the target disk is a primary disk in an asynchronously replicated pair. 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
7693 7694 7695 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 7693 def async_secondary_disk @async_secondary_disk end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7700 7701 7702 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 7700 def update!(**args) @async_secondary_disk = args[:async_secondary_disk] if args.key?(:async_secondary_disk) end |