Class: Google::Apis::KeepV1::Group
- Inherits:
-
Object
- Object
- Google::Apis::KeepV1::Group
- 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 Group.
Instance Attribute Summary collapse
-
#email ⇒ String
The group email.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Group
constructor
A new instance of Group.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Group
Returns a new instance of Group.
178 179 180 |
# File 'lib/google/apis/keep_v1/classes.rb', line 178 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
The group email.
Corresponds to the JSON property email
176 177 178 |
# File 'lib/google/apis/keep_v1/classes.rb', line 176 def email @email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
183 184 185 |
# File 'lib/google/apis/keep_v1/classes.rb', line 183 def update!(**args) @email = args[:email] if args.key?(:email) end |