Skip to content

Commit

Permalink
feat(transcoder): update the api
Browse files Browse the repository at this point in the history
#### transcoder:v1

The following keys were added:
- schemas.Job.properties.labels (Total Keys: 2)
- schemas.JobTemplate.properties.labels (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Jun 14, 2022
1 parent 40c368d commit 41ffeca
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 10 deletions.
20 changes: 16 additions & 4 deletions docs/dyn/transcoder_v1.projects.locations.jobTemplates.html
Expand Up @@ -317,7 +317,7 @@ <h3>Method Details</h3>
&quot;pubsubDestination&quot;: { # A Pub/Sub destination. # Destination on Pub/Sub.
&quot;topic&quot;: &quot;A String&quot;, # The name of the Pub/Sub topic to publish job completion notification to. For example: `projects/{project}/topics/{topic}`.
},
&quot;spriteSheets&quot;: [ # List of output sprite sheets.
&quot;spriteSheets&quot;: [ # List of output sprite sheets. Spritesheets require at least one VideoStream in the Jobconfig.
{ # Sprite sheet configuration.
&quot;columnCount&quot;: 42, # The maximum number of sprites per row in a sprite sheet. The default is 0, which indicates no maximum limit.
&quot;endTimeOffset&quot;: &quot;A String&quot;, # End time in seconds, relative to the output file timeline. When `end_time_offset` is not specified, the sprites are generated until the end of the output file.
Expand All @@ -333,6 +333,9 @@ <h3>Method Details</h3>
},
],
},
&quot;labels&quot;: { # The labels associated with this job template. You can use these to organize and group your job templates.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # The resource name of the job template. Format: `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
}

Expand Down Expand Up @@ -555,7 +558,7 @@ <h3>Method Details</h3>
&quot;pubsubDestination&quot;: { # A Pub/Sub destination. # Destination on Pub/Sub.
&quot;topic&quot;: &quot;A String&quot;, # The name of the Pub/Sub topic to publish job completion notification to. For example: `projects/{project}/topics/{topic}`.
},
&quot;spriteSheets&quot;: [ # List of output sprite sheets.
&quot;spriteSheets&quot;: [ # List of output sprite sheets. Spritesheets require at least one VideoStream in the Jobconfig.
{ # Sprite sheet configuration.
&quot;columnCount&quot;: 42, # The maximum number of sprites per row in a sprite sheet. The default is 0, which indicates no maximum limit.
&quot;endTimeOffset&quot;: &quot;A String&quot;, # End time in seconds, relative to the output file timeline. When `end_time_offset` is not specified, the sprites are generated until the end of the output file.
Expand All @@ -571,6 +574,9 @@ <h3>Method Details</h3>
},
],
},
&quot;labels&quot;: { # The labels associated with this job template. You can use these to organize and group your job templates.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # The resource name of the job template. Format: `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
}</pre>
</div>
Expand Down Expand Up @@ -818,7 +824,7 @@ <h3>Method Details</h3>
&quot;pubsubDestination&quot;: { # A Pub/Sub destination. # Destination on Pub/Sub.
&quot;topic&quot;: &quot;A String&quot;, # The name of the Pub/Sub topic to publish job completion notification to. For example: `projects/{project}/topics/{topic}`.
},
&quot;spriteSheets&quot;: [ # List of output sprite sheets.
&quot;spriteSheets&quot;: [ # List of output sprite sheets. Spritesheets require at least one VideoStream in the Jobconfig.
{ # Sprite sheet configuration.
&quot;columnCount&quot;: 42, # The maximum number of sprites per row in a sprite sheet. The default is 0, which indicates no maximum limit.
&quot;endTimeOffset&quot;: &quot;A String&quot;, # End time in seconds, relative to the output file timeline. When `end_time_offset` is not specified, the sprites are generated until the end of the output file.
Expand All @@ -834,6 +840,9 @@ <h3>Method Details</h3>
},
],
},
&quot;labels&quot;: { # The labels associated with this job template. You can use these to organize and group your job templates.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # The resource name of the job template. Format: `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
}</pre>
</div>
Expand Down Expand Up @@ -1068,7 +1077,7 @@ <h3>Method Details</h3>
&quot;pubsubDestination&quot;: { # A Pub/Sub destination. # Destination on Pub/Sub.
&quot;topic&quot;: &quot;A String&quot;, # The name of the Pub/Sub topic to publish job completion notification to. For example: `projects/{project}/topics/{topic}`.
},
&quot;spriteSheets&quot;: [ # List of output sprite sheets.
&quot;spriteSheets&quot;: [ # List of output sprite sheets. Spritesheets require at least one VideoStream in the Jobconfig.
{ # Sprite sheet configuration.
&quot;columnCount&quot;: 42, # The maximum number of sprites per row in a sprite sheet. The default is 0, which indicates no maximum limit.
&quot;endTimeOffset&quot;: &quot;A String&quot;, # End time in seconds, relative to the output file timeline. When `end_time_offset` is not specified, the sprites are generated until the end of the output file.
Expand All @@ -1084,6 +1093,9 @@ <h3>Method Details</h3>
},
],
},
&quot;labels&quot;: { # The labels associated with this job template. You can use these to organize and group your job templates.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # The resource name of the job template. Format: `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
},
],
Expand Down
20 changes: 16 additions & 4 deletions docs/dyn/transcoder_v1.projects.locations.jobs.html
Expand Up @@ -317,7 +317,7 @@ <h3>Method Details</h3>
&quot;pubsubDestination&quot;: { # A Pub/Sub destination. # Destination on Pub/Sub.
&quot;topic&quot;: &quot;A String&quot;, # The name of the Pub/Sub topic to publish job completion notification to. For example: `projects/{project}/topics/{topic}`.
},
&quot;spriteSheets&quot;: [ # List of output sprite sheets.
&quot;spriteSheets&quot;: [ # List of output sprite sheets. Spritesheets require at least one VideoStream in the Jobconfig.
{ # Sprite sheet configuration.
&quot;columnCount&quot;: 42, # The maximum number of sprites per row in a sprite sheet. The default is 0, which indicates no maximum limit.
&quot;endTimeOffset&quot;: &quot;A String&quot;, # End time in seconds, relative to the output file timeline. When `end_time_offset` is not specified, the sprites are generated until the end of the output file.
Expand Down Expand Up @@ -345,6 +345,9 @@ <h3>Method Details</h3>
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
},
&quot;inputUri&quot;: &quot;A String&quot;, # Input only. Specify the `input_uri` to populate empty `uri` fields in each element of `Job.config.inputs` or `JobTemplate.config.inputs` when using template. URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
&quot;labels&quot;: { # The labels associated with this job. You can use these to organize and group your jobs.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # The resource name of the job. Format: `projects/{project_number}/locations/{location}/jobs/{job}`
&quot;outputUri&quot;: &quot;A String&quot;, # Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or `JobTemplate.config.output.uri` when using template. URI for the output file(s). For example, `gs://my-bucket/outputs/`. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
&quot;startTime&quot;: &quot;A String&quot;, # Output only. The time the transcoding started.
Expand Down Expand Up @@ -571,7 +574,7 @@ <h3>Method Details</h3>
&quot;pubsubDestination&quot;: { # A Pub/Sub destination. # Destination on Pub/Sub.
&quot;topic&quot;: &quot;A String&quot;, # The name of the Pub/Sub topic to publish job completion notification to. For example: `projects/{project}/topics/{topic}`.
},
&quot;spriteSheets&quot;: [ # List of output sprite sheets.
&quot;spriteSheets&quot;: [ # List of output sprite sheets. Spritesheets require at least one VideoStream in the Jobconfig.
{ # Sprite sheet configuration.
&quot;columnCount&quot;: 42, # The maximum number of sprites per row in a sprite sheet. The default is 0, which indicates no maximum limit.
&quot;endTimeOffset&quot;: &quot;A String&quot;, # End time in seconds, relative to the output file timeline. When `end_time_offset` is not specified, the sprites are generated until the end of the output file.
Expand Down Expand Up @@ -599,6 +602,9 @@ <h3>Method Details</h3>
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
},
&quot;inputUri&quot;: &quot;A String&quot;, # Input only. Specify the `input_uri` to populate empty `uri` fields in each element of `Job.config.inputs` or `JobTemplate.config.inputs` when using template. URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
&quot;labels&quot;: { # The labels associated with this job. You can use these to organize and group your jobs.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # The resource name of the job. Format: `projects/{project_number}/locations/{location}/jobs/{job}`
&quot;outputUri&quot;: &quot;A String&quot;, # Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or `JobTemplate.config.output.uri` when using template. URI for the output file(s). For example, `gs://my-bucket/outputs/`. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
&quot;startTime&quot;: &quot;A String&quot;, # Output only. The time the transcoding started.
Expand Down Expand Up @@ -851,7 +857,7 @@ <h3>Method Details</h3>
&quot;pubsubDestination&quot;: { # A Pub/Sub destination. # Destination on Pub/Sub.
&quot;topic&quot;: &quot;A String&quot;, # The name of the Pub/Sub topic to publish job completion notification to. For example: `projects/{project}/topics/{topic}`.
},
&quot;spriteSheets&quot;: [ # List of output sprite sheets.
&quot;spriteSheets&quot;: [ # List of output sprite sheets. Spritesheets require at least one VideoStream in the Jobconfig.
{ # Sprite sheet configuration.
&quot;columnCount&quot;: 42, # The maximum number of sprites per row in a sprite sheet. The default is 0, which indicates no maximum limit.
&quot;endTimeOffset&quot;: &quot;A String&quot;, # End time in seconds, relative to the output file timeline. When `end_time_offset` is not specified, the sprites are generated until the end of the output file.
Expand Down Expand Up @@ -879,6 +885,9 @@ <h3>Method Details</h3>
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
},
&quot;inputUri&quot;: &quot;A String&quot;, # Input only. Specify the `input_uri` to populate empty `uri` fields in each element of `Job.config.inputs` or `JobTemplate.config.inputs` when using template. URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
&quot;labels&quot;: { # The labels associated with this job. You can use these to organize and group your jobs.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # The resource name of the job. Format: `projects/{project_number}/locations/{location}/jobs/{job}`
&quot;outputUri&quot;: &quot;A String&quot;, # Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or `JobTemplate.config.output.uri` when using template. URI for the output file(s). For example, `gs://my-bucket/outputs/`. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
&quot;startTime&quot;: &quot;A String&quot;, # Output only. The time the transcoding started.
Expand Down Expand Up @@ -1118,7 +1127,7 @@ <h3>Method Details</h3>
&quot;pubsubDestination&quot;: { # A Pub/Sub destination. # Destination on Pub/Sub.
&quot;topic&quot;: &quot;A String&quot;, # The name of the Pub/Sub topic to publish job completion notification to. For example: `projects/{project}/topics/{topic}`.
},
&quot;spriteSheets&quot;: [ # List of output sprite sheets.
&quot;spriteSheets&quot;: [ # List of output sprite sheets. Spritesheets require at least one VideoStream in the Jobconfig.
{ # Sprite sheet configuration.
&quot;columnCount&quot;: 42, # The maximum number of sprites per row in a sprite sheet. The default is 0, which indicates no maximum limit.
&quot;endTimeOffset&quot;: &quot;A String&quot;, # End time in seconds, relative to the output file timeline. When `end_time_offset` is not specified, the sprites are generated until the end of the output file.
Expand Down Expand Up @@ -1146,6 +1155,9 @@ <h3>Method Details</h3>
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
},
&quot;inputUri&quot;: &quot;A String&quot;, # Input only. Specify the `input_uri` to populate empty `uri` fields in each element of `Job.config.inputs` or `JobTemplate.config.inputs` when using template. URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
&quot;labels&quot;: { # The labels associated with this job. You can use these to organize and group your jobs.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # The resource name of the job. Format: `projects/{project_number}/locations/{location}/jobs/{job}`
&quot;outputUri&quot;: &quot;A String&quot;, # Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or `JobTemplate.config.output.uri` when using template. URI for the output file(s). For example, `gs://my-bucket/outputs/`. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
&quot;startTime&quot;: &quot;A String&quot;, # Output only. The time the transcoding started.
Expand Down
18 changes: 16 additions & 2 deletions googleapiclient/discovery_cache/documents/transcoder.v1.json
Expand Up @@ -385,7 +385,7 @@
}
}
},
"revision": "20220518",
"revision": "20220609",
"rootUrl": "https://transcoder.googleapis.com/",
"schemas": {
"AdBreak": {
Expand Down Expand Up @@ -975,6 +975,13 @@
"description": "Input only. Specify the `input_uri` to populate empty `uri` fields in each element of `Job.config.inputs` or `JobTemplate.config.inputs` when using template. URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "The labels associated with this job. You can use these to organize and group your jobs.",
"type": "object"
},
"name": {
"description": "The resource name of the job. Format: `projects/{project_number}/locations/{location}/jobs/{job}`",
"type": "string"
Expand Down Expand Up @@ -1082,7 +1089,7 @@
"description": "Destination on Pub/Sub."
},
"spriteSheets": {
"description": "List of output sprite sheets.",
"description": "List of output sprite sheets. Spritesheets require at least one VideoStream in the Jobconfig.",
"items": {
"$ref": "SpriteSheet"
},
Expand All @@ -1099,6 +1106,13 @@
"$ref": "JobConfig",
"description": "The configuration for this template."
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "The labels associated with this job template. You can use these to organize and group your job templates.",
"type": "object"
},
"name": {
"description": "The resource name of the job template. Format: `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`",
"type": "string"
Expand Down

0 comments on commit 41ffeca

Please sign in to comment.