リレーショナル データベース管理システムからのデータベース ダンプの場所とメタデータの仕様。
フィールド
database_type
データベースのタイプ。
gcs_uri
メタデータのインポート元を指定する Cloud Storage オブジェクトまたはフォルダの URI。先頭を gs:// にする必要があります。
source_database
ソース データベースの名前。
type
省略可。データベース ダンプのタイプ。指定しない場合のデフォルトは MYSQL です。
実装
新規
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
[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
[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
[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
[r#type][crate::model::metadata_import::DatabaseDump::type] の値を設定します。