Class: Google::Apis::KeepV1::User
- Inherits:
-
Object
- Object
- Google::Apis::KeepV1::User
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/keep_v1/classes.rb,
lib/google/apis/keep_v1/representations.rb,
lib/google/apis/keep_v1/representations.rb
Overview
Describes a single user.
Instance Attribute Summary collapse
-
#email ⇒ String
The user's email.
Instance Method Summary collapse
-
#initialize(**args) ⇒ User
constructor
A new instance of User.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ User
Returns a new instance of User.
453 454 455 |
# File 'lib/google/apis/keep_v1/classes.rb', line 453 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
The user's email.
Corresponds to the JSON property email
451 452 453 |
# File 'lib/google/apis/keep_v1/classes.rb', line 451 def email @email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
458 459 460 |
# File 'lib/google/apis/keep_v1/classes.rb', line 458 def update!(**args) @email = args[:email] if args.key?(:email) end |