Interface CreateBackupPlanRequestOrBuilder (0.7.0)

public interface CreateBackupPlanRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupPlan()

public abstract BackupPlan getBackupPlan()

Required. The BackupPlan resource object to create.

.google.cloud.gkebackup.v1.BackupPlan backup_plan = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BackupPlan

The backupPlan.

getBackupPlanId()

public abstract String getBackupPlanId()

Required. The client-provided short name for the BackupPlan 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 BackupPlans in this location

string backup_plan_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The backupPlanId.

getBackupPlanIdBytes()

public abstract ByteString getBackupPlanIdBytes()

Required. The client-provided short name for the BackupPlan 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 BackupPlans in this location

string backup_plan_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for backupPlanId.

getBackupPlanOrBuilder()

public abstract BackupPlanOrBuilder getBackupPlanOrBuilder()

Required. The BackupPlan resource object to create.

.google.cloud.gkebackup.v1.BackupPlan backup_plan = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BackupPlanOrBuilder

getParent()

public abstract String getParent()

Required. The location within which to create the BackupPlan. Format: projects/*/locations/*

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 within which to create the BackupPlan. Format: projects/*/locations/*

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasBackupPlan()

public abstract boolean hasBackupPlan()

Required. The BackupPlan resource object to create.

.google.cloud.gkebackup.v1.BackupPlan backup_plan = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the backupPlan field is set.