Struct googapis::google::ads::googleads::v8::services::customer_manager_link_service_client::CustomerManagerLinkServiceClient [−][src]
pub struct CustomerManagerLinkServiceClient<T> { /* fields omitted */ }
Expand description
Service to manage customer-manager links.
Implementations
impl<T> CustomerManagerLinkServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> CustomerManagerLinkServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
pub fn with_interceptor<F>(
inner: T,
interceptor: F
) -> CustomerManagerLinkServiceClient<InterceptedService<T, F>> where
F: Interceptor,
T: Service<Request<BoxBody>, Response = Response<<T as GrpcService<BoxBody>>::ResponseBody>>,
<T as Service<Request<BoxBody>>>::Error: Into<StdError> + Send + Sync,
Compress requests with gzip
.
This requires the server to support it otherwise it might respond with an error.
Enable decompressing responses with gzip
.
pub async fn get_customer_manager_link(
&mut self,
request: impl IntoRequest<GetCustomerManagerLinkRequest>
) -> Result<Response<CustomerManagerLink>, Status>
pub async fn get_customer_manager_link(
&mut self,
request: impl IntoRequest<GetCustomerManagerLinkRequest>
) -> Result<Response<CustomerManagerLink>, Status>
Returns the requested CustomerManagerLink in full detail.
List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError
pub async fn mutate_customer_manager_link(
&mut self,
request: impl IntoRequest<MutateCustomerManagerLinkRequest>
) -> Result<Response<MutateCustomerManagerLinkResponse>, Status>
pub async fn mutate_customer_manager_link(
&mut self,
request: impl IntoRequest<MutateCustomerManagerLinkRequest>
) -> Result<Response<MutateCustomerManagerLinkResponse>, Status>
Creates or updates customer manager links. Operation statuses are returned.
List of thrown errors: AuthenticationError AuthorizationError DatabaseError FieldError FieldMaskError HeaderError InternalError ManagerLinkError MutateError QuotaError RequestError
pub async fn move_manager_link(
&mut self,
request: impl IntoRequest<MoveManagerLinkRequest>
) -> Result<Response<MoveManagerLinkResponse>, Status>
pub async fn move_manager_link(
&mut self,
request: impl IntoRequest<MoveManagerLinkRequest>
) -> Result<Response<MoveManagerLinkResponse>, Status>
Moves a client customer to a new manager customer. This simplifies the complex request that requires two operations to move a client customer to a new manager. i.e:
- Update operation with Status INACTIVE (previous manager) and,
- Update operation with Status ACTIVE (new manager).
List of thrown errors: AuthenticationError AuthorizationError DatabaseError FieldError HeaderError InternalError MutateError QuotaError RequestError
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for CustomerManagerLinkServiceClient<T> where
T: RefUnwindSafe,
impl<T> Send for CustomerManagerLinkServiceClient<T> where
T: Send,
impl<T> Sync for CustomerManagerLinkServiceClient<T> where
T: Sync,
impl<T> Unpin for CustomerManagerLinkServiceClient<T> where
T: Unpin,
impl<T> UnwindSafe for CustomerManagerLinkServiceClient<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more