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



4925
4926
4927
# File 'generated/google/apis/youtube_v3/classes.rb', line 4925

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



4913
4914
4915
# File 'generated/google/apis/youtube_v3/classes.rb', line 4913

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)


4918
4919
4920
# File 'generated/google/apis/youtube_v3/classes.rb', line 4918

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)


4923
4924
4925
# File 'generated/google/apis/youtube_v3/classes.rb', line 4923

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4930
4931
4932
4933
4934
# File 'generated/google/apis/youtube_v3/classes.rb', line 4930

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