class Google::Apis::ComputeV1::SavedDisk
An instance-attached disk resource.
Attributes
- Output Only
-
The architecture of the attached disk.
Corresponds to the JSON property `architecture` @return [String]
- Output Only
-
Type of the resource. Always compute#savedDisk for attached
disks. Corresponds to the JSON property `kind` @return [String]
Specifies a URL of the disk attached to the source instance. Corresponds to the JSON property `sourceDisk` @return [String]
- Output Only
-
Size of the individual disk snapshot used by this machine image.
Corresponds to the JSON property `storageBytes` @return [Fixnum]
- Output Only
-
An indicator whether storageBytes is in a stable state or it is
being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Corresponds to the JSON property `storageBytesStatus` @return [String]
Public Class Methods
# File lib/google/apis/compute_v1/classes.rb, line 31682 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 31687 def update!(**args) @architecture = args[:architecture] if args.key?(:architecture) @kind = args[:kind] if args.key?(:kind) @source_disk = args[:source_disk] if args.key?(:source_disk) @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes) @storage_bytes_status = args[:storage_bytes_status] if args.key?(:storage_bytes_status) end