Google Cloud Dataproc Metastore V1beta Client - Class BackendMetastore (0.4.1)

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

Represents a backend metastore for the federation.

Generated from protobuf message google.cloud.metastore.v1beta.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}

Generated from protobuf field string name = 1;

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}

Generated from protobuf field string name = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMetastoreType

The type of the backend metastore.

Generated from protobuf field .google.cloud.metastore.v1beta.BackendMetastore.MetastoreType metastore_type = 2;

Returns
TypeDescription
int

setMetastoreType

The type of the backend metastore.

Generated from protobuf field .google.cloud.metastore.v1beta.BackendMetastore.MetastoreType metastore_type = 2;

Parameter
NameDescription
var int
Returns
TypeDescription
$this