Interface CreateBackupRequestOrBuilder (1.56.0)

public interface CreateBackupRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackup()

public abstract Backup getBackup()

Required. A backup resource

.google.cloud.filestore.v1beta1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Backup

The backup.

getBackupId()

public abstract String getBackupId()

Required. The ID to use for the backup. The ID must be unique within the specified project and location.

This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

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

Returns
Type Description
String

The backupId.

getBackupIdBytes()

public abstract ByteString getBackupIdBytes()

Required. The ID to use for the backup. The ID must be unique within the specified project and location.

This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

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

Returns
Type Description
ByteString

The bytes for backupId.

getBackupOrBuilder()

public abstract BackupOrBuilder getBackupOrBuilder()

Required. A backup resource

.google.cloud.filestore.v1beta1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackupOrBuilder

getParent()

public abstract String getParent()

Required. The backup's project and location, in the format projects/{project_id}/locations/{location}. In Filestore, backup locations map to Google Cloud regions, for example us-west1.

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 backup's project and location, in the format projects/{project_id}/locations/{location}. In Filestore, backup locations map to Google Cloud regions, for example us-west1.

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

Required. A backup resource

.google.cloud.filestore.v1beta1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the backup field is set.