Class: Google::Apis::YoutubeV3::LiveBroadcastTopicSnippet
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::LiveBroadcastTopicSnippet
- 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
-
#name ⇒ String
The name of the topic.
-
#release_date ⇒ String
The date at which the topic was released.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LiveBroadcastTopicSnippet
constructor
A new instance of LiveBroadcastTopicSnippet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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
#name ⇒ String
The name of the topic.
Corresponds to the JSON property name
4139 4140 4141 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4139 def name @name end |
#release_date ⇒ String
The date at which the topic was released. Filled for types: videoGame
Corresponds to the JSON property releaseDate
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 |