Class DataSource (0.1.4)

DataSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message describing a DataSource object. Datasource object used to represent Datasource details for both admin and basic view.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
name str
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 google.cloud.backupdr_v1.types.DataSource.State
Output only. The DataSource resource instance state.
labels MutableMapping[str, str]
Optional. Resource labels to represent user provided metadata. No labels currently defined:
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the instance was created. This field is a member of oneof_ _create_time.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the instance was updated. This field is a member of oneof_ _update_time.
backup_count int
Number of backups in the data source. This field is a member of oneof_ _backup_count.
etag str
Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other. This field is a member of oneof_ _etag.
total_stored_bytes int
The number of bytes (metadata and data) stored in this datasource. This field is a member of oneof_ _total_stored_bytes.
config_state google.cloud.backupdr_v1.types.BackupConfigState
Output only. The backup configuration state.
backup_config_info google.cloud.backupdr_v1.types.BackupConfigInfo
Output only. Details of how the resource is configured for backup.
data_source_gcp_resource google.cloud.backupdr_v1.types.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. This field is a member of oneof_ source_resource.
data_source_backup_appliance_application google.cloud.backupdr_v1.types.DataSourceBackupApplianceApplication
The backed up resource is a backup appliance application. This field is a member of oneof_ source_resource.

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

State

State(value)

Holds the state of the data source resource.