Class: Google::Apis::SqladminV1beta4::SqlInstancesGetDiskShrinkConfigResponse
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta4::SqlInstancesGetDiskShrinkConfigResponse
- 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
Instance get disk shrink config response.
Instance Attribute Summary collapse
-
#kind ⇒ String
This is always
sql#getDiskShrinkConfig
. -
#message ⇒ String
Additional message to customers.
-
#minimal_target_size_gb ⇒ Fixnum
The minimum size to which a disk can be shrunk in GigaBytes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlInstancesGetDiskShrinkConfigResponse
constructor
A new instance of SqlInstancesGetDiskShrinkConfigResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlInstancesGetDiskShrinkConfigResponse
Returns a new instance of SqlInstancesGetDiskShrinkConfigResponse.
3935 3936 3937 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3935 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
This is always sql#getDiskShrinkConfig
.
Corresponds to the JSON property kind
3923 3924 3925 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3923 def kind @kind end |
#message ⇒ String
Additional message to customers.
Corresponds to the JSON property message
3928 3929 3930 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3928 def @message end |
#minimal_target_size_gb ⇒ Fixnum
The minimum size to which a disk can be shrunk in GigaBytes.
Corresponds to the JSON property minimalTargetSizeGb
3933 3934 3935 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3933 def minimal_target_size_gb @minimal_target_size_gb end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3940 3941 3942 3943 3944 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3940 def update!(**args) @kind = args[:kind] if args.key?(:kind) @message = args[:message] if args.key?(:message) @minimal_target_size_gb = args[:minimal_target_size_gb] if args.key?(:minimal_target_size_gb) end |