Reference documentation and code samples for the Google Cloud Dataproc Metastore V1alpha 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.v1alpha.MetadataImport.DatabaseDump
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 |
↳ source_database |
string
The name of the source database. |
↳ type |
int
Optional. The type of the database dump. If unspecified, defaults to |
getDatabaseType
The type of the database.
Generated from protobuf field .google.cloud.metastore.v1alpha.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
int |
|
setDatabaseType
The type of the database.
Generated from protobuf field .google.cloud.metastore.v1alpha.MetadataImport.DatabaseDump.DatabaseType database_type = 1 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGcsUri
A Cloud Storage object or folder URI that specifies the source from which
to import metadata. It must begin with gs://.
Generated from protobuf field string gcs_uri = 2;
| Returns | |
|---|---|
| Type | Description |
string |
|
setGcsUri
A Cloud Storage object or folder URI that specifies the source from which
to import metadata. It must begin with gs://.
Generated from protobuf field string gcs_uri = 2;
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSourceDatabase
The name of the source database.
Generated from protobuf field string source_database = 3 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
string |
|
setSourceDatabase
The name of the source database.
Generated from protobuf field string source_database = 3 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
Optional. The type of the database dump. If unspecified, defaults to
MYSQL.
Generated from protobuf field .google.cloud.metastore.v1alpha.DatabaseDumpSpec.Type type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
setType
Optional. The type of the database dump. If unspecified, defaults to
MYSQL.
Generated from protobuf field .google.cloud.metastore.v1alpha.DatabaseDumpSpec.Type type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|