The request builder for [Dataform::remove_directory][crate::client::Dataform::remove_directory] calls.
Example
# use google_cloud_dataform_v1::builder;
use builder::dataform::RemoveDirectory;
# tokio_test::block_on(async {
let builder = prepare_request_builder();
let response = builder.send().await?;
# gax::Result::<()>::Ok(()) });
fn prepare_request_builder() -> RemoveDirectory {
# panic!();
// ... details omitted ...
}
Implementations
with_request
fn with_request<V: Into<crate::model::RemoveDirectoryRequest>>(self, v: V) -> Self
Sets the full request, replacing any prior values.
with_options
fn with_options<V: Into<gax::options::RequestOptions>>(self, v: V) -> Self
Sets all the options, replacing any prior values.
send
async fn send(self) -> Result<crate::model::RemoveDirectoryResponse>
Sends the request.
set_workspace
fn set_workspace<T: Into<std::string::String>>(self, v: T) -> Self
Sets the value of [workspace][crate::model::RemoveDirectoryRequest::workspace].
This is a required field for requests.
set_path
fn set_path<T: Into<std::string::String>>(self, v: T) -> Self
Sets the value of [path][crate::model::RemoveDirectoryRequest::path].
This is a required field for requests.