Google Cloud Dataproc Metastore V1 Client - Class MoveTableToDatabaseRequest (0.10.2)

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

Request message for DataprocMetastore.MoveTableToDatabase.

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

Namespace

Google \ Cloud \ Metastore \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ service string

Required. The relative resource name of the metastore service to mutate metadata, in the following format: projects/{project_id}/locations/{location_id}/services/{service_id}.

↳ table_name string

Required. The name of the table to be moved.

↳ db_name string

Required. The name of the database where the table resides.

↳ destination_db_name string

Required. The name of the database where the table should be moved.

getService

Required. The relative resource name of the metastore service to mutate metadata, in the following format: projects/{project_id}/locations/{location_id}/services/{service_id}.

Returns
TypeDescription
string

setService

Required. The relative resource name of the metastore service to mutate metadata, in the following format: projects/{project_id}/locations/{location_id}/services/{service_id}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTableName

Required. The name of the table to be moved.

Returns
TypeDescription
string

setTableName

Required. The name of the table to be moved.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDbName

Required. The name of the database where the table resides.

Returns
TypeDescription
string

setDbName

Required. The name of the database where the table resides.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDestinationDbName

Required. The name of the database where the table should be moved.

Returns
TypeDescription
string

setDestinationDbName

Required. The name of the database where the table should be moved.

Parameter
NameDescription
var string
Returns
TypeDescription
$this