Class: Google::Apis::ComputeV1::DiskResourceStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::DiskResourceStatus
- 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
-
#async_primary_disk ⇒ Google::Apis::ComputeV1::DiskResourceStatusAsyncReplicationStatus
Corresponds to the JSON property
asyncPrimaryDisk
. -
#async_secondary_disks ⇒ Hash<String,Google::Apis::ComputeV1::DiskResourceStatusAsyncReplicationStatus>
Key: disk, value: AsyncReplicationStatus message Corresponds to the JSON property
asyncSecondaryDisks
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiskResourceStatus
constructor
A new instance of DiskResourceStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiskResourceStatus
Returns a new instance of DiskResourceStatus.
7321 7322 7323 |
# File 'lib/google/apis/compute_v1/classes.rb', line 7321 def initialize(**args) update!(**args) end |
Instance Attribute Details
#async_primary_disk ⇒ Google::Apis::ComputeV1::DiskResourceStatusAsyncReplicationStatus
Corresponds to the JSON property asyncPrimaryDisk
7314 7315 7316 |
# File 'lib/google/apis/compute_v1/classes.rb', line 7314 def async_primary_disk @async_primary_disk end |
#async_secondary_disks ⇒ Hash<String,Google::Apis::ComputeV1::DiskResourceStatusAsyncReplicationStatus>
Key: disk, value: AsyncReplicationStatus message
Corresponds to the JSON property asyncSecondaryDisks
7319 7320 7321 |
# File 'lib/google/apis/compute_v1/classes.rb', line 7319 def async_secondary_disks @async_secondary_disks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7326 7327 7328 7329 |
# File 'lib/google/apis/compute_v1/classes.rb', line 7326 def update!(**args) @async_primary_disk = args[:async_primary_disk] if args.key?(:async_primary_disk) @async_secondary_disks = args[:async_secondary_disks] if args.key?(:async_secondary_disks) end |