Google Cloud Dataproc Metastore V1beta Client - Class DatabaseDump (0.8.1)

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

A specification of the location of and metadata about a database dump from a relational database management system.

Generated from protobuf message google.cloud.metastore.v1beta.MetadataImport.DatabaseDump

Namespace

Google \ Cloud \ Metastore \ V1beta \ MetadataImport

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ database_type int

The type of the database.

↳ gcs_uri string

A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.

↳ source_database string

The name of the source database.

↳ type int

Optional. The type of the database dump. If unspecified, defaults to MYSQL.

getDatabaseType

The type of the database.

Returns
TypeDescription
int

setDatabaseType

The type of the database.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getGcsUri

A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.

Returns
TypeDescription
string

setGcsUri

A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSourceDatabase

The name of the source database.

Returns
TypeDescription
string

setSourceDatabase

The name of the source database.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

Optional. The type of the database dump. If unspecified, defaults to MYSQL.

Returns
TypeDescription
int

setType

Optional. The type of the database dump. If unspecified, defaults to MYSQL.

Parameter
NameDescription
var int
Returns
TypeDescription
$this