0.10.4 (latest) 0.10.3 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.5 0.1.7

    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** |
| `data_source_gcp_resource` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.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` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.types.DataSourceBackupApplianceApplication` The backed up resource is a backup appliance application. This field is a member of `oneof`_ `source_resource`. |
| `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` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.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` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.types.BackupConfigState` Output only. The backup configuration state. |
| `backup_config_info` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.types.BackupConfigInfo` Output only. Details of how the resource is configured for backup. |
| `backup_blocked_by_vault_access_restriction` | `bool` Output only. This field is set to true if the backup is blocked by vault access restriction. |

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