Struct DatabaseDump (0.5.0)

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

Fields

database_type

The type of the database.

gcs_uri

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

source_database

The name of the source database.

type

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

Implementations

new

 fn new() -> Self

set_database_type

 fn set_database_type<T: std::convert::Into<crate::model::metadata_import::database_dump::DatabaseType>>(self, v: T) -> Self

Sets the value of [database_type][crate::model::metadata_import::DatabaseDump::database_type].

set_gcs_uri

 fn set_gcs_uri<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [gcs_uri][crate::model::metadata_import::DatabaseDump::gcs_uri].

set_source_database

 fn set_source_database<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [source_database][crate::model::metadata_import::DatabaseDump::source_database].

set_type

 fn set_type<T: std::convert::Into<crate::model::database_dump_spec::Type>>(self, v: T) -> Self

Sets the value of [r#type][crate::model::metadata_import::DatabaseDump::type].