pub struct AnalyticsAccountLink {
pub name: String,
pub analytics_account: String,
pub display_name: String,
pub link_verification_state: i32,
}
Expand description
A resource message representing the link between a Google Analytics account and a Google Marketing Platform organization.
Fields§
§name: String
Identifier. Resource name of this AnalyticsAccountLink. Note the resource ID is the same as the ID of the Analtyics account.
Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id} Example: “organizations/xyz/analyticsAccountLinks/1234”
analytics_account: String
Required. Immutable. The resource name of the AnalyticsAdmin API account. The account ID will be used as the ID of this AnalyticsAccountLink resource, which will become the final component of the resource name.
Format: analyticsadmin.googleapis.com/accounts/{account_id}
display_name: String
Output only. The human-readable name for the Analytics account.
link_verification_state: i32
Output only. The verification state of the link between the Analytics account and the parent organization.
Implementations§
source§impl AnalyticsAccountLink
impl AnalyticsAccountLink
sourcepub fn link_verification_state(&self) -> LinkVerificationState
pub fn link_verification_state(&self) -> LinkVerificationState
Returns the enum value of link_verification_state
, or the default if the field is set to an invalid enum value.
sourcepub fn set_link_verification_state(&mut self, value: LinkVerificationState)
pub fn set_link_verification_state(&mut self, value: LinkVerificationState)
Sets link_verification_state
to the provided enum value.
Trait Implementations§
source§impl Clone for AnalyticsAccountLink
impl Clone for AnalyticsAccountLink
source§fn clone(&self) -> AnalyticsAccountLink
fn clone(&self) -> AnalyticsAccountLink
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AnalyticsAccountLink
impl Debug for AnalyticsAccountLink
source§impl Default for AnalyticsAccountLink
impl Default for AnalyticsAccountLink
source§impl Message for AnalyticsAccountLink
impl Message for AnalyticsAccountLink
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 AnalyticsAccountLink
impl PartialEq for AnalyticsAccountLink
source§fn eq(&self, other: &AnalyticsAccountLink) -> bool
fn eq(&self, other: &AnalyticsAccountLink) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AnalyticsAccountLink
Auto Trait Implementations§
impl Freeze for AnalyticsAccountLink
impl RefUnwindSafe for AnalyticsAccountLink
impl Send for AnalyticsAccountLink
impl Sync for AnalyticsAccountLink
impl Unpin for AnalyticsAccountLink
impl UnwindSafe for AnalyticsAccountLink
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