class Google::Apis::AnalyticsreportingV4::User

Contains information to identify a particular user uniquely.

Attributes

type[RW]

Type of the user in the request. The field `userId` is associated with this type. Corresponds to the JSON property `type` @return [String]

user_id[RW]

Unique Id of the user for which the data is being requested. Corresponds to the JSON property `userId` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsreporting_v4/classes.rb, line 1980
def update!(**args)
  @type = args[:type] if args.key?(:type)
  @user_id = args[:user_id] if args.key?(:user_id)
end