Struct google_api_proto::google::ads::googleads::v17::resources::OfflineUserDataJob
source · pub struct OfflineUserDataJob {
pub resource_name: String,
pub id: Option<i64>,
pub external_id: Option<i64>,
pub type: i32,
pub status: i32,
pub failure_reason: i32,
pub operation_metadata: Option<OfflineUserDataJobMetadata>,
pub metadata: Option<Metadata>,
}
Expand description
A job containing offline user data of store visitors, or user list members that will be processed asynchronously. The uploaded data isn’t readable and the processing results of the job can only be read using GoogleAdsService.Search/SearchStream.
Fields§
§resource_name: String
Immutable. The resource name of the offline user data job. Offline user data job resource names have the form:
customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}
id: Option<i64>
Output only. ID of this offline user data job.
external_id: Option<i64>
Immutable. User specified job ID.
type: i32
Immutable. Type of the job.
status: i32
Output only. Status of the job.
failure_reason: i32
Output only. Reason for the processing failure, if status is FAILED.
operation_metadata: Option<OfflineUserDataJobMetadata>
Output only. Metadata of offline user data job depicting match rate range.
metadata: Option<Metadata>
Metadata of the job.
Implementations§
source§impl OfflineUserDataJob
impl OfflineUserDataJob
sourcepub fn type(&self) -> OfflineUserDataJobType
pub fn type(&self) -> OfflineUserDataJobType
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_type(&mut self, value: OfflineUserDataJobType)
pub fn set_type(&mut self, value: OfflineUserDataJobType)
Sets type
to the provided enum value.
sourcepub fn status(&self) -> OfflineUserDataJobStatus
pub fn status(&self) -> OfflineUserDataJobStatus
Returns the enum value of status
, or the default if the field is set to an invalid enum value.
sourcepub fn set_status(&mut self, value: OfflineUserDataJobStatus)
pub fn set_status(&mut self, value: OfflineUserDataJobStatus)
Sets status
to the provided enum value.
sourcepub fn failure_reason(&self) -> OfflineUserDataJobFailureReason
pub fn failure_reason(&self) -> OfflineUserDataJobFailureReason
Returns the enum value of failure_reason
, or the default if the field is set to an invalid enum value.
sourcepub fn set_failure_reason(&mut self, value: OfflineUserDataJobFailureReason)
pub fn set_failure_reason(&mut self, value: OfflineUserDataJobFailureReason)
Sets failure_reason
to the provided enum value.
sourcepub fn external_id(&self) -> i64
pub fn external_id(&self) -> i64
Returns the value of external_id
, or the default value if external_id
is unset.
Trait Implementations§
source§impl Clone for OfflineUserDataJob
impl Clone for OfflineUserDataJob
source§fn clone(&self) -> OfflineUserDataJob
fn clone(&self) -> OfflineUserDataJob
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OfflineUserDataJob
impl Debug for OfflineUserDataJob
source§impl Default for OfflineUserDataJob
impl Default for OfflineUserDataJob
source§impl Message for OfflineUserDataJob
impl Message for OfflineUserDataJob
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 OfflineUserDataJob
impl PartialEq for OfflineUserDataJob
source§fn eq(&self, other: &OfflineUserDataJob) -> bool
fn eq(&self, other: &OfflineUserDataJob) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OfflineUserDataJob
Auto Trait Implementations§
impl Freeze for OfflineUserDataJob
impl RefUnwindSafe for OfflineUserDataJob
impl Send for OfflineUserDataJob
impl Sync for OfflineUserDataJob
impl Unpin for OfflineUserDataJob
impl UnwindSafe for OfflineUserDataJob
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