@@ -80,13 +80,36 @@ class Input(proto.Message):
80
80
"""
81
81
82
82
class Type (proto .Enum ):
83
- r"""The type of the input."""
83
+ r"""The type of the input.
84
+
85
+ Values:
86
+ TYPE_UNSPECIFIED (0):
87
+ Input type is not specified.
88
+ RTMP_PUSH (1):
89
+ Input will take an rtmp input stream.
90
+ SRT_PUSH (2):
91
+ Input will take an srt (Secure Reliable
92
+ Transport) input stream.
93
+ """
84
94
TYPE_UNSPECIFIED = 0
85
95
RTMP_PUSH = 1
86
96
SRT_PUSH = 2
87
97
88
98
class Tier (proto .Enum ):
89
- r"""Tier of the input specification."""
99
+ r"""Tier of the input specification.
100
+
101
+ Values:
102
+ TIER_UNSPECIFIED (0):
103
+ Tier is not specified.
104
+ SD (1):
105
+ Resolution < 1280x720. Bitrate <= 6 Mbps. FPS
106
+ <= 60.
107
+ HD (2):
108
+ Resolution <= 1920x1080. Bitrate <= 25 Mbps.
109
+ FPS <= 60.
110
+ UHD (3):
111
+ Resolution <= 4096x2160. Not supported yet.
112
+ """
90
113
TIER_UNSPECIFIED = 0
91
114
SD = 1
92
115
HD = 2
@@ -217,7 +240,35 @@ class Channel(proto.Message):
217
240
"""
218
241
219
242
class StreamingState (proto .Enum ):
220
- r"""State of streaming operation that the channel is running."""
243
+ r"""State of streaming operation that the channel is running.
244
+
245
+ Values:
246
+ STREAMING_STATE_UNSPECIFIED (0):
247
+ Streaming state is not specified.
248
+ STREAMING (1):
249
+ Channel is getting the input stream,
250
+ generating the live streams to the specified
251
+ output location.
252
+ AWAITING_INPUT (2):
253
+ Channel is waiting for the input stream
254
+ through the input.
255
+ STREAMING_ERROR (4):
256
+ Channel is running, but has trouble
257
+ publishing the live streams onto the specified
258
+ output location (for example, the specified
259
+ Cloud Storage bucket is not writable).
260
+ STREAMING_NO_INPUT (5):
261
+ Channel is generating live streams with no
262
+ input stream. Live streams are filled out with
263
+ black screen, while input stream is missing. Not
264
+ supported yet.
265
+ STOPPED (6):
266
+ Channel is stopped, finishing live streams.
267
+ STARTING (7):
268
+ Channel is starting.
269
+ STOPPING (8):
270
+ Channel is stopping.
271
+ """
221
272
STREAMING_STATE_UNSPECIFIED = 0
222
273
STREAMING = 1
223
274
AWAITING_INPUT = 2
@@ -331,6 +382,25 @@ class LogSeverity(proto.Enum):
331
382
< NOTICE < WARNING < ERROR < CRITICAL < ALERT < EMERGENCY. See
332
383
`LogSeverity <https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry#logseverity>`__
333
384
for more information.
385
+
386
+ Values:
387
+ LOG_SEVERITY_UNSPECIFIED (0):
388
+ Log severity is not specified. This is the
389
+ same as log severity is OFF.
390
+ OFF (1):
391
+ Log is turned off.
392
+ DEBUG (100):
393
+ Log with severity higher than or equal to
394
+ DEBUG are logged.
395
+ INFO (200):
396
+ Logs with severity higher than or equal to
397
+ INFO are logged.
398
+ WARNING (400):
399
+ Logs with severity higher than or equal to
400
+ WARNING are logged.
401
+ ERROR (500):
402
+ Logs with severity higher than or equal to
403
+ ERROR are logged.
334
404
"""
335
405
LOG_SEVERITY_UNSPECIFIED = 0
336
406
OFF = 1
@@ -566,7 +636,25 @@ class Event(proto.Message):
566
636
"""
567
637
568
638
class State (proto .Enum ):
569
- r"""State of the event"""
639
+ r"""State of the event
640
+
641
+ Values:
642
+ STATE_UNSPECIFIED (0):
643
+ Event state is not specified.
644
+ SCHEDULED (1):
645
+ Event is scheduled but not executed yet.
646
+ RUNNING (2):
647
+ Event is being executed.
648
+ SUCCEEDED (3):
649
+ Event has been successfully executed.
650
+ FAILED (4):
651
+ Event fails to be executed.
652
+ PENDING (5):
653
+ Event has been created but not scheduled yet.
654
+ STOPPED (6):
655
+ Event was stopped before running for its full
656
+ duration.
657
+ """
570
658
STATE_UNSPECIFIED = 0
571
659
SCHEDULED = 1
572
660
RUNNING = 2
0 commit comments