Class: Google::Apis::YoutubeV3::LiveStreamStatus

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

Overview

Brief description of the live stream status.

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


5221
5222
5223
# File 'generated/google/apis/youtube_v3/classes.rb', line 5221

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

Instance Attribute Details

#health_statusGoogle::Apis::YoutubeV3::LiveStreamHealthStatus

The health status of the stream. Corresponds to the JSON property healthStatus


5214
5215
5216
# File 'generated/google/apis/youtube_v3/classes.rb', line 5214

def health_status
  @health_status
end

#stream_statusString

Corresponds to the JSON property streamStatus


5219
5220
5221
# File 'generated/google/apis/youtube_v3/classes.rb', line 5219

def stream_status
  @stream_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


5226
5227
5228
5229
# File 'generated/google/apis/youtube_v3/classes.rb', line 5226

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