@@ -53,6 +53,21 @@ message Job {
5353 FAILED = 4 ;
5454 }
5555
56+ // The processing mode of the job.
57+ enum ProcessingMode {
58+ // The job processing mode is not specified.
59+ PROCESSING_MODE_UNSPECIFIED = 0 ;
60+
61+ // The job processing mode is interactive mode.
62+ // Interactive job will either be ran or rejected if quota does not allow
63+ // for it.
64+ PROCESSING_MODE_INTERACTIVE = 1 ;
65+
66+ // The job processing mode is batch mode.
67+ // Batch mode allows queuing of jobs.
68+ PROCESSING_MODE_BATCH = 2 ;
69+ }
70+
5671 // The resource name of the job.
5772 // Format: `projects/{project_number}/locations/{location}/jobs/{job}`
5873 string name = 1 ;
@@ -78,13 +93,9 @@ message Job {
7893 // the `Job.config` is populated by the `JobTemplate.config`.<br>
7994 oneof job_config {
8095 // Input only. Specify the `template_id` to use for populating `Job.config`.
81- // The default is `preset/web-hd`.
96+ // The default is `preset/web-hd`, which is the only supported preset .
8297 //
83- // Preset Transcoder templates:
84- // - `preset/{preset_id}`
85- //
86- // - User defined JobTemplate:
87- // `{job_template_id}`
98+ // User defined JobTemplate: `{job_template_id}`
8899 string template_id = 4 [(google.api.field_behavior ) = INPUT_ONLY ];
89100
90101 // The configuration for this job.
@@ -118,6 +129,10 @@ message Job {
118129 // Output only. An error object that describes the reason for the failure.
119130 // This property is always present when `state` is `FAILED`.
120131 google.rpc.Status error = 17 [(google.api.field_behavior ) = OUTPUT_ONLY ];
132+
133+ // The processing mode of the job.
134+ // The default is `PROCESSING_MODE_INTERACTIVE`.
135+ ProcessingMode mode = 20 ;
121136}
122137
123138// Transcoding job template resource.
@@ -411,10 +426,10 @@ message Overlay {
411426 double y = 2 ;
412427 }
413428
414- // Overlaid jpeg image.
429+ // Overlaid image.
415430 message Image {
416- // Required. URI of the JPEG image in Cloud Storage. For example,
417- // `gs://bucket/inputs/image.jpeg `. JPEG is the only supported image type .
431+ // Required. URI of the image in Cloud Storage. For example,
432+ // `gs://bucket/inputs/image.png `. Only PNG and JPEG images are supported .
418433 string uri = 1 [(google.api.field_behavior ) = REQUIRED ];
419434
420435 // Normalized image resolution, based on output video resolution. Valid
@@ -1171,11 +1186,12 @@ message AudioStream {
11711186
11721187 // The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
11731188 // information, see
1174- // https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
1189+ // https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not
1190+ // supported in MP4 files.
11751191 string language_code = 7 ;
11761192
11771193 // The name for this particular audio stream that
1178- // will be added to the HLS/DASH manifest.
1194+ // will be added to the HLS/DASH manifest. Not supported in MP4 files.
11791195 string display_name = 8 ;
11801196}
11811197
@@ -1207,14 +1223,15 @@ message TextStream {
12071223
12081224 // The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
12091225 // information, see
1210- // https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
1226+ // https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not
1227+ // supported in MP4 files.
12111228 string language_code = 2 ;
12121229
12131230 // The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.
12141231 repeated TextMapping mapping = 3 ;
12151232
12161233 // The name for this particular text stream that
1217- // will be added to the HLS/DASH manifest.
1234+ // will be added to the HLS/DASH manifest. Not supported in MP4 files.
12181235 string display_name = 4 ;
12191236}
12201237
0 commit comments