class Google::Apis::DfareportingV2_1::AccountUserProfile
AccountUserProfiles contains properties of a DCM user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.
Attributes
Account ID of the user profile. This is a read-only field that can be left blank. Corresponds to the JSON property `accountId` @return [String]
Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable. Corresponds to the JSON property `active` @return [Boolean]
Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable. Corresponds to the JSON property `active` @return [Boolean]
Object Filter. Corresponds to the JSON property `advertiserFilter` @return [Google::Apis::DfareportingV2_1::ObjectFilter]
Object Filter. Corresponds to the JSON property `campaignFilter` @return [Google::Apis::DfareportingV2_1::ObjectFilter]
Comments for this user profile. Corresponds to the JSON property `comments` @return [String]
ID of the user profile. This is a read-only, auto-generated field. Corresponds to the JSON property `id` @return [String]
Identifies what kind of resource this is. Value: the fixed string “ dfareporting#accountUserProfile”. Corresponds to the JSON property `kind` @return [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)
Corresponds to the JSON property `locale` @return [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: “&;”#%,“. Corresponds to the JSON property `name` @return [String]
Object Filter. Corresponds to the JSON property `siteFilter` @return [Google::Apis::DfareportingV2_1::ObjectFilter]
Subaccount ID of the user profile. This is a read-only field that can be left blank. Corresponds to the JSON property `subaccountId` @return [String]
Trafficker type of this user profile. Corresponds to the JSON property `traffickerType` @return [String]
User type of the user profile. This is a read-only field that can be left blank. Corresponds to the JSON property `userAccessType` @return [String]
Object Filter. Corresponds to the JSON property `userRoleFilter` @return [Google::Apis::DfareportingV2_1::ObjectFilter]
User role ID of the user profile. This is a required field. Corresponds to the JSON property `userRoleId` @return [String]
Public Class Methods
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 515 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 520 def update!(**args) @account_id = args[:account_id] unless args[:account_id].nil? @active = args[:active] unless args[:active].nil? @advertiser_filter = args[:advertiser_filter] unless args[:advertiser_filter].nil? @campaign_filter = args[:campaign_filter] unless args[:campaign_filter].nil? @comments = args[:comments] unless args[:comments].nil? @email = args[:email] unless args[:email].nil? @id = args[:id] unless args[:id].nil? @kind = args[:kind] unless args[:kind].nil? @locale = args[:locale] unless args[:locale].nil? @name = args[:name] unless args[:name].nil? @site_filter = args[:site_filter] unless args[:site_filter].nil? @subaccount_id = args[:subaccount_id] unless args[:subaccount_id].nil? @trafficker_type = args[:trafficker_type] unless args[:trafficker_type].nil? @user_access_type = args[:user_access_type] unless args[:user_access_type].nil? @user_role_filter = args[:user_role_filter] unless args[:user_role_filter].nil? @user_role_id = args[:user_role_id] unless args[:user_role_id].nil? end