class Google::Apis::BaremetalsolutionV1alpha1::VolumeSnapshot

VolumeSnapshot registered for given Volume

Attributes

creation_time[RW]

The creation time of this Snapshot. Corresponds to the JSON property `creationTime` @return [String]

description[RW]

The description of this Snapshot. Corresponds to the JSON property `description` @return [String]

name[RW]

Output only. The name of this Snapshot. Corresponds to the JSON property `name` @return [String]

size_bytes[RW]

The real size of this Snapshot, in bytes. Corresponds to the JSON property `sizeBytes` @return [Fixnum]

state[RW]

The state of this Snapshot. Corresponds to the JSON property `state` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 1153
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 1158
def update!(**args)
  @creation_time = args[:creation_time] if args.key?(:creation_time)
  @description = args[:description] if args.key?(:description)
  @name = args[:name] if args.key?(:name)
  @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
  @state = args[:state] if args.key?(:state)
end