Class: Google::Apis::YoutubeV3::LiveStreamConfigurationIssue

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

Returns a new instance of LiveStreamConfigurationIssue



4895
4896
4897
# File 'generated/google/apis/youtube_v3/classes.rb', line 4895

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

Instance Attribute Details

#descriptionString

The long-form description of the issue and how to resolve it. Corresponds to the JSON property description

Returns:

  • (String)


4878
4879
4880
# File 'generated/google/apis/youtube_v3/classes.rb', line 4878

def description
  @description
end

#reasonString

The short-form reason for this issue. Corresponds to the JSON property reason

Returns:

  • (String)


4883
4884
4885
# File 'generated/google/apis/youtube_v3/classes.rb', line 4883

def reason
  @reason
end

#severityString

How severe this issue is to the stream. Corresponds to the JSON property severity

Returns:

  • (String)


4888
4889
4890
# File 'generated/google/apis/youtube_v3/classes.rb', line 4888

def severity
  @severity
end

#typeString

The kind of error happening. Corresponds to the JSON property type

Returns:

  • (String)


4893
4894
4895
# File 'generated/google/apis/youtube_v3/classes.rb', line 4893

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4900
4901
4902
4903
4904
4905
# File 'generated/google/apis/youtube_v3/classes.rb', line 4900

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @reason = args[:reason] if args.key?(:reason)
  @severity = args[:severity] if args.key?(:severity)
  @type = args[:type] if args.key?(:type)
end