public interface CreateBackupRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBackup()
public abstract Backup getBackup()
The Backup resource to create.
.google.cloud.gkebackup.v1.Backup backup = 2;
Returns | |
---|---|
Type | Description |
Backup | The backup. |
getBackupId()
public abstract String getBackupId()
The client-provided short name for the Backup resource. This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of Backups in this BackupPlan
string backup_id = 3;
Returns | |
---|---|
Type | Description |
String | The backupId. |
getBackupIdBytes()
public abstract ByteString getBackupIdBytes()
The client-provided short name for the Backup resource. This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of Backups in this BackupPlan
string backup_id = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for backupId. |
getBackupOrBuilder()
public abstract BackupOrBuilder getBackupOrBuilder()
The Backup resource to create.
.google.cloud.gkebackup.v1.Backup backup = 2;
Returns | |
---|---|
Type | Description |
BackupOrBuilder |
getParent()
public abstract String getParent()
Required. The BackupPlan within which to create the Backup.
Format: projects/*/locations/*/backupPlans/*
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 BackupPlan within which to create the Backup.
Format: projects/*/locations/*/backupPlans/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for parent. |
hasBackup()
public abstract boolean hasBackup()
The Backup resource to create.
.google.cloud.gkebackup.v1.Backup backup = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the backup field is set. |