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.
1994 1995 1996 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1994 def initialize(**args) update!(**args) end |
Instance Attribute Details
#size_gib ⇒ Fixnum
New Volume size, in GiB.
Corresponds to the JSON property sizeGib
1992 1993 1994 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1992 def size_gib @size_gib end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1999 2000 2001 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1999 def update!(**args) @size_gib = args[:size_gib] if args.key?(:size_gib) end |