Google Cloud Dataproc Metastore V1beta Client - Class GetBackupRequest (1.0.0-RC1)

Reference documentation and code samples for the Google Cloud Dataproc Metastore V1beta Client class GetBackupRequest.

Request message for DataprocMetastore.GetBackup.

Generated from protobuf message google.cloud.metastore.v1beta.GetBackupRequest

Namespace

Google \ Cloud \ Metastore \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The relative resource name of the backup to retrieve, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.

getName

Required. The relative resource name of the backup to retrieve, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.

Returns
Type Description
string

setName

Required. The relative resource name of the backup to retrieve, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The relative resource name of the backup to retrieve, in the following form:

projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}. Please see Google\Cloud\Metastore\V1beta\DataprocMetastoreClient::backupName() for help formatting this field.

Returns
Type Description
Google\Cloud\Metastore\V1beta\GetBackupRequest