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.



5565
5566
5567
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 5565

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

Instance Attribute Details

#earliest_recovery_timeString

Timestamp, identifies the earliest recovery time of the source instance. Corresponds to the JSON property earliestRecoveryTime

Returns:

  • (String)


5553
5554
5555
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 5553

def earliest_recovery_time
  @earliest_recovery_time
end

#kindString

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

Returns:

  • (String)


5558
5559
5560
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 5558

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)


5563
5564
5565
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 5563

def latest_recovery_time
  @latest_recovery_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5570
5571
5572
5573
5574
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 5570

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