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

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

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

Returns a new instance of LiveStreamHealthStatus.


5078
5079
5080
# File 'generated/google/apis/youtube_v3/classes.rb', line 5078

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


5066
5067
5068
# File 'generated/google/apis/youtube_v3/classes.rb', line 5066

def configuration_issues
  @configuration_issues
end

#last_update_time_secondsString

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

Returns:

  • (String)

5071
5072
5073
# File 'generated/google/apis/youtube_v3/classes.rb', line 5071

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)

5076
5077
5078
# File 'generated/google/apis/youtube_v3/classes.rb', line 5076

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


5083
5084
5085
5086
5087
# File 'generated/google/apis/youtube_v3/classes.rb', line 5083

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