class Google::Apis::DfareportingV3_4::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

account_id[RW]

The account ID to which this profile belongs. Corresponds to the JSON property `accountId` @return [Fixnum]

account_name[RW]

The account name this profile belongs to. Corresponds to the JSON property `accountName` @return [String]

etag[RW]

Etag of this resource. Corresponds to the JSON property `etag` @return [String]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ dfareporting#userProfile”. Corresponds to the JSON property `kind` @return [String]

profile_id[RW]

The unique ID of the user profile. Corresponds to the JSON property `profileId` @return [Fixnum]

sub_account_id[RW]

The sub account ID this profile belongs to if applicable. Corresponds to the JSON property `subAccountId` @return [Fixnum]

sub_account_name[RW]

The sub account name this profile belongs to if applicable. Corresponds to the JSON property `subAccountName` @return [String]

user_name[RW]

The user name. Corresponds to the JSON property `userName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 12666
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_4/classes.rb, line 12671
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