public sealed class UpdateAutoProtectionPolicyRequest : IMessage<UpdateAutoProtectionPolicyRequest>, IEquatable<UpdateAutoProtectionPolicyRequest>, IDeepCloneable<UpdateAutoProtectionPolicyRequest>, IBufferMessage, IMessageReference documentation and code samples for the Backup and DR Service v1beta API class UpdateAutoProtectionPolicyRequest.
Request message for updating an AutoProtectionPolicy.
Implements
IMessageUpdateAutoProtectionPolicyRequest, IEquatableUpdateAutoProtectionPolicyRequest, IDeepCloneableUpdateAutoProtectionPolicyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.BackupDR.V1BetaAssembly
Google.Cloud.BackupDR.V1Beta.dll
Constructors
UpdateAutoProtectionPolicyRequest()
public UpdateAutoProtectionPolicyRequest()UpdateAutoProtectionPolicyRequest(UpdateAutoProtectionPolicyRequest)
public UpdateAutoProtectionPolicyRequest(UpdateAutoProtectionPolicyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateAutoProtectionPolicyRequest |
Properties
AutoProtectionPolicy
public AutoProtectionPolicy AutoProtectionPolicy { get; set; }Required. The policy to update.
| Property Value | |
|---|---|
| Type | Description |
AutoProtectionPolicy |
|
UpdateMask
public FieldMask UpdateMask { get; set; }Required. Field mask is used to specify the fields to be overwritten in the AutoProtectionPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
| Property Value | |
|---|---|
| Type | Description |
FieldMask |
|