public interface CreateBackupPolicyRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBackupPolicy()
public abstract BackupPolicy getBackupPolicy()
Required. A backupPolicy resource
.google.cloud.netapp.v1.BackupPolicy backup_policy = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
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. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
string backup_policy_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
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. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
string backup_policy_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean |
Whether the backupPolicy field is set. |