Skip to content

Commit

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

The following keys were changed:
- schemas.Audio.properties.highBoost.description
- schemas.Audio.properties.lowBoost.description
- schemas.Color.description
- schemas.Deblock.description
- schemas.Denoise.description
- schemas.Empty.description
- schemas.Input.properties.uri.description
- schemas.Job.properties.inputUri.description
- schemas.Job.properties.outputUri.description
- schemas.MuxStream.properties.container.description
- schemas.Output.properties.uri.description
- schemas.Vp9CodecSettings.properties.crfLevel.description
  • Loading branch information
yoshi-automation authored and bcoe committed Apr 11, 2022
1 parent 3bf6a7d commit 4d5bf3b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
26 changes: 13 additions & 13 deletions discovery/transcoder-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@
}
}
},
"revision": "20220201",
"revision": "20220330",
"rootUrl": "https://transcoder.googleapis.com/",
"schemas": {
"AdBreak": {
Expand Down Expand Up @@ -487,11 +487,11 @@
"id": "Audio",
"properties": {
"highBoost": {
"description": "Enable boosting high frequency components. The default is `false`.",
"description": "Enable boosting high frequency components. The default is `false`. **Note:** This field is not supported.",
"type": "boolean"
},
"lowBoost": {
"description": "Enable boosting low frequency components. The default is `false`.",
"description": "Enable boosting low frequency components. The default is `false`. **Note:** This field is not supported.",
"type": "boolean"
},
"lufs": {
Expand Down Expand Up @@ -578,7 +578,7 @@
"type": "object"
},
"Color": {
"description": "Color preprocessing configuration.",
"description": "Color preprocessing configuration. **Note:** This configuration is not supported.",
"id": "Color",
"properties": {
"brightness": {
Expand Down Expand Up @@ -627,7 +627,7 @@
"type": "object"
},
"Deblock": {
"description": "Deblock preprocessing configuration.",
"description": "Deblock preprocessing configuration. **Note:** This configuration is not supported.",
"id": "Deblock",
"properties": {
"enabled": {
Expand All @@ -643,7 +643,7 @@
"type": "object"
},
"Denoise": {
"description": "Denoise preprocessing configuration.",
"description": "Denoise preprocessing configuration. **Note:** This configuration is not supported.",
"id": "Denoise",
"properties": {
"strength": {
Expand Down Expand Up @@ -710,7 +710,7 @@
"type": "object"
},
"Empty": {
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.",
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
"id": "Empty",
"properties": {},
"type": "object"
Expand Down Expand Up @@ -940,7 +940,7 @@
"description": "Preprocessing configurations."
},
"uri": {
"description": "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`). If empty, the value will be populated from `Job.input_uri`.",
"description": "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`). If empty, the value is populated from `Job.input_uri`. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).",
"type": "string"
}
},
Expand Down Expand Up @@ -972,15 +972,15 @@
"readOnly": true
},
"inputUri": {
"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`).",
"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"
},
"name": {
"description": "The resource name of the job. Format: `projects/{project_number}/locations/{location}/jobs/{job}`",
"type": "string"
},
"outputUri": {
"description": "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/`.",
"description": "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).",
"type": "string"
},
"startTime": {
Expand Down Expand Up @@ -1193,7 +1193,7 @@
"id": "MuxStream",
"properties": {
"container": {
"description": "The container format. The default is `mp4` Supported container formats: - `ts` - `fmp4`- the corresponding file extension is `.m4s` - `mp4` - `vtt`",
"description": "The container format. The default is `mp4` Supported container formats: - `ts` - `fmp4`- the corresponding file extension is `.m4s` - `mp4` - `vtt` See also: [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats)",
"type": "string"
},
"elementaryStreams": {
Expand Down Expand Up @@ -1240,7 +1240,7 @@
"id": "Output",
"properties": {
"uri": {
"description": "URI for the output file(s). For example, `gs://my-bucket/outputs/`. If empty the value is populated from `Job.output_uri`.",
"description": "URI for the output file(s). For example, `gs://my-bucket/outputs/`. If empty, the value is populated from `Job.output_uri`. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).",
"type": "string"
}
},
Expand Down Expand Up @@ -1503,7 +1503,7 @@
"type": "integer"
},
"crfLevel": {
"description": "Target CRF level. Must be between 10 and 36, where 10 is the highest quality and 36 is the most efficient compression. The default is 21. *Note*: This field is not supported. ",
"description": "Target CRF level. Must be between 10 and 36, where 10 is the highest quality and 36 is the most efficient compression. The default is 21. **Note:** This field is not supported.",
"format": "int32",
"type": "integer"
},
Expand Down
24 changes: 12 additions & 12 deletions src/apis/transcoder/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,11 @@ export namespace transcoder_v1 {
*/
export interface Schema$Audio {
/**
* Enable boosting high frequency components. The default is `false`.
* Enable boosting high frequency components. The default is `false`. **Note:** This field is not supported.
*/
highBoost?: boolean | null;
/**
* Enable boosting low frequency components. The default is `false`.
* Enable boosting low frequency components. The default is `false`. **Note:** This field is not supported.
*/
lowBoost?: boolean | null;
/**
Expand Down Expand Up @@ -270,7 +270,7 @@ export namespace transcoder_v1 {
sampleRateHertz?: number | null;
}
/**
* Color preprocessing configuration.
* Color preprocessing configuration. **Note:** This configuration is not supported.
*/
export interface Schema$Color {
/**
Expand Down Expand Up @@ -308,7 +308,7 @@ export namespace transcoder_v1 {
topPixels?: number | null;
}
/**
* Deblock preprocessing configuration.
* Deblock preprocessing configuration. **Note:** This configuration is not supported.
*/
export interface Schema$Deblock {
/**
Expand All @@ -321,7 +321,7 @@ export namespace transcoder_v1 {
strength?: number | null;
}
/**
* Denoise preprocessing configuration.
* Denoise preprocessing configuration. **Note:** This configuration is not supported.
*/
export interface Schema$Denoise {
/**
Expand Down Expand Up @@ -376,7 +376,7 @@ export namespace transcoder_v1 {
videoStream?: Schema$VideoStream;
}
/**
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} The JSON representation for `Empty` is empty JSON object `{\}`.
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
*/
export interface Schema$Empty {}
/**
Expand Down Expand Up @@ -575,7 +575,7 @@ export namespace transcoder_v1 {
*/
preprocessingConfig?: Schema$PreprocessingConfig;
/**
* 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`). If empty, the value will be populated from `Job.input_uri`.
* 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`). If empty, the value is populated from `Job.input_uri`. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
*/
uri?: string | null;
}
Expand All @@ -600,15 +600,15 @@ export namespace transcoder_v1 {
*/
error?: Schema$Status;
/**
* 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`).
* 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).
*/
inputUri?: string | null;
/**
* The resource name of the job. Format: `projects/{project_number\}/locations/{location\}/jobs/{job\}`
*/
name?: string | null;
/**
* 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/`.
* 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).
*/
outputUri?: string | null;
/**
Expand Down Expand Up @@ -742,7 +742,7 @@ export namespace transcoder_v1 {
*/
export interface Schema$MuxStream {
/**
* The container format. The default is `mp4` Supported container formats: - `ts` - `fmp4`- the corresponding file extension is `.m4s` - `mp4` - `vtt`
* The container format. The default is `mp4` Supported container formats: - `ts` - `fmp4`- the corresponding file extension is `.m4s` - `mp4` - `vtt` See also: [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats)
*/
container?: string | null;
/**
Expand Down Expand Up @@ -780,7 +780,7 @@ export namespace transcoder_v1 {
*/
export interface Schema$Output {
/**
* URI for the output file(s). For example, `gs://my-bucket/outputs/`. If empty the value is populated from `Job.output_uri`.
* URI for the output file(s). For example, `gs://my-bucket/outputs/`. If empty, the value is populated from `Job.output_uri`. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
*/
uri?: string | null;
}
Expand Down Expand Up @@ -991,7 +991,7 @@ export namespace transcoder_v1 {
*/
bitrateBps?: number | null;
/**
* Target CRF level. Must be between 10 and 36, where 10 is the highest quality and 36 is the most efficient compression. The default is 21. *Note*: This field is not supported.
* Target CRF level. Must be between 10 and 36, where 10 is the highest quality and 36 is the most efficient compression. The default is 21. **Note:** This field is not supported.
*/
crfLevel?: number | null;
/**
Expand Down

0 comments on commit 4d5bf3b

Please sign in to comment.