Google Cloud Backup Dr V1 Client - Class DataSourceReference (0.7.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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
Google\Protobuf\Timestamp

Output only. The time when the DataSourceReference was created.

↳ 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
DataSourceBackupConfigInfo

Output only. Information of backup configuration on the DataSource.

↳ data_source_gcp_resource_info
DataSourceGcpResourceInfo

Output only. The GCP resource that the DataSource is associated with.

getName

Identifier. The resource name of the DataSourceReference.

Format: projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}

Returns
Type
Description
string

setName

Identifier. The resource name of the DataSourceReference.

Format: projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDataSource

Output only. The resource name of the DataSource.

Format: projects/{project}/locations/{location}/backupVaults/{backupVault}/dataSources/{dataSource}

Returns
Type
Description
string

setDataSource

Output only. The resource name of the DataSource.

Format: projects/{project}/locations/{location}/backupVaults/{backupVault}/dataSources/{dataSource}

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCreateTime

Output only. The time when the DataSourceReference was created.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time when the DataSourceReference was created.

Parameter
Name
Description
Returns
Type
Description
$this

getDataSourceBackupConfigState

Output only. The backup configuration state of the DataSource.

Returns
Type
Description
int

setDataSourceBackupConfigState

Output only. The backup configuration state of the DataSource.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getDataSourceBackupCount

Output only. Number of backups in the DataSource.

Returns
Type
Description
int|string

setDataSourceBackupCount

Output only. Number of backups in the DataSource.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

getDataSourceBackupConfigInfo

Output only. Information of backup configuration on the DataSource.

Returns
Type
Description

hasDataSourceBackupConfigInfo

clearDataSourceBackupConfigInfo

setDataSourceBackupConfigInfo

Output only. Information of backup configuration on the DataSource.

Parameter
Name
Description
Returns
Type
Description
$this

getDataSourceGcpResourceInfo

Output only. The GCP resource that the DataSource is associated with.

Returns
Type
Description

hasDataSourceGcpResourceInfo

clearDataSourceGcpResourceInfo

setDataSourceGcpResourceInfo

Output only. The GCP resource that the DataSource is associated with.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: