Class: Google::Apis::YoutubeV3::LiveStreamStatus
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::LiveStreamStatus
- 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
Overview
Brief description of the live stream status.
Instance Attribute Summary collapse
-
#health_status ⇒ Google::Apis::YoutubeV3::LiveStreamHealthStatus
The health status of the stream.
-
#stream_status ⇒ String
Corresponds to the JSON property
streamStatus
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LiveStreamStatus
constructor
A new instance of LiveStreamStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LiveStreamStatus
Returns a new instance of LiveStreamStatus
5108 5109 5110 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 5108 def initialize(**args) update!(**args) end |
Instance Attribute Details
#health_status ⇒ Google::Apis::YoutubeV3::LiveStreamHealthStatus
The health status of the stream.
Corresponds to the JSON property healthStatus
5101 5102 5103 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 5101 def health_status @health_status end |
#stream_status ⇒ String
Corresponds to the JSON property streamStatus
5106 5107 5108 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 5106 def stream_status @stream_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5113 5114 5115 5116 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 5113 def update!(**args) @health_status = args[:health_status] if args.key?(:health_status) @stream_status = args[:stream_status] if args.key?(:stream_status) end |