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

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

Reference documentation and code samples for the Backup and DR Service v1beta API class UpdateAutoProtectionPolicyRequest.

Request message for updating an AutoProtectionPolicy.

Inheritance

object > UpdateAutoProtectionPolicyRequest

Namespace

Google.Cloud.BackupDR.V1Beta

Assembly

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