[][src]Struct google_dfareporting2d8::AccountUserProfile

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

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)
site_filter: Option<ObjectFilter>

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

campaign_filter: Option<ObjectFilter>

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

user_role_id: Option<String>

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

user_access_type: Option<String>

User type 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.

id: Option<String>

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

account_id: Option<String>

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

kind: Option<String>

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

subaccount_id: Option<String>

Subaccount ID 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.

trafficker_type: Option<String>

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

comments: Option<String>

Comments for this user profile.

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: "&;"#%,".

advertiser_filter: Option<ObjectFilter>

Filter that describes which advertisers are visible to the 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.

Trait Implementations

impl Resource for AccountUserProfile[src]

impl ResponseResult for AccountUserProfile[src]

impl RequestValue for AccountUserProfile[src]

impl Default for AccountUserProfile[src]

impl Clone for AccountUserProfile[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for AccountUserProfile[src]

impl Serialize for AccountUserProfile[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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