class Google::Apis::SqladminV1::FailoverContext

Database instance failover context.

Attributes

kind[RW]

This is always *sql#failoverContext*. Corresponds to the JSON property `kind` @return [String]

settings_version[RW]

The current settings version of this instance. Request will be rejected if this version doesn't match the current settings version. Corresponds to the JSON property `settingsVersion` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sqladmin_v1/classes.rb, line 1301
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sqladmin_v1/classes.rb, line 1306
def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @settings_version = args[:settings_version] if args.key?(:settings_version)
end