Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::DataSourceReference (v1.2.0)

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

#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

#data_source_backup_config_state

def data_source_backup_config_state() -> ::Google::Cloud::BackupDR::V1::BackupConfigState
Returns

#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

#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}