Class: Google::Apis::SqladminV1beta4::PerformDiskShrinkContext

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_gbFixnum

The target disk shrink size in GigaBytes. Corresponds to the JSON property targetSizeGb

Returns:

  • (Fixnum)


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