@googleapis/transcoder 5.0.1 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.1.0](https://github.com/googleapis/google-api-nodejs-client/compare/transcoder-v6.0.1...transcoder-v6.1.0) (2025-07-15)
4
+
5
+
6
+ ### Features
7
+
8
+ * **transcoder:** update the API ([f6edc46](https://github.com/googleapis/google-api-nodejs-client/commit/f6edc4699554c55f878b3fbd18e68d2012afcaa4))
9
+
10
+ ## [6.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/transcoder-v6.0.0...transcoder-v6.0.1) (2025-07-08)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **transcoder:** update the API ([067674c](https://github.com/googleapis/google-api-nodejs-client/commit/067674cb0d5f927ff6577478219ab1c81d58bb89))
16
+ * **transcoder:** update the API ([428e3b1](https://github.com/googleapis/google-api-nodejs-client/commit/428e3b1264448cf7f02709203baf5e5b915ed8a4))
17
+
18
+ ## [6.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/transcoder-v5.0.1...transcoder-v6.0.0) (2025-06-30)
19
+
20
+
21
+ ### ⚠ BREAKING CHANGES
22
+
23
+ * upgrade to node 18
24
+
25
+ ### Features
26
+
27
+ * upgrade to node 18 ([682fbb8](https://github.com/googleapis/google-api-nodejs-client/commit/682fbb869189ae92b3e9a194d37d0548af0c1f92))
28
+
29
+
30
+ ### Bug Fixes
31
+
32
+ * **deps:** upgrade googleapis-common to 8.0.2-rc ([f4b0990](https://github.com/googleapis/google-api-nodejs-client/commit/f4b099071040cfbcfe4a2e7d487d45ee93b369e0))
33
+ * **transcoder:** update the API ([428e3b1](https://github.com/googleapis/google-api-nodejs-client/commit/428e3b1264448cf7f02709203baf5e5b915ed8a4))
34
+
3
35
  ## [5.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/transcoder-v5.0.0...transcoder-v5.0.1) (2025-06-04)
4
36
 
5
37
 
package/build/v1.d.ts CHANGED
@@ -724,6 +724,10 @@ export declare namespace transcoder_v1 {
724
724
  * Output only. An error object that describes the reason for the failure. This property is always present when ProcessingState is `FAILED`.
725
725
  */
726
726
  error?: Schema$Status;
727
+ /**
728
+ * Optional. Insert silence and duplicate frames when timestamp gaps are detected in a given stream.
729
+ */
730
+ fillContentGaps?: boolean | null;
727
731
  /**
728
732
  * 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).
729
733
  */
@@ -1294,6 +1298,90 @@ export declare namespace transcoder_v1 {
1294
1298
  constructor(context: APIRequestContext);
1295
1299
  /**
1296
1300
  * Creates a job in the specified region.
1301
+ * @example
1302
+ * ```js
1303
+ * // Before running the sample:
1304
+ * // - Enable the API at:
1305
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1306
+ * // - Login into gcloud by running:
1307
+ * // ```sh
1308
+ * // $ gcloud auth application-default login
1309
+ * // ```
1310
+ * // - Install the npm module by running:
1311
+ * // ```sh
1312
+ * // $ npm install googleapis
1313
+ * // ```
1314
+ *
1315
+ * const {google} = require('googleapis');
1316
+ * const transcoder = google.transcoder('v1');
1317
+ *
1318
+ * async function main() {
1319
+ * const auth = new google.auth.GoogleAuth({
1320
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1321
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1322
+ * });
1323
+ *
1324
+ * // Acquire an auth client, and bind it to all future calls
1325
+ * const authClient = await auth.getClient();
1326
+ * google.options({auth: authClient});
1327
+ *
1328
+ * // Do the magic
1329
+ * const res = await transcoder.projects.locations.jobs.create({
1330
+ * // Required. The parent location to create and process this job. Format: `projects/{project\}/locations/{location\}`
1331
+ * parent: 'projects/my-project/locations/my-location',
1332
+ *
1333
+ * // Request body metadata
1334
+ * requestBody: {
1335
+ * // request body parameters
1336
+ * // {
1337
+ * // "batchModePriority": 0,
1338
+ * // "config": {},
1339
+ * // "createTime": "my_createTime",
1340
+ * // "endTime": "my_endTime",
1341
+ * // "error": {},
1342
+ * // "fillContentGaps": false,
1343
+ * // "inputUri": "my_inputUri",
1344
+ * // "labels": {},
1345
+ * // "mode": "my_mode",
1346
+ * // "name": "my_name",
1347
+ * // "optimization": "my_optimization",
1348
+ * // "outputUri": "my_outputUri",
1349
+ * // "startTime": "my_startTime",
1350
+ * // "state": "my_state",
1351
+ * // "templateId": "my_templateId",
1352
+ * // "ttlAfterCompletionDays": 0
1353
+ * // }
1354
+ * },
1355
+ * });
1356
+ * console.log(res.data);
1357
+ *
1358
+ * // Example response
1359
+ * // {
1360
+ * // "batchModePriority": 0,
1361
+ * // "config": {},
1362
+ * // "createTime": "my_createTime",
1363
+ * // "endTime": "my_endTime",
1364
+ * // "error": {},
1365
+ * // "fillContentGaps": false,
1366
+ * // "inputUri": "my_inputUri",
1367
+ * // "labels": {},
1368
+ * // "mode": "my_mode",
1369
+ * // "name": "my_name",
1370
+ * // "optimization": "my_optimization",
1371
+ * // "outputUri": "my_outputUri",
1372
+ * // "startTime": "my_startTime",
1373
+ * // "state": "my_state",
1374
+ * // "templateId": "my_templateId",
1375
+ * // "ttlAfterCompletionDays": 0
1376
+ * // }
1377
+ * }
1378
+ *
1379
+ * main().catch(e => {
1380
+ * console.error(e);
1381
+ * throw e;
1382
+ * });
1383
+ *
1384
+ * ```
1297
1385
  *
1298
1386
  * @param params - Parameters for request
1299
1387
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1308,6 +1396,52 @@ export declare namespace transcoder_v1 {
1308
1396
  create(callback: BodyResponseCallback<Schema$Job>): void;
1309
1397
  /**
1310
1398
  * Deletes a job.
1399
+ * @example
1400
+ * ```js
1401
+ * // Before running the sample:
1402
+ * // - Enable the API at:
1403
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1404
+ * // - Login into gcloud by running:
1405
+ * // ```sh
1406
+ * // $ gcloud auth application-default login
1407
+ * // ```
1408
+ * // - Install the npm module by running:
1409
+ * // ```sh
1410
+ * // $ npm install googleapis
1411
+ * // ```
1412
+ *
1413
+ * const {google} = require('googleapis');
1414
+ * const transcoder = google.transcoder('v1');
1415
+ *
1416
+ * async function main() {
1417
+ * const auth = new google.auth.GoogleAuth({
1418
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1419
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1420
+ * });
1421
+ *
1422
+ * // Acquire an auth client, and bind it to all future calls
1423
+ * const authClient = await auth.getClient();
1424
+ * google.options({auth: authClient});
1425
+ *
1426
+ * // Do the magic
1427
+ * const res = await transcoder.projects.locations.jobs.delete({
1428
+ * // If set to true, and the job is not found, the request will succeed but no action will be taken on the server.
1429
+ * allowMissing: 'placeholder-value',
1430
+ * // Required. The name of the job to delete. Format: `projects/{project\}/locations/{location\}/jobs/{job\}`
1431
+ * name: 'projects/my-project/locations/my-location/jobs/my-job',
1432
+ * });
1433
+ * console.log(res.data);
1434
+ *
1435
+ * // Example response
1436
+ * // {}
1437
+ * }
1438
+ *
1439
+ * main().catch(e => {
1440
+ * console.error(e);
1441
+ * throw e;
1442
+ * });
1443
+ *
1444
+ * ```
1311
1445
  *
1312
1446
  * @param params - Parameters for request
1313
1447
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1322,6 +1456,67 @@ export declare namespace transcoder_v1 {
1322
1456
  delete(callback: BodyResponseCallback<Schema$Empty>): void;
1323
1457
  /**
1324
1458
  * Returns the job data.
1459
+ * @example
1460
+ * ```js
1461
+ * // Before running the sample:
1462
+ * // - Enable the API at:
1463
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1464
+ * // - Login into gcloud by running:
1465
+ * // ```sh
1466
+ * // $ gcloud auth application-default login
1467
+ * // ```
1468
+ * // - Install the npm module by running:
1469
+ * // ```sh
1470
+ * // $ npm install googleapis
1471
+ * // ```
1472
+ *
1473
+ * const {google} = require('googleapis');
1474
+ * const transcoder = google.transcoder('v1');
1475
+ *
1476
+ * async function main() {
1477
+ * const auth = new google.auth.GoogleAuth({
1478
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1479
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1480
+ * });
1481
+ *
1482
+ * // Acquire an auth client, and bind it to all future calls
1483
+ * const authClient = await auth.getClient();
1484
+ * google.options({auth: authClient});
1485
+ *
1486
+ * // Do the magic
1487
+ * const res = await transcoder.projects.locations.jobs.get({
1488
+ * // Required. The name of the job to retrieve. Format: `projects/{project\}/locations/{location\}/jobs/{job\}`
1489
+ * name: 'projects/my-project/locations/my-location/jobs/my-job',
1490
+ * });
1491
+ * console.log(res.data);
1492
+ *
1493
+ * // Example response
1494
+ * // {
1495
+ * // "batchModePriority": 0,
1496
+ * // "config": {},
1497
+ * // "createTime": "my_createTime",
1498
+ * // "endTime": "my_endTime",
1499
+ * // "error": {},
1500
+ * // "fillContentGaps": false,
1501
+ * // "inputUri": "my_inputUri",
1502
+ * // "labels": {},
1503
+ * // "mode": "my_mode",
1504
+ * // "name": "my_name",
1505
+ * // "optimization": "my_optimization",
1506
+ * // "outputUri": "my_outputUri",
1507
+ * // "startTime": "my_startTime",
1508
+ * // "state": "my_state",
1509
+ * // "templateId": "my_templateId",
1510
+ * // "ttlAfterCompletionDays": 0
1511
+ * // }
1512
+ * }
1513
+ *
1514
+ * main().catch(e => {
1515
+ * console.error(e);
1516
+ * throw e;
1517
+ * });
1518
+ *
1519
+ * ```
1325
1520
  *
1326
1521
  * @param params - Parameters for request
1327
1522
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1336,6 +1531,62 @@ export declare namespace transcoder_v1 {
1336
1531
  get(callback: BodyResponseCallback<Schema$Job>): void;
1337
1532
  /**
1338
1533
  * Lists jobs in the specified region.
1534
+ * @example
1535
+ * ```js
1536
+ * // Before running the sample:
1537
+ * // - Enable the API at:
1538
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1539
+ * // - Login into gcloud by running:
1540
+ * // ```sh
1541
+ * // $ gcloud auth application-default login
1542
+ * // ```
1543
+ * // - Install the npm module by running:
1544
+ * // ```sh
1545
+ * // $ npm install googleapis
1546
+ * // ```
1547
+ *
1548
+ * const {google} = require('googleapis');
1549
+ * const transcoder = google.transcoder('v1');
1550
+ *
1551
+ * async function main() {
1552
+ * const auth = new google.auth.GoogleAuth({
1553
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1554
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1555
+ * });
1556
+ *
1557
+ * // Acquire an auth client, and bind it to all future calls
1558
+ * const authClient = await auth.getClient();
1559
+ * google.options({auth: authClient});
1560
+ *
1561
+ * // Do the magic
1562
+ * const res = await transcoder.projects.locations.jobs.list({
1563
+ * // The filter expression, following the syntax outlined in https://google.aip.dev/160.
1564
+ * filter: 'placeholder-value',
1565
+ * // One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
1566
+ * orderBy: 'placeholder-value',
1567
+ * // The maximum number of items to return.
1568
+ * pageSize: 'placeholder-value',
1569
+ * // The `next_page_token` value returned from a previous List request, if any.
1570
+ * pageToken: 'placeholder-value',
1571
+ * // Required. Format: `projects/{project\}/locations/{location\}`
1572
+ * parent: 'projects/my-project/locations/my-location',
1573
+ * });
1574
+ * console.log(res.data);
1575
+ *
1576
+ * // Example response
1577
+ * // {
1578
+ * // "jobs": [],
1579
+ * // "nextPageToken": "my_nextPageToken",
1580
+ * // "unreachable": []
1581
+ * // }
1582
+ * }
1583
+ *
1584
+ * main().catch(e => {
1585
+ * console.error(e);
1586
+ * throw e;
1587
+ * });
1588
+ *
1589
+ * ```
1339
1590
  *
1340
1591
  * @param params - Parameters for request
1341
1592
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1402,6 +1653,66 @@ export declare namespace transcoder_v1 {
1402
1653
  constructor(context: APIRequestContext);
1403
1654
  /**
1404
1655
  * Creates a job template in the specified region.
1656
+ * @example
1657
+ * ```js
1658
+ * // Before running the sample:
1659
+ * // - Enable the API at:
1660
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1661
+ * // - Login into gcloud by running:
1662
+ * // ```sh
1663
+ * // $ gcloud auth application-default login
1664
+ * // ```
1665
+ * // - Install the npm module by running:
1666
+ * // ```sh
1667
+ * // $ npm install googleapis
1668
+ * // ```
1669
+ *
1670
+ * const {google} = require('googleapis');
1671
+ * const transcoder = google.transcoder('v1');
1672
+ *
1673
+ * async function main() {
1674
+ * const auth = new google.auth.GoogleAuth({
1675
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1676
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1677
+ * });
1678
+ *
1679
+ * // Acquire an auth client, and bind it to all future calls
1680
+ * const authClient = await auth.getClient();
1681
+ * google.options({auth: authClient});
1682
+ *
1683
+ * // Do the magic
1684
+ * const res = await transcoder.projects.locations.jobTemplates.create({
1685
+ * // Required. The ID to use for the job template, which will become the final component of the job template's resource name. This value should be 4-63 characters, and valid characters must match the regular expression `a-zA-Z*`.
1686
+ * jobTemplateId: 'placeholder-value',
1687
+ * // Required. The parent location to create this job template. Format: `projects/{project\}/locations/{location\}`
1688
+ * parent: 'projects/my-project/locations/my-location',
1689
+ *
1690
+ * // Request body metadata
1691
+ * requestBody: {
1692
+ * // request body parameters
1693
+ * // {
1694
+ * // "config": {},
1695
+ * // "labels": {},
1696
+ * // "name": "my_name"
1697
+ * // }
1698
+ * },
1699
+ * });
1700
+ * console.log(res.data);
1701
+ *
1702
+ * // Example response
1703
+ * // {
1704
+ * // "config": {},
1705
+ * // "labels": {},
1706
+ * // "name": "my_name"
1707
+ * // }
1708
+ * }
1709
+ *
1710
+ * main().catch(e => {
1711
+ * console.error(e);
1712
+ * throw e;
1713
+ * });
1714
+ *
1715
+ * ```
1405
1716
  *
1406
1717
  * @param params - Parameters for request
1407
1718
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1416,6 +1727,52 @@ export declare namespace transcoder_v1 {
1416
1727
  create(callback: BodyResponseCallback<Schema$JobTemplate>): void;
1417
1728
  /**
1418
1729
  * Deletes a job template.
1730
+ * @example
1731
+ * ```js
1732
+ * // Before running the sample:
1733
+ * // - Enable the API at:
1734
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1735
+ * // - Login into gcloud by running:
1736
+ * // ```sh
1737
+ * // $ gcloud auth application-default login
1738
+ * // ```
1739
+ * // - Install the npm module by running:
1740
+ * // ```sh
1741
+ * // $ npm install googleapis
1742
+ * // ```
1743
+ *
1744
+ * const {google} = require('googleapis');
1745
+ * const transcoder = google.transcoder('v1');
1746
+ *
1747
+ * async function main() {
1748
+ * const auth = new google.auth.GoogleAuth({
1749
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1750
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1751
+ * });
1752
+ *
1753
+ * // Acquire an auth client, and bind it to all future calls
1754
+ * const authClient = await auth.getClient();
1755
+ * google.options({auth: authClient});
1756
+ *
1757
+ * // Do the magic
1758
+ * const res = await transcoder.projects.locations.jobTemplates.delete({
1759
+ * // If set to true, and the job template is not found, the request will succeed but no action will be taken on the server.
1760
+ * allowMissing: 'placeholder-value',
1761
+ * // Required. The name of the job template to delete. `projects/{project\}/locations/{location\}/jobTemplates/{job_template\}`
1762
+ * name: 'projects/my-project/locations/my-location/jobTemplates/my-jobTemplate',
1763
+ * });
1764
+ * console.log(res.data);
1765
+ *
1766
+ * // Example response
1767
+ * // {}
1768
+ * }
1769
+ *
1770
+ * main().catch(e => {
1771
+ * console.error(e);
1772
+ * throw e;
1773
+ * });
1774
+ *
1775
+ * ```
1419
1776
  *
1420
1777
  * @param params - Parameters for request
1421
1778
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1430,6 +1787,54 @@ export declare namespace transcoder_v1 {
1430
1787
  delete(callback: BodyResponseCallback<Schema$Empty>): void;
1431
1788
  /**
1432
1789
  * Returns the job template data.
1790
+ * @example
1791
+ * ```js
1792
+ * // Before running the sample:
1793
+ * // - Enable the API at:
1794
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1795
+ * // - Login into gcloud by running:
1796
+ * // ```sh
1797
+ * // $ gcloud auth application-default login
1798
+ * // ```
1799
+ * // - Install the npm module by running:
1800
+ * // ```sh
1801
+ * // $ npm install googleapis
1802
+ * // ```
1803
+ *
1804
+ * const {google} = require('googleapis');
1805
+ * const transcoder = google.transcoder('v1');
1806
+ *
1807
+ * async function main() {
1808
+ * const auth = new google.auth.GoogleAuth({
1809
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1810
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1811
+ * });
1812
+ *
1813
+ * // Acquire an auth client, and bind it to all future calls
1814
+ * const authClient = await auth.getClient();
1815
+ * google.options({auth: authClient});
1816
+ *
1817
+ * // Do the magic
1818
+ * const res = await transcoder.projects.locations.jobTemplates.get({
1819
+ * // Required. The name of the job template to retrieve. Format: `projects/{project\}/locations/{location\}/jobTemplates/{job_template\}`
1820
+ * name: 'projects/my-project/locations/my-location/jobTemplates/my-jobTemplate',
1821
+ * });
1822
+ * console.log(res.data);
1823
+ *
1824
+ * // Example response
1825
+ * // {
1826
+ * // "config": {},
1827
+ * // "labels": {},
1828
+ * // "name": "my_name"
1829
+ * // }
1830
+ * }
1831
+ *
1832
+ * main().catch(e => {
1833
+ * console.error(e);
1834
+ * throw e;
1835
+ * });
1836
+ *
1837
+ * ```
1433
1838
  *
1434
1839
  * @param params - Parameters for request
1435
1840
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1444,6 +1849,62 @@ export declare namespace transcoder_v1 {
1444
1849
  get(callback: BodyResponseCallback<Schema$JobTemplate>): void;
1445
1850
  /**
1446
1851
  * Lists job templates in the specified region.
1852
+ * @example
1853
+ * ```js
1854
+ * // Before running the sample:
1855
+ * // - Enable the API at:
1856
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1857
+ * // - Login into gcloud by running:
1858
+ * // ```sh
1859
+ * // $ gcloud auth application-default login
1860
+ * // ```
1861
+ * // - Install the npm module by running:
1862
+ * // ```sh
1863
+ * // $ npm install googleapis
1864
+ * // ```
1865
+ *
1866
+ * const {google} = require('googleapis');
1867
+ * const transcoder = google.transcoder('v1');
1868
+ *
1869
+ * async function main() {
1870
+ * const auth = new google.auth.GoogleAuth({
1871
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1872
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1873
+ * });
1874
+ *
1875
+ * // Acquire an auth client, and bind it to all future calls
1876
+ * const authClient = await auth.getClient();
1877
+ * google.options({auth: authClient});
1878
+ *
1879
+ * // Do the magic
1880
+ * const res = await transcoder.projects.locations.jobTemplates.list({
1881
+ * // The filter expression, following the syntax outlined in https://google.aip.dev/160.
1882
+ * filter: 'placeholder-value',
1883
+ * // One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
1884
+ * orderBy: 'placeholder-value',
1885
+ * // The maximum number of items to return.
1886
+ * pageSize: 'placeholder-value',
1887
+ * // The `next_page_token` value returned from a previous List request, if any.
1888
+ * pageToken: 'placeholder-value',
1889
+ * // Required. The parent location from which to retrieve the collection of job templates. Format: `projects/{project\}/locations/{location\}`
1890
+ * parent: 'projects/my-project/locations/my-location',
1891
+ * });
1892
+ * console.log(res.data);
1893
+ *
1894
+ * // Example response
1895
+ * // {
1896
+ * // "jobTemplates": [],
1897
+ * // "nextPageToken": "my_nextPageToken",
1898
+ * // "unreachable": []
1899
+ * // }
1900
+ * }
1901
+ *
1902
+ * main().catch(e => {
1903
+ * console.error(e);
1904
+ * throw e;
1905
+ * });
1906
+ *
1907
+ * ```
1447
1908
  *
1448
1909
  * @param params - Parameters for request
1449
1910
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
package/build/v1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,aAAa,CAwlE7B;AAxlED,WAAiB,aAAa;IAgE5B;;;;;;;;;;OAUG;IACH,MAAa,UAAU;QAIrB,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,QAAQ,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtD,CAAC;KACF;IAZY,wBAAU,aAYtB,CAAA;IAsqCD,MAAa,iBAAiB;QAG5B,YAAY,OAA0B;YACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;YACvB,IAAI,CAAC,SAAS,GAAG,IAAI,2BAA2B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjE,CAAC;KACF;IAPY,+BAAiB,oBAO7B,CAAA;IAED,MAAa,2BAA2B;QAItC,YAAY,OAA0B;YACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;YACvB,IAAI,CAAC,IAAI,GAAG,IAAI,gCAAgC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAC/D,IAAI,CAAC,YAAY,GAAG,IAAI,wCAAwC,CAC9D,IAAI,CAAC,OAAO,CACb,CAAC;QACJ,CAAC;KACF;IAXY,yCAA2B,8BAWvC,CAAA;IAED,MAAa,gC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AAC,EAriFgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAqiF7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/transcoder",
3
- "version": "5.0.1",
3
+ "version": "6.1.0",
4
4
  "description": "transcoder",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
package/v1.ts CHANGED
@@ -768,6 +768,10 @@ export namespace transcoder_v1 {
768
768
  * Output only. An error object that describes the reason for the failure. This property is always present when ProcessingState is `FAILED`.
769
769
  */
770
770
  error?: Schema$Status;
771
+ /**
772
+ * Optional. Insert silence and duplicate frames when timestamp gaps are detected in a given stream.
773
+ */
774
+ fillContentGaps?: boolean | null;
771
775
  /**
772
776
  * 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).
773
777
  */
@@ -1342,6 +1346,90 @@ export namespace transcoder_v1 {
1342
1346
 
1343
1347
  /**
1344
1348
  * Creates a job in the specified region.
1349
+ * @example
1350
+ * ```js
1351
+ * // Before running the sample:
1352
+ * // - Enable the API at:
1353
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1354
+ * // - Login into gcloud by running:
1355
+ * // ```sh
1356
+ * // $ gcloud auth application-default login
1357
+ * // ```
1358
+ * // - Install the npm module by running:
1359
+ * // ```sh
1360
+ * // $ npm install googleapis
1361
+ * // ```
1362
+ *
1363
+ * const {google} = require('googleapis');
1364
+ * const transcoder = google.transcoder('v1');
1365
+ *
1366
+ * async function main() {
1367
+ * const auth = new google.auth.GoogleAuth({
1368
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1369
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1370
+ * });
1371
+ *
1372
+ * // Acquire an auth client, and bind it to all future calls
1373
+ * const authClient = await auth.getClient();
1374
+ * google.options({auth: authClient});
1375
+ *
1376
+ * // Do the magic
1377
+ * const res = await transcoder.projects.locations.jobs.create({
1378
+ * // Required. The parent location to create and process this job. Format: `projects/{project\}/locations/{location\}`
1379
+ * parent: 'projects/my-project/locations/my-location',
1380
+ *
1381
+ * // Request body metadata
1382
+ * requestBody: {
1383
+ * // request body parameters
1384
+ * // {
1385
+ * // "batchModePriority": 0,
1386
+ * // "config": {},
1387
+ * // "createTime": "my_createTime",
1388
+ * // "endTime": "my_endTime",
1389
+ * // "error": {},
1390
+ * // "fillContentGaps": false,
1391
+ * // "inputUri": "my_inputUri",
1392
+ * // "labels": {},
1393
+ * // "mode": "my_mode",
1394
+ * // "name": "my_name",
1395
+ * // "optimization": "my_optimization",
1396
+ * // "outputUri": "my_outputUri",
1397
+ * // "startTime": "my_startTime",
1398
+ * // "state": "my_state",
1399
+ * // "templateId": "my_templateId",
1400
+ * // "ttlAfterCompletionDays": 0
1401
+ * // }
1402
+ * },
1403
+ * });
1404
+ * console.log(res.data);
1405
+ *
1406
+ * // Example response
1407
+ * // {
1408
+ * // "batchModePriority": 0,
1409
+ * // "config": {},
1410
+ * // "createTime": "my_createTime",
1411
+ * // "endTime": "my_endTime",
1412
+ * // "error": {},
1413
+ * // "fillContentGaps": false,
1414
+ * // "inputUri": "my_inputUri",
1415
+ * // "labels": {},
1416
+ * // "mode": "my_mode",
1417
+ * // "name": "my_name",
1418
+ * // "optimization": "my_optimization",
1419
+ * // "outputUri": "my_outputUri",
1420
+ * // "startTime": "my_startTime",
1421
+ * // "state": "my_state",
1422
+ * // "templateId": "my_templateId",
1423
+ * // "ttlAfterCompletionDays": 0
1424
+ * // }
1425
+ * }
1426
+ *
1427
+ * main().catch(e => {
1428
+ * console.error(e);
1429
+ * throw e;
1430
+ * });
1431
+ *
1432
+ * ```
1345
1433
  *
1346
1434
  * @param params - Parameters for request
1347
1435
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1430,6 +1518,52 @@ export namespace transcoder_v1 {
1430
1518
 
1431
1519
  /**
1432
1520
  * Deletes a job.
1521
+ * @example
1522
+ * ```js
1523
+ * // Before running the sample:
1524
+ * // - Enable the API at:
1525
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1526
+ * // - Login into gcloud by running:
1527
+ * // ```sh
1528
+ * // $ gcloud auth application-default login
1529
+ * // ```
1530
+ * // - Install the npm module by running:
1531
+ * // ```sh
1532
+ * // $ npm install googleapis
1533
+ * // ```
1534
+ *
1535
+ * const {google} = require('googleapis');
1536
+ * const transcoder = google.transcoder('v1');
1537
+ *
1538
+ * async function main() {
1539
+ * const auth = new google.auth.GoogleAuth({
1540
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1541
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1542
+ * });
1543
+ *
1544
+ * // Acquire an auth client, and bind it to all future calls
1545
+ * const authClient = await auth.getClient();
1546
+ * google.options({auth: authClient});
1547
+ *
1548
+ * // Do the magic
1549
+ * const res = await transcoder.projects.locations.jobs.delete({
1550
+ * // If set to true, and the job is not found, the request will succeed but no action will be taken on the server.
1551
+ * allowMissing: 'placeholder-value',
1552
+ * // Required. The name of the job to delete. Format: `projects/{project\}/locations/{location\}/jobs/{job\}`
1553
+ * name: 'projects/my-project/locations/my-location/jobs/my-job',
1554
+ * });
1555
+ * console.log(res.data);
1556
+ *
1557
+ * // Example response
1558
+ * // {}
1559
+ * }
1560
+ *
1561
+ * main().catch(e => {
1562
+ * console.error(e);
1563
+ * throw e;
1564
+ * });
1565
+ *
1566
+ * ```
1433
1567
  *
1434
1568
  * @param params - Parameters for request
1435
1569
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1518,6 +1652,67 @@ export namespace transcoder_v1 {
1518
1652
 
1519
1653
  /**
1520
1654
  * Returns the job data.
1655
+ * @example
1656
+ * ```js
1657
+ * // Before running the sample:
1658
+ * // - Enable the API at:
1659
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1660
+ * // - Login into gcloud by running:
1661
+ * // ```sh
1662
+ * // $ gcloud auth application-default login
1663
+ * // ```
1664
+ * // - Install the npm module by running:
1665
+ * // ```sh
1666
+ * // $ npm install googleapis
1667
+ * // ```
1668
+ *
1669
+ * const {google} = require('googleapis');
1670
+ * const transcoder = google.transcoder('v1');
1671
+ *
1672
+ * async function main() {
1673
+ * const auth = new google.auth.GoogleAuth({
1674
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1675
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1676
+ * });
1677
+ *
1678
+ * // Acquire an auth client, and bind it to all future calls
1679
+ * const authClient = await auth.getClient();
1680
+ * google.options({auth: authClient});
1681
+ *
1682
+ * // Do the magic
1683
+ * const res = await transcoder.projects.locations.jobs.get({
1684
+ * // Required. The name of the job to retrieve. Format: `projects/{project\}/locations/{location\}/jobs/{job\}`
1685
+ * name: 'projects/my-project/locations/my-location/jobs/my-job',
1686
+ * });
1687
+ * console.log(res.data);
1688
+ *
1689
+ * // Example response
1690
+ * // {
1691
+ * // "batchModePriority": 0,
1692
+ * // "config": {},
1693
+ * // "createTime": "my_createTime",
1694
+ * // "endTime": "my_endTime",
1695
+ * // "error": {},
1696
+ * // "fillContentGaps": false,
1697
+ * // "inputUri": "my_inputUri",
1698
+ * // "labels": {},
1699
+ * // "mode": "my_mode",
1700
+ * // "name": "my_name",
1701
+ * // "optimization": "my_optimization",
1702
+ * // "outputUri": "my_outputUri",
1703
+ * // "startTime": "my_startTime",
1704
+ * // "state": "my_state",
1705
+ * // "templateId": "my_templateId",
1706
+ * // "ttlAfterCompletionDays": 0
1707
+ * // }
1708
+ * }
1709
+ *
1710
+ * main().catch(e => {
1711
+ * console.error(e);
1712
+ * throw e;
1713
+ * });
1714
+ *
1715
+ * ```
1521
1716
  *
1522
1717
  * @param params - Parameters for request
1523
1718
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1606,6 +1801,62 @@ export namespace transcoder_v1 {
1606
1801
 
1607
1802
  /**
1608
1803
  * Lists jobs in the specified region.
1804
+ * @example
1805
+ * ```js
1806
+ * // Before running the sample:
1807
+ * // - Enable the API at:
1808
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1809
+ * // - Login into gcloud by running:
1810
+ * // ```sh
1811
+ * // $ gcloud auth application-default login
1812
+ * // ```
1813
+ * // - Install the npm module by running:
1814
+ * // ```sh
1815
+ * // $ npm install googleapis
1816
+ * // ```
1817
+ *
1818
+ * const {google} = require('googleapis');
1819
+ * const transcoder = google.transcoder('v1');
1820
+ *
1821
+ * async function main() {
1822
+ * const auth = new google.auth.GoogleAuth({
1823
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1824
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1825
+ * });
1826
+ *
1827
+ * // Acquire an auth client, and bind it to all future calls
1828
+ * const authClient = await auth.getClient();
1829
+ * google.options({auth: authClient});
1830
+ *
1831
+ * // Do the magic
1832
+ * const res = await transcoder.projects.locations.jobs.list({
1833
+ * // The filter expression, following the syntax outlined in https://google.aip.dev/160.
1834
+ * filter: 'placeholder-value',
1835
+ * // One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
1836
+ * orderBy: 'placeholder-value',
1837
+ * // The maximum number of items to return.
1838
+ * pageSize: 'placeholder-value',
1839
+ * // The `next_page_token` value returned from a previous List request, if any.
1840
+ * pageToken: 'placeholder-value',
1841
+ * // Required. Format: `projects/{project\}/locations/{location\}`
1842
+ * parent: 'projects/my-project/locations/my-location',
1843
+ * });
1844
+ * console.log(res.data);
1845
+ *
1846
+ * // Example response
1847
+ * // {
1848
+ * // "jobs": [],
1849
+ * // "nextPageToken": "my_nextPageToken",
1850
+ * // "unreachable": []
1851
+ * // }
1852
+ * }
1853
+ *
1854
+ * main().catch(e => {
1855
+ * console.error(e);
1856
+ * throw e;
1857
+ * });
1858
+ *
1859
+ * ```
1609
1860
  *
1610
1861
  * @param params - Parameters for request
1611
1862
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1755,6 +2006,66 @@ export namespace transcoder_v1 {
1755
2006
 
1756
2007
  /**
1757
2008
  * Creates a job template in the specified region.
2009
+ * @example
2010
+ * ```js
2011
+ * // Before running the sample:
2012
+ * // - Enable the API at:
2013
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
2014
+ * // - Login into gcloud by running:
2015
+ * // ```sh
2016
+ * // $ gcloud auth application-default login
2017
+ * // ```
2018
+ * // - Install the npm module by running:
2019
+ * // ```sh
2020
+ * // $ npm install googleapis
2021
+ * // ```
2022
+ *
2023
+ * const {google} = require('googleapis');
2024
+ * const transcoder = google.transcoder('v1');
2025
+ *
2026
+ * async function main() {
2027
+ * const auth = new google.auth.GoogleAuth({
2028
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2029
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2030
+ * });
2031
+ *
2032
+ * // Acquire an auth client, and bind it to all future calls
2033
+ * const authClient = await auth.getClient();
2034
+ * google.options({auth: authClient});
2035
+ *
2036
+ * // Do the magic
2037
+ * const res = await transcoder.projects.locations.jobTemplates.create({
2038
+ * // Required. The ID to use for the job template, which will become the final component of the job template's resource name. This value should be 4-63 characters, and valid characters must match the regular expression `a-zA-Z*`.
2039
+ * jobTemplateId: 'placeholder-value',
2040
+ * // Required. The parent location to create this job template. Format: `projects/{project\}/locations/{location\}`
2041
+ * parent: 'projects/my-project/locations/my-location',
2042
+ *
2043
+ * // Request body metadata
2044
+ * requestBody: {
2045
+ * // request body parameters
2046
+ * // {
2047
+ * // "config": {},
2048
+ * // "labels": {},
2049
+ * // "name": "my_name"
2050
+ * // }
2051
+ * },
2052
+ * });
2053
+ * console.log(res.data);
2054
+ *
2055
+ * // Example response
2056
+ * // {
2057
+ * // "config": {},
2058
+ * // "labels": {},
2059
+ * // "name": "my_name"
2060
+ * // }
2061
+ * }
2062
+ *
2063
+ * main().catch(e => {
2064
+ * console.error(e);
2065
+ * throw e;
2066
+ * });
2067
+ *
2068
+ * ```
1758
2069
  *
1759
2070
  * @param params - Parameters for request
1760
2071
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1846,6 +2157,52 @@ export namespace transcoder_v1 {
1846
2157
 
1847
2158
  /**
1848
2159
  * Deletes a job template.
2160
+ * @example
2161
+ * ```js
2162
+ * // Before running the sample:
2163
+ * // - Enable the API at:
2164
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
2165
+ * // - Login into gcloud by running:
2166
+ * // ```sh
2167
+ * // $ gcloud auth application-default login
2168
+ * // ```
2169
+ * // - Install the npm module by running:
2170
+ * // ```sh
2171
+ * // $ npm install googleapis
2172
+ * // ```
2173
+ *
2174
+ * const {google} = require('googleapis');
2175
+ * const transcoder = google.transcoder('v1');
2176
+ *
2177
+ * async function main() {
2178
+ * const auth = new google.auth.GoogleAuth({
2179
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2180
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2181
+ * });
2182
+ *
2183
+ * // Acquire an auth client, and bind it to all future calls
2184
+ * const authClient = await auth.getClient();
2185
+ * google.options({auth: authClient});
2186
+ *
2187
+ * // Do the magic
2188
+ * const res = await transcoder.projects.locations.jobTemplates.delete({
2189
+ * // If set to true, and the job template is not found, the request will succeed but no action will be taken on the server.
2190
+ * allowMissing: 'placeholder-value',
2191
+ * // Required. The name of the job template to delete. `projects/{project\}/locations/{location\}/jobTemplates/{job_template\}`
2192
+ * name: 'projects/my-project/locations/my-location/jobTemplates/my-jobTemplate',
2193
+ * });
2194
+ * console.log(res.data);
2195
+ *
2196
+ * // Example response
2197
+ * // {}
2198
+ * }
2199
+ *
2200
+ * main().catch(e => {
2201
+ * console.error(e);
2202
+ * throw e;
2203
+ * });
2204
+ *
2205
+ * ```
1849
2206
  *
1850
2207
  * @param params - Parameters for request
1851
2208
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1934,6 +2291,54 @@ export namespace transcoder_v1 {
1934
2291
 
1935
2292
  /**
1936
2293
  * Returns the job template data.
2294
+ * @example
2295
+ * ```js
2296
+ * // Before running the sample:
2297
+ * // - Enable the API at:
2298
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
2299
+ * // - Login into gcloud by running:
2300
+ * // ```sh
2301
+ * // $ gcloud auth application-default login
2302
+ * // ```
2303
+ * // - Install the npm module by running:
2304
+ * // ```sh
2305
+ * // $ npm install googleapis
2306
+ * // ```
2307
+ *
2308
+ * const {google} = require('googleapis');
2309
+ * const transcoder = google.transcoder('v1');
2310
+ *
2311
+ * async function main() {
2312
+ * const auth = new google.auth.GoogleAuth({
2313
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2314
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2315
+ * });
2316
+ *
2317
+ * // Acquire an auth client, and bind it to all future calls
2318
+ * const authClient = await auth.getClient();
2319
+ * google.options({auth: authClient});
2320
+ *
2321
+ * // Do the magic
2322
+ * const res = await transcoder.projects.locations.jobTemplates.get({
2323
+ * // Required. The name of the job template to retrieve. Format: `projects/{project\}/locations/{location\}/jobTemplates/{job_template\}`
2324
+ * name: 'projects/my-project/locations/my-location/jobTemplates/my-jobTemplate',
2325
+ * });
2326
+ * console.log(res.data);
2327
+ *
2328
+ * // Example response
2329
+ * // {
2330
+ * // "config": {},
2331
+ * // "labels": {},
2332
+ * // "name": "my_name"
2333
+ * // }
2334
+ * }
2335
+ *
2336
+ * main().catch(e => {
2337
+ * console.error(e);
2338
+ * throw e;
2339
+ * });
2340
+ *
2341
+ * ```
1937
2342
  *
1938
2343
  * @param params - Parameters for request
1939
2344
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -2022,6 +2427,62 @@ export namespace transcoder_v1 {
2022
2427
 
2023
2428
  /**
2024
2429
  * Lists job templates in the specified region.
2430
+ * @example
2431
+ * ```js
2432
+ * // Before running the sample:
2433
+ * // - Enable the API at:
2434
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
2435
+ * // - Login into gcloud by running:
2436
+ * // ```sh
2437
+ * // $ gcloud auth application-default login
2438
+ * // ```
2439
+ * // - Install the npm module by running:
2440
+ * // ```sh
2441
+ * // $ npm install googleapis
2442
+ * // ```
2443
+ *
2444
+ * const {google} = require('googleapis');
2445
+ * const transcoder = google.transcoder('v1');
2446
+ *
2447
+ * async function main() {
2448
+ * const auth = new google.auth.GoogleAuth({
2449
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2450
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2451
+ * });
2452
+ *
2453
+ * // Acquire an auth client, and bind it to all future calls
2454
+ * const authClient = await auth.getClient();
2455
+ * google.options({auth: authClient});
2456
+ *
2457
+ * // Do the magic
2458
+ * const res = await transcoder.projects.locations.jobTemplates.list({
2459
+ * // The filter expression, following the syntax outlined in https://google.aip.dev/160.
2460
+ * filter: 'placeholder-value',
2461
+ * // One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
2462
+ * orderBy: 'placeholder-value',
2463
+ * // The maximum number of items to return.
2464
+ * pageSize: 'placeholder-value',
2465
+ * // The `next_page_token` value returned from a previous List request, if any.
2466
+ * pageToken: 'placeholder-value',
2467
+ * // Required. The parent location from which to retrieve the collection of job templates. Format: `projects/{project\}/locations/{location\}`
2468
+ * parent: 'projects/my-project/locations/my-location',
2469
+ * });
2470
+ * console.log(res.data);
2471
+ *
2472
+ * // Example response
2473
+ * // {
2474
+ * // "jobTemplates": [],
2475
+ * // "nextPageToken": "my_nextPageToken",
2476
+ * // "unreachable": []
2477
+ * // }
2478
+ * }
2479
+ *
2480
+ * main().catch(e => {
2481
+ * console.error(e);
2482
+ * throw e;
2483
+ * });
2484
+ *
2485
+ * ```
2025
2486
  *
2026
2487
  * @param params - Parameters for request
2027
2488
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.