class Google::Apis::ComputeV1::DisksResizeRequest
Attributes
size_gb[RW]
The new size of the persistent disk, which is specified in GB. Corresponds to the JSON property `sizeGb` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/compute_v1/classes.rb, line 1814 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/compute_v1/classes.rb, line 1819 def update!(**args) @size_gb = args[:size_gb] if args.key?(:size_gb) end