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.



3390
3391
3392
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3390

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


3383
3384
3385
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3383

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)


3388
3389
3390
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3388

def latest_recovery_time
  @latest_recovery_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3395
3396
3397
3398
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 3395

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