- Resource: DataSourceReference
- DataSourceBackupConfigInfo
- DataSourceGcpResourceInfo
- CloudSqlInstanceDataSourceReferenceProperties
- Methods
Resource: DataSourceReference
DataSourceReference is a reference to a DataSource resource.
JSON representation |
---|
{ "name": string, "dataSource": string, "createTime": string, "dataSourceBackupConfigState": enum ( |
Fields | |
---|---|
name |
Identifier. The resource name of the DataSourceReference. Format: projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference} |
dataSource |
Output only. The resource name of the DataSource. Format: projects/{project}/locations/{location}/backupVaults/{backupVault}/dataSources/{dataSource} |
createTime |
Output only. The time when the DataSourceReference was created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
dataSourceBackupConfigState |
Output only. The backup configuration state of the DataSource. |
dataSourceBackupCount |
Output only. Number of backups in the DataSource. |
dataSourceBackupConfigInfo |
Output only. Information of backup configuration on the DataSource. |
dataSourceGcpResourceInfo |
Output only. The GCP resource that the DataSource is associated with. |
DataSourceBackupConfigInfo
Information of backup configuration on the DataSource.
JSON representation |
---|
{
"lastBackupState": enum ( |
Fields | |
---|---|
lastBackupState |
Output only. The status of the last backup in this DataSource |
lastSuccessfulBackupConsistencyTime |
Output only. Timestamp of the last successful backup to this DataSource. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
DataSourceGcpResourceInfo
The GCP resource that the DataSource is associated with.
JSON representation |
---|
{ "gcpResourcename": string, "type": string, "location": string, // Union field |
Fields | |
---|---|
gcpResourcename |
Output only. The resource name of the GCP resource. Ex: projects/{project}/zones/{zone}/instances/{instance} |
type |
Output only. The type of the GCP resource. Ex: compute.googleapis.com/Instance |
location |
Output only. The location of the GCP resource. Ex: |
Union field resource_properties . The properties of the GCP resource. resource_properties can be only one of the following: |
|
cloudSqlInstanceProperties |
Output only. The properties of the Cloud SQL instance. |
CloudSqlInstanceDataSourceReferenceProperties
CloudSqlInstanceDataSourceReferenceProperties represents the properties of a Cloud SQL resource that are stored in the DataSourceReference. .
JSON representation |
---|
{ "name": string, "databaseInstalledVersion": string, "instanceCreateTime": string, "instanceTier": string } |
Fields | |
---|---|
name |
Output only. Name of the Cloud SQL instance backed up by the datasource. Format: projects/{project}/instances/{instance} |
databaseInstalledVersion |
Output only. The installed database version of the Cloud SQL instance. |
instanceCreateTime |
Output only. The instance creation timestamp. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
instanceTier |
Output only. The tier (or machine type) for this instance. Example: |
Methods |
|
---|---|
|
Fetch DataSourceReferences for a given project, location and resource type. |
|
Gets details of a single DataSourceReference. |