Class: Google::Apis::YoutubeV3::LiveBroadcastTopic
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::LiveBroadcastTopic
- 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
-
#snippet ⇒ Google::Apis::YoutubeV3::LiveBroadcastTopicSnippet
Information about the topic matched.
-
#type ⇒ String
The type of the topic.
-
#unmatched ⇒ Boolean
(also: #unmatched?)
If this flag is set it means that we have not been able to match the topic title and type provided to a known entity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LiveBroadcastTopic
constructor
A new instance of LiveBroadcastTopic.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LiveBroadcastTopic
Returns a new instance of LiveBroadcastTopic
4101 4102 4103 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4101 def initialize(**args) update!(**args) end |
Instance Attribute Details
#snippet ⇒ Google::Apis::YoutubeV3::LiveBroadcastTopicSnippet
Information about the topic matched.
Corresponds to the JSON property snippet
4087 4088 4089 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4087 def snippet @snippet end |
#type ⇒ String
The type of the topic.
Corresponds to the JSON property type
4092 4093 4094 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4092 def type @type end |
#unmatched ⇒ Boolean Also known as: unmatched?
If this flag is set it means that we have not been able to match the topic
title and type provided to a known entity.
Corresponds to the JSON property unmatched
4098 4099 4100 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4098 def unmatched @unmatched end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4106 4107 4108 4109 4110 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4106 def update!(**args) @snippet = args[:snippet] if args.key?(:snippet) @type = args[:type] if args.key?(:type) @unmatched = args[:unmatched] if args.key?(:unmatched) end |