class Google::Apis::ScriptV1::GoogleAppsScriptTypeUser

A simple user profile resource.

Attributes

domain[RW]

The user's domain. Corresponds to the JSON property `domain` @return [String]

email[RW]

The user's identifying email address. Corresponds to the JSON property `email` @return [String]

name[RW]

The user's display name. Corresponds to the JSON property `name` @return [String]

photo_url[RW]

The user's photo. Corresponds to the JSON property `photoUrl` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/script_v1/classes.rb, line 618
def update!(**args)
  @domain = args[:domain] if args.key?(:domain)
  @email = args[:email] if args.key?(:email)
  @name = args[:name] if args.key?(:name)
  @photo_url = args[:photo_url] if args.key?(:photo_url)
end