Class: Google::Apis::BaremetalsolutionV2::ResizeVolumeRequest
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV2::ResizeVolumeRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/baremetalsolution_v2/classes.rb,
lib/google/apis/baremetalsolution_v2/representations.rb,
lib/google/apis/baremetalsolution_v2/representations.rb
Overview
Request for emergency resize Volume.
Instance Attribute Summary collapse
-
#size_gib ⇒ Fixnum
New Volume size, in GiB.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResizeVolumeRequest
constructor
A new instance of ResizeVolumeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResizeVolumeRequest
Returns a new instance of ResizeVolumeRequest.
2118 2119 2120 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2118 def initialize(**args) update!(**args) end |
Instance Attribute Details
#size_gib ⇒ Fixnum
New Volume size, in GiB.
Corresponds to the JSON property sizeGib
2116 2117 2118 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2116 def size_gib @size_gib end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2123 2124 2125 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2123 def update!(**args) @size_gib = args[:size_gib] if args.key?(:size_gib) end |