@googleapis/transcoder 5.0.1 → 6.0.1

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,30 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/transcoder-v6.0.0...transcoder-v6.0.1) (2025-07-08)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **transcoder:** update the API ([067674c](https://github.com/googleapis/google-api-nodejs-client/commit/067674cb0d5f927ff6577478219ab1c81d58bb89))
9
+ * **transcoder:** update the API ([428e3b1](https://github.com/googleapis/google-api-nodejs-client/commit/428e3b1264448cf7f02709203baf5e5b915ed8a4))
10
+
11
+ ## [6.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/transcoder-v5.0.1...transcoder-v6.0.0) (2025-06-30)
12
+
13
+
14
+ ### ⚠ BREAKING CHANGES
15
+
16
+ * upgrade to node 18
17
+
18
+ ### Features
19
+
20
+ * upgrade to node 18 ([682fbb8](https://github.com/googleapis/google-api-nodejs-client/commit/682fbb869189ae92b3e9a194d37d0548af0c1f92))
21
+
22
+
23
+ ### Bug Fixes
24
+
25
+ * **deps:** upgrade googleapis-common to 8.0.2-rc ([f4b0990](https://github.com/googleapis/google-api-nodejs-client/commit/f4b099071040cfbcfe4a2e7d487d45ee93b369e0))
26
+ * **transcoder:** update the API ([428e3b1](https://github.com/googleapis/google-api-nodejs-client/commit/428e3b1264448cf7f02709203baf5e5b915ed8a4))
27
+
3
28
  ## [5.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/transcoder-v5.0.0...transcoder-v5.0.1) (2025-06-04)
4
29
 
5
30
 
package/build/v1.d.ts CHANGED
@@ -1294,6 +1294,88 @@ export declare namespace transcoder_v1 {
1294
1294
  constructor(context: APIRequestContext);
1295
1295
  /**
1296
1296
  * Creates a job in the specified region.
1297
+ * @example
1298
+ * ```js
1299
+ * // Before running the sample:
1300
+ * // - Enable the API at:
1301
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1302
+ * // - Login into gcloud by running:
1303
+ * // ```sh
1304
+ * // $ gcloud auth application-default login
1305
+ * // ```
1306
+ * // - Install the npm module by running:
1307
+ * // ```sh
1308
+ * // $ npm install googleapis
1309
+ * // ```
1310
+ *
1311
+ * const {google} = require('googleapis');
1312
+ * const transcoder = google.transcoder('v1');
1313
+ *
1314
+ * async function main() {
1315
+ * const auth = new google.auth.GoogleAuth({
1316
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1317
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1318
+ * });
1319
+ *
1320
+ * // Acquire an auth client, and bind it to all future calls
1321
+ * const authClient = await auth.getClient();
1322
+ * google.options({auth: authClient});
1323
+ *
1324
+ * // Do the magic
1325
+ * const res = await transcoder.projects.locations.jobs.create({
1326
+ * // Required. The parent location to create and process this job. Format: `projects/{project\}/locations/{location\}`
1327
+ * parent: 'projects/my-project/locations/my-location',
1328
+ *
1329
+ * // Request body metadata
1330
+ * requestBody: {
1331
+ * // request body parameters
1332
+ * // {
1333
+ * // "batchModePriority": 0,
1334
+ * // "config": {},
1335
+ * // "createTime": "my_createTime",
1336
+ * // "endTime": "my_endTime",
1337
+ * // "error": {},
1338
+ * // "inputUri": "my_inputUri",
1339
+ * // "labels": {},
1340
+ * // "mode": "my_mode",
1341
+ * // "name": "my_name",
1342
+ * // "optimization": "my_optimization",
1343
+ * // "outputUri": "my_outputUri",
1344
+ * // "startTime": "my_startTime",
1345
+ * // "state": "my_state",
1346
+ * // "templateId": "my_templateId",
1347
+ * // "ttlAfterCompletionDays": 0
1348
+ * // }
1349
+ * },
1350
+ * });
1351
+ * console.log(res.data);
1352
+ *
1353
+ * // Example response
1354
+ * // {
1355
+ * // "batchModePriority": 0,
1356
+ * // "config": {},
1357
+ * // "createTime": "my_createTime",
1358
+ * // "endTime": "my_endTime",
1359
+ * // "error": {},
1360
+ * // "inputUri": "my_inputUri",
1361
+ * // "labels": {},
1362
+ * // "mode": "my_mode",
1363
+ * // "name": "my_name",
1364
+ * // "optimization": "my_optimization",
1365
+ * // "outputUri": "my_outputUri",
1366
+ * // "startTime": "my_startTime",
1367
+ * // "state": "my_state",
1368
+ * // "templateId": "my_templateId",
1369
+ * // "ttlAfterCompletionDays": 0
1370
+ * // }
1371
+ * }
1372
+ *
1373
+ * main().catch(e => {
1374
+ * console.error(e);
1375
+ * throw e;
1376
+ * });
1377
+ *
1378
+ * ```
1297
1379
  *
1298
1380
  * @param params - Parameters for request
1299
1381
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1308,6 +1390,52 @@ export declare namespace transcoder_v1 {
1308
1390
  create(callback: BodyResponseCallback<Schema$Job>): void;
1309
1391
  /**
1310
1392
  * Deletes a job.
1393
+ * @example
1394
+ * ```js
1395
+ * // Before running the sample:
1396
+ * // - Enable the API at:
1397
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1398
+ * // - Login into gcloud by running:
1399
+ * // ```sh
1400
+ * // $ gcloud auth application-default login
1401
+ * // ```
1402
+ * // - Install the npm module by running:
1403
+ * // ```sh
1404
+ * // $ npm install googleapis
1405
+ * // ```
1406
+ *
1407
+ * const {google} = require('googleapis');
1408
+ * const transcoder = google.transcoder('v1');
1409
+ *
1410
+ * async function main() {
1411
+ * const auth = new google.auth.GoogleAuth({
1412
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1413
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1414
+ * });
1415
+ *
1416
+ * // Acquire an auth client, and bind it to all future calls
1417
+ * const authClient = await auth.getClient();
1418
+ * google.options({auth: authClient});
1419
+ *
1420
+ * // Do the magic
1421
+ * const res = await transcoder.projects.locations.jobs.delete({
1422
+ * // If set to true, and the job is not found, the request will succeed but no action will be taken on the server.
1423
+ * allowMissing: 'placeholder-value',
1424
+ * // Required. The name of the job to delete. Format: `projects/{project\}/locations/{location\}/jobs/{job\}`
1425
+ * name: 'projects/my-project/locations/my-location/jobs/my-job',
1426
+ * });
1427
+ * console.log(res.data);
1428
+ *
1429
+ * // Example response
1430
+ * // {}
1431
+ * }
1432
+ *
1433
+ * main().catch(e => {
1434
+ * console.error(e);
1435
+ * throw e;
1436
+ * });
1437
+ *
1438
+ * ```
1311
1439
  *
1312
1440
  * @param params - Parameters for request
1313
1441
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1322,6 +1450,66 @@ export declare namespace transcoder_v1 {
1322
1450
  delete(callback: BodyResponseCallback<Schema$Empty>): void;
1323
1451
  /**
1324
1452
  * Returns the job data.
1453
+ * @example
1454
+ * ```js
1455
+ * // Before running the sample:
1456
+ * // - Enable the API at:
1457
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1458
+ * // - Login into gcloud by running:
1459
+ * // ```sh
1460
+ * // $ gcloud auth application-default login
1461
+ * // ```
1462
+ * // - Install the npm module by running:
1463
+ * // ```sh
1464
+ * // $ npm install googleapis
1465
+ * // ```
1466
+ *
1467
+ * const {google} = require('googleapis');
1468
+ * const transcoder = google.transcoder('v1');
1469
+ *
1470
+ * async function main() {
1471
+ * const auth = new google.auth.GoogleAuth({
1472
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1473
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1474
+ * });
1475
+ *
1476
+ * // Acquire an auth client, and bind it to all future calls
1477
+ * const authClient = await auth.getClient();
1478
+ * google.options({auth: authClient});
1479
+ *
1480
+ * // Do the magic
1481
+ * const res = await transcoder.projects.locations.jobs.get({
1482
+ * // Required. The name of the job to retrieve. Format: `projects/{project\}/locations/{location\}/jobs/{job\}`
1483
+ * name: 'projects/my-project/locations/my-location/jobs/my-job',
1484
+ * });
1485
+ * console.log(res.data);
1486
+ *
1487
+ * // Example response
1488
+ * // {
1489
+ * // "batchModePriority": 0,
1490
+ * // "config": {},
1491
+ * // "createTime": "my_createTime",
1492
+ * // "endTime": "my_endTime",
1493
+ * // "error": {},
1494
+ * // "inputUri": "my_inputUri",
1495
+ * // "labels": {},
1496
+ * // "mode": "my_mode",
1497
+ * // "name": "my_name",
1498
+ * // "optimization": "my_optimization",
1499
+ * // "outputUri": "my_outputUri",
1500
+ * // "startTime": "my_startTime",
1501
+ * // "state": "my_state",
1502
+ * // "templateId": "my_templateId",
1503
+ * // "ttlAfterCompletionDays": 0
1504
+ * // }
1505
+ * }
1506
+ *
1507
+ * main().catch(e => {
1508
+ * console.error(e);
1509
+ * throw e;
1510
+ * });
1511
+ *
1512
+ * ```
1325
1513
  *
1326
1514
  * @param params - Parameters for request
1327
1515
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1336,6 +1524,62 @@ export declare namespace transcoder_v1 {
1336
1524
  get(callback: BodyResponseCallback<Schema$Job>): void;
1337
1525
  /**
1338
1526
  * Lists jobs in the specified region.
1527
+ * @example
1528
+ * ```js
1529
+ * // Before running the sample:
1530
+ * // - Enable the API at:
1531
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1532
+ * // - Login into gcloud by running:
1533
+ * // ```sh
1534
+ * // $ gcloud auth application-default login
1535
+ * // ```
1536
+ * // - Install the npm module by running:
1537
+ * // ```sh
1538
+ * // $ npm install googleapis
1539
+ * // ```
1540
+ *
1541
+ * const {google} = require('googleapis');
1542
+ * const transcoder = google.transcoder('v1');
1543
+ *
1544
+ * async function main() {
1545
+ * const auth = new google.auth.GoogleAuth({
1546
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1547
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1548
+ * });
1549
+ *
1550
+ * // Acquire an auth client, and bind it to all future calls
1551
+ * const authClient = await auth.getClient();
1552
+ * google.options({auth: authClient});
1553
+ *
1554
+ * // Do the magic
1555
+ * const res = await transcoder.projects.locations.jobs.list({
1556
+ * // The filter expression, following the syntax outlined in https://google.aip.dev/160.
1557
+ * filter: 'placeholder-value',
1558
+ * // One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
1559
+ * orderBy: 'placeholder-value',
1560
+ * // The maximum number of items to return.
1561
+ * pageSize: 'placeholder-value',
1562
+ * // The `next_page_token` value returned from a previous List request, if any.
1563
+ * pageToken: 'placeholder-value',
1564
+ * // Required. Format: `projects/{project\}/locations/{location\}`
1565
+ * parent: 'projects/my-project/locations/my-location',
1566
+ * });
1567
+ * console.log(res.data);
1568
+ *
1569
+ * // Example response
1570
+ * // {
1571
+ * // "jobs": [],
1572
+ * // "nextPageToken": "my_nextPageToken",
1573
+ * // "unreachable": []
1574
+ * // }
1575
+ * }
1576
+ *
1577
+ * main().catch(e => {
1578
+ * console.error(e);
1579
+ * throw e;
1580
+ * });
1581
+ *
1582
+ * ```
1339
1583
  *
1340
1584
  * @param params - Parameters for request
1341
1585
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1402,6 +1646,66 @@ export declare namespace transcoder_v1 {
1402
1646
  constructor(context: APIRequestContext);
1403
1647
  /**
1404
1648
  * Creates a job template in the specified region.
1649
+ * @example
1650
+ * ```js
1651
+ * // Before running the sample:
1652
+ * // - Enable the API at:
1653
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1654
+ * // - Login into gcloud by running:
1655
+ * // ```sh
1656
+ * // $ gcloud auth application-default login
1657
+ * // ```
1658
+ * // - Install the npm module by running:
1659
+ * // ```sh
1660
+ * // $ npm install googleapis
1661
+ * // ```
1662
+ *
1663
+ * const {google} = require('googleapis');
1664
+ * const transcoder = google.transcoder('v1');
1665
+ *
1666
+ * async function main() {
1667
+ * const auth = new google.auth.GoogleAuth({
1668
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1669
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1670
+ * });
1671
+ *
1672
+ * // Acquire an auth client, and bind it to all future calls
1673
+ * const authClient = await auth.getClient();
1674
+ * google.options({auth: authClient});
1675
+ *
1676
+ * // Do the magic
1677
+ * const res = await transcoder.projects.locations.jobTemplates.create({
1678
+ * // 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*`.
1679
+ * jobTemplateId: 'placeholder-value',
1680
+ * // Required. The parent location to create this job template. Format: `projects/{project\}/locations/{location\}`
1681
+ * parent: 'projects/my-project/locations/my-location',
1682
+ *
1683
+ * // Request body metadata
1684
+ * requestBody: {
1685
+ * // request body parameters
1686
+ * // {
1687
+ * // "config": {},
1688
+ * // "labels": {},
1689
+ * // "name": "my_name"
1690
+ * // }
1691
+ * },
1692
+ * });
1693
+ * console.log(res.data);
1694
+ *
1695
+ * // Example response
1696
+ * // {
1697
+ * // "config": {},
1698
+ * // "labels": {},
1699
+ * // "name": "my_name"
1700
+ * // }
1701
+ * }
1702
+ *
1703
+ * main().catch(e => {
1704
+ * console.error(e);
1705
+ * throw e;
1706
+ * });
1707
+ *
1708
+ * ```
1405
1709
  *
1406
1710
  * @param params - Parameters for request
1407
1711
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1416,6 +1720,52 @@ export declare namespace transcoder_v1 {
1416
1720
  create(callback: BodyResponseCallback<Schema$JobTemplate>): void;
1417
1721
  /**
1418
1722
  * Deletes a job template.
1723
+ * @example
1724
+ * ```js
1725
+ * // Before running the sample:
1726
+ * // - Enable the API at:
1727
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1728
+ * // - Login into gcloud by running:
1729
+ * // ```sh
1730
+ * // $ gcloud auth application-default login
1731
+ * // ```
1732
+ * // - Install the npm module by running:
1733
+ * // ```sh
1734
+ * // $ npm install googleapis
1735
+ * // ```
1736
+ *
1737
+ * const {google} = require('googleapis');
1738
+ * const transcoder = google.transcoder('v1');
1739
+ *
1740
+ * async function main() {
1741
+ * const auth = new google.auth.GoogleAuth({
1742
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1743
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1744
+ * });
1745
+ *
1746
+ * // Acquire an auth client, and bind it to all future calls
1747
+ * const authClient = await auth.getClient();
1748
+ * google.options({auth: authClient});
1749
+ *
1750
+ * // Do the magic
1751
+ * const res = await transcoder.projects.locations.jobTemplates.delete({
1752
+ * // If set to true, and the job template is not found, the request will succeed but no action will be taken on the server.
1753
+ * allowMissing: 'placeholder-value',
1754
+ * // Required. The name of the job template to delete. `projects/{project\}/locations/{location\}/jobTemplates/{job_template\}`
1755
+ * name: 'projects/my-project/locations/my-location/jobTemplates/my-jobTemplate',
1756
+ * });
1757
+ * console.log(res.data);
1758
+ *
1759
+ * // Example response
1760
+ * // {}
1761
+ * }
1762
+ *
1763
+ * main().catch(e => {
1764
+ * console.error(e);
1765
+ * throw e;
1766
+ * });
1767
+ *
1768
+ * ```
1419
1769
  *
1420
1770
  * @param params - Parameters for request
1421
1771
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1430,6 +1780,54 @@ export declare namespace transcoder_v1 {
1430
1780
  delete(callback: BodyResponseCallback<Schema$Empty>): void;
1431
1781
  /**
1432
1782
  * Returns the job template data.
1783
+ * @example
1784
+ * ```js
1785
+ * // Before running the sample:
1786
+ * // - Enable the API at:
1787
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1788
+ * // - Login into gcloud by running:
1789
+ * // ```sh
1790
+ * // $ gcloud auth application-default login
1791
+ * // ```
1792
+ * // - Install the npm module by running:
1793
+ * // ```sh
1794
+ * // $ npm install googleapis
1795
+ * // ```
1796
+ *
1797
+ * const {google} = require('googleapis');
1798
+ * const transcoder = google.transcoder('v1');
1799
+ *
1800
+ * async function main() {
1801
+ * const auth = new google.auth.GoogleAuth({
1802
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1803
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1804
+ * });
1805
+ *
1806
+ * // Acquire an auth client, and bind it to all future calls
1807
+ * const authClient = await auth.getClient();
1808
+ * google.options({auth: authClient});
1809
+ *
1810
+ * // Do the magic
1811
+ * const res = await transcoder.projects.locations.jobTemplates.get({
1812
+ * // Required. The name of the job template to retrieve. Format: `projects/{project\}/locations/{location\}/jobTemplates/{job_template\}`
1813
+ * name: 'projects/my-project/locations/my-location/jobTemplates/my-jobTemplate',
1814
+ * });
1815
+ * console.log(res.data);
1816
+ *
1817
+ * // Example response
1818
+ * // {
1819
+ * // "config": {},
1820
+ * // "labels": {},
1821
+ * // "name": "my_name"
1822
+ * // }
1823
+ * }
1824
+ *
1825
+ * main().catch(e => {
1826
+ * console.error(e);
1827
+ * throw e;
1828
+ * });
1829
+ *
1830
+ * ```
1433
1831
  *
1434
1832
  * @param params - Parameters for request
1435
1833
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1444,6 +1842,62 @@ export declare namespace transcoder_v1 {
1444
1842
  get(callback: BodyResponseCallback<Schema$JobTemplate>): void;
1445
1843
  /**
1446
1844
  * Lists job templates in the specified region.
1845
+ * @example
1846
+ * ```js
1847
+ * // Before running the sample:
1848
+ * // - Enable the API at:
1849
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1850
+ * // - Login into gcloud by running:
1851
+ * // ```sh
1852
+ * // $ gcloud auth application-default login
1853
+ * // ```
1854
+ * // - Install the npm module by running:
1855
+ * // ```sh
1856
+ * // $ npm install googleapis
1857
+ * // ```
1858
+ *
1859
+ * const {google} = require('googleapis');
1860
+ * const transcoder = google.transcoder('v1');
1861
+ *
1862
+ * async function main() {
1863
+ * const auth = new google.auth.GoogleAuth({
1864
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1865
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1866
+ * });
1867
+ *
1868
+ * // Acquire an auth client, and bind it to all future calls
1869
+ * const authClient = await auth.getClient();
1870
+ * google.options({auth: authClient});
1871
+ *
1872
+ * // Do the magic
1873
+ * const res = await transcoder.projects.locations.jobTemplates.list({
1874
+ * // The filter expression, following the syntax outlined in https://google.aip.dev/160.
1875
+ * filter: 'placeholder-value',
1876
+ * // One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
1877
+ * orderBy: 'placeholder-value',
1878
+ * // The maximum number of items to return.
1879
+ * pageSize: 'placeholder-value',
1880
+ * // The `next_page_token` value returned from a previous List request, if any.
1881
+ * pageToken: 'placeholder-value',
1882
+ * // Required. The parent location from which to retrieve the collection of job templates. Format: `projects/{project\}/locations/{location\}`
1883
+ * parent: 'projects/my-project/locations/my-location',
1884
+ * });
1885
+ * console.log(res.data);
1886
+ *
1887
+ * // Example response
1888
+ * // {
1889
+ * // "jobTemplates": [],
1890
+ * // "nextPageToken": "my_nextPageToken",
1891
+ * // "unreachable": []
1892
+ * // }
1893
+ * }
1894
+ *
1895
+ * main().catch(e => {
1896
+ * console.error(e);
1897
+ * throw e;
1898
+ * });
1899
+ *
1900
+ * ```
1447
1901
  *
1448
1902
  * @param params - Parameters for request
1449
1903
  * @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,wBA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AAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CAAC,OAAO,GAAG,4BAA4B,CAAC,CAAC,OAAO,CACnD,cAAc,EACd,IAAI,CACL;oBACD,MAAM,EAAE,KAAK;oBACb,UAAU,EAAE,EAAE;iBACf,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,CAAC,QAAQ,CAAC;gBAC1B,UAAU,EAAE,CAAC,QAAQ,CAAC;gBACtB,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EAAkC,UAAU,CAAC,CAAC;aACtE;QACH,CAAC;KACF;IA/jBY,sDAAwC,2CA+jBpD,CAAA;AA2DH,CAAC,EA9hFgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QA8hF7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/transcoder",
3
- "version": "5.0.1",
3
+ "version": "6.0.1",
4
4
  "description": "transcoder",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
package/v1.ts CHANGED
@@ -1342,6 +1342,88 @@ export namespace transcoder_v1 {
1342
1342
 
1343
1343
  /**
1344
1344
  * Creates a job in the specified region.
1345
+ * @example
1346
+ * ```js
1347
+ * // Before running the sample:
1348
+ * // - Enable the API at:
1349
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1350
+ * // - Login into gcloud by running:
1351
+ * // ```sh
1352
+ * // $ gcloud auth application-default login
1353
+ * // ```
1354
+ * // - Install the npm module by running:
1355
+ * // ```sh
1356
+ * // $ npm install googleapis
1357
+ * // ```
1358
+ *
1359
+ * const {google} = require('googleapis');
1360
+ * const transcoder = google.transcoder('v1');
1361
+ *
1362
+ * async function main() {
1363
+ * const auth = new google.auth.GoogleAuth({
1364
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1365
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1366
+ * });
1367
+ *
1368
+ * // Acquire an auth client, and bind it to all future calls
1369
+ * const authClient = await auth.getClient();
1370
+ * google.options({auth: authClient});
1371
+ *
1372
+ * // Do the magic
1373
+ * const res = await transcoder.projects.locations.jobs.create({
1374
+ * // Required. The parent location to create and process this job. Format: `projects/{project\}/locations/{location\}`
1375
+ * parent: 'projects/my-project/locations/my-location',
1376
+ *
1377
+ * // Request body metadata
1378
+ * requestBody: {
1379
+ * // request body parameters
1380
+ * // {
1381
+ * // "batchModePriority": 0,
1382
+ * // "config": {},
1383
+ * // "createTime": "my_createTime",
1384
+ * // "endTime": "my_endTime",
1385
+ * // "error": {},
1386
+ * // "inputUri": "my_inputUri",
1387
+ * // "labels": {},
1388
+ * // "mode": "my_mode",
1389
+ * // "name": "my_name",
1390
+ * // "optimization": "my_optimization",
1391
+ * // "outputUri": "my_outputUri",
1392
+ * // "startTime": "my_startTime",
1393
+ * // "state": "my_state",
1394
+ * // "templateId": "my_templateId",
1395
+ * // "ttlAfterCompletionDays": 0
1396
+ * // }
1397
+ * },
1398
+ * });
1399
+ * console.log(res.data);
1400
+ *
1401
+ * // Example response
1402
+ * // {
1403
+ * // "batchModePriority": 0,
1404
+ * // "config": {},
1405
+ * // "createTime": "my_createTime",
1406
+ * // "endTime": "my_endTime",
1407
+ * // "error": {},
1408
+ * // "inputUri": "my_inputUri",
1409
+ * // "labels": {},
1410
+ * // "mode": "my_mode",
1411
+ * // "name": "my_name",
1412
+ * // "optimization": "my_optimization",
1413
+ * // "outputUri": "my_outputUri",
1414
+ * // "startTime": "my_startTime",
1415
+ * // "state": "my_state",
1416
+ * // "templateId": "my_templateId",
1417
+ * // "ttlAfterCompletionDays": 0
1418
+ * // }
1419
+ * }
1420
+ *
1421
+ * main().catch(e => {
1422
+ * console.error(e);
1423
+ * throw e;
1424
+ * });
1425
+ *
1426
+ * ```
1345
1427
  *
1346
1428
  * @param params - Parameters for request
1347
1429
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1430,6 +1512,52 @@ export namespace transcoder_v1 {
1430
1512
 
1431
1513
  /**
1432
1514
  * Deletes a job.
1515
+ * @example
1516
+ * ```js
1517
+ * // Before running the sample:
1518
+ * // - Enable the API at:
1519
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1520
+ * // - Login into gcloud by running:
1521
+ * // ```sh
1522
+ * // $ gcloud auth application-default login
1523
+ * // ```
1524
+ * // - Install the npm module by running:
1525
+ * // ```sh
1526
+ * // $ npm install googleapis
1527
+ * // ```
1528
+ *
1529
+ * const {google} = require('googleapis');
1530
+ * const transcoder = google.transcoder('v1');
1531
+ *
1532
+ * async function main() {
1533
+ * const auth = new google.auth.GoogleAuth({
1534
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1535
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1536
+ * });
1537
+ *
1538
+ * // Acquire an auth client, and bind it to all future calls
1539
+ * const authClient = await auth.getClient();
1540
+ * google.options({auth: authClient});
1541
+ *
1542
+ * // Do the magic
1543
+ * const res = await transcoder.projects.locations.jobs.delete({
1544
+ * // If set to true, and the job is not found, the request will succeed but no action will be taken on the server.
1545
+ * allowMissing: 'placeholder-value',
1546
+ * // Required. The name of the job to delete. Format: `projects/{project\}/locations/{location\}/jobs/{job\}`
1547
+ * name: 'projects/my-project/locations/my-location/jobs/my-job',
1548
+ * });
1549
+ * console.log(res.data);
1550
+ *
1551
+ * // Example response
1552
+ * // {}
1553
+ * }
1554
+ *
1555
+ * main().catch(e => {
1556
+ * console.error(e);
1557
+ * throw e;
1558
+ * });
1559
+ *
1560
+ * ```
1433
1561
  *
1434
1562
  * @param params - Parameters for request
1435
1563
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1518,6 +1646,66 @@ export namespace transcoder_v1 {
1518
1646
 
1519
1647
  /**
1520
1648
  * Returns the job data.
1649
+ * @example
1650
+ * ```js
1651
+ * // Before running the sample:
1652
+ * // - Enable the API at:
1653
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1654
+ * // - Login into gcloud by running:
1655
+ * // ```sh
1656
+ * // $ gcloud auth application-default login
1657
+ * // ```
1658
+ * // - Install the npm module by running:
1659
+ * // ```sh
1660
+ * // $ npm install googleapis
1661
+ * // ```
1662
+ *
1663
+ * const {google} = require('googleapis');
1664
+ * const transcoder = google.transcoder('v1');
1665
+ *
1666
+ * async function main() {
1667
+ * const auth = new google.auth.GoogleAuth({
1668
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1669
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1670
+ * });
1671
+ *
1672
+ * // Acquire an auth client, and bind it to all future calls
1673
+ * const authClient = await auth.getClient();
1674
+ * google.options({auth: authClient});
1675
+ *
1676
+ * // Do the magic
1677
+ * const res = await transcoder.projects.locations.jobs.get({
1678
+ * // Required. The name of the job to retrieve. Format: `projects/{project\}/locations/{location\}/jobs/{job\}`
1679
+ * name: 'projects/my-project/locations/my-location/jobs/my-job',
1680
+ * });
1681
+ * console.log(res.data);
1682
+ *
1683
+ * // Example response
1684
+ * // {
1685
+ * // "batchModePriority": 0,
1686
+ * // "config": {},
1687
+ * // "createTime": "my_createTime",
1688
+ * // "endTime": "my_endTime",
1689
+ * // "error": {},
1690
+ * // "inputUri": "my_inputUri",
1691
+ * // "labels": {},
1692
+ * // "mode": "my_mode",
1693
+ * // "name": "my_name",
1694
+ * // "optimization": "my_optimization",
1695
+ * // "outputUri": "my_outputUri",
1696
+ * // "startTime": "my_startTime",
1697
+ * // "state": "my_state",
1698
+ * // "templateId": "my_templateId",
1699
+ * // "ttlAfterCompletionDays": 0
1700
+ * // }
1701
+ * }
1702
+ *
1703
+ * main().catch(e => {
1704
+ * console.error(e);
1705
+ * throw e;
1706
+ * });
1707
+ *
1708
+ * ```
1521
1709
  *
1522
1710
  * @param params - Parameters for request
1523
1711
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1606,6 +1794,62 @@ export namespace transcoder_v1 {
1606
1794
 
1607
1795
  /**
1608
1796
  * Lists jobs in the specified region.
1797
+ * @example
1798
+ * ```js
1799
+ * // Before running the sample:
1800
+ * // - Enable the API at:
1801
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
1802
+ * // - Login into gcloud by running:
1803
+ * // ```sh
1804
+ * // $ gcloud auth application-default login
1805
+ * // ```
1806
+ * // - Install the npm module by running:
1807
+ * // ```sh
1808
+ * // $ npm install googleapis
1809
+ * // ```
1810
+ *
1811
+ * const {google} = require('googleapis');
1812
+ * const transcoder = google.transcoder('v1');
1813
+ *
1814
+ * async function main() {
1815
+ * const auth = new google.auth.GoogleAuth({
1816
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1817
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
1818
+ * });
1819
+ *
1820
+ * // Acquire an auth client, and bind it to all future calls
1821
+ * const authClient = await auth.getClient();
1822
+ * google.options({auth: authClient});
1823
+ *
1824
+ * // Do the magic
1825
+ * const res = await transcoder.projects.locations.jobs.list({
1826
+ * // The filter expression, following the syntax outlined in https://google.aip.dev/160.
1827
+ * filter: 'placeholder-value',
1828
+ * // One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
1829
+ * orderBy: 'placeholder-value',
1830
+ * // The maximum number of items to return.
1831
+ * pageSize: 'placeholder-value',
1832
+ * // The `next_page_token` value returned from a previous List request, if any.
1833
+ * pageToken: 'placeholder-value',
1834
+ * // Required. Format: `projects/{project\}/locations/{location\}`
1835
+ * parent: 'projects/my-project/locations/my-location',
1836
+ * });
1837
+ * console.log(res.data);
1838
+ *
1839
+ * // Example response
1840
+ * // {
1841
+ * // "jobs": [],
1842
+ * // "nextPageToken": "my_nextPageToken",
1843
+ * // "unreachable": []
1844
+ * // }
1845
+ * }
1846
+ *
1847
+ * main().catch(e => {
1848
+ * console.error(e);
1849
+ * throw e;
1850
+ * });
1851
+ *
1852
+ * ```
1609
1853
  *
1610
1854
  * @param params - Parameters for request
1611
1855
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1755,6 +1999,66 @@ export namespace transcoder_v1 {
1755
1999
 
1756
2000
  /**
1757
2001
  * Creates a job template in the specified region.
2002
+ * @example
2003
+ * ```js
2004
+ * // Before running the sample:
2005
+ * // - Enable the API at:
2006
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
2007
+ * // - Login into gcloud by running:
2008
+ * // ```sh
2009
+ * // $ gcloud auth application-default login
2010
+ * // ```
2011
+ * // - Install the npm module by running:
2012
+ * // ```sh
2013
+ * // $ npm install googleapis
2014
+ * // ```
2015
+ *
2016
+ * const {google} = require('googleapis');
2017
+ * const transcoder = google.transcoder('v1');
2018
+ *
2019
+ * async function main() {
2020
+ * const auth = new google.auth.GoogleAuth({
2021
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2022
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2023
+ * });
2024
+ *
2025
+ * // Acquire an auth client, and bind it to all future calls
2026
+ * const authClient = await auth.getClient();
2027
+ * google.options({auth: authClient});
2028
+ *
2029
+ * // Do the magic
2030
+ * const res = await transcoder.projects.locations.jobTemplates.create({
2031
+ * // 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*`.
2032
+ * jobTemplateId: 'placeholder-value',
2033
+ * // Required. The parent location to create this job template. Format: `projects/{project\}/locations/{location\}`
2034
+ * parent: 'projects/my-project/locations/my-location',
2035
+ *
2036
+ * // Request body metadata
2037
+ * requestBody: {
2038
+ * // request body parameters
2039
+ * // {
2040
+ * // "config": {},
2041
+ * // "labels": {},
2042
+ * // "name": "my_name"
2043
+ * // }
2044
+ * },
2045
+ * });
2046
+ * console.log(res.data);
2047
+ *
2048
+ * // Example response
2049
+ * // {
2050
+ * // "config": {},
2051
+ * // "labels": {},
2052
+ * // "name": "my_name"
2053
+ * // }
2054
+ * }
2055
+ *
2056
+ * main().catch(e => {
2057
+ * console.error(e);
2058
+ * throw e;
2059
+ * });
2060
+ *
2061
+ * ```
1758
2062
  *
1759
2063
  * @param params - Parameters for request
1760
2064
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1846,6 +2150,52 @@ export namespace transcoder_v1 {
1846
2150
 
1847
2151
  /**
1848
2152
  * Deletes a job template.
2153
+ * @example
2154
+ * ```js
2155
+ * // Before running the sample:
2156
+ * // - Enable the API at:
2157
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
2158
+ * // - Login into gcloud by running:
2159
+ * // ```sh
2160
+ * // $ gcloud auth application-default login
2161
+ * // ```
2162
+ * // - Install the npm module by running:
2163
+ * // ```sh
2164
+ * // $ npm install googleapis
2165
+ * // ```
2166
+ *
2167
+ * const {google} = require('googleapis');
2168
+ * const transcoder = google.transcoder('v1');
2169
+ *
2170
+ * async function main() {
2171
+ * const auth = new google.auth.GoogleAuth({
2172
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2173
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2174
+ * });
2175
+ *
2176
+ * // Acquire an auth client, and bind it to all future calls
2177
+ * const authClient = await auth.getClient();
2178
+ * google.options({auth: authClient});
2179
+ *
2180
+ * // Do the magic
2181
+ * const res = await transcoder.projects.locations.jobTemplates.delete({
2182
+ * // If set to true, and the job template is not found, the request will succeed but no action will be taken on the server.
2183
+ * allowMissing: 'placeholder-value',
2184
+ * // Required. The name of the job template to delete. `projects/{project\}/locations/{location\}/jobTemplates/{job_template\}`
2185
+ * name: 'projects/my-project/locations/my-location/jobTemplates/my-jobTemplate',
2186
+ * });
2187
+ * console.log(res.data);
2188
+ *
2189
+ * // Example response
2190
+ * // {}
2191
+ * }
2192
+ *
2193
+ * main().catch(e => {
2194
+ * console.error(e);
2195
+ * throw e;
2196
+ * });
2197
+ *
2198
+ * ```
1849
2199
  *
1850
2200
  * @param params - Parameters for request
1851
2201
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1934,6 +2284,54 @@ export namespace transcoder_v1 {
1934
2284
 
1935
2285
  /**
1936
2286
  * Returns the job template data.
2287
+ * @example
2288
+ * ```js
2289
+ * // Before running the sample:
2290
+ * // - Enable the API at:
2291
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
2292
+ * // - Login into gcloud by running:
2293
+ * // ```sh
2294
+ * // $ gcloud auth application-default login
2295
+ * // ```
2296
+ * // - Install the npm module by running:
2297
+ * // ```sh
2298
+ * // $ npm install googleapis
2299
+ * // ```
2300
+ *
2301
+ * const {google} = require('googleapis');
2302
+ * const transcoder = google.transcoder('v1');
2303
+ *
2304
+ * async function main() {
2305
+ * const auth = new google.auth.GoogleAuth({
2306
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2307
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2308
+ * });
2309
+ *
2310
+ * // Acquire an auth client, and bind it to all future calls
2311
+ * const authClient = await auth.getClient();
2312
+ * google.options({auth: authClient});
2313
+ *
2314
+ * // Do the magic
2315
+ * const res = await transcoder.projects.locations.jobTemplates.get({
2316
+ * // Required. The name of the job template to retrieve. Format: `projects/{project\}/locations/{location\}/jobTemplates/{job_template\}`
2317
+ * name: 'projects/my-project/locations/my-location/jobTemplates/my-jobTemplate',
2318
+ * });
2319
+ * console.log(res.data);
2320
+ *
2321
+ * // Example response
2322
+ * // {
2323
+ * // "config": {},
2324
+ * // "labels": {},
2325
+ * // "name": "my_name"
2326
+ * // }
2327
+ * }
2328
+ *
2329
+ * main().catch(e => {
2330
+ * console.error(e);
2331
+ * throw e;
2332
+ * });
2333
+ *
2334
+ * ```
1937
2335
  *
1938
2336
  * @param params - Parameters for request
1939
2337
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -2022,6 +2420,62 @@ export namespace transcoder_v1 {
2022
2420
 
2023
2421
  /**
2024
2422
  * Lists job templates in the specified region.
2423
+ * @example
2424
+ * ```js
2425
+ * // Before running the sample:
2426
+ * // - Enable the API at:
2427
+ * // https://console.developers.google.com/apis/api/transcoder.googleapis.com
2428
+ * // - Login into gcloud by running:
2429
+ * // ```sh
2430
+ * // $ gcloud auth application-default login
2431
+ * // ```
2432
+ * // - Install the npm module by running:
2433
+ * // ```sh
2434
+ * // $ npm install googleapis
2435
+ * // ```
2436
+ *
2437
+ * const {google} = require('googleapis');
2438
+ * const transcoder = google.transcoder('v1');
2439
+ *
2440
+ * async function main() {
2441
+ * const auth = new google.auth.GoogleAuth({
2442
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2443
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2444
+ * });
2445
+ *
2446
+ * // Acquire an auth client, and bind it to all future calls
2447
+ * const authClient = await auth.getClient();
2448
+ * google.options({auth: authClient});
2449
+ *
2450
+ * // Do the magic
2451
+ * const res = await transcoder.projects.locations.jobTemplates.list({
2452
+ * // The filter expression, following the syntax outlined in https://google.aip.dev/160.
2453
+ * filter: 'placeholder-value',
2454
+ * // One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
2455
+ * orderBy: 'placeholder-value',
2456
+ * // The maximum number of items to return.
2457
+ * pageSize: 'placeholder-value',
2458
+ * // The `next_page_token` value returned from a previous List request, if any.
2459
+ * pageToken: 'placeholder-value',
2460
+ * // Required. The parent location from which to retrieve the collection of job templates. Format: `projects/{project\}/locations/{location\}`
2461
+ * parent: 'projects/my-project/locations/my-location',
2462
+ * });
2463
+ * console.log(res.data);
2464
+ *
2465
+ * // Example response
2466
+ * // {
2467
+ * // "jobTemplates": [],
2468
+ * // "nextPageToken": "my_nextPageToken",
2469
+ * // "unreachable": []
2470
+ * // }
2471
+ * }
2472
+ *
2473
+ * main().catch(e => {
2474
+ * console.error(e);
2475
+ * throw e;
2476
+ * });
2477
+ *
2478
+ * ```
2025
2479
  *
2026
2480
  * @param params - Parameters for request
2027
2481
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.