Class: Google::Apis::CalendarV3::Event::Creator
- Inherits:
-
Object
- Object
- Google::Apis::CalendarV3::Event::Creator
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/calendar_v3/classes.rb,
generated/google/apis/calendar_v3/representations.rb,
generated/google/apis/calendar_v3/representations.rb
Overview
The creator of the event. Read-only.
Instance Attribute Summary collapse
-
#display_name ⇒ String
The creator's name, if available.
-
#email ⇒ String
The creator's email address, if available.
-
#id ⇒ String
The creator's Profile ID, if available.
-
#self ⇒ Boolean
(also: #self?)
Whether the creator corresponds to the calendar on which this copy of the event appears.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Creator
constructor
A new instance of Creator.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Creator
Returns a new instance of Creator.
1396 1397 1398 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1396 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The creator's name, if available.
Corresponds to the JSON property displayName
1376 1377 1378 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1376 def display_name @display_name end |
#email ⇒ String
The creator's email address, if available.
Corresponds to the JSON property email
1381 1382 1383 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1381 def email @email end |
#id ⇒ String
The creator's Profile ID, if available. It corresponds to the id field in the
People collection of the Google+ API
Corresponds to the JSON property id
1387 1388 1389 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1387 def id @id end |
#self ⇒ Boolean Also known as: self?
Whether the creator corresponds to the calendar on which this copy of the
event appears. Read-only. The default is False.
Corresponds to the JSON property self
1393 1394 1395 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1393 def self @self end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1401 1402 1403 1404 1405 1406 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1401 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @email = args[:email] if args.key?(:email) @id = args[:id] if args.key?(:id) @self = args[:self] if args.key?(:self) end |