Class: Google::Apis::SqladminV1beta4::SqlOutOfDiskReport

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

This message wraps up the information written by out-of-disk detection job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlOutOfDiskReport

Returns a new instance of SqlOutOfDiskReport.



4172
4173
4174
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4172

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

The minimum recommended increase size in GigaBytes This field is consumed by the frontend * Writers: * the proactive database wellness job for OOD. * Readers: Corresponds to the JSON property sqlMinRecommendedIncreaseSizeGb

Returns:

  • (Fixnum)


4163
4164
4165
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4163

def sql_min_recommended_increase_size_gb
  @sql_min_recommended_increase_size_gb
end

#sql_out_of_disk_stateString

This field represents the state generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job Corresponds to the JSON property sqlOutOfDiskState

Returns:

  • (String)


4170
4171
4172
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4170

def sql_out_of_disk_state
  @sql_out_of_disk_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4177
4178
4179
4180
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4177

def update!(**args)
  @sql_min_recommended_increase_size_gb = args[:sql_min_recommended_increase_size_gb] if args.key?(:sql_min_recommended_increase_size_gb)
  @sql_out_of_disk_state = args[:sql_out_of_disk_state] if args.key?(:sql_out_of_disk_state)
end