class Google::Apis::AnalyticsV3::UserRef

JSON template for a user reference.

Attributes

email[RW]

Email ID of this user. Corresponds to the JSON property `email` @return [String]

id[RW]

User ID. Corresponds to the JSON property `id` @return [String]

kind[RW]

Corresponds to the JSON property `kind` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analytics_v3/classes.rb, line 5402
def update!(**args)
  @email = args[:email] if args.key?(:email)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
end