Interface CreateBackupPolicyRequestOrBuilder (0.12.0)

public interface CreateBackupPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupPolicy()

public abstract BackupPolicy getBackupPolicy()

Required. A backupPolicy resource

.google.cloud.netapp.v1.BackupPolicy backup_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BackupPolicy

The backupPolicy.

getBackupPolicyId()

public abstract String getBackupPolicyId()

Required. The ID to use for the backup policy. The ID must be unique within the specified location. 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 backup_policy_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The backupPolicyId.

getBackupPolicyIdBytes()

public abstract ByteString getBackupPolicyIdBytes()

Required. The ID to use for the backup policy. The ID must be unique within the specified location. 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 backup_policy_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for backupPolicyId.

getBackupPolicyOrBuilder()

public abstract BackupPolicyOrBuilder getBackupPolicyOrBuilder()

Required. A backupPolicy resource

.google.cloud.netapp.v1.BackupPolicy backup_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BackupPolicyOrBuilder

getParent()

public abstract String getParent()

Required. The location to create the backup policies of, in the format projects/{project_id}/locations/{location}

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The location to create the backup policies of, in the format projects/{project_id}/locations/{location}

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasBackupPolicy()

public abstract boolean hasBackupPolicy()

Required. A backupPolicy resource

.google.cloud.netapp.v1.BackupPolicy backup_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the backupPolicy field is set.