Backup and DR Service v1 API - Class UpdateAutoProtectionPolicyRequest (2.10.0)

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

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

Request message for updating an AutoProtectionPolicy.

Inheritance

object > UpdateAutoProtectionPolicyRequest

Namespace

Google.Cloud.BackupDR.V1

Assembly

Google.Cloud.BackupDR.V1.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

RequestId

public string RequestId { get; set; }

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Property Value
Type Description
string

UpdateMask

public FieldMask UpdateMask { get; set; }

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