Google Cloud Dataproc Metastore V1 Client - Class GetBackupRequest (1.0.2)

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

Request message for DataprocMetastore.GetBackup.

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

Namespace

Google \ Cloud \ Metastore \ V1

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 DataprocMetastoreClient::backupName() for help formatting this field.

Returns
Type Description
GetBackupRequest