class Google::Apis::DfareportingV2_1::UserProfile
Represents a UserProfile resource.
Attributes
The account ID to which this profile belongs. Corresponds to the JSON property `accountId` @return [String]
The account name this profile belongs to. Corresponds to the JSON property `accountName` @return [String]
The eTag of this response for caching purposes. Corresponds to the JSON property `etag` @return [String]
The kind of resource this is, in this case dfareporting#userProfile. Corresponds to the JSON property `kind` @return [String]
The unique ID of the user profile. Corresponds to the JSON property `profileId` @return [String]
The sub account ID this profile belongs to if applicable. Corresponds to the JSON property `subAccountId` @return [String]
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 generated/google/apis/dfareporting_v2_1/classes.rb, line 10490 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 10495 def update!(**args) @account_id = args[:account_id] unless args[:account_id].nil? @account_name = args[:account_name] unless args[:account_name].nil? @etag = args[:etag] unless args[:etag].nil? @kind = args[:kind] unless args[:kind].nil? @profile_id = args[:profile_id] unless args[:profile_id].nil? @sub_account_id = args[:sub_account_id] unless args[:sub_account_id].nil? @sub_account_name = args[:sub_account_name] unless args[:sub_account_name].nil? @user_name = args[:user_name] unless args[:user_name].nil? end