Google Cloud Dataproc Metastore V1beta Client - Class MoveTableToDatabaseRequest (1.0.0)

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

Request message for DataprocMetastore.MoveTableToDatabase.

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

Namespace

Google \ Cloud \ Metastore \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getTableName

Required. The name of the table to be moved.

Returns
Type Description
string

setTableName

Required. The name of the table to be moved.

Parameter
Name Description
var string
Returns
Type Description
$this

getDbName

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

Returns
Type Description
string

setDbName

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

Parameter
Name Description
var string
Returns
Type Description
$this

getDestinationDbName

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

Returns
Type Description
string

setDestinationDbName

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

Parameter
Name Description
var string
Returns
Type Description
$this