Skip to main content

instances_latest_recovery_time

Creates, updates, deletes, gets or lists an instances_latest_recovery_time resource.

Overview

Nameinstances_latest_recovery_time
TypeResource
Idgoogle.sqladmin.instances_latest_recovery_time

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
kindstringThis is always sql#getLatestRecoveryTime.
latestRecoveryTimestring (google-datetime)Timestamp, identifies the latest recovery time of the source instance.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_latest_recovery_timeselectproject, instancesourceInstanceDeletionTimeGet Latest Recovery Time for a given instance.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
instancestring
projectstring
sourceInstanceDeletionTimestring (google-datetime)

SELECT examples

Get Latest Recovery Time for a given instance.

SELECT
kind,
latestRecoveryTime
FROM google.sqladmin.instances_latest_recovery_time
WHERE project = '{{ project }}' -- required
AND instance = '{{ instance }}' -- required
AND sourceInstanceDeletionTime = '{{ sourceInstanceDeletionTime }}';