Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::DataSource.
Message describing a DataSource object. Datasource object used to represent Datasource details for both admin and basic view.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup_config_info
def backup_config_info() -> ::Google::Cloud::BackupDR::V1::BackupConfigInfo
Returns
- (::Google::Cloud::BackupDR::V1::BackupConfigInfo) — Output only. Details of how the resource is configured for backup.
#backup_count
def backup_count() -> ::Integer
Returns
- (::Integer) — Number of backups in the data source.
#backup_count=
def backup_count=(value) -> ::Integer
Parameter
- value (::Integer) — Number of backups in the data source.
Returns
- (::Integer) — Number of backups in the data source.
#config_state
def config_state() -> ::Google::Cloud::BackupDR::V1::BackupConfigState
Returns
- (::Google::Cloud::BackupDR::V1::BackupConfigState) — Output only. The backup configuration state.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the instance was created.
#data_source_backup_appliance_application
def data_source_backup_appliance_application() -> ::Google::Cloud::BackupDR::V1::DataSourceBackupApplianceApplication
Returns
- (::Google::Cloud::BackupDR::V1::DataSourceBackupApplianceApplication) — The backed up resource is a backup appliance application.
#data_source_backup_appliance_application=
def data_source_backup_appliance_application=(value) -> ::Google::Cloud::BackupDR::V1::DataSourceBackupApplianceApplication
Parameter
- value (::Google::Cloud::BackupDR::V1::DataSourceBackupApplianceApplication) — The backed up resource is a backup appliance application.
Returns
- (::Google::Cloud::BackupDR::V1::DataSourceBackupApplianceApplication) — The backed up resource is a backup appliance application.
#data_source_gcp_resource
def data_source_gcp_resource() -> ::Google::Cloud::BackupDR::V1::DataSourceGcpResource
Returns
- (::Google::Cloud::BackupDR::V1::DataSourceGcpResource) — The backed up resource is a Google Cloud resource. The word 'DataSource' was included in the names to indicate that this is the representation of the Google Cloud resource used within the DataSource object.
#data_source_gcp_resource=
def data_source_gcp_resource=(value) -> ::Google::Cloud::BackupDR::V1::DataSourceGcpResource
Parameter
- value (::Google::Cloud::BackupDR::V1::DataSourceGcpResource) — The backed up resource is a Google Cloud resource. The word 'DataSource' was included in the names to indicate that this is the representation of the Google Cloud resource used within the DataSource object.
Returns
- (::Google::Cloud::BackupDR::V1::DataSourceGcpResource) — The backed up resource is a Google Cloud resource. The word 'DataSource' was included in the names to indicate that this is the representation of the Google Cloud resource used within the DataSource object.
#etag
def etag() -> ::String
Returns
- (::String) — Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.
#etag=
def etag=(value) -> ::String
Parameter
- value (::String) — Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.
Returns
- (::String) — Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels to represent user provided metadata. No labels currently defined:
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels to represent user provided metadata. No labels currently defined:
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels to represent user provided metadata. No labels currently defined:
#name
def name() -> ::String
Returns
-
(::String) — Output only. Identifier. Name of the datasource to create.
It must have the
format
"projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}"
.{datasource}
cannot be changed after creation. It must be between 3-63 characters long and must be unique within the backup vault.
#state
def state() -> ::Google::Cloud::BackupDR::V1::DataSource::State
Returns
- (::Google::Cloud::BackupDR::V1::DataSource::State) — Output only. The DataSource resource instance state.
#total_stored_bytes
def total_stored_bytes() -> ::Integer
Returns
- (::Integer) — The number of bytes (metadata and data) stored in this datasource.
#total_stored_bytes=
def total_stored_bytes=(value) -> ::Integer
Parameter
- value (::Integer) — The number of bytes (metadata and data) stored in this datasource.
Returns
- (::Integer) — The number of bytes (metadata and data) stored in this datasource.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the instance was updated.