Class: Google::Apis::ComputeAlpha::InstantSnapshotResourceStatus

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) ⇒ InstantSnapshotResourceStatus

Returns a new instance of InstantSnapshotResourceStatus.



21274
21275
21276
# File 'lib/google/apis/compute_alpha/classes.rb', line 21274

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

Instance Attribute Details

#storage_size_bytesFixnum

[Output Only] The storage size of this instant snapshot. Corresponds to the JSON property storageSizeBytes

Returns:

  • (Fixnum)


21272
21273
21274
# File 'lib/google/apis/compute_alpha/classes.rb', line 21272

def storage_size_bytes
  @storage_size_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21279
21280
21281
# File 'lib/google/apis/compute_alpha/classes.rb', line 21279

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