CreateAutoProtectionPolicyRequest(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)Request message for creating an AutoProtectionPolicy.
Attributes |
|
|---|---|
| Name | Description |
parent |
str
Required. The parent resource where this policy will be created. Format: projects/{project}/locations/{location} |
auto_protection_policy_id |
str
Required. The ID to use for the policy. This will become the final component of the policy's resource name. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. |
auto_protection_policy |
google.cloud.backupdr_v1.types.AutoProtectionPolicy
Required. The AutoProtectionPolicy resource to create. |
request_id |
str
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). |