Class: Google::Apis::CalendarV3::EventHabitInstance
- Inherits:
-
Object
- Object
- Google::Apis::CalendarV3::EventHabitInstance
- Defined in:
- generated/google/apis/calendar_v3/classes.rb,
generated/google/apis/calendar_v3/representations.rb,
generated/google/apis/calendar_v3/representations.rb
Instance Attribute Summary collapse
-
#data ⇒ Google::Apis::CalendarV3::HabitInstanceData
Metadata specific to this instance.
-
#parent_id ⇒ String
Id of the habit this instance belongs to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventHabitInstance
constructor
A new instance of EventHabitInstance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ EventHabitInstance
Returns a new instance of EventHabitInstance
1424 1425 1426 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1424 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ Google::Apis::CalendarV3::HabitInstanceData
Metadata specific to this instance.
Corresponds to the JSON property data
1417 1418 1419 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1417 def data @data end |
#parent_id ⇒ String
Id of the habit this instance belongs to.
Corresponds to the JSON property parentId
1422 1423 1424 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1422 def parent_id @parent_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1429 1430 1431 1432 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1429 def update!(**args) @data = args[:data] if args.key?(:data) @parent_id = args[:parent_id] if args.key?(:parent_id) end |