Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class CreateBackupRequest.
Request message for CreateBackup.
Generated from protobuf message google.cloud.gkebackup.v1.CreateBackupRequest
Namespace
Google \ Cloud \ GkeBackup \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The BackupPlan within which to create the Backup. Format: projects/*/locations/*/backupPlans/*
↳ backup
↳ backup_id
string
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
getParent
Required. The BackupPlan within which to create the Backup.
Format: projects/*/locations/*/backupPlans/*
string
setParent
Required. The BackupPlan within which to create the Backup.
Format: projects/*/locations/*/backupPlans/*
var
string
$this
getBackup
Optional. The Backup resource to create.
hasBackup
clearBackup
setBackup
Optional. The Backup resource to create.
$this
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
setBackupId
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
var
string
$this
static::build
parent
string
Required. The BackupPlan within which to create the Backup.
Format: projects/*/locations/*/backupPlans/*
Please see BackupForGKEClient::backupPlanName()
for help formatting this field.
backup
backupId
string
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