Class: Google::Apis::ComputeV1::InstantSnapshotResourceStatus

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstantSnapshotResourceStatus

Returns a new instance of InstantSnapshotResourceStatus.

[View source]

18820
18821
18822
# File 'lib/google/apis/compute_v1/classes.rb', line 18820

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)

18818
18819
18820
# File 'lib/google/apis/compute_v1/classes.rb', line 18818

def storage_size_bytes
  @storage_size_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

18825
18826
18827
# File 'lib/google/apis/compute_v1/classes.rb', line 18825

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