class Google::Apis::DfareportingV3_3::UserProfile
A UserProfile
resource lets you list all DFA user profiles that are associated with a Google
user account. The profile_id
needs to be specified in other API requests.
Attributes
The account ID to which this profile belongs. Corresponds to the JSON property `accountId` @return [Fixnum]
The account name this profile belongs to. Corresponds to the JSON property `accountName` @return [String]
Etag of this resource. Corresponds to the JSON property `etag` @return [String]
Identifies what kind of resource this is. Value: the fixed string “ dfareporting#userProfile”. Corresponds to the JSON property `kind` @return [String]
The unique ID of the user profile. Corresponds to the JSON property `profileId` @return [Fixnum]
The sub account ID this profile belongs to if applicable. Corresponds to the JSON property `subAccountId` @return [Fixnum]
The sub account name this profile belongs to if applicable. Corresponds to the JSON property `subAccountName` @return [String]
The user name. Corresponds to the JSON property `userName` @return [String]
Public Class Methods
# File lib/google/apis/dfareporting_v3_3/classes.rb, line 11719 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dfareporting_v3_3/classes.rb, line 11724 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @account_name = args[:account_name] if args.key?(:account_name) @etag = args[:etag] if args.key?(:etag) @kind = args[:kind] if args.key?(:kind) @profile_id = args[:profile_id] if args.key?(:profile_id) @sub_account_id = args[:sub_account_id] if args.key?(:sub_account_id) @sub_account_name = args[:sub_account_name] if args.key?(:sub_account_name) @user_name = args[:user_name] if args.key?(:user_name) end