Backup and DR Service V1BETA API - Class Google::Cloud::BackupDR::V1beta::AutoProtectionPolicy (v0.1.0)

Reference documentation and code samples for the Backup and DR Service V1BETA API class Google::Cloud::BackupDR::V1beta::AutoProtectionPolicy.

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.

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

#backup_plan_details=

def backup_plan_details=(value) -> ::Array<::Google::Cloud::BackupDR::V1beta::BackupPlanDetail>
Parameter
Returns

#binding_summary

def binding_summary() -> ::Google::Cloud::BackupDR::V1beta::BindingSummary
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#criteria

def criteria() -> ::Google::Cloud::BackupDR::V1beta::Criteria
Returns

#criteria=

def criteria=(value) -> ::Google::Cloud::BackupDR::V1beta::Criteria
Parameter
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. A description of the policy.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. A description of the policy.
Returns
  • (::String) — Optional. A description of the policy.

#etag

def etag() -> ::String
Returns
  • (::String) — 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.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The resource name of the AutoprotectionPolicy. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The resource name of the AutoprotectionPolicy. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}
Returns
  • (::String) — Identifier. The resource name of the AutoprotectionPolicy. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}

#policy_evaluation_summary

def policy_evaluation_summary() -> ::Google::Cloud::BackupDR::V1beta::PolicyEvaluationSummary
Returns

#state

def state() -> ::Google::Cloud::BackupDR::V1beta::AutoProtectionPolicy::State
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns