Class: Google::Apis::YoutubeV3::LiveStreamHealthStatus

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LiveStreamHealthStatus

Returns a new instance of LiveStreamHealthStatus.



5210
5211
5212
# File 'lib/google/apis/youtube_v3/classes.rb', line 5210

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

Instance Attribute Details

#configuration_issuesArray<Google::Apis::YoutubeV3::LiveStreamConfigurationIssue>

The configurations issues on this stream Corresponds to the JSON property configurationIssues



5198
5199
5200
# File 'lib/google/apis/youtube_v3/classes.rb', line 5198

def configuration_issues
  @configuration_issues
end

#last_update_time_secondsFixnum

The last time this status was updated (in seconds) Corresponds to the JSON property lastUpdateTimeSeconds

Returns:

  • (Fixnum)


5203
5204
5205
# File 'lib/google/apis/youtube_v3/classes.rb', line 5203

def last_update_time_seconds
  @last_update_time_seconds
end

#statusString

The status code of this stream Corresponds to the JSON property status

Returns:

  • (String)


5208
5209
5210
# File 'lib/google/apis/youtube_v3/classes.rb', line 5208

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5215
5216
5217
5218
5219
# File 'lib/google/apis/youtube_v3/classes.rb', line 5215

def update!(**args)
  @configuration_issues = args[:configuration_issues] if args.key?(:configuration_issues)
  @last_update_time_seconds = args[:last_update_time_seconds] if args.key?(:last_update_time_seconds)
  @status = args[:status] if args.key?(:status)
end