Backup and DR Service v1beta API - Class AutoProtectionPolicy (1.0.0-beta01)

public sealed class AutoProtectionPolicy : IMessage<AutoProtectionPolicy>, IEquatable<AutoProtectionPolicy>, IDeepCloneable<AutoProtectionPolicy>, IBufferMessage, IMessage

Reference documentation and code samples for the Backup and DR Service v1beta API class 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.

Inheritance

object > AutoProtectionPolicy

Namespace

Google.Cloud.BackupDR.V1Beta

Assembly

Google.Cloud.BackupDR.V1Beta.dll

Constructors

AutoProtectionPolicy()

public AutoProtectionPolicy()

AutoProtectionPolicy(AutoProtectionPolicy)

public AutoProtectionPolicy(AutoProtectionPolicy other)
Parameter
Name Description
other AutoProtectionPolicy

Properties

AutoProtectionPolicyName

public AutoProtectionPolicyName AutoProtectionPolicyName { get; set; }

AutoProtectionPolicyName-typed view over the Name resource name property.

Property Value
Type Description
AutoProtectionPolicyName

BackupPlanDetails

public RepeatedField<BackupPlanDetail> BackupPlanDetails { get; }

Required. The backup plan details for matching resources.

Property Value
Type Description
RepeatedFieldBackupPlanDetail

BindingSummary

public BindingSummary BindingSummary { get; set; }

Output only. Summary of total count of different containers covered through this policy.

Property Value
Type Description
BindingSummary

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The timestamp when the policy was created.

Property Value
Type Description
Timestamp

Criteria

public Criteria Criteria { get; set; }

Required. The criteria for matching resources.

Property Value
Type Description
Criteria

Description

public string Description { get; set; }

Optional. A description of the policy.

Property Value
Type Description
string

Etag

public string Etag { get; set; }

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.

Property Value
Type Description
string

Name

public string Name { get; set; }

Identifier. The resource name of the AutoprotectionPolicy. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}

Property Value
Type Description
string

PolicyEvaluationSummary

public PolicyEvaluationSummary PolicyEvaluationSummary { get; set; }

Output only. Summary of last policy application when job was run per workload type.

Property Value
Type Description
PolicyEvaluationSummary

State

public AutoProtectionPolicy.Types.State State { get; set; }

Output only. The current state of the AutoprotectionPolicy.

Property Value
Type Description
AutoProtectionPolicyTypesState

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The timestamp when the policy was last updated.

Property Value
Type Description
Timestamp