Interface CreateAutoProtectionPolicyBindingRequestOrBuilder (0.62.0)

public interface CreateAutoProtectionPolicyBindingRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutoProtectionPolicyBinding()

public abstract AutoProtectionPolicyBinding getAutoProtectionPolicyBinding()

Required. The AutoProtectionPolicyBinding resource to create.

.google.cloud.backupdr.v1.AutoProtectionPolicyBinding auto_protection_policy_binding = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AutoProtectionPolicyBinding

The autoProtectionPolicyBinding.

getAutoProtectionPolicyBindingId()

public abstract String getAutoProtectionPolicyBindingId()

Required. The ID to use for the binding. This will become the final component of the binding'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.

string auto_protection_policy_binding_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The autoProtectionPolicyBindingId.

getAutoProtectionPolicyBindingIdBytes()

public abstract ByteString getAutoProtectionPolicyBindingIdBytes()

Required. The ID to use for the binding. This will become the final component of the binding'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.

string auto_protection_policy_binding_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for autoProtectionPolicyBindingId.

getAutoProtectionPolicyBindingOrBuilder()

public abstract AutoProtectionPolicyBindingOrBuilder getAutoProtectionPolicyBindingOrBuilder()

Required. The AutoProtectionPolicyBinding resource to create.

.google.cloud.backupdr.v1.AutoProtectionPolicyBinding auto_protection_policy_binding = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AutoProtectionPolicyBindingOrBuilder

getParent()

public abstract String getParent()

Required. The parent resource where this binding will be created. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent resource where this binding will be created. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequestId()

public abstract String getRequestId()

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

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public abstract ByteString getRequestIdBytes()

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

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

hasAutoProtectionPolicyBinding()

public abstract boolean hasAutoProtectionPolicyBinding()

Required. The AutoProtectionPolicyBinding resource to create.

.google.cloud.backupdr.v1.AutoProtectionPolicyBinding auto_protection_policy_binding = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the autoProtectionPolicyBinding field is set.