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

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

A BackupPlanAssociation represents a single
BackupPlanAssociation which contains details like workload,
backup plan etc

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** |
| `cloud_sql_instance_backup_plan_association_properties` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.types.CloudSqlInstanceBackupPlanAssociationProperties` Output only. Cloud SQL instance's backup plan association properties. This field is a member of `oneof`_ `resource_properties`. |
| `alloydb_cluster_backup_plan_association_properties` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.types.AlloyDBClusterBackupPlanAssociationProperties` Output only. AlloyDB cluster's backup plan association properties. This field is a member of `oneof`_ `resource_properties`. |
| `name` | `str` Output only. Identifier. The resource name of BackupPlanAssociation in below format Format : projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId} |
| `resource_type` | `str` Required. Immutable. Resource type of workload on which backupplan is applied |
| `resource` | `str` Required. Immutable. Resource name of workload on which the backup plan is applied. The format can either be the resource name (e.g., "projects/my-project/zones/us-central1-a/instances/my-instance") or the full resource URI (e.g., "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/my-instance"). |
| `backup_plan` | `str` Required. Resource name of backup plan which needs to be applied on workload. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId} |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the instance was created. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the instance was updated. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.types.BackupPlanAssociation.State` Output only. The BackupPlanAssociation resource state. |
| `rules_config_info` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.types.RuleConfigInfo]` Output only. The config info related to backup rules. |
| `data_source` | `str` Output only. Resource name of data source which will be used as storage location for backups taken. Format : projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource} |
| `backup_plan_revision_id` | `str` Output only. The user friendly revision ID of the `BackupPlanRevision`. Example: v0, v1, v2, etc. |
| `backup_plan_revision_name` | `str` Output only. The resource id of the `BackupPlanRevision`. Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision_id}` |
| `auto_protection_policy_binding` | `str` Output only. The resource name of the `AutoProtectionPolicyBinding` that manages this association, if any. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{policy}/bindings/{binding}`. |

## Classes

### State

    State(value)

Enum for State of BackupPlan Association