class Google::Apis::DfareportingV2_3::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_3/classes.rb, line 10550 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dfareporting_v2_3/classes.rb, line 10555 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