Struct gapi_grpc::google::ads::googleads::v6::services::batch_job_service_client::BatchJobServiceClient[][src]

pub struct BatchJobServiceClient<T> { /* fields omitted */ }

Service to manage batch jobs.

Implementations

impl BatchJobServiceClient<Channel>[src]

pub async fn connect<D>(dst: D) -> Result<Self, Error> where
    D: TryInto<Endpoint>,
    D::Error: Into<StdError>, 
[src]

Attempt to create a new client by connecting to a given endpoint.

impl<T> BatchJobServiceClient<T> where
    T: GrpcService<BoxBody>,
    T::ResponseBody: Body + HttpBody + Send + 'static,
    T::Error: Into<StdError>,
    <T::ResponseBody as HttpBody>::Error: Into<StdError> + Send
[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

pub async fn mutate_batch_job(
    &mut self,
    request: impl IntoRequest<MutateBatchJobRequest>
) -> Result<Response<MutateBatchJobResponse>, Status>
[src]

Mutates a batch job.

pub async fn get_batch_job(
    &mut self,
    request: impl IntoRequest<GetBatchJobRequest>
) -> Result<Response<BatchJob>, Status>
[src]

Returns the batch job.

pub async fn list_batch_job_results(
    &mut self,
    request: impl IntoRequest<ListBatchJobResultsRequest>
) -> Result<Response<ListBatchJobResultsResponse>, Status>
[src]

Returns the results of the batch job. The job must be done. Supports standard list paging.

pub async fn run_batch_job(
    &mut self,
    request: impl IntoRequest<RunBatchJobRequest>
) -> Result<Response<Operation>, Status>
[src]

Runs the batch job.

The Operation.metadata field type is BatchJobMetadata. When finished, the long running operation will not contain errors or a response. Instead, use ListBatchJobResults to get the results of the job.

pub async fn add_batch_job_operations(
    &mut self,
    request: impl IntoRequest<AddBatchJobOperationsRequest>
) -> Result<Response<AddBatchJobOperationsResponse>, Status>
[src]

Add operations to the batch job.

Trait Implementations

impl<T: Clone> Clone for BatchJobServiceClient<T>[src]

impl<T> Debug for BatchJobServiceClient<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for BatchJobServiceClient<T>

impl<T> Send for BatchJobServiceClient<T> where
    T: Send

impl<T> Sync for BatchJobServiceClient<T> where
    T: Sync

impl<T> Unpin for BatchJobServiceClient<T> where
    T: Unpin

impl<T> !UnwindSafe for BatchJobServiceClient<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]