pub struct GoogleAnalyticsAdminV1alphaUserLink {
pub direct_roles: Option<Vec<String>>,
pub email_address: Option<String>,
pub name: Option<String>,
}
Expand description
A resource message representing a user’s permissions on an Account or Property resource.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- user links create accounts (request|response)
- user links get accounts (response)
- user links patch accounts (request|response)
- user links create properties (request|response)
- user links get properties (response)
- user links patch properties (request|response)
Fields§
§direct_roles: Option<Vec<String>>
Roles directly assigned to this user for this account or property. Valid values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-data Excludes roles that are inherited from a higher-level entity, group, or organization admin role. A UserLink that is updated to have an empty list of direct_roles will be deleted.
email_address: Option<String>
Immutable. Email address of the user to link
name: Option<String>
Output only. Example format: properties/1234/userLinks/5678
Trait Implementations§
Source§impl Clone for GoogleAnalyticsAdminV1alphaUserLink
impl Clone for GoogleAnalyticsAdminV1alphaUserLink
Source§fn clone(&self) -> GoogleAnalyticsAdminV1alphaUserLink
fn clone(&self) -> GoogleAnalyticsAdminV1alphaUserLink
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleAnalyticsAdminV1alphaUserLink
impl Default for GoogleAnalyticsAdminV1alphaUserLink
Source§fn default() -> GoogleAnalyticsAdminV1alphaUserLink
fn default() -> GoogleAnalyticsAdminV1alphaUserLink
Source§impl<'de> Deserialize<'de> for GoogleAnalyticsAdminV1alphaUserLink
impl<'de> Deserialize<'de> for GoogleAnalyticsAdminV1alphaUserLink
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for GoogleAnalyticsAdminV1alphaUserLink
impl ResponseResult for GoogleAnalyticsAdminV1alphaUserLink
Auto Trait Implementations§
impl Freeze for GoogleAnalyticsAdminV1alphaUserLink
impl RefUnwindSafe for GoogleAnalyticsAdminV1alphaUserLink
impl Send for GoogleAnalyticsAdminV1alphaUserLink
impl Sync for GoogleAnalyticsAdminV1alphaUserLink
impl Unpin for GoogleAnalyticsAdminV1alphaUserLink
impl UnwindSafe for GoogleAnalyticsAdminV1alphaUserLink
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more