Struct google_api_proto::google::ads::googleads::v17::resources::AndroidPrivacySharedKeyGoogleCampaign
source · pub struct AndroidPrivacySharedKeyGoogleCampaign {
pub resource_name: String,
pub campaign_id: i64,
pub android_privacy_interaction_type: i32,
pub android_privacy_interaction_date: String,
pub shared_campaign_key: String,
}
Expand description
An Android privacy shared key view for Google campaign key.
Fields§
§resource_name: String
Output only. The resource name of the Android privacy shared key. Android privacy shared key resource names have the form:
customers/{customer_id}/androidPrivacySharedKeyGoogleCampaigns/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_interaction_date(yyyy-mm-dd)}
campaign_id: i64
Output only. The campaign ID used in the share key encoding.
android_privacy_interaction_type: i32
Output only. The interaction type enum used in the share key encoding.
android_privacy_interaction_date: String
Output only. The interaction date used in the shared key encoding in the format of “YYYY-MM-DD” in UTC timezone.
Output only. 128 bit hex string of the encoded shared campaign key, including a ‘0x’ prefix. This key can be used to do a bitwise OR operator with the aggregate conversion key to create a full aggregation key to retrieve the Aggregate API Report in Android Privacy Sandbox.
Implementations§
sourcepub fn android_privacy_interaction_type(&self) -> AndroidPrivacyInteractionType
pub fn android_privacy_interaction_type(&self) -> AndroidPrivacyInteractionType
Returns the enum value of android_privacy_interaction_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_android_privacy_interaction_type(
&mut self,
value: AndroidPrivacyInteractionType,
)
pub fn set_android_privacy_interaction_type( &mut self, value: AndroidPrivacyInteractionType, )
Sets android_privacy_interaction_type
to the provided enum value.
Trait Implementations§
source§fn clone(&self) -> AndroidPrivacySharedKeyGoogleCampaign
fn clone(&self) -> AndroidPrivacySharedKeyGoogleCampaign
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§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§fn eq(&self, other: &AndroidPrivacySharedKeyGoogleCampaign) -> bool
fn eq(&self, other: &AndroidPrivacySharedKeyGoogleCampaign) -> bool
self
and other
values to be equal, and is used
by ==
.Auto Trait Implementations§
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