Class: Google::Apis::YoutubeV3::LiveBroadcastTopicSnippet

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) ⇒ LiveBroadcastTopicSnippet

Returns a new instance of LiveBroadcastTopicSnippet



4146
4147
4148
# File 'generated/google/apis/youtube_v3/classes.rb', line 4146

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

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

Returns:

  • (String)


4139
4140
4141
# File 'generated/google/apis/youtube_v3/classes.rb', line 4139

def name
  @name
end

#release_dateString

The date at which the topic was released. Filled for types: videoGame Corresponds to the JSON property releaseDate

Returns:

  • (String)


4144
4145
4146
# File 'generated/google/apis/youtube_v3/classes.rb', line 4144

def release_date
  @release_date
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4151
4152
4153
4154
# File 'generated/google/apis/youtube_v3/classes.rb', line 4151

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @release_date = args[:release_date] if args.key?(:release_date)
end