Interface CreateBackupRequestOrBuilder (0.45.0)

public interface CreateBackupRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackup()

public abstract Backup getBackup()

Optional. The Backup resource to create.

.google.cloud.gkebackup.v1.Backup backup = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Backup

The backup.

getBackupId()

public abstract String getBackupId()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The backupId.

getBackupIdBytes()

public abstract ByteString getBackupIdBytes()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for backupId.

getBackupOrBuilder()

public abstract BackupOrBuilder getBackupOrBuilder()

Optional. The Backup resource to create.

.google.cloud.gkebackup.v1.Backup backup = 2 [(.google.api.field_behavior) = OPTIONAL];

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

Optional. The Backup resource to create.

.google.cloud.gkebackup.v1.Backup backup = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the backup field is set.