Struct google_dfareporting3::api::AccountUserProfile[][src]

pub struct AccountUserProfile {
    pub account_id: Option<String>,
    pub active: Option<bool>,
    pub advertiser_filter: Option<ObjectFilter>,
    pub campaign_filter: Option<ObjectFilter>,
    pub comments: Option<String>,
    pub email: Option<String>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub locale: Option<String>,
    pub name: Option<String>,
    pub site_filter: Option<ObjectFilter>,
    pub subaccount_id: Option<String>,
    pub trafficker_type: Option<String>,
    pub user_access_type: Option<String>,
    pub user_role_filter: Option<ObjectFilter>,
    pub user_role_id: Option<String>,
}

AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.

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).

Fields

account_id: Option<String>

Account ID of the user profile. This is a read-only field that can be left blank.

active: Option<bool>

Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.

advertiser_filter: Option<ObjectFilter>

Filter that describes which advertisers are visible to the user profile.

campaign_filter: Option<ObjectFilter>

Filter that describes which campaigns are visible to the user profile.

comments: Option<String>

Comments for this user profile.

email: Option<String>

Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion.

id: Option<String>

ID of the user profile. This is a read-only, auto-generated field.

kind: Option<String>

Identifies what kind of resource this is. Value: the fixed string “dfareporting#accountUserProfile”.

locale: Option<String>

Locale of the user profile. This is a required field. Acceptable values are:

  • “cs” (Czech)
  • “de” (German)
  • “en” (English)
  • “en-GB” (English United Kingdom)
  • “es” (Spanish)
  • “fr” (French)
  • “it” (Italian)
  • “ja” (Japanese)
  • “ko” (Korean)
  • “pl” (Polish)
  • “pt-BR” (Portuguese Brazil)
  • “ru” (Russian)
  • “sv” (Swedish)
  • “tr” (Turkish)
  • “zh-CN” (Chinese Simplified)
  • “zh-TW” (Chinese Traditional)
name: Option<String>

Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: “&;”#%,“.

site_filter: Option<ObjectFilter>

Filter that describes which sites are visible to the user profile.

subaccount_id: Option<String>

Subaccount ID of the user profile. This is a read-only field that can be left blank.

trafficker_type: Option<String>

Trafficker type of this user profile. This is a read-only field.

user_access_type: Option<String>

User type of the user profile. This is a read-only field that can be left blank.

user_role_filter: Option<ObjectFilter>

Filter that describes which user roles are visible to the user profile.

user_role_id: Option<String>

User role ID of the user profile. This is a required field.

Trait Implementations

impl Clone for AccountUserProfile[src]

impl Debug for AccountUserProfile[src]

impl Default for AccountUserProfile[src]

impl<'de> Deserialize<'de> for AccountUserProfile[src]

impl RequestValue for AccountUserProfile[src]

impl Resource for AccountUserProfile[src]

impl ResponseResult for AccountUserProfile[src]

impl Serialize for AccountUserProfile[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.