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.



4192
4193
4194
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 4192

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


4185
4186
4187
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 4185

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)


4190
4191
4192
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 4190

def latest_recovery_time
  @latest_recovery_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4197
4198
4199
4200
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 4197

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