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

pub struct AccountUserProfile {
Show 16 fields 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>,
}
Expand description

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.