Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class DataSourceReference.
DataSourceReference is a reference to a DataSource resource.
Generated from protobuf message google.cloud.backupdr.v1.DataSourceReference
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the DataSourceReference. Format: projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}
↳ data_source
string
Output only. The resource name of the DataSource. Format: projects/{project}/locations/{location}/backupVaults/{backupVault}/dataSources/{dataSource}
↳ create_time
↳ data_source_backup_config_state
int
Output only. The backup configuration state of the DataSource.
↳ data_source_backup_count
int|string
Output only. Number of backups in the DataSource.
↳ data_source_backup_config_info
↳ data_source_gcp_resource_info
↳ total_stored_bytes
int|string
Output only. Total size of the storage used by all backup resources for the referenced datasource.
getName
Identifier. The resource name of the DataSourceReference.
Format: projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}
string
setName
Identifier. The resource name of the DataSourceReference.
Format: projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}
var
string
$this
getDataSource
Output only. The resource name of the DataSource.
Format: projects/{project}/locations/{location}/backupVaults/{backupVault}/dataSources/{dataSource}
string
setDataSource
Output only. The resource name of the DataSource.
Format: projects/{project}/locations/{location}/backupVaults/{backupVault}/dataSources/{dataSource}
var
string
$this
getCreateTime
Output only. The time when the DataSourceReference was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the DataSourceReference was created.
$this
getDataSourceBackupConfigState
Output only. The backup configuration state of the DataSource.
setDataSourceBackupConfigState
Output only. The backup configuration state of the DataSource.
$this
getDataSourceBackupCount
Output only. Number of backups in the DataSource.
int|string
setDataSourceBackupCount
Output only. Number of backups in the DataSource.
var
int|string
$this
getDataSourceBackupConfigInfo
Output only. Information of backup configuration on the DataSource.
hasDataSourceBackupConfigInfo
clearDataSourceBackupConfigInfo
setDataSourceBackupConfigInfo
Output only. Information of backup configuration on the DataSource.
$this
getDataSourceGcpResourceInfo
Output only. The GCP resource that the DataSource is associated with.
hasDataSourceGcpResourceInfo
clearDataSourceGcpResourceInfo
setDataSourceGcpResourceInfo
Output only. The GCP resource that the DataSource is associated with.
$this
getTotalStoredBytes
Output only. Total size of the storage used by all backup resources for the referenced datasource.
int|string
hasTotalStoredBytes
clearTotalStoredBytes
setTotalStoredBytes
Output only. Total size of the storage used by all backup resources for the referenced datasource.
var
int|string
$this

