Class: Google::Cloud::BackupDR::V1::DataSource
- Inherits:
-
Object
- Object
- Google::Cloud::BackupDR::V1::DataSource
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/backupdr/v1/backupvault.rb
Overview
Message describing a DataSource object. Datasource object used to represent Datasource details for both admin and basic view.
Defined Under Namespace
Modules: State Classes: LabelsEntry
Instance Attribute Summary collapse
-
#backup_config_info ⇒ ::Google::Cloud::BackupDR::V1::BackupConfigInfo
readonly
Output only.
-
#backup_count ⇒ ::Integer
Number of backups in the data source.
-
#config_state ⇒ ::Google::Cloud::BackupDR::V1::BackupConfigState
readonly
Output only.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#data_source_backup_appliance_application ⇒ ::Google::Cloud::BackupDR::V1::DataSourceBackupApplianceApplication
The backed up resource is a backup appliance application.
-
#data_source_gcp_resource ⇒ ::Google::Cloud::BackupDR::V1::DataSourceGcpResource
The backed up resource is a Google Cloud resource.
-
#etag ⇒ ::String
Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#name ⇒ ::String
readonly
Output only.
-
#state ⇒ ::Google::Cloud::BackupDR::V1::DataSource::State
readonly
Output only.
-
#total_stored_bytes ⇒ ::Integer
The number of bytes (metadata and data) stored in this datasource.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#backup_config_info ⇒ ::Google::Cloud::BackupDR::V1::BackupConfigInfo (readonly)
Returns Output only. Details of how the resource is configured for backup.
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 197 class DataSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Holds the state of the data source resource. module State # State not set. STATE_UNSPECIFIED = 0 # The data source is being created. CREATING = 1 # The data source has been created and is fully usable. ACTIVE = 2 # The data source is being deleted. DELETING = 3 # The data source is experiencing an issue and might be unusable. ERROR = 4 end end |
#backup_count ⇒ ::Integer
Returns Number of backups in the data source.
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 197 class DataSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Holds the state of the data source resource. module State # State not set. STATE_UNSPECIFIED = 0 # The data source is being created. CREATING = 1 # The data source has been created and is fully usable. ACTIVE = 2 # The data source is being deleted. DELETING = 3 # The data source is experiencing an issue and might be unusable. ERROR = 4 end end |
#config_state ⇒ ::Google::Cloud::BackupDR::V1::BackupConfigState (readonly)
Returns Output only. The backup configuration state.
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 197 class DataSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Holds the state of the data source resource. module State # State not set. STATE_UNSPECIFIED = 0 # The data source is being created. CREATING = 1 # The data source has been created and is fully usable. ACTIVE = 2 # The data source is being deleted. DELETING = 3 # The data source is experiencing an issue and might be unusable. ERROR = 4 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when the instance was created.
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 197 class DataSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Holds the state of the data source resource. module State # State not set. STATE_UNSPECIFIED = 0 # The data source is being created. CREATING = 1 # The data source has been created and is fully usable. ACTIVE = 2 # The data source is being deleted. DELETING = 3 # The data source is experiencing an issue and might be unusable. ERROR = 4 end end |
#data_source_backup_appliance_application ⇒ ::Google::Cloud::BackupDR::V1::DataSourceBackupApplianceApplication
Returns The backed up resource is a backup appliance application.
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 197 class DataSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Holds the state of the data source resource. module State # State not set. STATE_UNSPECIFIED = 0 # The data source is being created. CREATING = 1 # The data source has been created and is fully usable. ACTIVE = 2 # The data source is being deleted. DELETING = 3 # The data source is experiencing an issue and might be unusable. ERROR = 4 end end |
#data_source_gcp_resource ⇒ ::Google::Cloud::BackupDR::V1::DataSourceGcpResource
Returns 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.
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 197 class DataSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Holds the state of the data source resource. module State # State not set. STATE_UNSPECIFIED = 0 # The data source is being created. CREATING = 1 # The data source has been created and is fully usable. ACTIVE = 2 # The data source is being deleted. DELETING = 3 # The data source is experiencing an issue and might be unusable. ERROR = 4 end end |
#etag ⇒ ::String
Returns Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 197 class DataSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Holds the state of the data source resource. module State # State not set. STATE_UNSPECIFIED = 0 # The data source is being created. CREATING = 1 # The data source has been created and is fully usable. ACTIVE = 2 # The data source is being deleted. DELETING = 3 # The data source is experiencing an issue and might be unusable. ERROR = 4 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. Resource labels to represent user provided metadata. No labels currently defined:.
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 197 class DataSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Holds the state of the data source resource. module State # State not set. STATE_UNSPECIFIED = 0 # The data source is being created. CREATING = 1 # The data source has been created and is fully usable. ACTIVE = 2 # The data source is being deleted. DELETING = 3 # The data source is experiencing an issue and might be unusable. ERROR = 4 end end |
#name ⇒ ::String (readonly)
Returns 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.
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 197 class DataSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Holds the state of the data source resource. module State # State not set. STATE_UNSPECIFIED = 0 # The data source is being created. CREATING = 1 # The data source has been created and is fully usable. ACTIVE = 2 # The data source is being deleted. DELETING = 3 # The data source is experiencing an issue and might be unusable. ERROR = 4 end end |
#state ⇒ ::Google::Cloud::BackupDR::V1::DataSource::State (readonly)
Returns Output only. The DataSource resource instance state.
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 197 class DataSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Holds the state of the data source resource. module State # State not set. STATE_UNSPECIFIED = 0 # The data source is being created. CREATING = 1 # The data source has been created and is fully usable. ACTIVE = 2 # The data source is being deleted. DELETING = 3 # The data source is experiencing an issue and might be unusable. ERROR = 4 end end |
#total_stored_bytes ⇒ ::Integer
Returns The number of bytes (metadata and data) stored in this datasource.
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 197 class DataSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Holds the state of the data source resource. module State # State not set. STATE_UNSPECIFIED = 0 # The data source is being created. CREATING = 1 # The data source has been created and is fully usable. ACTIVE = 2 # The data source is being deleted. DELETING = 3 # The data source is experiencing an issue and might be unusable. ERROR = 4 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when the instance was updated.
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 197 class DataSource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Holds the state of the data source resource. module State # State not set. STATE_UNSPECIFIED = 0 # The data source is being created. CREATING = 1 # The data source has been created and is fully usable. ACTIVE = 2 # The data source is being deleted. DELETING = 3 # The data source is experiencing an issue and might be unusable. ERROR = 4 end end |