Class: Google::Apis::SqladminV1beta4::PerformDiskShrinkContext
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta4::PerformDiskShrinkContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sqladmin_v1beta4/classes.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb
Overview
Perform disk shrink context.
Instance Attribute Summary collapse
-
#target_size_gb ⇒ Fixnum
The target disk shrink size in GigaBytes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PerformDiskShrinkContext
constructor
A new instance of PerformDiskShrinkContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PerformDiskShrinkContext
Returns a new instance of PerformDiskShrinkContext.
3359 3360 3361 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3359 def initialize(**args) update!(**args) end |
Instance Attribute Details
#target_size_gb ⇒ Fixnum
The target disk shrink size in GigaBytes.
Corresponds to the JSON property targetSizeGb
3357 3358 3359 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3357 def target_size_gb @target_size_gb end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3364 3365 3366 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3364 def update!(**args) @target_size_gb = args[:target_size_gb] if args.key?(:target_size_gb) end |