AutoProtectionPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)An AutoprotectionPolicy is a policy resource designed to automate backup management, moving from manual per-resource protection to a bulk approach. The policy dynamically discovers and applies a specified backup plan to all eligible resources that match its defined scope and criteria.
Attributes |
|
|---|---|
| Name | Description |
name |
str
Identifier. The resource name of the AutoprotectionPolicy. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}
|
description |
str
Optional. A description of the policy. |
backup_plan_details |
MutableSequence[google.cloud.backupdr_v1beta.types.BackupPlanDetail]
Required. The backup plan details for matching resources. |
criteria |
google.cloud.backupdr_v1beta.types.Criteria
Required. The criteria for matching resources. |
state |
google.cloud.backupdr_v1beta.types.AutoProtectionPolicy.State
Output only. The current state of the AutoprotectionPolicy. |
etag |
str
Output only. The etag for the policy. If this is provided on update, it must match the server's etag, otherwise the request will be rejected with an ABORTED error. |
binding_summary |
google.cloud.backupdr_v1beta.types.BindingSummary
Output only. Summary of total count of different containers covered through this policy. |
policy_evaluation_summary |
google.cloud.backupdr_v1beta.types.PolicyEvaluationSummary
Output only. Summary of last policy application when job was run per workload type. |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the policy was created. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the policy was last updated. |
Classes
State
State(value)The state of an AutoprotectionPolicy.