Class: Google::Apis::YoutubeV3::LiveBroadcastTopic

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#snippetGoogle::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

#typeString

The type of the topic. Corresponds to the JSON property type

Returns:

  • (String)


4092
4093
4094
# File 'generated/google/apis/youtube_v3/classes.rb', line 4092

def type
  @type
end

#unmatchedBoolean 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

Returns:

  • (Boolean)


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