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
Methods
build
parent
string
Required. The BackupPlan within which to create the Backup. Format: projects/ /locations/ /backupPlans/* Please see {@see \Google\Cloud\GkeBackup\V1\BackupForGKEClient::backupPlanName()} for help formatting this field.
backup
backupId
string
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
__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
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
The Backup resource to create.
hasBackup
clearBackup
setBackup
The Backup resource to create.
$this
getBackupId
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
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