@@ -63,13 +63,16 @@ class Job(proto.Message):
63
63
``JobTemplate.config.inputs`` when using template. URI of
64
64
the media. Input files must be at least 5 seconds in
65
65
duration and stored in Cloud Storage (for example,
66
- ``gs://bucket/inputs/file.mp4``).
66
+ ``gs://bucket/inputs/file.mp4``). See `Supported input and
67
+ output
68
+ formats <https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats>`__.
67
69
output_uri (str):
68
70
Input only. Specify the ``output_uri`` to populate an empty
69
71
``Job.config.output.uri`` or
70
72
``JobTemplate.config.output.uri`` when using template. URI
71
73
for the output file(s). For example,
72
- ``gs://my-bucket/outputs/``.
74
+ ``gs://my-bucket/outputs/``. See `Supported input and output
75
+ formats <https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats>`__.
73
76
template_id (str):
74
77
Input only. Specify the ``template_id`` to use for
75
78
populating ``Job.config``. The default is ``preset/web-hd``.
@@ -100,6 +103,9 @@ class Job(proto.Message):
100
103
effective after job completion. Job should be
101
104
deleted automatically after the given TTL. Enter
102
105
a value between 1 and 90. The default is 30.
106
+ labels (Mapping[str, str]):
107
+ The labels associated with this job. You can
108
+ use these to organize and group your jobs.
103
109
error (google.rpc.status_pb2.Status):
104
110
Output only. An error object that describes the reason for
105
111
the failure. This property is always present when ``state``
@@ -161,6 +167,11 @@ class ProcessingState(proto.Enum):
161
167
proto .INT32 ,
162
168
number = 15 ,
163
169
)
170
+ labels = proto .MapField (
171
+ proto .STRING ,
172
+ proto .STRING ,
173
+ number = 16 ,
174
+ )
164
175
error = proto .Field (
165
176
proto .MESSAGE ,
166
177
number = 17 ,
@@ -177,6 +188,10 @@ class JobTemplate(proto.Message):
177
188
``projects/{project_number}/locations/{location}/jobTemplates/{job_template}``
178
189
config (google.cloud.video.transcoder_v1.types.JobConfig):
179
190
The configuration for this template.
191
+ labels (Mapping[str, str]):
192
+ The labels associated with this job template.
193
+ You can use these to organize and group your job
194
+ templates.
180
195
"""
181
196
182
197
name = proto .Field (
@@ -188,6 +203,11 @@ class JobTemplate(proto.Message):
188
203
number = 2 ,
189
204
message = "JobConfig" ,
190
205
)
206
+ labels = proto .MapField (
207
+ proto .STRING ,
208
+ proto .STRING ,
209
+ number = 3 ,
210
+ )
191
211
192
212
193
213
class JobConfig (proto .Message ):
@@ -215,6 +235,8 @@ class JobConfig(proto.Message):
215
235
Destination on Pub/Sub.
216
236
sprite_sheets (Sequence[google.cloud.video.transcoder_v1.types.SpriteSheet]):
217
237
List of output sprite sheets.
238
+ Spritesheets require at least one VideoStream in
239
+ the Jobconfig.
218
240
overlays (Sequence[google.cloud.video.transcoder_v1.types.Overlay]):
219
241
List of overlays on the output video, in
220
242
descending Z-order.
@@ -283,8 +305,10 @@ class Input(proto.Message):
283
305
uri (str):
284
306
URI of the media. Input files must be at least 5 seconds in
285
307
duration and stored in Cloud Storage (for example,
286
- ``gs://bucket/inputs/file.mp4``). If empty, the value will
287
- be populated from ``Job.input_uri``.
308
+ ``gs://bucket/inputs/file.mp4``). If empty, the value is
309
+ populated from ``Job.input_uri``. See `Supported input and
310
+ output
311
+ formats <https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats>`__.
288
312
preprocessing_config (google.cloud.video.transcoder_v1.types.PreprocessingConfig):
289
313
Preprocessing configurations.
290
314
"""
@@ -310,8 +334,10 @@ class Output(proto.Message):
310
334
Attributes:
311
335
uri (str):
312
336
URI for the output file(s). For example,
313
- ``gs://my-bucket/outputs/``. If empty the value is populated
314
- from ``Job.output_uri``.
337
+ ``gs://my-bucket/outputs/``. If empty, the value is
338
+ populated from ``Job.output_uri``. See `Supported input and
339
+ output
340
+ formats <https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats>`__.
315
341
"""
316
342
317
343
uri = proto .Field (
@@ -455,6 +481,9 @@ class MuxStream(proto.Message):
455
481
- ``fmp4``- the corresponding file extension is ``.m4s``
456
482
- ``mp4``
457
483
- ``vtt``
484
+
485
+ See also: `Supported input and output
486
+ formats <https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats>`__
458
487
elementary_streams (Sequence[str]):
459
488
List of ``ElementaryStream.key``\ s multiplexed in this
460
489
stream.
@@ -902,6 +931,8 @@ class PreprocessingConfig(proto.Message):
902
931
class Color (proto .Message ):
903
932
r"""Color preprocessing configuration.
904
933
934
+ **Note:** This configuration is not supported.
935
+
905
936
Attributes:
906
937
saturation (float):
907
938
Control color saturation of the video. Enter
@@ -936,6 +967,8 @@ class Color(proto.Message):
936
967
class Denoise (proto .Message ):
937
968
r"""Denoise preprocessing configuration.
938
969
970
+ **Note:** This configuration is not supported.
971
+
939
972
Attributes:
940
973
strength (float):
941
974
Set strength of the denoise. Enter a value
@@ -963,6 +996,8 @@ class Denoise(proto.Message):
963
996
class Deblock (proto .Message ):
964
997
r"""Deblock preprocessing configuration.
965
998
999
+ **Note:** This configuration is not supported.
1000
+
966
1001
Attributes:
967
1002
strength (float):
968
1003
Set strength of the deblocker. Enter a value
@@ -1003,9 +1038,13 @@ class Audio(proto.Message):
1003
1038
high_boost (bool):
1004
1039
Enable boosting high frequency components. The default is
1005
1040
``false``.
1041
+
1042
+ **Note:** This field is not supported.
1006
1043
low_boost (bool):
1007
1044
Enable boosting low frequency components. The default is
1008
1045
``false``.
1046
+
1047
+ **Note:** This field is not supported.
1009
1048
"""
1010
1049
1011
1050
lufs = proto .Field (
@@ -1658,11 +1697,12 @@ class Vp9CodecSettings(proto.Message):
1658
1697
Supported rate control modes:
1659
1698
1660
1699
- ``vbr`` - variable bitrate
1661
- - ``crf`` - constant rate factor
1662
1700
crf_level (int):
1663
- Target CRF level. Must be between 10 and 36,
1664
- where 10 is the highest quality and 36 is the
1665
- most efficient compression. The default is 21.
1701
+ Target CRF level. Must be between 10 and 36, where 10 is the
1702
+ highest quality and 36 is the most efficient compression.
1703
+ The default is 21.
1704
+
1705
+ **Note:** This field is not supported.
1666
1706
gop_frame_count (int):
1667
1707
Select the GOP size based on the specified
1668
1708
frame count. Must be greater than zero.
0 commit comments