Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class GetBackupRequest.
Request message for GetBackup.
Generated from protobuf message google.cloud.gkebackup.v1.GetBackupRequest
Methods
build
| Parameter | |
|---|---|
| Name | Description |
name |
string
Required. Full name of the Backup resource. Format: projects//locations//backupPlans//backups/ Please see {@see \Google\Cloud\GkeBackup\V1\BackupForGKEClient::backupName()} for help formatting this field. |
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\GkeBackup\V1\GetBackupRequest |
|
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. Full name of the Backup resource. Format: projects//locations//backupPlans//backups/ |
getName
Required. Full name of the Backup resource.
Format: projects//locations//backupPlans//backups/
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. Full name of the Backup resource.
Format: projects//locations//backupPlans//backups/
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|