Google Cloud Gke Backup V1 Client - Class GetBackupRequest (0.6.0)

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

Namespace

Google \ Cloud \ GkeBackup \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setName

Required. Full name of the Backup resource.

Format: projects/*/locations/*/backupPlans/*/backups/*

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. Full name of the Backup resource. Format: projects/*/locations/*/backupPlans/*/backups/* Please see Google\Cloud\GkeBackup\V1\BackupForGKEClient::backupName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\GkeBackup\V1\GetBackupRequest