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



5087
5088
5089
# File 'generated/google/apis/youtube_v3/classes.rb', line 5087

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



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

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)


5080
5081
5082
# File 'generated/google/apis/youtube_v3/classes.rb', line 5080

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)


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

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5092
5093
5094
5095
5096
# File 'generated/google/apis/youtube_v3/classes.rb', line 5092

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