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) — 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) — The type of the database.
Returns
- (::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) — 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) — Optional. The type of the database dump. If unspecified, defaults to
MYSQL
.
Returns
-
(::Google::Cloud::Metastore::V1::DatabaseDumpSpec::Type) — Optional. The type of the database dump. If unspecified, defaults to
MYSQL
.