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.
Implements
Inherited Members
Namespace: Google.Apis.Backupdr.v1beta.Data
Assembly: Google.Apis.Backupdr.v1beta.dll
Syntax
public class AutoProtectionPolicy : IDirectResponseSchema
Properties
BackupPlanDetails
Required. The backup plan details for matching resources.
Declaration
[JsonProperty("backupPlanDetails")]
public virtual IList<BackupPlanDetail> BackupPlanDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<BackupPlanDetail> |
BindingSummary
Output only. Summary of total count of different containers covered through this policy.
Declaration
[JsonProperty("bindingSummary")]
public virtual BindingSummary BindingSummary { get; set; }
Property Value
| Type | Description |
|---|---|
| BindingSummary |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. The timestamp when the policy was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Criteria
Required. The criteria for matching resources.
Declaration
[JsonProperty("criteria")]
public virtual Criteria Criteria { get; set; }
Property Value
| Type | Description |
|---|---|
| Criteria |
Description
Optional. A description of the policy.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
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.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Identifier. The resource name of the AutoprotectionPolicy. Format:
projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PolicyEvaluationSummary
Output only. Summary of last policy application when job was run per workload type.
Declaration
[JsonProperty("policyEvaluationSummary")]
public virtual PolicyEvaluationSummary PolicyEvaluationSummary { get; set; }
Property Value
| Type | Description |
|---|---|
| PolicyEvaluationSummary |
State
Output only. The current state of the AutoprotectionPolicy.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. The timestamp when the policy was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |