Class: Google::Apis::YoutubeV3::LiveChatPollClosedDetails
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::LiveChatPollClosedDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
generated/google/apis/youtube_v3/representations.rb,
generated/google/apis/youtube_v3/representations.rb
Instance Attribute Summary collapse
-
#poll_id ⇒ String
The id of the poll that was closed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LiveChatPollClosedDetails
constructor
A new instance of LiveChatPollClosedDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LiveChatPollClosedDetails
Returns a new instance of LiveChatPollClosedDetails
4719 4720 4721 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4719 def initialize(**args) update!(**args) end |
Instance Attribute Details
#poll_id ⇒ String
The id of the poll that was closed.
Corresponds to the JSON property pollId
4717 4718 4719 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4717 def poll_id @poll_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4724 4725 4726 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4724 def update!(**args) @poll_id = args[:poll_id] if args.key?(:poll_id) end |