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.v18.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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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