Class: Google::Apis::SqladminV1::SqlInstancesGetLatestRecoveryTimeResponse

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

Instance get latest recovery time response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlInstancesGetLatestRecoveryTimeResponse

Returns a new instance of SqlInstancesGetLatestRecoveryTimeResponse.



3451
3452
3453
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3451

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

Instance Attribute Details

#kindString

This is always sql#getLatestRecoveryTime. Corresponds to the JSON property kind

Returns:

  • (String)


3444
3445
3446
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3444

def kind
  @kind
end

#latest_recovery_timeString

Timestamp, identifies the latest recovery time of the source instance. Corresponds to the JSON property latestRecoveryTime

Returns:

  • (String)


3449
3450
3451
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3449

def latest_recovery_time
  @latest_recovery_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3456
3457
3458
3459
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3456

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