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

Constructor Details

#initialize(**args) ⇒ LiveStreamHealthStatus

Returns a new instance of LiveStreamHealthStatus.



4819
4820
4821
# File 'generated/google/apis/youtube_v3/classes.rb', line 4819

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



4807
4808
4809
# File 'generated/google/apis/youtube_v3/classes.rb', line 4807

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)


4812
4813
4814
# File 'generated/google/apis/youtube_v3/classes.rb', line 4812

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)


4817
4818
4819
# File 'generated/google/apis/youtube_v3/classes.rb', line 4817

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4824
4825
4826
4827
4828
# File 'generated/google/apis/youtube_v3/classes.rb', line 4824

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