Struct ExportPreviewResult (0.5.0)

O builder de solicitações para chamadas [Config::export_preview_result][crate::client::Config::export_preview_result].

Exemplo

# use google_cloud_config_v1::builder;
use builder::config::ExportPreviewResult;
# tokio_test::block_on(async {

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

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

Implementações

with_request

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

Define a solicitação completa, substituindo todos os valores anteriores.

with_options

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

Define todas as opções, substituindo os valores anteriores.

enviar

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

Envia a solicitação.

set_parent

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

Define o valor de [parent][crate::model::ExportPreviewResultRequest::parent].

Este é um campo obrigatório para solicitações.