Class: Google::Apis::ComputeV1::InstantSnapshotResourceStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::InstantSnapshotResourceStatus
- 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
-
#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.
18979 18980 18981 |
# File 'lib/google/apis/compute_v1/classes.rb', line 18979 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
18977 18978 18979 |
# File 'lib/google/apis/compute_v1/classes.rb', line 18977 def storage_size_bytes @storage_size_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18984 18985 18986 |
# File 'lib/google/apis/compute_v1/classes.rb', line 18984 def update!(**args) @storage_size_bytes = args[:storage_size_bytes] if args.key?(:storage_size_bytes) end |