Class: Google::Apis::ComputeAlpha::InstantSnapshotResourceStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstantSnapshotResourceStatus
- 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
-
#storage_size_bytes ⇒ Fixnum
[Output Only] The storage size of this instant snapshot.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstantSnapshotResourceStatus
constructor
A new instance of InstantSnapshotResourceStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstantSnapshotResourceStatus
Returns a new instance of InstantSnapshotResourceStatus.
20002 20003 20004 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 20002 def initialize(**args) update!(**args) end |
Instance Attribute Details
#storage_size_bytes ⇒ Fixnum
[Output Only] The storage size of this instant snapshot.
Corresponds to the JSON property storageSizeBytes
20000 20001 20002 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 20000 def storage_size_bytes @storage_size_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20007 20008 20009 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 20007 def update!(**args) @storage_size_bytes = args[:storage_size_bytes] if args.key?(:storage_size_bytes) end |