[NetworkServices::update_tcp_route][crate::client::NetworkServices::update_tcp_route] 호출의 요청 빌더입니다.
예
# use google_cloud_networkservices_v1::builder;
use builder::network_services::UpdateTcpRoute;
# tokio_test::block_on(async {
use lro::Poller;
let builder = prepare_request_builder();
let response = builder.poller().until_done().await?;
# gax::Result::<()>::Ok(()) });
fn prepare_request_builder() -> UpdateTcpRoute {
# panic!();
// ... details omitted ...
}
구현
with_request
fn with_request<V: Into<crate::model::UpdateTcpRouteRequest>>(self, v: V) -> Self
전체 요청을 설정하여 이전 값을 대체합니다.
with_options
fn with_options<V: Into<gax::options::RequestOptions>>(self, v: V) -> Self
모든 옵션을 설정하여 이전 값을 대체합니다.
보내기
async fn send(self) -> Result<longrunning::model::Operation>
요청을 전송합니다.
장기 실행 작업
이렇게 하면 장기 실행 작업이 시작되지만 폴링되지는 않습니다. [update_tcp_route][crate::client::NetworkServices::update_tcp_route]에 대한 자세한 정보입니다.
poller
fn poller(self) -> impl lro::Poller<crate::model::TcpRoute, crate::model::OperationMetadata>
update_tcp_route와 함께 작동하는 [Poller][lro::Poller] 를 만듭니다.
set_update_mask
fn set_update_mask<T>(self, v: T) -> Self
where
T: std::convert::Into<wkt::FieldMask>,
[update_mask][crate::model::UpdateTcpRouteRequest::update_mask] 값을 설정합니다.
set_or_clear_update_mask
fn set_or_clear_update_mask<T>(self, v: std::option::Option<T>) -> Self
where
T: std::convert::Into<wkt::FieldMask>,
[update_mask][crate::model::UpdateTcpRouteRequest::update_mask] 값을 설정하거나 지웁니다.
set_tcp_route
fn set_tcp_route<T>(self, v: T) -> Self
where
T: std::convert::Into<crate::model::TcpRoute>,
[tcp_route][crate::model::UpdateTcpRouteRequest::tcp_route] 값을 설정합니다.
요청의 필수 입력란입니다.
set_or_clear_tcp_route
fn set_or_clear_tcp_route<T>(self, v: std::option::Option<T>) -> Self
where
T: std::convert::Into<crate::model::TcpRoute>,
[tcp_route][crate::model::UpdateTcpRouteRequest::tcp_route] 값을 설정하거나 지웁니다.
요청의 필수 입력란입니다.