Class: Google::Apis::YoutubeV3::LiveStreamConfigurationIssue
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::LiveStreamConfigurationIssue
- 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
-
#description ⇒ String
The long-form description of the issue and how to resolve it.
-
#reason ⇒ String
The short-form reason for this issue.
-
#severity ⇒ String
How severe this issue is to the stream.
-
#type ⇒ String
The kind of error happening.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LiveStreamConfigurationIssue
constructor
A new instance of LiveStreamConfigurationIssue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LiveStreamConfigurationIssue
Returns a new instance of LiveStreamConfigurationIssue.
5142 5143 5144 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5142 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
The long-form description of the issue and how to resolve it.
Corresponds to the JSON property description
5125 5126 5127 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5125 def description @description end |
#reason ⇒ String
The short-form reason for this issue.
Corresponds to the JSON property reason
5130 5131 5132 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5130 def reason @reason end |
#severity ⇒ String
How severe this issue is to the stream.
Corresponds to the JSON property severity
5135 5136 5137 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5135 def severity @severity end |
#type ⇒ String
The kind of error happening.
Corresponds to the JSON property type
5140 5141 5142 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5140 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5147 5148 5149 5150 5151 5152 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5147 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 |