Class: Google::Apis::ComputeAlpha::DiskResourceStatus

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DiskResourceStatus

Returns a new instance of DiskResourceStatus.



7047
7048
7049
# File 'lib/google/apis/compute_alpha/classes.rb', line 7047

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

Instance Attribute Details

#async_primary_diskGoogle::Apis::ComputeAlpha::DiskResourceStatusAsyncReplicationStatus

Corresponds to the JSON property asyncPrimaryDisk



7040
7041
7042
# File 'lib/google/apis/compute_alpha/classes.rb', line 7040

def async_primary_disk
  @async_primary_disk
end

#async_secondary_disksHash<String,Google::Apis::ComputeAlpha::DiskResourceStatusAsyncReplicationStatus>

Key: disk, value: AsyncReplicationStatus message Corresponds to the JSON property asyncSecondaryDisks



7045
7046
7047
# File 'lib/google/apis/compute_alpha/classes.rb', line 7045

def async_secondary_disks
  @async_secondary_disks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7052
7053
7054
7055
# File 'lib/google/apis/compute_alpha/classes.rb', line 7052

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