Interface CreateBackupChannelRequestOrBuilder (0.61.0)

public interface CreateBackupChannelRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupChannel()

public abstract BackupChannel getBackupChannel()

Required. The BackupChannel resource object to create.

.google.cloud.gkebackup.v1.BackupChannel backup_channel = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackupChannel

The backupChannel.

getBackupChannelId()

public abstract String getBackupChannelId()

Optional. The client-provided short name for the BackupChannel 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 BackupChannels in this location If the user does not provide a name, a uuid will be used as the name.

string backup_channel_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The backupChannelId.

getBackupChannelIdBytes()

public abstract ByteString getBackupChannelIdBytes()

Optional. The client-provided short name for the BackupChannel 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 BackupChannels in this location If the user does not provide a name, a uuid will be used as the name.

string backup_channel_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for backupChannelId.

getBackupChannelOrBuilder()

public abstract BackupChannelOrBuilder getBackupChannelOrBuilder()

Required. The BackupChannel resource object to create.

.google.cloud.gkebackup.v1.BackupChannel backup_channel = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackupChannelOrBuilder

getParent()

public abstract String getParent()

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

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

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

Returns
Type Description
ByteString

The bytes for parent.

hasBackupChannel()

public abstract boolean hasBackupChannel()

Required. The BackupChannel resource object to create.

.google.cloud.gkebackup.v1.BackupChannel backup_channel = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the backupChannel field is set.