class Google::Apis::DfareportingV2_1::UserProfile

Represents a UserProfile resource.

Attributes

account_id[RW]

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

account_name[RW]

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

etag[RW]

The eTag of this response for caching purposes. Corresponds to the JSON property `etag` @return [String]

kind[RW]

The kind of resource this is, in this case 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 [String]

sub_account_id[RW]

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

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 generated/google/apis/dfareporting_v2_1/classes.rb, line 10490
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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