Reference documentation and code samples for the Backup and DR Service V1BETA API class Google::Cloud::BackupDR::V1beta::AppliedAutoProtectionPolicy.
AppliedAutoProtectionPolicy is a read-only view of AutoProtectionPolicy and AutoProtectionPolicyBinding resources that apply to a given workload project.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup_plan_details
def backup_plan_details() -> ::Array<::Google::Cloud::BackupDR::V1beta::BackupPlanDetail>
Returns
- (::Array<::Google::Cloud::BackupDR::V1beta::BackupPlanDetail>) — Output only. The set of backup plan configurations, mirroring the backup_plan_details from the source AutoProtectionPolicy. Each element specifies a backup plan for a given resource type.
#binding_evaluation_summary
def binding_evaluation_summary() -> ::Google::Cloud::BackupDR::V1beta::BindingEvaluationSummary
Returns
- (::Google::Cloud::BackupDR::V1beta::BindingEvaluationSummary) — Output only. The summary of the last policy application when the job has run.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Timestamp indicating when the binding was last created.
#criteria
def criteria() -> ::Google::Cloud::BackupDR::V1beta::Criteria
Returns
- (::Google::Cloud::BackupDR::V1beta::Criteria) — Output only. The criteria resources must meet for this rule to apply. From AutoProtectionPolicy.criteria.
#name
def name() -> ::String
Returns
- (::String) — Identifier. Canonical resource name. Format: projects/{workload-project-number}/locations/{location}/appliedAutoProtectionPolicies/{id}.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Identifier. Canonical resource name. Format: projects/{workload-project-number}/locations/{location}/appliedAutoProtectionPolicies/{id}.
Returns
- (::String) — Identifier. Canonical resource name. Format: projects/{workload-project-number}/locations/{location}/appliedAutoProtectionPolicies/{id}.
#source_binding
def source_binding() -> ::String
Returns
- (::String) — Output only. The full resource name of the AutoProtectionPolicyBinding that applies the source policy to a scope including this workload project. e.g., projects/{admin-project}/locations/{location}/autoProtectionPolicies/{policy_id}/autoProtectionPolicyBindings/{binding_id}.
#status
def status() -> ::Google::Cloud::BackupDR::V1beta::AppliedAutoProtectionPolicy::State
Returns
- (::Google::Cloud::BackupDR::V1beta::AppliedAutoProtectionPolicy::State) — Output only. The status of the applied auto protection policy.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Timestamp indicating when the binding was last modified.