Class: Google::Apis::ComputeV1::DisksStartAsyncReplicationRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DisksStartAsyncReplicationRequest

Returns a new instance of DisksStartAsyncReplicationRequest.



9971
9972
9973
# File 'lib/google/apis/compute_v1/classes.rb', line 9971

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#async_secondary_diskString

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

Returns:

  • (String)


9969
9970
9971
# File 'lib/google/apis/compute_v1/classes.rb', line 9969

def async_secondary_disk
  @async_secondary_disk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9976
9977
9978
# File 'lib/google/apis/compute_v1/classes.rb', line 9976

def update!(**args)
  @async_secondary_disk = args[:async_secondary_disk] if args.key?(:async_secondary_disk)
end