BackupPlanAssociation(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A BackupPlanAssociation represents a single BackupPlanAssociation which contains details like workload, backup plan etc
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
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 |
google.cloud.backupdr_v1.types.BackupPlanAssociation.State
Output only. The BackupPlanAssociation resource state. |
rules_config_info |
MutableSequence[google.cloud.backupdr_v1.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} |
cloud_sql_instance_backup_plan_association_properties |
google.cloud.backupdr_v1.types.CloudSqlInstanceBackupPlanAssociationProperties
Output only. Cloud SQL instance's backup plan association properties. This field is a member of oneof _ resource_properties .
|
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}
|
Classes
State
State(value)
Enum for State of BackupPlan Association