Class: Google::Apis::ComputeV1::DisksResizeRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::DisksResizeRequest
- Defined in:
- generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb more...
Instance Attribute Summary collapse
-
#size_gb ⇒ String
The new size of the persistent disk, which is specified in GB.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DisksResizeRequest
constructor
A new instance of DisksResizeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
permalink #initialize(**args) ⇒ DisksResizeRequest
Returns a new instance of DisksResizeRequest.
2009 2010 2011 |
# File 'generated/google/apis/compute_v1/classes.rb', line 2009 def initialize(**args) update!(**args) end |
Instance Attribute Details
permalink #size_gb ⇒ String
The new size of the persistent disk, which is specified in GB.
Corresponds to the JSON property sizeGb
2007 2008 2009 |
# File 'generated/google/apis/compute_v1/classes.rb', line 2007 def size_gb @size_gb end |
Instance Method Details
permalink #update!(**args) ⇒ Object
Update properties of this object
2014 2015 2016 |
# File 'generated/google/apis/compute_v1/classes.rb', line 2014 def update!(**args) @size_gb = args[:size_gb] if args.key?(:size_gb) end |