Class: Google::Apis::SqladminV1::SqlOutOfDiskReport

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/sqladmin_v1/classes.rb,
lib/google/apis/sqladmin_v1/representations.rb,
lib/google/apis/sqladmin_v1/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.



1395
1396
1397
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1395

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: -- the Pantheon frontend Corresponds to the JSON property sqlMinRecommendedIncreaseSizeGb

Returns:

  • (Fixnum)


1386
1387
1388
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1386

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 Pantheon frontend -- the proactive database wellness job Corresponds to the JSON property sqlOutOfDiskState

Returns:

  • (String)


1393
1394
1395
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1393

def sql_out_of_disk_state
  @sql_out_of_disk_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1400
1401
1402
1403
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1400

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