Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::DataSourceReference.
DataSourceReference is a reference to a DataSource resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the DataSourceReference was created.
#data_source
def data_source() -> ::String
Returns
- (::String) — Output only. The resource name of the DataSource. Format: projects/{project}/locations/{location}/backupVaults/{backupVault}/dataSources/{dataSource}
#data_source_backup_config_info
def data_source_backup_config_info() -> ::Google::Cloud::BackupDR::V1::DataSourceBackupConfigInfo
Returns
- (::Google::Cloud::BackupDR::V1::DataSourceBackupConfigInfo) — Output only. Information of backup configuration on the DataSource.
#data_source_backup_config_state
def data_source_backup_config_state() -> ::Google::Cloud::BackupDR::V1::BackupConfigState
Returns
- (::Google::Cloud::BackupDR::V1::BackupConfigState) — Output only. The backup configuration state of the DataSource.
#data_source_backup_count
def data_source_backup_count() -> ::Integer
Returns
- (::Integer) — Output only. Number of backups in the DataSource.
#data_source_gcp_resource_info
def data_source_gcp_resource_info() -> ::Google::Cloud::BackupDR::V1::DataSourceGcpResourceInfo
Returns
- (::Google::Cloud::BackupDR::V1::DataSourceGcpResourceInfo) — Output only. The GCP resource that the DataSource is associated with.
#name
def name() -> ::String
Returns
- (::String) — Identifier. The resource name of the DataSourceReference. Format: projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Identifier. The resource name of the DataSourceReference. Format: projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}
Returns
- (::String) — Identifier. The resource name of the DataSourceReference. Format: projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}