Struct google_api_proto::google::ads::googleads::v15::services::AddBatchJobOperationsRequest
source · pub struct AddBatchJobOperationsRequest {
pub resource_name: String,
pub sequence_token: String,
pub mutate_operations: Vec<MutateOperation>,
}
Expand description
Request message for [BatchJobService.AddBatchJobOperations][google.ads.googleads.v15.services.BatchJobService.AddBatchJobOperations].
Fields§
§resource_name: String
Required. The resource name of the batch job.
sequence_token: String
A token used to enforce sequencing.
The first AddBatchJobOperations request for a batch job should not set sequence_token. Subsequent requests must set sequence_token to the value of next_sequence_token received in the previous AddBatchJobOperations response.
mutate_operations: Vec<MutateOperation>
Required. The list of mutates being added.
Operations can use negative integers as temp ids to signify dependencies between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to “customers/1234/campaigns/-1”, and creating an ad group in the second operation with the campaign field also set to “customers/1234/campaigns/-1”.
Trait Implementations§
source§impl Clone for AddBatchJobOperationsRequest
impl Clone for AddBatchJobOperationsRequest
source§fn clone(&self) -> AddBatchJobOperationsRequest
fn clone(&self) -> AddBatchJobOperationsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddBatchJobOperationsRequest
impl Debug for AddBatchJobOperationsRequest
source§impl Message for AddBatchJobOperationsRequest
impl Message for AddBatchJobOperationsRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for AddBatchJobOperationsRequest
impl PartialEq for AddBatchJobOperationsRequest
source§fn eq(&self, other: &AddBatchJobOperationsRequest) -> bool
fn eq(&self, other: &AddBatchJobOperationsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddBatchJobOperationsRequest
Auto Trait Implementations§
impl Freeze for AddBatchJobOperationsRequest
impl RefUnwindSafe for AddBatchJobOperationsRequest
impl Send for AddBatchJobOperationsRequest
impl Sync for AddBatchJobOperationsRequest
impl Unpin for AddBatchJobOperationsRequest
impl UnwindSafe for AddBatchJobOperationsRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request