Class: Google::Apis::YoutubeV3::LiveChatPollItem
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::LiveChatPollItem
- 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
-
#description ⇒ String
Plain text description of the item.
-
#item_id ⇒ String
Corresponds to the JSON property
itemId
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LiveChatPollItem
constructor
A new instance of LiveChatPollItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LiveChatPollItem
Returns a new instance of LiveChatPollItem.
4667 4668 4669 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4667 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Plain text description of the item.
Corresponds to the JSON property description
4660 4661 4662 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4660 def description @description end |
#item_id ⇒ String
Corresponds to the JSON property itemId
4665 4666 4667 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4665 def item_id @item_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4672 4673 4674 4675 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4672 def update!(**args) @description = args[:description] if args.key?(:description) @item_id = args[:item_id] if args.key?(:item_id) end |