Class: Google::Apis::AdminReportsV1::FieldValueUserValue

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/admin_reports_v1/classes.rb,
lib/google/apis/admin_reports_v1/representations.rb,
lib/google/apis/admin_reports_v1/representations.rb

Overview

Setting a user value by selecting a single user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FieldValueUserValue

Returns a new instance of FieldValueUserValue.



981
982
983
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 981

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#emailString

Email of the user. Corresponds to the JSON property email

Returns:

  • (String)


979
980
981
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 979

def email
  @email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



986
987
988
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 986

def update!(**args)
  @email = args[:email] if args.key?(:email)
end