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

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

static::build

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

Returns
TypeDescription
Google\Cloud\Metastore\V1\GetBackupRequest