@googleapis/dataform 5.0.0 → 7.0.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 +40 -0
- package/build/v1beta1.d.ts +122 -143
- package/build/v1beta1.js +14 -130
- package/build/v1beta1.js.map +1 -1
- package/package.json +1 -1
- package/v1beta1.ts +202 -483
package/v1beta1.ts
CHANGED
|
@@ -365,6 +365,10 @@ export namespace dataform_v1beta1 {
|
|
|
365
365
|
* Output only. Errors encountered during project compilation.
|
|
366
366
|
*/
|
|
367
367
|
compilationErrors?: Schema$CompilationError[];
|
|
368
|
+
/**
|
|
369
|
+
* Output only. The timestamp of when the compilation result was created.
|
|
370
|
+
*/
|
|
371
|
+
createTime?: string | null;
|
|
368
372
|
/**
|
|
369
373
|
* Output only. Only set if the repository has a KMS Key.
|
|
370
374
|
*/
|
|
@@ -377,6 +381,10 @@ export namespace dataform_v1beta1 {
|
|
|
377
381
|
* Immutable. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch name: `branch1`
|
|
378
382
|
*/
|
|
379
383
|
gitCommitish?: string | null;
|
|
384
|
+
/**
|
|
385
|
+
* Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
|
|
386
|
+
*/
|
|
387
|
+
internalMetadata?: string | null;
|
|
380
388
|
/**
|
|
381
389
|
* Output only. The compilation result's name.
|
|
382
390
|
*/
|
|
@@ -414,6 +422,10 @@ export namespace dataform_v1beta1 {
|
|
|
414
422
|
* The full path including filename in which this action is located, relative to the workspace root.
|
|
415
423
|
*/
|
|
416
424
|
filePath?: string | null;
|
|
425
|
+
/**
|
|
426
|
+
* Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
|
|
427
|
+
*/
|
|
428
|
+
internalMetadata?: string | null;
|
|
417
429
|
/**
|
|
418
430
|
* The notebook executed by this action.
|
|
419
431
|
*/
|
|
@@ -440,6 +452,19 @@ export namespace dataform_v1beta1 {
|
|
|
440
452
|
*/
|
|
441
453
|
tokenStatus?: string | null;
|
|
442
454
|
}
|
|
455
|
+
/**
|
|
456
|
+
* Config for all repositories in a given project and location.
|
|
457
|
+
*/
|
|
458
|
+
export interface Schema$Config {
|
|
459
|
+
/**
|
|
460
|
+
* Optional. The default KMS key that is used if no encryption key is provided when a repository is created.
|
|
461
|
+
*/
|
|
462
|
+
defaultKmsKeyName?: string | null;
|
|
463
|
+
/**
|
|
464
|
+
* Identifier. The config name.
|
|
465
|
+
*/
|
|
466
|
+
name?: string | null;
|
|
467
|
+
}
|
|
443
468
|
/**
|
|
444
469
|
* Describes encryption state of a resource.
|
|
445
470
|
*/
|
|
@@ -902,13 +927,13 @@ export namespace dataform_v1beta1 {
|
|
|
902
927
|
*/
|
|
903
928
|
contents?: string | null;
|
|
904
929
|
/**
|
|
905
|
-
* Output only. The ID of the Vertex job that executed the notebook in contents and also the ID used for the outputs created in
|
|
930
|
+
* Output only. The ID of the Vertex job that executed the notebook in contents and also the ID used for the outputs created in Google Cloud Storage buckets. Only set once the job has started to run.
|
|
906
931
|
*/
|
|
907
932
|
jobId?: string | null;
|
|
908
933
|
}
|
|
909
934
|
export interface Schema$NotebookRuntimeOptions {
|
|
910
935
|
/**
|
|
911
|
-
* Optional. The
|
|
936
|
+
* Optional. The Google Cloud Storage location to upload the result to. Format: `gs://bucket-name`.
|
|
912
937
|
*/
|
|
913
938
|
gcsOutputBucket?: string | null;
|
|
914
939
|
}
|
|
@@ -921,7 +946,7 @@ export namespace dataform_v1beta1 {
|
|
|
921
946
|
*/
|
|
922
947
|
apiVersion?: string | null;
|
|
923
948
|
/**
|
|
924
|
-
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1
|
|
949
|
+
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
|
|
925
950
|
*/
|
|
926
951
|
cancelRequested?: boolean | null;
|
|
927
952
|
/**
|
|
@@ -1181,12 +1206,16 @@ export namespace dataform_v1beta1 {
|
|
|
1181
1206
|
* Required. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch name: `branch1`
|
|
1182
1207
|
*/
|
|
1183
1208
|
gitCommitish?: string | null;
|
|
1209
|
+
/**
|
|
1210
|
+
* Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
|
|
1211
|
+
*/
|
|
1212
|
+
internalMetadata?: string | null;
|
|
1184
1213
|
/**
|
|
1185
1214
|
* Identifier. The release config's name.
|
|
1186
1215
|
*/
|
|
1187
1216
|
name?: string | null;
|
|
1188
1217
|
/**
|
|
1189
|
-
* Output only. Records of the 10 most recent scheduled release attempts, ordered in
|
|
1218
|
+
* Output only. Records of the 10 most recent scheduled release attempts, ordered in descending order of `release_time`. Updated whenever automatic creation of a compilation result is triggered by cron_schedule.
|
|
1190
1219
|
*/
|
|
1191
1220
|
recentScheduledReleaseRecords?: Schema$ScheduledReleaseRecord[];
|
|
1192
1221
|
/**
|
|
@@ -1237,7 +1266,11 @@ export namespace dataform_v1beta1 {
|
|
|
1237
1266
|
*/
|
|
1238
1267
|
gitRemoteSettings?: Schema$GitRemoteSettings;
|
|
1239
1268
|
/**
|
|
1240
|
-
*
|
|
1269
|
+
* Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
|
|
1270
|
+
*/
|
|
1271
|
+
internalMetadata?: string | null;
|
|
1272
|
+
/**
|
|
1273
|
+
* Optional. The reference to a KMS encryption key. If provided, it will be used to encrypt user data in the repository and all child resources. It is not possible to add or update the encryption key after the repository is created. Example: `projects/{kms_project\}/locations/{location\}/keyRings/{key_location\}/cryptoKeys/{key\}`
|
|
1241
1274
|
*/
|
|
1242
1275
|
kmsKeyName?: string | null;
|
|
1243
1276
|
/**
|
|
@@ -1429,10 +1462,18 @@ export namespace dataform_v1beta1 {
|
|
|
1429
1462
|
* Represents a Dataform workflow configuration.
|
|
1430
1463
|
*/
|
|
1431
1464
|
export interface Schema$WorkflowConfig {
|
|
1465
|
+
/**
|
|
1466
|
+
* Output only. The timestamp of when the WorkflowConfig was created.
|
|
1467
|
+
*/
|
|
1468
|
+
createTime?: string | null;
|
|
1432
1469
|
/**
|
|
1433
1470
|
* Optional. Optional schedule (in cron format) for automatic execution of this workflow config.
|
|
1434
1471
|
*/
|
|
1435
1472
|
cronSchedule?: string | null;
|
|
1473
|
+
/**
|
|
1474
|
+
* Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
|
|
1475
|
+
*/
|
|
1476
|
+
internalMetadata?: string | null;
|
|
1436
1477
|
/**
|
|
1437
1478
|
* Optional. If left unset, a default InvocationConfig will be used.
|
|
1438
1479
|
*/
|
|
@@ -1442,7 +1483,7 @@ export namespace dataform_v1beta1 {
|
|
|
1442
1483
|
*/
|
|
1443
1484
|
name?: string | null;
|
|
1444
1485
|
/**
|
|
1445
|
-
* Output only. Records of the 10 most recent scheduled execution attempts, ordered in
|
|
1486
|
+
* Output only. Records of the 10 most recent scheduled execution attempts, ordered in descending order of `execution_time`. Updated whenever automatic creation of a workflow invocation is triggered by cron_schedule.
|
|
1446
1487
|
*/
|
|
1447
1488
|
recentScheduledExecutionRecords?: Schema$ScheduledExecutionRecord[];
|
|
1448
1489
|
/**
|
|
@@ -1453,6 +1494,10 @@ export namespace dataform_v1beta1 {
|
|
|
1453
1494
|
* Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
|
|
1454
1495
|
*/
|
|
1455
1496
|
timeZone?: string | null;
|
|
1497
|
+
/**
|
|
1498
|
+
* Output only. The timestamp of when the WorkflowConfig was last updated.
|
|
1499
|
+
*/
|
|
1500
|
+
updateTime?: string | null;
|
|
1456
1501
|
}
|
|
1457
1502
|
/**
|
|
1458
1503
|
* Represents a single invocation of a compilation result.
|
|
@@ -1466,6 +1511,10 @@ export namespace dataform_v1beta1 {
|
|
|
1466
1511
|
* Output only. Only set if the repository has a KMS Key.
|
|
1467
1512
|
*/
|
|
1468
1513
|
dataEncryptionState?: Schema$DataEncryptionState;
|
|
1514
|
+
/**
|
|
1515
|
+
* Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
|
|
1516
|
+
*/
|
|
1517
|
+
internalMetadata?: string | null;
|
|
1469
1518
|
/**
|
|
1470
1519
|
* Immutable. If left unset, a default InvocationConfig will be used.
|
|
1471
1520
|
*/
|
|
@@ -1507,6 +1556,10 @@ export namespace dataform_v1beta1 {
|
|
|
1507
1556
|
* Output only. If and only if action's state is FAILED a failure reason is set.
|
|
1508
1557
|
*/
|
|
1509
1558
|
failureReason?: string | null;
|
|
1559
|
+
/**
|
|
1560
|
+
* Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
|
|
1561
|
+
*/
|
|
1562
|
+
internalMetadata?: string | null;
|
|
1510
1563
|
/**
|
|
1511
1564
|
* Output only. This action's timing details. `start_time` will be set if the action is in [RUNNING, SUCCEEDED, CANCELLED, FAILED] state. `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] state.
|
|
1512
1565
|
*/
|
|
@@ -1528,10 +1581,18 @@ export namespace dataform_v1beta1 {
|
|
|
1528
1581
|
* Represents a Dataform Git workspace.
|
|
1529
1582
|
*/
|
|
1530
1583
|
export interface Schema$Workspace {
|
|
1584
|
+
/**
|
|
1585
|
+
* Output only. The timestamp of when the workspace was created.
|
|
1586
|
+
*/
|
|
1587
|
+
createTime?: string | null;
|
|
1531
1588
|
/**
|
|
1532
1589
|
* Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key.
|
|
1533
1590
|
*/
|
|
1534
1591
|
dataEncryptionState?: Schema$DataEncryptionState;
|
|
1592
|
+
/**
|
|
1593
|
+
* Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
|
|
1594
|
+
*/
|
|
1595
|
+
internalMetadata?: string | null;
|
|
1535
1596
|
/**
|
|
1536
1597
|
* Identifier. The workspace's name.
|
|
1537
1598
|
*/
|
|
@@ -1592,13 +1653,9 @@ export namespace dataform_v1beta1 {
|
|
|
1592
1653
|
|
|
1593
1654
|
export class Resource$Projects$Locations {
|
|
1594
1655
|
context: APIRequestContext;
|
|
1595
|
-
collections: Resource$Projects$Locations$Collections;
|
|
1596
1656
|
repositories: Resource$Projects$Locations$Repositories;
|
|
1597
1657
|
constructor(context: APIRequestContext) {
|
|
1598
1658
|
this.context = context;
|
|
1599
|
-
this.collections = new Resource$Projects$Locations$Collections(
|
|
1600
|
-
this.context
|
|
1601
|
-
);
|
|
1602
1659
|
this.repositories = new Resource$Projects$Locations$Repositories(
|
|
1603
1660
|
this.context
|
|
1604
1661
|
);
|
|
@@ -1690,62 +1747,57 @@ export namespace dataform_v1beta1 {
|
|
|
1690
1747
|
}
|
|
1691
1748
|
|
|
1692
1749
|
/**
|
|
1693
|
-
*
|
|
1750
|
+
* Get default config for a given project and location.
|
|
1694
1751
|
*
|
|
1695
1752
|
* @param params - Parameters for request
|
|
1696
1753
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1697
1754
|
* @param callback - Optional callback that handles the response.
|
|
1698
1755
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1699
1756
|
*/
|
|
1700
|
-
|
|
1701
|
-
params: Params$Resource$Projects$Locations$
|
|
1757
|
+
getConfig(
|
|
1758
|
+
params: Params$Resource$Projects$Locations$Getconfig,
|
|
1702
1759
|
options: StreamMethodOptions
|
|
1703
1760
|
): GaxiosPromise<Readable>;
|
|
1704
|
-
|
|
1705
|
-
params?: Params$Resource$Projects$Locations$
|
|
1761
|
+
getConfig(
|
|
1762
|
+
params?: Params$Resource$Projects$Locations$Getconfig,
|
|
1706
1763
|
options?: MethodOptions
|
|
1707
|
-
): GaxiosPromise<Schema$
|
|
1708
|
-
|
|
1709
|
-
params: Params$Resource$Projects$Locations$
|
|
1764
|
+
): GaxiosPromise<Schema$Config>;
|
|
1765
|
+
getConfig(
|
|
1766
|
+
params: Params$Resource$Projects$Locations$Getconfig,
|
|
1710
1767
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
1711
1768
|
callback: BodyResponseCallback<Readable>
|
|
1712
1769
|
): void;
|
|
1713
|
-
|
|
1714
|
-
params: Params$Resource$Projects$Locations$
|
|
1715
|
-
options:
|
|
1716
|
-
|
|
1717
|
-
| BodyResponseCallback<Schema$ListLocationsResponse>,
|
|
1718
|
-
callback: BodyResponseCallback<Schema$ListLocationsResponse>
|
|
1770
|
+
getConfig(
|
|
1771
|
+
params: Params$Resource$Projects$Locations$Getconfig,
|
|
1772
|
+
options: MethodOptions | BodyResponseCallback<Schema$Config>,
|
|
1773
|
+
callback: BodyResponseCallback<Schema$Config>
|
|
1719
1774
|
): void;
|
|
1720
|
-
|
|
1721
|
-
params: Params$Resource$Projects$Locations$
|
|
1722
|
-
callback: BodyResponseCallback<Schema$
|
|
1775
|
+
getConfig(
|
|
1776
|
+
params: Params$Resource$Projects$Locations$Getconfig,
|
|
1777
|
+
callback: BodyResponseCallback<Schema$Config>
|
|
1723
1778
|
): void;
|
|
1724
|
-
|
|
1725
|
-
|
|
1779
|
+
getConfig(callback: BodyResponseCallback<Schema$Config>): void;
|
|
1780
|
+
getConfig(
|
|
1726
1781
|
paramsOrCallback?:
|
|
1727
|
-
| Params$Resource$Projects$Locations$
|
|
1728
|
-
| BodyResponseCallback<Schema$
|
|
1782
|
+
| Params$Resource$Projects$Locations$Getconfig
|
|
1783
|
+
| BodyResponseCallback<Schema$Config>
|
|
1729
1784
|
| BodyResponseCallback<Readable>,
|
|
1730
1785
|
optionsOrCallback?:
|
|
1731
1786
|
| MethodOptions
|
|
1732
1787
|
| StreamMethodOptions
|
|
1733
|
-
| BodyResponseCallback<Schema$
|
|
1788
|
+
| BodyResponseCallback<Schema$Config>
|
|
1734
1789
|
| BodyResponseCallback<Readable>,
|
|
1735
1790
|
callback?:
|
|
1736
|
-
| BodyResponseCallback<Schema$
|
|
1791
|
+
| BodyResponseCallback<Schema$Config>
|
|
1737
1792
|
| BodyResponseCallback<Readable>
|
|
1738
|
-
):
|
|
1739
|
-
| void
|
|
1740
|
-
| GaxiosPromise<Schema$ListLocationsResponse>
|
|
1741
|
-
| GaxiosPromise<Readable> {
|
|
1793
|
+
): void | GaxiosPromise<Schema$Config> | GaxiosPromise<Readable> {
|
|
1742
1794
|
let params = (paramsOrCallback ||
|
|
1743
|
-
{}) as Params$Resource$Projects$Locations$
|
|
1795
|
+
{}) as Params$Resource$Projects$Locations$Getconfig;
|
|
1744
1796
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
1745
1797
|
|
|
1746
1798
|
if (typeof paramsOrCallback === 'function') {
|
|
1747
1799
|
callback = paramsOrCallback;
|
|
1748
|
-
params = {} as Params$Resource$Projects$Locations$
|
|
1800
|
+
params = {} as Params$Resource$Projects$Locations$Getconfig;
|
|
1749
1801
|
options = {};
|
|
1750
1802
|
}
|
|
1751
1803
|
|
|
@@ -1758,10 +1810,7 @@ export namespace dataform_v1beta1 {
|
|
|
1758
1810
|
const parameters = {
|
|
1759
1811
|
options: Object.assign(
|
|
1760
1812
|
{
|
|
1761
|
-
url: (rootUrl + '/v1beta1/{+name}
|
|
1762
|
-
/([^:]\/)\/+/g,
|
|
1763
|
-
'$1'
|
|
1764
|
-
),
|
|
1813
|
+
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1765
1814
|
method: 'GET',
|
|
1766
1815
|
apiVersion: '',
|
|
1767
1816
|
},
|
|
@@ -1773,102 +1822,72 @@ export namespace dataform_v1beta1 {
|
|
|
1773
1822
|
context: this.context,
|
|
1774
1823
|
};
|
|
1775
1824
|
if (callback) {
|
|
1776
|
-
createAPIRequest<Schema$
|
|
1825
|
+
createAPIRequest<Schema$Config>(
|
|
1777
1826
|
parameters,
|
|
1778
1827
|
callback as BodyResponseCallback<unknown>
|
|
1779
1828
|
);
|
|
1780
1829
|
} else {
|
|
1781
|
-
return createAPIRequest<Schema$
|
|
1830
|
+
return createAPIRequest<Schema$Config>(parameters);
|
|
1782
1831
|
}
|
|
1783
1832
|
}
|
|
1784
|
-
}
|
|
1785
1833
|
|
|
1786
|
-
export interface Params$Resource$Projects$Locations$Get
|
|
1787
|
-
extends StandardParameters {
|
|
1788
|
-
/**
|
|
1789
|
-
* Resource name for the location.
|
|
1790
|
-
*/
|
|
1791
|
-
name?: string;
|
|
1792
|
-
}
|
|
1793
|
-
export interface Params$Resource$Projects$Locations$List
|
|
1794
|
-
extends StandardParameters {
|
|
1795
|
-
/**
|
|
1796
|
-
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
|
|
1797
|
-
*/
|
|
1798
|
-
filter?: string;
|
|
1799
|
-
/**
|
|
1800
|
-
* The resource that owns the locations collection, if applicable.
|
|
1801
|
-
*/
|
|
1802
|
-
name?: string;
|
|
1803
|
-
/**
|
|
1804
|
-
* The maximum number of results to return. If not set, the service selects a default.
|
|
1805
|
-
*/
|
|
1806
|
-
pageSize?: number;
|
|
1807
1834
|
/**
|
|
1808
|
-
*
|
|
1809
|
-
*/
|
|
1810
|
-
pageToken?: string;
|
|
1811
|
-
}
|
|
1812
|
-
|
|
1813
|
-
export class Resource$Projects$Locations$Collections {
|
|
1814
|
-
context: APIRequestContext;
|
|
1815
|
-
constructor(context: APIRequestContext) {
|
|
1816
|
-
this.context = context;
|
|
1817
|
-
}
|
|
1818
|
-
|
|
1819
|
-
/**
|
|
1820
|
-
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
1835
|
+
* Lists information about the supported locations for this service.
|
|
1821
1836
|
*
|
|
1822
1837
|
* @param params - Parameters for request
|
|
1823
1838
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1824
1839
|
* @param callback - Optional callback that handles the response.
|
|
1825
1840
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1826
1841
|
*/
|
|
1827
|
-
|
|
1828
|
-
params: Params$Resource$Projects$Locations$
|
|
1842
|
+
list(
|
|
1843
|
+
params: Params$Resource$Projects$Locations$List,
|
|
1829
1844
|
options: StreamMethodOptions
|
|
1830
1845
|
): GaxiosPromise<Readable>;
|
|
1831
|
-
|
|
1832
|
-
params?: Params$Resource$Projects$Locations$
|
|
1846
|
+
list(
|
|
1847
|
+
params?: Params$Resource$Projects$Locations$List,
|
|
1833
1848
|
options?: MethodOptions
|
|
1834
|
-
): GaxiosPromise<Schema$
|
|
1835
|
-
|
|
1836
|
-
params: Params$Resource$Projects$Locations$
|
|
1849
|
+
): GaxiosPromise<Schema$ListLocationsResponse>;
|
|
1850
|
+
list(
|
|
1851
|
+
params: Params$Resource$Projects$Locations$List,
|
|
1837
1852
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
1838
1853
|
callback: BodyResponseCallback<Readable>
|
|
1839
1854
|
): void;
|
|
1840
|
-
|
|
1841
|
-
params: Params$Resource$Projects$Locations$
|
|
1842
|
-
options:
|
|
1843
|
-
|
|
1855
|
+
list(
|
|
1856
|
+
params: Params$Resource$Projects$Locations$List,
|
|
1857
|
+
options:
|
|
1858
|
+
| MethodOptions
|
|
1859
|
+
| BodyResponseCallback<Schema$ListLocationsResponse>,
|
|
1860
|
+
callback: BodyResponseCallback<Schema$ListLocationsResponse>
|
|
1844
1861
|
): void;
|
|
1845
|
-
|
|
1846
|
-
params: Params$Resource$Projects$Locations$
|
|
1847
|
-
callback: BodyResponseCallback<Schema$
|
|
1862
|
+
list(
|
|
1863
|
+
params: Params$Resource$Projects$Locations$List,
|
|
1864
|
+
callback: BodyResponseCallback<Schema$ListLocationsResponse>
|
|
1848
1865
|
): void;
|
|
1849
|
-
|
|
1850
|
-
|
|
1866
|
+
list(callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
|
|
1867
|
+
list(
|
|
1851
1868
|
paramsOrCallback?:
|
|
1852
|
-
| Params$Resource$Projects$Locations$
|
|
1853
|
-
| BodyResponseCallback<Schema$
|
|
1869
|
+
| Params$Resource$Projects$Locations$List
|
|
1870
|
+
| BodyResponseCallback<Schema$ListLocationsResponse>
|
|
1854
1871
|
| BodyResponseCallback<Readable>,
|
|
1855
1872
|
optionsOrCallback?:
|
|
1856
1873
|
| MethodOptions
|
|
1857
1874
|
| StreamMethodOptions
|
|
1858
|
-
| BodyResponseCallback<Schema$
|
|
1875
|
+
| BodyResponseCallback<Schema$ListLocationsResponse>
|
|
1859
1876
|
| BodyResponseCallback<Readable>,
|
|
1860
1877
|
callback?:
|
|
1861
|
-
| BodyResponseCallback<Schema$
|
|
1878
|
+
| BodyResponseCallback<Schema$ListLocationsResponse>
|
|
1862
1879
|
| BodyResponseCallback<Readable>
|
|
1863
|
-
):
|
|
1880
|
+
):
|
|
1881
|
+
| void
|
|
1882
|
+
| GaxiosPromise<Schema$ListLocationsResponse>
|
|
1883
|
+
| GaxiosPromise<Readable> {
|
|
1864
1884
|
let params = (paramsOrCallback ||
|
|
1865
|
-
{}) as Params$Resource$Projects$Locations$
|
|
1885
|
+
{}) as Params$Resource$Projects$Locations$List;
|
|
1866
1886
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
1867
1887
|
|
|
1868
1888
|
if (typeof paramsOrCallback === 'function') {
|
|
1869
1889
|
callback = paramsOrCallback;
|
|
1870
|
-
params =
|
|
1871
|
-
{} as Params$Resource$Projects$Locations$Collections$Getiampolicy;
|
|
1890
|
+
params = {} as Params$Resource$Projects$Locations$List;
|
|
1872
1891
|
options = {};
|
|
1873
1892
|
}
|
|
1874
1893
|
|
|
@@ -1881,7 +1900,7 @@ export namespace dataform_v1beta1 {
|
|
|
1881
1900
|
const parameters = {
|
|
1882
1901
|
options: Object.assign(
|
|
1883
1902
|
{
|
|
1884
|
-
url: (rootUrl + '/v1beta1/{+
|
|
1903
|
+
url: (rootUrl + '/v1beta1/{+name}/locations').replace(
|
|
1885
1904
|
/([^:]\/)\/+/g,
|
|
1886
1905
|
'$1'
|
|
1887
1906
|
),
|
|
@@ -1891,73 +1910,72 @@ export namespace dataform_v1beta1 {
|
|
|
1891
1910
|
options
|
|
1892
1911
|
),
|
|
1893
1912
|
params,
|
|
1894
|
-
requiredParams: ['
|
|
1895
|
-
pathParams: ['
|
|
1913
|
+
requiredParams: ['name'],
|
|
1914
|
+
pathParams: ['name'],
|
|
1896
1915
|
context: this.context,
|
|
1897
1916
|
};
|
|
1898
1917
|
if (callback) {
|
|
1899
|
-
createAPIRequest<Schema$
|
|
1918
|
+
createAPIRequest<Schema$ListLocationsResponse>(
|
|
1900
1919
|
parameters,
|
|
1901
1920
|
callback as BodyResponseCallback<unknown>
|
|
1902
1921
|
);
|
|
1903
1922
|
} else {
|
|
1904
|
-
return createAPIRequest<Schema$
|
|
1923
|
+
return createAPIRequest<Schema$ListLocationsResponse>(parameters);
|
|
1905
1924
|
}
|
|
1906
1925
|
}
|
|
1907
1926
|
|
|
1908
1927
|
/**
|
|
1909
|
-
*
|
|
1928
|
+
* Update default config for a given project and location. **Note:** *This method does not fully implement*, (see [AIP/134](https://google.aip.dev/134), in particular: - The wildcard entry (**\***) is treated as a bad request - When the **field_mask** is omitted, instead of only updating the set fields, the request is treated as a full update on all modifiable fields
|
|
1910
1929
|
*
|
|
1911
1930
|
* @param params - Parameters for request
|
|
1912
1931
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1913
1932
|
* @param callback - Optional callback that handles the response.
|
|
1914
1933
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1915
1934
|
*/
|
|
1916
|
-
|
|
1917
|
-
params: Params$Resource$Projects$Locations$
|
|
1935
|
+
updateConfig(
|
|
1936
|
+
params: Params$Resource$Projects$Locations$Updateconfig,
|
|
1918
1937
|
options: StreamMethodOptions
|
|
1919
1938
|
): GaxiosPromise<Readable>;
|
|
1920
|
-
|
|
1921
|
-
params?: Params$Resource$Projects$Locations$
|
|
1939
|
+
updateConfig(
|
|
1940
|
+
params?: Params$Resource$Projects$Locations$Updateconfig,
|
|
1922
1941
|
options?: MethodOptions
|
|
1923
|
-
): GaxiosPromise<Schema$
|
|
1924
|
-
|
|
1925
|
-
params: Params$Resource$Projects$Locations$
|
|
1942
|
+
): GaxiosPromise<Schema$Config>;
|
|
1943
|
+
updateConfig(
|
|
1944
|
+
params: Params$Resource$Projects$Locations$Updateconfig,
|
|
1926
1945
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
1927
1946
|
callback: BodyResponseCallback<Readable>
|
|
1928
1947
|
): void;
|
|
1929
|
-
|
|
1930
|
-
params: Params$Resource$Projects$Locations$
|
|
1931
|
-
options: MethodOptions | BodyResponseCallback<Schema$
|
|
1932
|
-
callback: BodyResponseCallback<Schema$
|
|
1948
|
+
updateConfig(
|
|
1949
|
+
params: Params$Resource$Projects$Locations$Updateconfig,
|
|
1950
|
+
options: MethodOptions | BodyResponseCallback<Schema$Config>,
|
|
1951
|
+
callback: BodyResponseCallback<Schema$Config>
|
|
1933
1952
|
): void;
|
|
1934
|
-
|
|
1935
|
-
params: Params$Resource$Projects$Locations$
|
|
1936
|
-
callback: BodyResponseCallback<Schema$
|
|
1953
|
+
updateConfig(
|
|
1954
|
+
params: Params$Resource$Projects$Locations$Updateconfig,
|
|
1955
|
+
callback: BodyResponseCallback<Schema$Config>
|
|
1937
1956
|
): void;
|
|
1938
|
-
|
|
1939
|
-
|
|
1957
|
+
updateConfig(callback: BodyResponseCallback<Schema$Config>): void;
|
|
1958
|
+
updateConfig(
|
|
1940
1959
|
paramsOrCallback?:
|
|
1941
|
-
| Params$Resource$Projects$Locations$
|
|
1942
|
-
| BodyResponseCallback<Schema$
|
|
1960
|
+
| Params$Resource$Projects$Locations$Updateconfig
|
|
1961
|
+
| BodyResponseCallback<Schema$Config>
|
|
1943
1962
|
| BodyResponseCallback<Readable>,
|
|
1944
1963
|
optionsOrCallback?:
|
|
1945
1964
|
| MethodOptions
|
|
1946
1965
|
| StreamMethodOptions
|
|
1947
|
-
| BodyResponseCallback<Schema$
|
|
1966
|
+
| BodyResponseCallback<Schema$Config>
|
|
1948
1967
|
| BodyResponseCallback<Readable>,
|
|
1949
1968
|
callback?:
|
|
1950
|
-
| BodyResponseCallback<Schema$
|
|
1969
|
+
| BodyResponseCallback<Schema$Config>
|
|
1951
1970
|
| BodyResponseCallback<Readable>
|
|
1952
|
-
): void | GaxiosPromise<Schema$
|
|
1971
|
+
): void | GaxiosPromise<Schema$Config> | GaxiosPromise<Readable> {
|
|
1953
1972
|
let params = (paramsOrCallback ||
|
|
1954
|
-
{}) as Params$Resource$Projects$Locations$
|
|
1973
|
+
{}) as Params$Resource$Projects$Locations$Updateconfig;
|
|
1955
1974
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
1956
1975
|
|
|
1957
1976
|
if (typeof paramsOrCallback === 'function') {
|
|
1958
1977
|
callback = paramsOrCallback;
|
|
1959
|
-
params =
|
|
1960
|
-
{} as Params$Resource$Projects$Locations$Collections$Setiampolicy;
|
|
1978
|
+
params = {} as Params$Resource$Projects$Locations$Updateconfig;
|
|
1961
1979
|
options = {};
|
|
1962
1980
|
}
|
|
1963
1981
|
|
|
@@ -1970,166 +1988,80 @@ export namespace dataform_v1beta1 {
|
|
|
1970
1988
|
const parameters = {
|
|
1971
1989
|
options: Object.assign(
|
|
1972
1990
|
{
|
|
1973
|
-
url: (rootUrl + '/v1beta1/{+
|
|
1974
|
-
|
|
1975
|
-
'$1'
|
|
1976
|
-
),
|
|
1977
|
-
method: 'POST',
|
|
1978
|
-
apiVersion: '',
|
|
1979
|
-
},
|
|
1980
|
-
options
|
|
1981
|
-
),
|
|
1982
|
-
params,
|
|
1983
|
-
requiredParams: ['resource'],
|
|
1984
|
-
pathParams: ['resource'],
|
|
1985
|
-
context: this.context,
|
|
1986
|
-
};
|
|
1987
|
-
if (callback) {
|
|
1988
|
-
createAPIRequest<Schema$Policy>(
|
|
1989
|
-
parameters,
|
|
1990
|
-
callback as BodyResponseCallback<unknown>
|
|
1991
|
-
);
|
|
1992
|
-
} else {
|
|
1993
|
-
return createAPIRequest<Schema$Policy>(parameters);
|
|
1994
|
-
}
|
|
1995
|
-
}
|
|
1996
|
-
|
|
1997
|
-
/**
|
|
1998
|
-
* Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
|
|
1999
|
-
*
|
|
2000
|
-
* @param params - Parameters for request
|
|
2001
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2002
|
-
* @param callback - Optional callback that handles the response.
|
|
2003
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2004
|
-
*/
|
|
2005
|
-
testIamPermissions(
|
|
2006
|
-
params: Params$Resource$Projects$Locations$Collections$Testiampermissions,
|
|
2007
|
-
options: StreamMethodOptions
|
|
2008
|
-
): GaxiosPromise<Readable>;
|
|
2009
|
-
testIamPermissions(
|
|
2010
|
-
params?: Params$Resource$Projects$Locations$Collections$Testiampermissions,
|
|
2011
|
-
options?: MethodOptions
|
|
2012
|
-
): GaxiosPromise<Schema$TestIamPermissionsResponse>;
|
|
2013
|
-
testIamPermissions(
|
|
2014
|
-
params: Params$Resource$Projects$Locations$Collections$Testiampermissions,
|
|
2015
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2016
|
-
callback: BodyResponseCallback<Readable>
|
|
2017
|
-
): void;
|
|
2018
|
-
testIamPermissions(
|
|
2019
|
-
params: Params$Resource$Projects$Locations$Collections$Testiampermissions,
|
|
2020
|
-
options:
|
|
2021
|
-
| MethodOptions
|
|
2022
|
-
| BodyResponseCallback<Schema$TestIamPermissionsResponse>,
|
|
2023
|
-
callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
2024
|
-
): void;
|
|
2025
|
-
testIamPermissions(
|
|
2026
|
-
params: Params$Resource$Projects$Locations$Collections$Testiampermissions,
|
|
2027
|
-
callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
2028
|
-
): void;
|
|
2029
|
-
testIamPermissions(
|
|
2030
|
-
callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
2031
|
-
): void;
|
|
2032
|
-
testIamPermissions(
|
|
2033
|
-
paramsOrCallback?:
|
|
2034
|
-
| Params$Resource$Projects$Locations$Collections$Testiampermissions
|
|
2035
|
-
| BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
2036
|
-
| BodyResponseCallback<Readable>,
|
|
2037
|
-
optionsOrCallback?:
|
|
2038
|
-
| MethodOptions
|
|
2039
|
-
| StreamMethodOptions
|
|
2040
|
-
| BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
2041
|
-
| BodyResponseCallback<Readable>,
|
|
2042
|
-
callback?:
|
|
2043
|
-
| BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
2044
|
-
| BodyResponseCallback<Readable>
|
|
2045
|
-
):
|
|
2046
|
-
| void
|
|
2047
|
-
| GaxiosPromise<Schema$TestIamPermissionsResponse>
|
|
2048
|
-
| GaxiosPromise<Readable> {
|
|
2049
|
-
let params = (paramsOrCallback ||
|
|
2050
|
-
{}) as Params$Resource$Projects$Locations$Collections$Testiampermissions;
|
|
2051
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2052
|
-
|
|
2053
|
-
if (typeof paramsOrCallback === 'function') {
|
|
2054
|
-
callback = paramsOrCallback;
|
|
2055
|
-
params =
|
|
2056
|
-
{} as Params$Resource$Projects$Locations$Collections$Testiampermissions;
|
|
2057
|
-
options = {};
|
|
2058
|
-
}
|
|
2059
|
-
|
|
2060
|
-
if (typeof optionsOrCallback === 'function') {
|
|
2061
|
-
callback = optionsOrCallback;
|
|
2062
|
-
options = {};
|
|
2063
|
-
}
|
|
2064
|
-
|
|
2065
|
-
const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
|
|
2066
|
-
const parameters = {
|
|
2067
|
-
options: Object.assign(
|
|
2068
|
-
{
|
|
2069
|
-
url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(
|
|
2070
|
-
/([^:]\/)\/+/g,
|
|
2071
|
-
'$1'
|
|
2072
|
-
),
|
|
2073
|
-
method: 'POST',
|
|
1991
|
+
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1992
|
+
method: 'PATCH',
|
|
2074
1993
|
apiVersion: '',
|
|
2075
1994
|
},
|
|
2076
1995
|
options
|
|
2077
1996
|
),
|
|
2078
1997
|
params,
|
|
2079
|
-
requiredParams: ['
|
|
2080
|
-
pathParams: ['
|
|
1998
|
+
requiredParams: ['name'],
|
|
1999
|
+
pathParams: ['name'],
|
|
2081
2000
|
context: this.context,
|
|
2082
2001
|
};
|
|
2083
2002
|
if (callback) {
|
|
2084
|
-
createAPIRequest<Schema$
|
|
2003
|
+
createAPIRequest<Schema$Config>(
|
|
2085
2004
|
parameters,
|
|
2086
2005
|
callback as BodyResponseCallback<unknown>
|
|
2087
2006
|
);
|
|
2088
2007
|
} else {
|
|
2089
|
-
return createAPIRequest<Schema$
|
|
2008
|
+
return createAPIRequest<Schema$Config>(parameters);
|
|
2090
2009
|
}
|
|
2091
2010
|
}
|
|
2092
2011
|
}
|
|
2093
2012
|
|
|
2094
|
-
export interface Params$Resource$Projects$Locations$
|
|
2013
|
+
export interface Params$Resource$Projects$Locations$Get
|
|
2095
2014
|
extends StandardParameters {
|
|
2096
2015
|
/**
|
|
2097
|
-
*
|
|
2016
|
+
* Resource name for the location.
|
|
2098
2017
|
*/
|
|
2099
|
-
|
|
2018
|
+
name?: string;
|
|
2019
|
+
}
|
|
2020
|
+
export interface Params$Resource$Projects$Locations$Getconfig
|
|
2021
|
+
extends StandardParameters {
|
|
2100
2022
|
/**
|
|
2101
|
-
*
|
|
2023
|
+
* Required. The config name.
|
|
2102
2024
|
*/
|
|
2103
|
-
|
|
2025
|
+
name?: string;
|
|
2104
2026
|
}
|
|
2105
|
-
export interface Params$Resource$Projects$Locations$
|
|
2027
|
+
export interface Params$Resource$Projects$Locations$List
|
|
2106
2028
|
extends StandardParameters {
|
|
2107
2029
|
/**
|
|
2108
|
-
*
|
|
2030
|
+
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
|
|
2109
2031
|
*/
|
|
2110
|
-
|
|
2111
|
-
|
|
2032
|
+
filter?: string;
|
|
2112
2033
|
/**
|
|
2113
|
-
*
|
|
2034
|
+
* The resource that owns the locations collection, if applicable.
|
|
2114
2035
|
*/
|
|
2115
|
-
|
|
2036
|
+
name?: string;
|
|
2037
|
+
/**
|
|
2038
|
+
* The maximum number of results to return. If not set, the service selects a default.
|
|
2039
|
+
*/
|
|
2040
|
+
pageSize?: number;
|
|
2041
|
+
/**
|
|
2042
|
+
* A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
|
|
2043
|
+
*/
|
|
2044
|
+
pageToken?: string;
|
|
2116
2045
|
}
|
|
2117
|
-
export interface Params$Resource$Projects$Locations$
|
|
2046
|
+
export interface Params$Resource$Projects$Locations$Updateconfig
|
|
2118
2047
|
extends StandardParameters {
|
|
2119
2048
|
/**
|
|
2120
|
-
*
|
|
2049
|
+
* Identifier. The config name.
|
|
2121
2050
|
*/
|
|
2122
|
-
|
|
2051
|
+
name?: string;
|
|
2052
|
+
/**
|
|
2053
|
+
* Optional. Specifies the fields to be updated in the config.
|
|
2054
|
+
*/
|
|
2055
|
+
updateMask?: string;
|
|
2123
2056
|
|
|
2124
2057
|
/**
|
|
2125
2058
|
* Request body metadata
|
|
2126
2059
|
*/
|
|
2127
|
-
requestBody?: Schema$
|
|
2060
|
+
requestBody?: Schema$Config;
|
|
2128
2061
|
}
|
|
2129
2062
|
|
|
2130
2063
|
export class Resource$Projects$Locations$Repositories {
|
|
2131
2064
|
context: APIRequestContext;
|
|
2132
|
-
commentThreads: Resource$Projects$Locations$Repositories$Commentthreads;
|
|
2133
2065
|
compilationResults: Resource$Projects$Locations$Repositories$Compilationresults;
|
|
2134
2066
|
releaseConfigs: Resource$Projects$Locations$Repositories$Releaseconfigs;
|
|
2135
2067
|
workflowConfigs: Resource$Projects$Locations$Repositories$Workflowconfigs;
|
|
@@ -2137,10 +2069,6 @@ export namespace dataform_v1beta1 {
|
|
|
2137
2069
|
workspaces: Resource$Projects$Locations$Repositories$Workspaces;
|
|
2138
2070
|
constructor(context: APIRequestContext) {
|
|
2139
2071
|
this.context = context;
|
|
2140
|
-
this.commentThreads =
|
|
2141
|
-
new Resource$Projects$Locations$Repositories$Commentthreads(
|
|
2142
|
-
this.context
|
|
2143
|
-
);
|
|
2144
2072
|
this.compilationResults =
|
|
2145
2073
|
new Resource$Projects$Locations$Repositories$Compilationresults(
|
|
2146
2074
|
this.context
|
|
@@ -2991,7 +2919,7 @@ export namespace dataform_v1beta1 {
|
|
|
2991
2919
|
}
|
|
2992
2920
|
|
|
2993
2921
|
/**
|
|
2994
|
-
* Updates a single Repository.
|
|
2922
|
+
* Updates a single Repository. **Note:** *This method does not fully implement*, (see [AIP/134](https://google.aip.dev/134), in particular: - The wildcard entry (**\***) is treated as a bad request - When the **field_mask** is omitted, instead of only updating the set fields, the request is treated as a full update on all modifiable fields
|
|
2995
2923
|
*
|
|
2996
2924
|
* @param params - Parameters for request
|
|
2997
2925
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -3511,7 +3439,7 @@ export namespace dataform_v1beta1 {
|
|
|
3511
3439
|
*/
|
|
3512
3440
|
pageSize?: number;
|
|
3513
3441
|
/**
|
|
3514
|
-
* Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchRepositoryHistory` must match the call that provided the page token.
|
|
3442
|
+
* Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchRepositoryHistory`, with the exception of `page_size`, must match the call that provided the page token.
|
|
3515
3443
|
*/
|
|
3516
3444
|
pageToken?: string;
|
|
3517
3445
|
}
|
|
@@ -3555,7 +3483,7 @@ export namespace dataform_v1beta1 {
|
|
|
3555
3483
|
*/
|
|
3556
3484
|
pageSize?: number;
|
|
3557
3485
|
/**
|
|
3558
|
-
* Optional. Page token received from a previous `ListRepositories` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRepositories` must match the call that provided the page token.
|
|
3486
|
+
* Optional. Page token received from a previous `ListRepositories` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRepositories`, with the exception of `page_size`, must match the call that provided the page token.
|
|
3559
3487
|
*/
|
|
3560
3488
|
pageToken?: string;
|
|
3561
3489
|
/**
|
|
@@ -3594,7 +3522,7 @@ export namespace dataform_v1beta1 {
|
|
|
3594
3522
|
*/
|
|
3595
3523
|
pageSize?: number;
|
|
3596
3524
|
/**
|
|
3597
|
-
* Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryRepositoryDirectoryContents` must match the call that provided the page token.
|
|
3525
|
+
* Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryRepositoryDirectoryContents`, with the exception of `page_size`, must match the call that provided the page token.
|
|
3598
3526
|
*/
|
|
3599
3527
|
pageToken?: string;
|
|
3600
3528
|
/**
|
|
@@ -3642,215 +3570,6 @@ export namespace dataform_v1beta1 {
|
|
|
3642
3570
|
requestBody?: Schema$TestIamPermissionsRequest;
|
|
3643
3571
|
}
|
|
3644
3572
|
|
|
3645
|
-
export class Resource$Projects$Locations$Repositories$Commentthreads {
|
|
3646
|
-
context: APIRequestContext;
|
|
3647
|
-
constructor(context: APIRequestContext) {
|
|
3648
|
-
this.context = context;
|
|
3649
|
-
}
|
|
3650
|
-
|
|
3651
|
-
/**
|
|
3652
|
-
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
3653
|
-
*
|
|
3654
|
-
* @param params - Parameters for request
|
|
3655
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3656
|
-
* @param callback - Optional callback that handles the response.
|
|
3657
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3658
|
-
*/
|
|
3659
|
-
getIamPolicy(
|
|
3660
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy,
|
|
3661
|
-
options: StreamMethodOptions
|
|
3662
|
-
): GaxiosPromise<Readable>;
|
|
3663
|
-
getIamPolicy(
|
|
3664
|
-
params?: Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy,
|
|
3665
|
-
options?: MethodOptions
|
|
3666
|
-
): GaxiosPromise<Schema$Policy>;
|
|
3667
|
-
getIamPolicy(
|
|
3668
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy,
|
|
3669
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3670
|
-
callback: BodyResponseCallback<Readable>
|
|
3671
|
-
): void;
|
|
3672
|
-
getIamPolicy(
|
|
3673
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy,
|
|
3674
|
-
options: MethodOptions | BodyResponseCallback<Schema$Policy>,
|
|
3675
|
-
callback: BodyResponseCallback<Schema$Policy>
|
|
3676
|
-
): void;
|
|
3677
|
-
getIamPolicy(
|
|
3678
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy,
|
|
3679
|
-
callback: BodyResponseCallback<Schema$Policy>
|
|
3680
|
-
): void;
|
|
3681
|
-
getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3682
|
-
getIamPolicy(
|
|
3683
|
-
paramsOrCallback?:
|
|
3684
|
-
| Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy
|
|
3685
|
-
| BodyResponseCallback<Schema$Policy>
|
|
3686
|
-
| BodyResponseCallback<Readable>,
|
|
3687
|
-
optionsOrCallback?:
|
|
3688
|
-
| MethodOptions
|
|
3689
|
-
| StreamMethodOptions
|
|
3690
|
-
| BodyResponseCallback<Schema$Policy>
|
|
3691
|
-
| BodyResponseCallback<Readable>,
|
|
3692
|
-
callback?:
|
|
3693
|
-
| BodyResponseCallback<Schema$Policy>
|
|
3694
|
-
| BodyResponseCallback<Readable>
|
|
3695
|
-
): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
|
|
3696
|
-
let params = (paramsOrCallback ||
|
|
3697
|
-
{}) as Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy;
|
|
3698
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3699
|
-
|
|
3700
|
-
if (typeof paramsOrCallback === 'function') {
|
|
3701
|
-
callback = paramsOrCallback;
|
|
3702
|
-
params =
|
|
3703
|
-
{} as Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy;
|
|
3704
|
-
options = {};
|
|
3705
|
-
}
|
|
3706
|
-
|
|
3707
|
-
if (typeof optionsOrCallback === 'function') {
|
|
3708
|
-
callback = optionsOrCallback;
|
|
3709
|
-
options = {};
|
|
3710
|
-
}
|
|
3711
|
-
|
|
3712
|
-
const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
|
|
3713
|
-
const parameters = {
|
|
3714
|
-
options: Object.assign(
|
|
3715
|
-
{
|
|
3716
|
-
url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(
|
|
3717
|
-
/([^:]\/)\/+/g,
|
|
3718
|
-
'$1'
|
|
3719
|
-
),
|
|
3720
|
-
method: 'GET',
|
|
3721
|
-
apiVersion: '',
|
|
3722
|
-
},
|
|
3723
|
-
options
|
|
3724
|
-
),
|
|
3725
|
-
params,
|
|
3726
|
-
requiredParams: ['resource'],
|
|
3727
|
-
pathParams: ['resource'],
|
|
3728
|
-
context: this.context,
|
|
3729
|
-
};
|
|
3730
|
-
if (callback) {
|
|
3731
|
-
createAPIRequest<Schema$Policy>(
|
|
3732
|
-
parameters,
|
|
3733
|
-
callback as BodyResponseCallback<unknown>
|
|
3734
|
-
);
|
|
3735
|
-
} else {
|
|
3736
|
-
return createAPIRequest<Schema$Policy>(parameters);
|
|
3737
|
-
}
|
|
3738
|
-
}
|
|
3739
|
-
|
|
3740
|
-
/**
|
|
3741
|
-
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
3742
|
-
*
|
|
3743
|
-
* @param params - Parameters for request
|
|
3744
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3745
|
-
* @param callback - Optional callback that handles the response.
|
|
3746
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3747
|
-
*/
|
|
3748
|
-
setIamPolicy(
|
|
3749
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy,
|
|
3750
|
-
options: StreamMethodOptions
|
|
3751
|
-
): GaxiosPromise<Readable>;
|
|
3752
|
-
setIamPolicy(
|
|
3753
|
-
params?: Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy,
|
|
3754
|
-
options?: MethodOptions
|
|
3755
|
-
): GaxiosPromise<Schema$Policy>;
|
|
3756
|
-
setIamPolicy(
|
|
3757
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy,
|
|
3758
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3759
|
-
callback: BodyResponseCallback<Readable>
|
|
3760
|
-
): void;
|
|
3761
|
-
setIamPolicy(
|
|
3762
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy,
|
|
3763
|
-
options: MethodOptions | BodyResponseCallback<Schema$Policy>,
|
|
3764
|
-
callback: BodyResponseCallback<Schema$Policy>
|
|
3765
|
-
): void;
|
|
3766
|
-
setIamPolicy(
|
|
3767
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy,
|
|
3768
|
-
callback: BodyResponseCallback<Schema$Policy>
|
|
3769
|
-
): void;
|
|
3770
|
-
setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3771
|
-
setIamPolicy(
|
|
3772
|
-
paramsOrCallback?:
|
|
3773
|
-
| Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy
|
|
3774
|
-
| BodyResponseCallback<Schema$Policy>
|
|
3775
|
-
| BodyResponseCallback<Readable>,
|
|
3776
|
-
optionsOrCallback?:
|
|
3777
|
-
| MethodOptions
|
|
3778
|
-
| StreamMethodOptions
|
|
3779
|
-
| BodyResponseCallback<Schema$Policy>
|
|
3780
|
-
| BodyResponseCallback<Readable>,
|
|
3781
|
-
callback?:
|
|
3782
|
-
| BodyResponseCallback<Schema$Policy>
|
|
3783
|
-
| BodyResponseCallback<Readable>
|
|
3784
|
-
): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
|
|
3785
|
-
let params = (paramsOrCallback ||
|
|
3786
|
-
{}) as Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy;
|
|
3787
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3788
|
-
|
|
3789
|
-
if (typeof paramsOrCallback === 'function') {
|
|
3790
|
-
callback = paramsOrCallback;
|
|
3791
|
-
params =
|
|
3792
|
-
{} as Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy;
|
|
3793
|
-
options = {};
|
|
3794
|
-
}
|
|
3795
|
-
|
|
3796
|
-
if (typeof optionsOrCallback === 'function') {
|
|
3797
|
-
callback = optionsOrCallback;
|
|
3798
|
-
options = {};
|
|
3799
|
-
}
|
|
3800
|
-
|
|
3801
|
-
const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
|
|
3802
|
-
const parameters = {
|
|
3803
|
-
options: Object.assign(
|
|
3804
|
-
{
|
|
3805
|
-
url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(
|
|
3806
|
-
/([^:]\/)\/+/g,
|
|
3807
|
-
'$1'
|
|
3808
|
-
),
|
|
3809
|
-
method: 'POST',
|
|
3810
|
-
apiVersion: '',
|
|
3811
|
-
},
|
|
3812
|
-
options
|
|
3813
|
-
),
|
|
3814
|
-
params,
|
|
3815
|
-
requiredParams: ['resource'],
|
|
3816
|
-
pathParams: ['resource'],
|
|
3817
|
-
context: this.context,
|
|
3818
|
-
};
|
|
3819
|
-
if (callback) {
|
|
3820
|
-
createAPIRequest<Schema$Policy>(
|
|
3821
|
-
parameters,
|
|
3822
|
-
callback as BodyResponseCallback<unknown>
|
|
3823
|
-
);
|
|
3824
|
-
} else {
|
|
3825
|
-
return createAPIRequest<Schema$Policy>(parameters);
|
|
3826
|
-
}
|
|
3827
|
-
}
|
|
3828
|
-
}
|
|
3829
|
-
|
|
3830
|
-
export interface Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy
|
|
3831
|
-
extends StandardParameters {
|
|
3832
|
-
/**
|
|
3833
|
-
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
3834
|
-
*/
|
|
3835
|
-
'options.requestedPolicyVersion'?: number;
|
|
3836
|
-
/**
|
|
3837
|
-
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
3838
|
-
*/
|
|
3839
|
-
resource?: string;
|
|
3840
|
-
}
|
|
3841
|
-
export interface Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy
|
|
3842
|
-
extends StandardParameters {
|
|
3843
|
-
/**
|
|
3844
|
-
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
3845
|
-
*/
|
|
3846
|
-
resource?: string;
|
|
3847
|
-
|
|
3848
|
-
/**
|
|
3849
|
-
* Request body metadata
|
|
3850
|
-
*/
|
|
3851
|
-
requestBody?: Schema$SetIamPolicyRequest;
|
|
3852
|
-
}
|
|
3853
|
-
|
|
3854
3573
|
export class Resource$Projects$Locations$Repositories$Compilationresults {
|
|
3855
3574
|
context: APIRequestContext;
|
|
3856
3575
|
constructor(context: APIRequestContext) {
|
|
@@ -4269,7 +3988,7 @@ export namespace dataform_v1beta1 {
|
|
|
4269
3988
|
*/
|
|
4270
3989
|
pageSize?: number;
|
|
4271
3990
|
/**
|
|
4272
|
-
* Optional. Page token received from a previous `ListCompilationResults` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCompilationResults` must match the call that provided the page token.
|
|
3991
|
+
* Optional. Page token received from a previous `ListCompilationResults` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCompilationResults`, with the exception of `page_size`, must match the call that provided the page token.
|
|
4273
3992
|
*/
|
|
4274
3993
|
pageToken?: string;
|
|
4275
3994
|
/**
|
|
@@ -4292,7 +4011,7 @@ export namespace dataform_v1beta1 {
|
|
|
4292
4011
|
*/
|
|
4293
4012
|
pageSize?: number;
|
|
4294
4013
|
/**
|
|
4295
|
-
* Optional. Page token received from a previous `QueryCompilationResultActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryCompilationResultActions` must match the call that provided the page token.
|
|
4014
|
+
* Optional. Page token received from a previous `QueryCompilationResultActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryCompilationResultActions`, with the exception of `page_size`, must match the call that provided the page token.
|
|
4296
4015
|
*/
|
|
4297
4016
|
pageToken?: string;
|
|
4298
4017
|
}
|
|
@@ -4661,7 +4380,7 @@ export namespace dataform_v1beta1 {
|
|
|
4661
4380
|
}
|
|
4662
4381
|
|
|
4663
4382
|
/**
|
|
4664
|
-
* Updates a single ReleaseConfig.
|
|
4383
|
+
* Updates a single ReleaseConfig. **Note:** *This method does not fully implement*, (see [AIP/134](https://google.aip.dev/134), in particular: - The wildcard entry (**\***) is treated as a bad request - When the **field_mask** is omitted, instead of only updating the set fields, the request is treated as a full update on all modifiable fields
|
|
4665
4384
|
*
|
|
4666
4385
|
* @param params - Parameters for request
|
|
4667
4386
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -4784,7 +4503,7 @@ export namespace dataform_v1beta1 {
|
|
|
4784
4503
|
*/
|
|
4785
4504
|
pageSize?: number;
|
|
4786
4505
|
/**
|
|
4787
|
-
* Optional. Page token received from a previous `ListReleaseConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReleaseConfigs` must match the call that provided the page token.
|
|
4506
|
+
* Optional. Page token received from a previous `ListReleaseConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReleaseConfigs`, with the exception of `page_size`, must match the call that provided the page token.
|
|
4788
4507
|
*/
|
|
4789
4508
|
pageToken?: string;
|
|
4790
4509
|
/**
|
|
@@ -5173,7 +4892,7 @@ export namespace dataform_v1beta1 {
|
|
|
5173
4892
|
}
|
|
5174
4893
|
|
|
5175
4894
|
/**
|
|
5176
|
-
* Updates a single WorkflowConfig.
|
|
4895
|
+
* Updates a single WorkflowConfig. **Note:** *This method does not fully implement*, (see [AIP/134](https://google.aip.dev/134), in particular: - The wildcard entry (**\***) is treated as a bad request - When the **field_mask** is omitted, instead of only updating the set fields, the request is treated as a full update on all modifiable fields
|
|
5177
4896
|
*
|
|
5178
4897
|
* @param params - Parameters for request
|
|
5179
4898
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5296,7 +5015,7 @@ export namespace dataform_v1beta1 {
|
|
|
5296
5015
|
*/
|
|
5297
5016
|
pageSize?: number;
|
|
5298
5017
|
/**
|
|
5299
|
-
* Optional. Page token received from a previous `ListWorkflowConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowConfigs` must match the call that provided the page token.
|
|
5018
|
+
* Optional. Page token received from a previous `ListWorkflowConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowConfigs`, with the exception of `page_size`, must match the call that provided the page token.
|
|
5300
5019
|
*/
|
|
5301
5020
|
pageToken?: string;
|
|
5302
5021
|
/**
|
|
@@ -5933,7 +5652,7 @@ export namespace dataform_v1beta1 {
|
|
|
5933
5652
|
*/
|
|
5934
5653
|
pageSize?: number;
|
|
5935
5654
|
/**
|
|
5936
|
-
* Optional. Page token received from a previous `ListWorkflowInvocations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowInvocations` must match the call that provided the page token.
|
|
5655
|
+
* Optional. Page token received from a previous `ListWorkflowInvocations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowInvocations`, with the exception of `page_size`, must match the call that provided the page token.
|
|
5937
5656
|
*/
|
|
5938
5657
|
pageToken?: string;
|
|
5939
5658
|
/**
|
|
@@ -5952,7 +5671,7 @@ export namespace dataform_v1beta1 {
|
|
|
5952
5671
|
*/
|
|
5953
5672
|
pageSize?: number;
|
|
5954
5673
|
/**
|
|
5955
|
-
* Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryWorkflowInvocationActions` must match the call that provided the page token.
|
|
5674
|
+
* Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryWorkflowInvocationActions`, with the exception of `page_size`, must match the call that provided the page token.
|
|
5956
5675
|
*/
|
|
5957
5676
|
pageToken?: string;
|
|
5958
5677
|
}
|
|
@@ -8275,7 +7994,7 @@ export namespace dataform_v1beta1 {
|
|
|
8275
7994
|
*/
|
|
8276
7995
|
pageSize?: number;
|
|
8277
7996
|
/**
|
|
8278
|
-
* Optional. Page token received from a previous `ListWorkspaces` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkspaces` must match the call that provided the page token.
|
|
7997
|
+
* Optional. Page token received from a previous `ListWorkspaces` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkspaces`, with the exception of `page_size`, must match the call that provided the page token.
|
|
8279
7998
|
*/
|
|
8280
7999
|
pageToken?: string;
|
|
8281
8000
|
/**
|
|
@@ -8350,7 +8069,7 @@ export namespace dataform_v1beta1 {
|
|
|
8350
8069
|
*/
|
|
8351
8070
|
pageSize?: number;
|
|
8352
8071
|
/**
|
|
8353
|
-
* Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryDirectoryContents` must match the call that provided the page token.
|
|
8072
|
+
* Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryDirectoryContents`, with the exception of `page_size`, must match the call that provided the page token.
|
|
8354
8073
|
*/
|
|
8355
8074
|
pageToken?: string;
|
|
8356
8075
|
/**
|
|
@@ -8424,7 +8143,7 @@ export namespace dataform_v1beta1 {
|
|
|
8424
8143
|
*/
|
|
8425
8144
|
pageSize?: number;
|
|
8426
8145
|
/**
|
|
8427
|
-
* Optional. Page token received from a previous `SearchFilesRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchFilesRequest` must match the call that provided the page token.
|
|
8146
|
+
* Optional. Page token received from a previous `SearchFilesRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchFilesRequest`, with the exception of `page_size`, must match the call that provided the page token.
|
|
8428
8147
|
*/
|
|
8429
8148
|
pageToken?: string;
|
|
8430
8149
|
/**
|