Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::AutoProtectionPolicy (v1.13.0)

Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::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::V1::BackupPlanDetail>
Returns

#backup_plan_details=

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

#binding_summary

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

#create_time

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

#criteria

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

#criteria=

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

#description

def description() -> ::String
Returns
  • (::String) — Optional. A description of the policy. The description must be at most 2048 characters.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. A description of the policy. The description must be at most 2048 characters.
Returns
  • (::String) — Optional. A description of the policy. The description must be at most 2048 characters.

#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.

#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.
Returns
  • (::String) — Output only. The etag for the policy. If this is provided on update, it must match the server's etag.

#name

def name() -> ::String
Returns
  • (::String) — Output only. 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::V1::PolicyEvaluationSummary
Returns

#state

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

#update_time

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