構造体 GetInstance(0.5.0)

[DataFusion::get_instance][crate::client::DataFusion::get_instance] 呼び出しのリクエスト ビルダー。

例

# use google_cloud_datafusion_v1::builder;
use builder::data_fusion::GetInstance;
# tokio_test::block_on(async {

let builder = prepare_request_builder();
let response = builder.send().await?;
# gax::Result::<()>::Ok(()) });

fn prepare_request_builder() -> GetInstance {
  # panic!();
  // ... details omitted ...
}

実装

with_request

 fn with_request<V: Into<crate::model::GetInstanceRequest>>(self, v: V) -> Self

リクエスト全体を設定し、以前の値を置き換えます。

with_options

 fn with_options<V: Into<gax::options::RequestOptions>>(self, v: V) -> Self

すべてのオプションを設定し、以前の値を置き換えます。

送信

async fn send(self) -> Result<crate::model::Instance>

リクエストを送信します。

set_name

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

[name][crate::model::GetInstanceRequest::name] の値を設定します。

これはリクエストの必須項目です。