Google Cloud Dataproc Metastore V1 Client - Class BackendMetastore (0.5.1)

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

Represents a backend metastore for the federation.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below: * Dataplex * projects/{project_id}/locations/{location}/lakes/{lake_id} * BigQuery * projects/{project_id} * Dataproc Metastore * projects/{project_id}/locations/{location}/services/{service_id}

↳ metastore_type int

The type of the backend metastore.

getName

The relative resource name of the metastore that is being federated.

The formats of the relative resource names for the currently supported metastores are listed below:

  • Dataplex
    • projects/{project_id}/locations/{location}/lakes/{lake_id}
  • BigQuery
    • projects/{project_id}
  • Dataproc Metastore
    • projects/{project_id}/locations/{location}/services/{service_id}
Returns
TypeDescription
string

setName

The relative resource name of the metastore that is being federated.

The formats of the relative resource names for the currently supported metastores are listed below:

  • Dataplex
    • projects/{project_id}/locations/{location}/lakes/{lake_id}
  • BigQuery
    • projects/{project_id}
  • Dataproc Metastore
    • projects/{project_id}/locations/{location}/services/{service_id}
Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMetastoreType

The type of the backend metastore.

Returns
TypeDescription
int

setMetastoreType

The type of the backend metastore.

Parameter
NameDescription
var int
Returns
TypeDescription
$this