Struct gapi_grpc::google::ads::googleads::v5::resources::BatchJob[][src]

pub struct BatchJob {
    pub resource_name: String,
    pub id: Option<i64>,
    pub next_add_sequence_token: Option<String>,
    pub metadata: Option<BatchJobMetadata>,
    pub status: i32,
    pub long_running_operation: Option<String>,
}

A list of mutates being processed asynchronously. The mutates are uploaded by the user. The mutates themselves aren’t readable and the results of the job can only be read using BatchJobService.ListBatchJobResults.

Fields

resource_name: String

Immutable. The resource name of the batch job. Batch job resource names have the form:

customers/{customer_id}/batchJobs/{batch_job_id}

id: Option<i64>

Output only. ID of this batch job.

next_add_sequence_token: Option<String>

Output only. The next sequence token to use when adding operations. Only set when the batch job status is PENDING.

metadata: Option<BatchJobMetadata>

Output only. Contains additional information about this batch job.

status: i32

Output only. Status of this batch job.

long_running_operation: Option<String>

Output only. The resource name of the long-running operation that can be used to poll for completion. Only set when the batch job status is RUNNING or DONE.

Implementations

impl BatchJob[src]

pub fn status(&self) -> BatchJobStatus[src]

Returns the enum value of status, or the default if the field is set to an invalid enum value.

pub fn set_status(&mut self, value: BatchJobStatus)[src]

Sets status to the provided enum value.

Trait Implementations

impl Clone for BatchJob[src]

impl Debug for BatchJob[src]

impl Default for BatchJob[src]

impl Message for BatchJob[src]

impl PartialEq<BatchJob> for BatchJob[src]

impl StructuralPartialEq for BatchJob[src]

Auto Trait Implementations

impl RefUnwindSafe for BatchJob

impl Send for BatchJob

impl Sync for BatchJob

impl Unpin for BatchJob

impl UnwindSafe for BatchJob

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]