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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb

Overview

Brief description of the live stream status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LiveStreamStatus

Returns a new instance of LiveStreamStatus.



5352
5353
5354
# File 'lib/google/apis/youtube_v3/classes.rb', line 5352

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



5345
5346
5347
# File 'lib/google/apis/youtube_v3/classes.rb', line 5345

def health_status
  @health_status
end

#stream_statusString

Corresponds to the JSON property streamStatus

Returns:

  • (String)


5350
5351
5352
# File 'lib/google/apis/youtube_v3/classes.rb', line 5350

def stream_status
  @stream_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5357
5358
5359
5360
# File 'lib/google/apis/youtube_v3/classes.rb', line 5357

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