Struct DeleteOperation (0.5.0)

[InsightsConfigService::delete_operation][crate::client::InsightsConfigService::delete_operation] 呼叫的要求建構工具。

範例

# use google_cloud_developerconnect_v1::builder;
use builder::insights_config_service::DeleteOperation;
# tokio_test::block_on(async {

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

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

實作

with_request

 fn with_request<V: Into<longrunning::model::DeleteOperationRequest>>(self, v: V) -> Self

設定完整要求,取代任何先前的值。

with_options

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

設定所有選項,取代任何先前的值。

傳送

async fn send(self) -> Result<>

傳送要求。

set_name

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

設定 [name][longrunning::model::DeleteOperationRequest::name] 的值。