# Dataproc Metastore V1 API - Class Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump (v2.5.0)

2.5.0 (latest) 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the Dataproc Metastore V1 API class Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #database_type

    def database_type() -> ::Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump::DatabaseType

**Returns**

- ([::Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump::DatabaseType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-MetadataImport-DatabaseDump-DatabaseType)) --- The type of the database.

### #database_type=

    def database_type=(value) -> ::Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump::DatabaseType

**Parameter**

- **value** ([::Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump::DatabaseType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-MetadataImport-DatabaseDump-DatabaseType)) --- The type of the database.
**Returns**

- ([::Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump::DatabaseType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-MetadataImport-DatabaseDump-DatabaseType)) --- The type of the database.

### #gcs_uri

    def gcs_uri() -> ::String

**Returns**

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

### #gcs_uri=

    def gcs_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with `gs://`.
**Returns**

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

### #source_database

    def source_database() -> ::String

**Returns**

- (::String) --- The name of the source database.

### #source_database=

    def source_database=(value) -> ::String

**Parameter**

- **value** (::String) --- The name of the source database.
**Returns**

- (::String) --- The name of the source database.

### #type

    def type() -> ::Google::Cloud::Metastore::V1::DatabaseDumpSpec::Type

**Returns**

- ([::Google::Cloud::Metastore::V1::DatabaseDumpSpec::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-DatabaseDumpSpec-Type)) --- Optional. The type of the database dump. If unspecified, defaults to `MYSQL`.

### #type=

    def type=(value) -> ::Google::Cloud::Metastore::V1::DatabaseDumpSpec::Type

**Parameter**

- **value** ([::Google::Cloud::Metastore::V1::DatabaseDumpSpec::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-DatabaseDumpSpec-Type)) --- Optional. The type of the database dump. If unspecified, defaults to `MYSQL`.
**Returns**

- ([::Google::Cloud::Metastore::V1::DatabaseDumpSpec::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-DatabaseDumpSpec-Type)) --- Optional. The type of the database dump. If unspecified, defaults to `MYSQL`.