Interface CreateAutoProtectionPolicyBindingRequestOrBuilder (0.58.0)

public interface CreateAutoProtectionPolicyBindingRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutoProtectionPolicyBinding()

public abstract AutoProtectionPolicyBinding getAutoProtectionPolicyBinding()

Required. The AutoProtectionPolicyBinding resource to create.

.google.cloud.backupdr.v1beta.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.

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.

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

hasAutoProtectionPolicyBinding()

public abstract boolean hasAutoProtectionPolicyBinding()

Required. The AutoProtectionPolicyBinding resource to create.

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

Returns
Type Description
boolean

Whether the autoProtectionPolicyBinding field is set.