public sealed class CreateAutoProtectionPolicyRequest : IMessage<CreateAutoProtectionPolicyRequest>, IEquatable<CreateAutoProtectionPolicyRequest>, IDeepCloneable<CreateAutoProtectionPolicyRequest>, IBufferMessage, IMessageReference documentation and code samples for the Backup and DR Service v1beta API class CreateAutoProtectionPolicyRequest.
Request message for creating an AutoProtectionPolicy.
Implements
IMessageCreateAutoProtectionPolicyRequest, IEquatableCreateAutoProtectionPolicyRequest, IDeepCloneableCreateAutoProtectionPolicyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.BackupDR.V1BetaAssembly
Google.Cloud.BackupDR.V1Beta.dll
Constructors
CreateAutoProtectionPolicyRequest()
public CreateAutoProtectionPolicyRequest()CreateAutoProtectionPolicyRequest(CreateAutoProtectionPolicyRequest)
public CreateAutoProtectionPolicyRequest(CreateAutoProtectionPolicyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateAutoProtectionPolicyRequest |
Properties
AutoProtectionPolicy
public AutoProtectionPolicy AutoProtectionPolicy { get; set; }Required. The AutoProtectionPolicy resource to create.
| Property Value | |
|---|---|
| Type | Description |
AutoProtectionPolicy |
|
AutoProtectionPolicyId
public string AutoProtectionPolicyId { get; set; }Required. The ID to use for the policy. This will become the final component of the policy's resource name.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Parent
public string Parent { get; set; }Required. The parent resource where this policy will be created. Format: projects/{project}/locations/{location}
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }LocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
LocationName |
|