Skip to content

Commit e25a0c7

Browse files
yoshi-automationsofisl
authored andcommitted
fix(transcoder): update the API
#### transcoder:v1 The following keys were changed: - schemas.Image.description - schemas.Image.properties.uri.description - schemas.Manifest.properties.type.description - schemas.Manifest.properties.type.enumDescriptions
1 parent a602413 commit e25a0c7

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

discovery/transcoder-v1.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@
385385
}
386386
}
387387
},
388-
"revision": "20230322",
388+
"revision": "20230426",
389389
"rootUrl": "https://transcoder.googleapis.com/",
390390
"schemas": {
391391
"AdBreak": {
@@ -950,7 +950,7 @@
950950
"type": "object"
951951
},
952952
"Image": {
953-
"description": "Overlaid jpeg image.",
953+
"description": "Overlaid image.",
954954
"id": "Image",
955955
"properties": {
956956
"alpha": {
@@ -963,7 +963,7 @@
963963
"description": "Normalized image resolution, based on output video resolution. Valid values: `0.0`–`1.0`. To respect the original image aspect ratio, set either `x` or `y` to `0.0`. To use the original image resolution, set both `x` and `y` to `0.0`."
964964
},
965965
"uri": {
966-
"description": "Required. URI of the JPEG image in Cloud Storage. For example, `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.",
966+
"description": "Required. URI of the image in Cloud Storage. For example, `gs://bucket/inputs/image.png`. Only PNG and JPEG images are supported.",
967967
"type": "string"
968968
}
969969
},
@@ -1242,16 +1242,16 @@
12421242
"type": "array"
12431243
},
12441244
"type": {
1245-
"description": "Required. Type of the manifest, can be `HLS` or `DASH`.",
1245+
"description": "Required. Type of the manifest.",
12461246
"enum": [
12471247
"MANIFEST_TYPE_UNSPECIFIED",
12481248
"HLS",
12491249
"DASH"
12501250
],
12511251
"enumDescriptions": [
12521252
"The manifest type is not specified.",
1253-
"Create `HLS` manifest. The corresponding file extension is `.m3u8`.",
1254-
"Create `DASH` manifest. The corresponding file extension is `.mpd`."
1253+
"Create an HLS manifest. The corresponding file extension is `.m3u8`.",
1254+
"Create an MPEG-DASH manifest. The corresponding file extension is `.mpd`."
12551255
],
12561256
"type": "string"
12571257
}

src/apis/transcoder/v1.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ export namespace transcoder_v1 {
583583
widthPixels?: number | null;
584584
}
585585
/**
586-
* Overlaid jpeg image.
586+
* Overlaid image.
587587
*/
588588
export interface Schema$Image {
589589
/**
@@ -595,7 +595,7 @@ export namespace transcoder_v1 {
595595
*/
596596
resolution?: Schema$NormalizedCoordinate;
597597
/**
598-
* Required. URI of the JPEG image in Cloud Storage. For example, `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
598+
* Required. URI of the image in Cloud Storage. For example, `gs://bucket/inputs/image.png`. Only PNG and JPEG images are supported.
599599
*/
600600
uri?: string | null;
601601
}
@@ -782,7 +782,7 @@ export namespace transcoder_v1 {
782782
*/
783783
muxStreams?: string[] | null;
784784
/**
785-
* Required. Type of the manifest, can be `HLS` or `DASH`.
785+
* Required. Type of the manifest.
786786
*/
787787
type?: string | null;
788788
}

0 commit comments

Comments
 (0)