Interface UpdateBackupRequestOrBuilder (0.33.0)

public interface UpdateBackupRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackup()

public abstract Backup getBackup()

Required. A new version of the Backup resource that contains updated fields. This may be sparsely populated if an update_mask is provided.

.google.cloud.gkebackup.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Backup

The backup.

getBackupOrBuilder()

public abstract BackupOrBuilder getBackupOrBuilder()

Required. A new version of the Backup resource that contains updated fields. This may be sparsely populated if an update_mask is provided.

.google.cloud.gkebackup.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BackupOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

This is used to specify the fields to be overwritten in the Backup targeted for update. The values for each of these updated fields will be taken from the backup_plan provided with this request. Field names are relative to the root of the resource. If no update_mask is provided, all fields in backup will be written to the target Backup resource. Note that OUTPUT_ONLY and IMMUTABLE fields in backup are ignored and are not used to update the target Backup.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

This is used to specify the fields to be overwritten in the Backup targeted for update. The values for each of these updated fields will be taken from the backup_plan provided with this request. Field names are relative to the root of the resource. If no update_mask is provided, all fields in backup will be written to the target Backup resource. Note that OUTPUT_ONLY and IMMUTABLE fields in backup are ignored and are not used to update the target Backup.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasBackup()

public abstract boolean hasBackup()

Required. A new version of the Backup resource that contains updated fields. This may be sparsely populated if an update_mask is provided.

.google.cloud.gkebackup.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the backup field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

This is used to specify the fields to be overwritten in the Backup targeted for update. The values for each of these updated fields will be taken from the backup_plan provided with this request. Field names are relative to the root of the resource. If no update_mask is provided, all fields in backup will be written to the target Backup resource. Note that OUTPUT_ONLY and IMMUTABLE fields in backup are ignored and are not used to update the target Backup.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.