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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LiveStreamConfigurationIssue

Returns a new instance of LiveStreamConfigurationIssue.



4964
4965
4966
# File 'lib/google/apis/youtube_v3/classes.rb', line 4964

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)


4947
4948
4949
# File 'lib/google/apis/youtube_v3/classes.rb', line 4947

def description
  @description
end

#reasonString

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

Returns:

  • (String)


4952
4953
4954
# File 'lib/google/apis/youtube_v3/classes.rb', line 4952

def reason
  @reason
end

#severityString

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

Returns:

  • (String)


4957
4958
4959
# File 'lib/google/apis/youtube_v3/classes.rb', line 4957

def severity
  @severity
end

#typeString

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

Returns:

  • (String)


4962
4963
4964
# File 'lib/google/apis/youtube_v3/classes.rb', line 4962

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4969
4970
4971
4972
4973
4974
# File 'lib/google/apis/youtube_v3/classes.rb', line 4969

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