Struct GetInstance (0.5.0)

Il generatore di richieste per le chiamate [DataFusion::get_instance][crate::client::DataFusion::get_instance].

Esempio

# 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 ...
}

Implementazioni

with_request

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

Imposta la richiesta completa, sostituendo i valori precedenti.

with_options

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

Imposta tutte le opzioni, sostituendo i valori precedenti.

invia

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

Invia la richiesta.

set_name

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

Imposta il valore di [name][crate::model::GetInstanceRequest::name].

Questo campo è obbligatorio per le richieste.