@googleapis/dataform 6.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 +19 -0
- package/build/v1beta1.d.ts +110 -196
- package/build/v1beta1.js +14 -204
- package/build/v1beta1.js.map +1 -1
- package/package.json +1 -1
- package/v1beta1.ts +887 -1394
package/v1beta1.ts
CHANGED
|
@@ -381,6 +381,10 @@ export namespace dataform_v1beta1 {
|
|
|
381
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`
|
|
382
382
|
*/
|
|
383
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;
|
|
384
388
|
/**
|
|
385
389
|
* Output only. The compilation result's name.
|
|
386
390
|
*/
|
|
@@ -418,6 +422,10 @@ export namespace dataform_v1beta1 {
|
|
|
418
422
|
* The full path including filename in which this action is located, relative to the workspace root.
|
|
419
423
|
*/
|
|
420
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;
|
|
421
429
|
/**
|
|
422
430
|
* The notebook executed by this action.
|
|
423
431
|
*/
|
|
@@ -444,6 +452,19 @@ export namespace dataform_v1beta1 {
|
|
|
444
452
|
*/
|
|
445
453
|
tokenStatus?: string | null;
|
|
446
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
|
+
}
|
|
447
468
|
/**
|
|
448
469
|
* Describes encryption state of a resource.
|
|
449
470
|
*/
|
|
@@ -906,13 +927,13 @@ export namespace dataform_v1beta1 {
|
|
|
906
927
|
*/
|
|
907
928
|
contents?: string | null;
|
|
908
929
|
/**
|
|
909
|
-
* 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.
|
|
910
931
|
*/
|
|
911
932
|
jobId?: string | null;
|
|
912
933
|
}
|
|
913
934
|
export interface Schema$NotebookRuntimeOptions {
|
|
914
935
|
/**
|
|
915
|
-
* Optional. The
|
|
936
|
+
* Optional. The Google Cloud Storage location to upload the result to. Format: `gs://bucket-name`.
|
|
916
937
|
*/
|
|
917
938
|
gcsOutputBucket?: string | null;
|
|
918
939
|
}
|
|
@@ -925,7 +946,7 @@ export namespace dataform_v1beta1 {
|
|
|
925
946
|
*/
|
|
926
947
|
apiVersion?: string | null;
|
|
927
948
|
/**
|
|
928
|
-
* 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`.
|
|
929
950
|
*/
|
|
930
951
|
cancelRequested?: boolean | null;
|
|
931
952
|
/**
|
|
@@ -1185,12 +1206,16 @@ export namespace dataform_v1beta1 {
|
|
|
1185
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`
|
|
1186
1207
|
*/
|
|
1187
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;
|
|
1188
1213
|
/**
|
|
1189
1214
|
* Identifier. The release config's name.
|
|
1190
1215
|
*/
|
|
1191
1216
|
name?: string | null;
|
|
1192
1217
|
/**
|
|
1193
|
-
* 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.
|
|
1194
1219
|
*/
|
|
1195
1220
|
recentScheduledReleaseRecords?: Schema$ScheduledReleaseRecord[];
|
|
1196
1221
|
/**
|
|
@@ -1241,7 +1266,11 @@ export namespace dataform_v1beta1 {
|
|
|
1241
1266
|
*/
|
|
1242
1267
|
gitRemoteSettings?: Schema$GitRemoteSettings;
|
|
1243
1268
|
/**
|
|
1244
|
-
*
|
|
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\}`
|
|
1245
1274
|
*/
|
|
1246
1275
|
kmsKeyName?: string | null;
|
|
1247
1276
|
/**
|
|
@@ -1441,6 +1470,10 @@ export namespace dataform_v1beta1 {
|
|
|
1441
1470
|
* Optional. Optional schedule (in cron format) for automatic execution of this workflow config.
|
|
1442
1471
|
*/
|
|
1443
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;
|
|
1444
1477
|
/**
|
|
1445
1478
|
* Optional. If left unset, a default InvocationConfig will be used.
|
|
1446
1479
|
*/
|
|
@@ -1450,7 +1483,7 @@ export namespace dataform_v1beta1 {
|
|
|
1450
1483
|
*/
|
|
1451
1484
|
name?: string | null;
|
|
1452
1485
|
/**
|
|
1453
|
-
* 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.
|
|
1454
1487
|
*/
|
|
1455
1488
|
recentScheduledExecutionRecords?: Schema$ScheduledExecutionRecord[];
|
|
1456
1489
|
/**
|
|
@@ -1478,6 +1511,10 @@ export namespace dataform_v1beta1 {
|
|
|
1478
1511
|
* Output only. Only set if the repository has a KMS Key.
|
|
1479
1512
|
*/
|
|
1480
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;
|
|
1481
1518
|
/**
|
|
1482
1519
|
* Immutable. If left unset, a default InvocationConfig will be used.
|
|
1483
1520
|
*/
|
|
@@ -1519,6 +1556,10 @@ export namespace dataform_v1beta1 {
|
|
|
1519
1556
|
* Output only. If and only if action's state is FAILED a failure reason is set.
|
|
1520
1557
|
*/
|
|
1521
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;
|
|
1522
1563
|
/**
|
|
1523
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.
|
|
1524
1565
|
*/
|
|
@@ -1540,10 +1581,18 @@ export namespace dataform_v1beta1 {
|
|
|
1540
1581
|
* Represents a Dataform Git workspace.
|
|
1541
1582
|
*/
|
|
1542
1583
|
export interface Schema$Workspace {
|
|
1584
|
+
/**
|
|
1585
|
+
* Output only. The timestamp of when the workspace was created.
|
|
1586
|
+
*/
|
|
1587
|
+
createTime?: string | null;
|
|
1543
1588
|
/**
|
|
1544
1589
|
* Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key.
|
|
1545
1590
|
*/
|
|
1546
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;
|
|
1547
1596
|
/**
|
|
1548
1597
|
* Identifier. The workspace's name.
|
|
1549
1598
|
*/
|
|
@@ -1604,13 +1653,9 @@ export namespace dataform_v1beta1 {
|
|
|
1604
1653
|
|
|
1605
1654
|
export class Resource$Projects$Locations {
|
|
1606
1655
|
context: APIRequestContext;
|
|
1607
|
-
collections: Resource$Projects$Locations$Collections;
|
|
1608
1656
|
repositories: Resource$Projects$Locations$Repositories;
|
|
1609
1657
|
constructor(context: APIRequestContext) {
|
|
1610
1658
|
this.context = context;
|
|
1611
|
-
this.collections = new Resource$Projects$Locations$Collections(
|
|
1612
|
-
this.context
|
|
1613
|
-
);
|
|
1614
1659
|
this.repositories = new Resource$Projects$Locations$Repositories(
|
|
1615
1660
|
this.context
|
|
1616
1661
|
);
|
|
@@ -1701,6 +1746,91 @@ export namespace dataform_v1beta1 {
|
|
|
1701
1746
|
}
|
|
1702
1747
|
}
|
|
1703
1748
|
|
|
1749
|
+
/**
|
|
1750
|
+
* Get default config for a given project and location.
|
|
1751
|
+
*
|
|
1752
|
+
* @param params - Parameters for request
|
|
1753
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1754
|
+
* @param callback - Optional callback that handles the response.
|
|
1755
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1756
|
+
*/
|
|
1757
|
+
getConfig(
|
|
1758
|
+
params: Params$Resource$Projects$Locations$Getconfig,
|
|
1759
|
+
options: StreamMethodOptions
|
|
1760
|
+
): GaxiosPromise<Readable>;
|
|
1761
|
+
getConfig(
|
|
1762
|
+
params?: Params$Resource$Projects$Locations$Getconfig,
|
|
1763
|
+
options?: MethodOptions
|
|
1764
|
+
): GaxiosPromise<Schema$Config>;
|
|
1765
|
+
getConfig(
|
|
1766
|
+
params: Params$Resource$Projects$Locations$Getconfig,
|
|
1767
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
1768
|
+
callback: BodyResponseCallback<Readable>
|
|
1769
|
+
): void;
|
|
1770
|
+
getConfig(
|
|
1771
|
+
params: Params$Resource$Projects$Locations$Getconfig,
|
|
1772
|
+
options: MethodOptions | BodyResponseCallback<Schema$Config>,
|
|
1773
|
+
callback: BodyResponseCallback<Schema$Config>
|
|
1774
|
+
): void;
|
|
1775
|
+
getConfig(
|
|
1776
|
+
params: Params$Resource$Projects$Locations$Getconfig,
|
|
1777
|
+
callback: BodyResponseCallback<Schema$Config>
|
|
1778
|
+
): void;
|
|
1779
|
+
getConfig(callback: BodyResponseCallback<Schema$Config>): void;
|
|
1780
|
+
getConfig(
|
|
1781
|
+
paramsOrCallback?:
|
|
1782
|
+
| Params$Resource$Projects$Locations$Getconfig
|
|
1783
|
+
| BodyResponseCallback<Schema$Config>
|
|
1784
|
+
| BodyResponseCallback<Readable>,
|
|
1785
|
+
optionsOrCallback?:
|
|
1786
|
+
| MethodOptions
|
|
1787
|
+
| StreamMethodOptions
|
|
1788
|
+
| BodyResponseCallback<Schema$Config>
|
|
1789
|
+
| BodyResponseCallback<Readable>,
|
|
1790
|
+
callback?:
|
|
1791
|
+
| BodyResponseCallback<Schema$Config>
|
|
1792
|
+
| BodyResponseCallback<Readable>
|
|
1793
|
+
): void | GaxiosPromise<Schema$Config> | GaxiosPromise<Readable> {
|
|
1794
|
+
let params = (paramsOrCallback ||
|
|
1795
|
+
{}) as Params$Resource$Projects$Locations$Getconfig;
|
|
1796
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
1797
|
+
|
|
1798
|
+
if (typeof paramsOrCallback === 'function') {
|
|
1799
|
+
callback = paramsOrCallback;
|
|
1800
|
+
params = {} as Params$Resource$Projects$Locations$Getconfig;
|
|
1801
|
+
options = {};
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
if (typeof optionsOrCallback === 'function') {
|
|
1805
|
+
callback = optionsOrCallback;
|
|
1806
|
+
options = {};
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
|
|
1810
|
+
const parameters = {
|
|
1811
|
+
options: Object.assign(
|
|
1812
|
+
{
|
|
1813
|
+
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1814
|
+
method: 'GET',
|
|
1815
|
+
apiVersion: '',
|
|
1816
|
+
},
|
|
1817
|
+
options
|
|
1818
|
+
),
|
|
1819
|
+
params,
|
|
1820
|
+
requiredParams: ['name'],
|
|
1821
|
+
pathParams: ['name'],
|
|
1822
|
+
context: this.context,
|
|
1823
|
+
};
|
|
1824
|
+
if (callback) {
|
|
1825
|
+
createAPIRequest<Schema$Config>(
|
|
1826
|
+
parameters,
|
|
1827
|
+
callback as BodyResponseCallback<unknown>
|
|
1828
|
+
);
|
|
1829
|
+
} else {
|
|
1830
|
+
return createAPIRequest<Schema$Config>(parameters);
|
|
1831
|
+
}
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1704
1834
|
/**
|
|
1705
1835
|
* Lists information about the supported locations for this service.
|
|
1706
1836
|
*
|
|
@@ -1793,6 +1923,91 @@ export namespace dataform_v1beta1 {
|
|
|
1793
1923
|
return createAPIRequest<Schema$ListLocationsResponse>(parameters);
|
|
1794
1924
|
}
|
|
1795
1925
|
}
|
|
1926
|
+
|
|
1927
|
+
/**
|
|
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
|
|
1929
|
+
*
|
|
1930
|
+
* @param params - Parameters for request
|
|
1931
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1932
|
+
* @param callback - Optional callback that handles the response.
|
|
1933
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1934
|
+
*/
|
|
1935
|
+
updateConfig(
|
|
1936
|
+
params: Params$Resource$Projects$Locations$Updateconfig,
|
|
1937
|
+
options: StreamMethodOptions
|
|
1938
|
+
): GaxiosPromise<Readable>;
|
|
1939
|
+
updateConfig(
|
|
1940
|
+
params?: Params$Resource$Projects$Locations$Updateconfig,
|
|
1941
|
+
options?: MethodOptions
|
|
1942
|
+
): GaxiosPromise<Schema$Config>;
|
|
1943
|
+
updateConfig(
|
|
1944
|
+
params: Params$Resource$Projects$Locations$Updateconfig,
|
|
1945
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
1946
|
+
callback: BodyResponseCallback<Readable>
|
|
1947
|
+
): void;
|
|
1948
|
+
updateConfig(
|
|
1949
|
+
params: Params$Resource$Projects$Locations$Updateconfig,
|
|
1950
|
+
options: MethodOptions | BodyResponseCallback<Schema$Config>,
|
|
1951
|
+
callback: BodyResponseCallback<Schema$Config>
|
|
1952
|
+
): void;
|
|
1953
|
+
updateConfig(
|
|
1954
|
+
params: Params$Resource$Projects$Locations$Updateconfig,
|
|
1955
|
+
callback: BodyResponseCallback<Schema$Config>
|
|
1956
|
+
): void;
|
|
1957
|
+
updateConfig(callback: BodyResponseCallback<Schema$Config>): void;
|
|
1958
|
+
updateConfig(
|
|
1959
|
+
paramsOrCallback?:
|
|
1960
|
+
| Params$Resource$Projects$Locations$Updateconfig
|
|
1961
|
+
| BodyResponseCallback<Schema$Config>
|
|
1962
|
+
| BodyResponseCallback<Readable>,
|
|
1963
|
+
optionsOrCallback?:
|
|
1964
|
+
| MethodOptions
|
|
1965
|
+
| StreamMethodOptions
|
|
1966
|
+
| BodyResponseCallback<Schema$Config>
|
|
1967
|
+
| BodyResponseCallback<Readable>,
|
|
1968
|
+
callback?:
|
|
1969
|
+
| BodyResponseCallback<Schema$Config>
|
|
1970
|
+
| BodyResponseCallback<Readable>
|
|
1971
|
+
): void | GaxiosPromise<Schema$Config> | GaxiosPromise<Readable> {
|
|
1972
|
+
let params = (paramsOrCallback ||
|
|
1973
|
+
{}) as Params$Resource$Projects$Locations$Updateconfig;
|
|
1974
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
1975
|
+
|
|
1976
|
+
if (typeof paramsOrCallback === 'function') {
|
|
1977
|
+
callback = paramsOrCallback;
|
|
1978
|
+
params = {} as Params$Resource$Projects$Locations$Updateconfig;
|
|
1979
|
+
options = {};
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
if (typeof optionsOrCallback === 'function') {
|
|
1983
|
+
callback = optionsOrCallback;
|
|
1984
|
+
options = {};
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
|
|
1988
|
+
const parameters = {
|
|
1989
|
+
options: Object.assign(
|
|
1990
|
+
{
|
|
1991
|
+
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
1992
|
+
method: 'PATCH',
|
|
1993
|
+
apiVersion: '',
|
|
1994
|
+
},
|
|
1995
|
+
options
|
|
1996
|
+
),
|
|
1997
|
+
params,
|
|
1998
|
+
requiredParams: ['name'],
|
|
1999
|
+
pathParams: ['name'],
|
|
2000
|
+
context: this.context,
|
|
2001
|
+
};
|
|
2002
|
+
if (callback) {
|
|
2003
|
+
createAPIRequest<Schema$Config>(
|
|
2004
|
+
parameters,
|
|
2005
|
+
callback as BodyResponseCallback<unknown>
|
|
2006
|
+
);
|
|
2007
|
+
} else {
|
|
2008
|
+
return createAPIRequest<Schema$Config>(parameters);
|
|
2009
|
+
}
|
|
2010
|
+
}
|
|
1796
2011
|
}
|
|
1797
2012
|
|
|
1798
2013
|
export interface Params$Resource$Projects$Locations$Get
|
|
@@ -1802,6 +2017,13 @@ export namespace dataform_v1beta1 {
|
|
|
1802
2017
|
*/
|
|
1803
2018
|
name?: string;
|
|
1804
2019
|
}
|
|
2020
|
+
export interface Params$Resource$Projects$Locations$Getconfig
|
|
2021
|
+
extends StandardParameters {
|
|
2022
|
+
/**
|
|
2023
|
+
* Required. The config name.
|
|
2024
|
+
*/
|
|
2025
|
+
name?: string;
|
|
2026
|
+
}
|
|
1805
2027
|
export interface Params$Resource$Projects$Locations$List
|
|
1806
2028
|
extends StandardParameters {
|
|
1807
2029
|
/**
|
|
@@ -1821,66 +2043,112 @@ export namespace dataform_v1beta1 {
|
|
|
1821
2043
|
*/
|
|
1822
2044
|
pageToken?: string;
|
|
1823
2045
|
}
|
|
2046
|
+
export interface Params$Resource$Projects$Locations$Updateconfig
|
|
2047
|
+
extends StandardParameters {
|
|
2048
|
+
/**
|
|
2049
|
+
* Identifier. The config name.
|
|
2050
|
+
*/
|
|
2051
|
+
name?: string;
|
|
2052
|
+
/**
|
|
2053
|
+
* Optional. Specifies the fields to be updated in the config.
|
|
2054
|
+
*/
|
|
2055
|
+
updateMask?: string;
|
|
2056
|
+
|
|
2057
|
+
/**
|
|
2058
|
+
* Request body metadata
|
|
2059
|
+
*/
|
|
2060
|
+
requestBody?: Schema$Config;
|
|
2061
|
+
}
|
|
1824
2062
|
|
|
1825
|
-
export class Resource$Projects$Locations$
|
|
2063
|
+
export class Resource$Projects$Locations$Repositories {
|
|
1826
2064
|
context: APIRequestContext;
|
|
2065
|
+
compilationResults: Resource$Projects$Locations$Repositories$Compilationresults;
|
|
2066
|
+
releaseConfigs: Resource$Projects$Locations$Repositories$Releaseconfigs;
|
|
2067
|
+
workflowConfigs: Resource$Projects$Locations$Repositories$Workflowconfigs;
|
|
2068
|
+
workflowInvocations: Resource$Projects$Locations$Repositories$Workflowinvocations;
|
|
2069
|
+
workspaces: Resource$Projects$Locations$Repositories$Workspaces;
|
|
1827
2070
|
constructor(context: APIRequestContext) {
|
|
1828
2071
|
this.context = context;
|
|
2072
|
+
this.compilationResults =
|
|
2073
|
+
new Resource$Projects$Locations$Repositories$Compilationresults(
|
|
2074
|
+
this.context
|
|
2075
|
+
);
|
|
2076
|
+
this.releaseConfigs =
|
|
2077
|
+
new Resource$Projects$Locations$Repositories$Releaseconfigs(
|
|
2078
|
+
this.context
|
|
2079
|
+
);
|
|
2080
|
+
this.workflowConfigs =
|
|
2081
|
+
new Resource$Projects$Locations$Repositories$Workflowconfigs(
|
|
2082
|
+
this.context
|
|
2083
|
+
);
|
|
2084
|
+
this.workflowInvocations =
|
|
2085
|
+
new Resource$Projects$Locations$Repositories$Workflowinvocations(
|
|
2086
|
+
this.context
|
|
2087
|
+
);
|
|
2088
|
+
this.workspaces = new Resource$Projects$Locations$Repositories$Workspaces(
|
|
2089
|
+
this.context
|
|
2090
|
+
);
|
|
1829
2091
|
}
|
|
1830
2092
|
|
|
1831
2093
|
/**
|
|
1832
|
-
*
|
|
2094
|
+
* Applies a Git commit to a Repository. The Repository must not have a value for `git_remote_settings.url`.
|
|
1833
2095
|
*
|
|
1834
2096
|
* @param params - Parameters for request
|
|
1835
2097
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1836
2098
|
* @param callback - Optional callback that handles the response.
|
|
1837
2099
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1838
2100
|
*/
|
|
1839
|
-
|
|
1840
|
-
params: Params$Resource$Projects$Locations$
|
|
2101
|
+
commit(
|
|
2102
|
+
params: Params$Resource$Projects$Locations$Repositories$Commit,
|
|
1841
2103
|
options: StreamMethodOptions
|
|
1842
2104
|
): GaxiosPromise<Readable>;
|
|
1843
|
-
|
|
1844
|
-
params?: Params$Resource$Projects$Locations$
|
|
2105
|
+
commit(
|
|
2106
|
+
params?: Params$Resource$Projects$Locations$Repositories$Commit,
|
|
1845
2107
|
options?: MethodOptions
|
|
1846
|
-
): GaxiosPromise<Schema$
|
|
1847
|
-
|
|
1848
|
-
params: Params$Resource$Projects$Locations$
|
|
2108
|
+
): GaxiosPromise<Schema$CommitRepositoryChangesResponse>;
|
|
2109
|
+
commit(
|
|
2110
|
+
params: Params$Resource$Projects$Locations$Repositories$Commit,
|
|
1849
2111
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
1850
2112
|
callback: BodyResponseCallback<Readable>
|
|
1851
2113
|
): void;
|
|
1852
|
-
|
|
1853
|
-
params: Params$Resource$Projects$Locations$
|
|
1854
|
-
options:
|
|
1855
|
-
|
|
2114
|
+
commit(
|
|
2115
|
+
params: Params$Resource$Projects$Locations$Repositories$Commit,
|
|
2116
|
+
options:
|
|
2117
|
+
| MethodOptions
|
|
2118
|
+
| BodyResponseCallback<Schema$CommitRepositoryChangesResponse>,
|
|
2119
|
+
callback: BodyResponseCallback<Schema$CommitRepositoryChangesResponse>
|
|
1856
2120
|
): void;
|
|
1857
|
-
|
|
1858
|
-
params: Params$Resource$Projects$Locations$
|
|
1859
|
-
callback: BodyResponseCallback<Schema$
|
|
2121
|
+
commit(
|
|
2122
|
+
params: Params$Resource$Projects$Locations$Repositories$Commit,
|
|
2123
|
+
callback: BodyResponseCallback<Schema$CommitRepositoryChangesResponse>
|
|
1860
2124
|
): void;
|
|
1861
|
-
|
|
1862
|
-
|
|
2125
|
+
commit(
|
|
2126
|
+
callback: BodyResponseCallback<Schema$CommitRepositoryChangesResponse>
|
|
2127
|
+
): void;
|
|
2128
|
+
commit(
|
|
1863
2129
|
paramsOrCallback?:
|
|
1864
|
-
| Params$Resource$Projects$Locations$
|
|
1865
|
-
| BodyResponseCallback<Schema$
|
|
2130
|
+
| Params$Resource$Projects$Locations$Repositories$Commit
|
|
2131
|
+
| BodyResponseCallback<Schema$CommitRepositoryChangesResponse>
|
|
1866
2132
|
| BodyResponseCallback<Readable>,
|
|
1867
2133
|
optionsOrCallback?:
|
|
1868
2134
|
| MethodOptions
|
|
1869
2135
|
| StreamMethodOptions
|
|
1870
|
-
| BodyResponseCallback<Schema$
|
|
2136
|
+
| BodyResponseCallback<Schema$CommitRepositoryChangesResponse>
|
|
1871
2137
|
| BodyResponseCallback<Readable>,
|
|
1872
2138
|
callback?:
|
|
1873
|
-
| BodyResponseCallback<Schema$
|
|
2139
|
+
| BodyResponseCallback<Schema$CommitRepositoryChangesResponse>
|
|
1874
2140
|
| BodyResponseCallback<Readable>
|
|
1875
|
-
):
|
|
2141
|
+
):
|
|
2142
|
+
| void
|
|
2143
|
+
| GaxiosPromise<Schema$CommitRepositoryChangesResponse>
|
|
2144
|
+
| GaxiosPromise<Readable> {
|
|
1876
2145
|
let params = (paramsOrCallback ||
|
|
1877
|
-
{}) as Params$Resource$Projects$Locations$
|
|
2146
|
+
{}) as Params$Resource$Projects$Locations$Repositories$Commit;
|
|
1878
2147
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
1879
2148
|
|
|
1880
2149
|
if (typeof paramsOrCallback === 'function') {
|
|
1881
2150
|
callback = paramsOrCallback;
|
|
1882
|
-
params =
|
|
1883
|
-
{} as Params$Resource$Projects$Locations$Collections$Getiampolicy;
|
|
2151
|
+
params = {} as Params$Resource$Projects$Locations$Repositories$Commit;
|
|
1884
2152
|
options = {};
|
|
1885
2153
|
}
|
|
1886
2154
|
|
|
@@ -1893,83 +2161,92 @@ export namespace dataform_v1beta1 {
|
|
|
1893
2161
|
const parameters = {
|
|
1894
2162
|
options: Object.assign(
|
|
1895
2163
|
{
|
|
1896
|
-
url: (rootUrl + '/v1beta1/{+
|
|
2164
|
+
url: (rootUrl + '/v1beta1/{+name}:commit').replace(
|
|
1897
2165
|
/([^:]\/)\/+/g,
|
|
1898
2166
|
'$1'
|
|
1899
2167
|
),
|
|
1900
|
-
method: '
|
|
2168
|
+
method: 'POST',
|
|
1901
2169
|
apiVersion: '',
|
|
1902
2170
|
},
|
|
1903
2171
|
options
|
|
1904
2172
|
),
|
|
1905
2173
|
params,
|
|
1906
|
-
requiredParams: ['
|
|
1907
|
-
pathParams: ['
|
|
2174
|
+
requiredParams: ['name'],
|
|
2175
|
+
pathParams: ['name'],
|
|
1908
2176
|
context: this.context,
|
|
1909
2177
|
};
|
|
1910
2178
|
if (callback) {
|
|
1911
|
-
createAPIRequest<Schema$
|
|
2179
|
+
createAPIRequest<Schema$CommitRepositoryChangesResponse>(
|
|
1912
2180
|
parameters,
|
|
1913
2181
|
callback as BodyResponseCallback<unknown>
|
|
1914
2182
|
);
|
|
1915
2183
|
} else {
|
|
1916
|
-
return createAPIRequest<Schema$
|
|
2184
|
+
return createAPIRequest<Schema$CommitRepositoryChangesResponse>(
|
|
2185
|
+
parameters
|
|
2186
|
+
);
|
|
1917
2187
|
}
|
|
1918
2188
|
}
|
|
1919
2189
|
|
|
1920
2190
|
/**
|
|
1921
|
-
*
|
|
2191
|
+
* Computes a Repository's Git access token status.
|
|
1922
2192
|
*
|
|
1923
2193
|
* @param params - Parameters for request
|
|
1924
2194
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1925
2195
|
* @param callback - Optional callback that handles the response.
|
|
1926
2196
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1927
2197
|
*/
|
|
1928
|
-
|
|
1929
|
-
params: Params$Resource$Projects$Locations$
|
|
2198
|
+
computeAccessTokenStatus(
|
|
2199
|
+
params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus,
|
|
1930
2200
|
options: StreamMethodOptions
|
|
1931
2201
|
): GaxiosPromise<Readable>;
|
|
1932
|
-
|
|
1933
|
-
params?: Params$Resource$Projects$Locations$
|
|
2202
|
+
computeAccessTokenStatus(
|
|
2203
|
+
params?: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus,
|
|
1934
2204
|
options?: MethodOptions
|
|
1935
|
-
): GaxiosPromise<Schema$
|
|
1936
|
-
|
|
1937
|
-
params: Params$Resource$Projects$Locations$
|
|
2205
|
+
): GaxiosPromise<Schema$ComputeRepositoryAccessTokenStatusResponse>;
|
|
2206
|
+
computeAccessTokenStatus(
|
|
2207
|
+
params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus,
|
|
1938
2208
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
1939
2209
|
callback: BodyResponseCallback<Readable>
|
|
1940
2210
|
): void;
|
|
1941
|
-
|
|
1942
|
-
params: Params$Resource$Projects$Locations$
|
|
1943
|
-
options:
|
|
1944
|
-
|
|
2211
|
+
computeAccessTokenStatus(
|
|
2212
|
+
params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus,
|
|
2213
|
+
options:
|
|
2214
|
+
| MethodOptions
|
|
2215
|
+
| BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>,
|
|
2216
|
+
callback: BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>
|
|
1945
2217
|
): void;
|
|
1946
|
-
|
|
1947
|
-
params: Params$Resource$Projects$Locations$
|
|
1948
|
-
callback: BodyResponseCallback<Schema$
|
|
2218
|
+
computeAccessTokenStatus(
|
|
2219
|
+
params: Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus,
|
|
2220
|
+
callback: BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>
|
|
1949
2221
|
): void;
|
|
1950
|
-
|
|
1951
|
-
|
|
2222
|
+
computeAccessTokenStatus(
|
|
2223
|
+
callback: BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>
|
|
2224
|
+
): void;
|
|
2225
|
+
computeAccessTokenStatus(
|
|
1952
2226
|
paramsOrCallback?:
|
|
1953
|
-
| Params$Resource$Projects$Locations$
|
|
1954
|
-
| BodyResponseCallback<Schema$
|
|
2227
|
+
| Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus
|
|
2228
|
+
| BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>
|
|
1955
2229
|
| BodyResponseCallback<Readable>,
|
|
1956
2230
|
optionsOrCallback?:
|
|
1957
2231
|
| MethodOptions
|
|
1958
2232
|
| StreamMethodOptions
|
|
1959
|
-
| BodyResponseCallback<Schema$
|
|
2233
|
+
| BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>
|
|
1960
2234
|
| BodyResponseCallback<Readable>,
|
|
1961
2235
|
callback?:
|
|
1962
|
-
| BodyResponseCallback<Schema$
|
|
2236
|
+
| BodyResponseCallback<Schema$ComputeRepositoryAccessTokenStatusResponse>
|
|
1963
2237
|
| BodyResponseCallback<Readable>
|
|
1964
|
-
):
|
|
2238
|
+
):
|
|
2239
|
+
| void
|
|
2240
|
+
| GaxiosPromise<Schema$ComputeRepositoryAccessTokenStatusResponse>
|
|
2241
|
+
| GaxiosPromise<Readable> {
|
|
1965
2242
|
let params = (paramsOrCallback ||
|
|
1966
|
-
{}) as Params$Resource$Projects$Locations$
|
|
2243
|
+
{}) as Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus;
|
|
1967
2244
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
1968
2245
|
|
|
1969
2246
|
if (typeof paramsOrCallback === 'function') {
|
|
1970
2247
|
callback = paramsOrCallback;
|
|
1971
2248
|
params =
|
|
1972
|
-
{} as Params$Resource$Projects$Locations$
|
|
2249
|
+
{} as Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus;
|
|
1973
2250
|
options = {};
|
|
1974
2251
|
}
|
|
1975
2252
|
|
|
@@ -1982,90 +2259,83 @@ export namespace dataform_v1beta1 {
|
|
|
1982
2259
|
const parameters = {
|
|
1983
2260
|
options: Object.assign(
|
|
1984
2261
|
{
|
|
1985
|
-
url: (
|
|
1986
|
-
/
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
method: 'POST',
|
|
2262
|
+
url: (
|
|
2263
|
+
rootUrl + '/v1beta1/{+name}:computeAccessTokenStatus'
|
|
2264
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2265
|
+
method: 'GET',
|
|
1990
2266
|
apiVersion: '',
|
|
1991
2267
|
},
|
|
1992
2268
|
options
|
|
1993
2269
|
),
|
|
1994
2270
|
params,
|
|
1995
|
-
requiredParams: ['
|
|
1996
|
-
pathParams: ['
|
|
2271
|
+
requiredParams: ['name'],
|
|
2272
|
+
pathParams: ['name'],
|
|
1997
2273
|
context: this.context,
|
|
1998
2274
|
};
|
|
1999
2275
|
if (callback) {
|
|
2000
|
-
createAPIRequest<Schema$
|
|
2276
|
+
createAPIRequest<Schema$ComputeRepositoryAccessTokenStatusResponse>(
|
|
2001
2277
|
parameters,
|
|
2002
2278
|
callback as BodyResponseCallback<unknown>
|
|
2003
2279
|
);
|
|
2004
2280
|
} else {
|
|
2005
|
-
return createAPIRequest<Schema$
|
|
2281
|
+
return createAPIRequest<Schema$ComputeRepositoryAccessTokenStatusResponse>(
|
|
2282
|
+
parameters
|
|
2283
|
+
);
|
|
2006
2284
|
}
|
|
2007
2285
|
}
|
|
2008
2286
|
|
|
2009
2287
|
/**
|
|
2010
|
-
*
|
|
2288
|
+
* Creates a new Repository in a given project and location.
|
|
2011
2289
|
*
|
|
2012
2290
|
* @param params - Parameters for request
|
|
2013
2291
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2014
2292
|
* @param callback - Optional callback that handles the response.
|
|
2015
2293
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2016
2294
|
*/
|
|
2017
|
-
|
|
2018
|
-
params: Params$Resource$Projects$Locations$
|
|
2295
|
+
create(
|
|
2296
|
+
params: Params$Resource$Projects$Locations$Repositories$Create,
|
|
2019
2297
|
options: StreamMethodOptions
|
|
2020
2298
|
): GaxiosPromise<Readable>;
|
|
2021
|
-
|
|
2022
|
-
params?: Params$Resource$Projects$Locations$
|
|
2299
|
+
create(
|
|
2300
|
+
params?: Params$Resource$Projects$Locations$Repositories$Create,
|
|
2023
2301
|
options?: MethodOptions
|
|
2024
|
-
): GaxiosPromise<Schema$
|
|
2025
|
-
|
|
2026
|
-
params: Params$Resource$Projects$Locations$
|
|
2302
|
+
): GaxiosPromise<Schema$Repository>;
|
|
2303
|
+
create(
|
|
2304
|
+
params: Params$Resource$Projects$Locations$Repositories$Create,
|
|
2027
2305
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2028
2306
|
callback: BodyResponseCallback<Readable>
|
|
2029
2307
|
): void;
|
|
2030
|
-
|
|
2031
|
-
params: Params$Resource$Projects$Locations$
|
|
2032
|
-
options:
|
|
2033
|
-
|
|
2034
|
-
| BodyResponseCallback<Schema$TestIamPermissionsResponse>,
|
|
2035
|
-
callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
2036
|
-
): void;
|
|
2037
|
-
testIamPermissions(
|
|
2038
|
-
params: Params$Resource$Projects$Locations$Collections$Testiampermissions,
|
|
2039
|
-
callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
2308
|
+
create(
|
|
2309
|
+
params: Params$Resource$Projects$Locations$Repositories$Create,
|
|
2310
|
+
options: MethodOptions | BodyResponseCallback<Schema$Repository>,
|
|
2311
|
+
callback: BodyResponseCallback<Schema$Repository>
|
|
2040
2312
|
): void;
|
|
2041
|
-
|
|
2042
|
-
|
|
2313
|
+
create(
|
|
2314
|
+
params: Params$Resource$Projects$Locations$Repositories$Create,
|
|
2315
|
+
callback: BodyResponseCallback<Schema$Repository>
|
|
2043
2316
|
): void;
|
|
2044
|
-
|
|
2317
|
+
create(callback: BodyResponseCallback<Schema$Repository>): void;
|
|
2318
|
+
create(
|
|
2045
2319
|
paramsOrCallback?:
|
|
2046
|
-
| Params$Resource$Projects$Locations$
|
|
2047
|
-
| BodyResponseCallback<Schema$
|
|
2320
|
+
| Params$Resource$Projects$Locations$Repositories$Create
|
|
2321
|
+
| BodyResponseCallback<Schema$Repository>
|
|
2048
2322
|
| BodyResponseCallback<Readable>,
|
|
2049
2323
|
optionsOrCallback?:
|
|
2050
2324
|
| MethodOptions
|
|
2051
2325
|
| StreamMethodOptions
|
|
2052
|
-
| BodyResponseCallback<Schema$
|
|
2326
|
+
| BodyResponseCallback<Schema$Repository>
|
|
2053
2327
|
| BodyResponseCallback<Readable>,
|
|
2054
2328
|
callback?:
|
|
2055
|
-
| BodyResponseCallback<Schema$
|
|
2329
|
+
| BodyResponseCallback<Schema$Repository>
|
|
2056
2330
|
| BodyResponseCallback<Readable>
|
|
2057
|
-
):
|
|
2058
|
-
| void
|
|
2059
|
-
| GaxiosPromise<Schema$TestIamPermissionsResponse>
|
|
2060
|
-
| GaxiosPromise<Readable> {
|
|
2331
|
+
): void | GaxiosPromise<Schema$Repository> | GaxiosPromise<Readable> {
|
|
2061
2332
|
let params = (paramsOrCallback ||
|
|
2062
|
-
{}) as Params$Resource$Projects$Locations$
|
|
2333
|
+
{}) as Params$Resource$Projects$Locations$Repositories$Create;
|
|
2063
2334
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2064
2335
|
|
|
2065
2336
|
if (typeof paramsOrCallback === 'function') {
|
|
2066
2337
|
callback = paramsOrCallback;
|
|
2067
|
-
params =
|
|
2068
|
-
{} as Params$Resource$Projects$Locations$Collections$Testiampermissions;
|
|
2338
|
+
params = {} as Params$Resource$Projects$Locations$Repositories$Create;
|
|
2069
2339
|
options = {};
|
|
2070
2340
|
}
|
|
2071
2341
|
|
|
@@ -2078,7 +2348,7 @@ export namespace dataform_v1beta1 {
|
|
|
2078
2348
|
const parameters = {
|
|
2079
2349
|
options: Object.assign(
|
|
2080
2350
|
{
|
|
2081
|
-
url: (rootUrl + '/v1beta1/{+
|
|
2351
|
+
url: (rootUrl + '/v1beta1/{+parent}/repositories').replace(
|
|
2082
2352
|
/([^:]\/)\/+/g,
|
|
2083
2353
|
'$1'
|
|
2084
2354
|
),
|
|
@@ -2088,151 +2358,72 @@ export namespace dataform_v1beta1 {
|
|
|
2088
2358
|
options
|
|
2089
2359
|
),
|
|
2090
2360
|
params,
|
|
2091
|
-
requiredParams: ['
|
|
2092
|
-
pathParams: ['
|
|
2361
|
+
requiredParams: ['parent'],
|
|
2362
|
+
pathParams: ['parent'],
|
|
2093
2363
|
context: this.context,
|
|
2094
2364
|
};
|
|
2095
2365
|
if (callback) {
|
|
2096
|
-
createAPIRequest<Schema$
|
|
2366
|
+
createAPIRequest<Schema$Repository>(
|
|
2097
2367
|
parameters,
|
|
2098
2368
|
callback as BodyResponseCallback<unknown>
|
|
2099
2369
|
);
|
|
2100
2370
|
} else {
|
|
2101
|
-
return createAPIRequest<Schema$
|
|
2371
|
+
return createAPIRequest<Schema$Repository>(parameters);
|
|
2102
2372
|
}
|
|
2103
2373
|
}
|
|
2104
|
-
}
|
|
2105
|
-
|
|
2106
|
-
export interface Params$Resource$Projects$Locations$Collections$Getiampolicy
|
|
2107
|
-
extends StandardParameters {
|
|
2108
|
-
/**
|
|
2109
|
-
* 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).
|
|
2110
|
-
*/
|
|
2111
|
-
'options.requestedPolicyVersion'?: number;
|
|
2112
|
-
/**
|
|
2113
|
-
* 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.
|
|
2114
|
-
*/
|
|
2115
|
-
resource?: string;
|
|
2116
|
-
}
|
|
2117
|
-
export interface Params$Resource$Projects$Locations$Collections$Setiampolicy
|
|
2118
|
-
extends StandardParameters {
|
|
2119
|
-
/**
|
|
2120
|
-
* 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.
|
|
2121
|
-
*/
|
|
2122
|
-
resource?: string;
|
|
2123
|
-
|
|
2124
|
-
/**
|
|
2125
|
-
* Request body metadata
|
|
2126
|
-
*/
|
|
2127
|
-
requestBody?: Schema$SetIamPolicyRequest;
|
|
2128
|
-
}
|
|
2129
|
-
export interface Params$Resource$Projects$Locations$Collections$Testiampermissions
|
|
2130
|
-
extends StandardParameters {
|
|
2131
|
-
/**
|
|
2132
|
-
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
2133
|
-
*/
|
|
2134
|
-
resource?: string;
|
|
2135
|
-
|
|
2136
|
-
/**
|
|
2137
|
-
* Request body metadata
|
|
2138
|
-
*/
|
|
2139
|
-
requestBody?: Schema$TestIamPermissionsRequest;
|
|
2140
|
-
}
|
|
2141
|
-
|
|
2142
|
-
export class Resource$Projects$Locations$Repositories {
|
|
2143
|
-
context: APIRequestContext;
|
|
2144
|
-
commentThreads: Resource$Projects$Locations$Repositories$Commentthreads;
|
|
2145
|
-
compilationResults: Resource$Projects$Locations$Repositories$Compilationresults;
|
|
2146
|
-
releaseConfigs: Resource$Projects$Locations$Repositories$Releaseconfigs;
|
|
2147
|
-
workflowConfigs: Resource$Projects$Locations$Repositories$Workflowconfigs;
|
|
2148
|
-
workflowInvocations: Resource$Projects$Locations$Repositories$Workflowinvocations;
|
|
2149
|
-
workspaces: Resource$Projects$Locations$Repositories$Workspaces;
|
|
2150
|
-
constructor(context: APIRequestContext) {
|
|
2151
|
-
this.context = context;
|
|
2152
|
-
this.commentThreads =
|
|
2153
|
-
new Resource$Projects$Locations$Repositories$Commentthreads(
|
|
2154
|
-
this.context
|
|
2155
|
-
);
|
|
2156
|
-
this.compilationResults =
|
|
2157
|
-
new Resource$Projects$Locations$Repositories$Compilationresults(
|
|
2158
|
-
this.context
|
|
2159
|
-
);
|
|
2160
|
-
this.releaseConfigs =
|
|
2161
|
-
new Resource$Projects$Locations$Repositories$Releaseconfigs(
|
|
2162
|
-
this.context
|
|
2163
|
-
);
|
|
2164
|
-
this.workflowConfigs =
|
|
2165
|
-
new Resource$Projects$Locations$Repositories$Workflowconfigs(
|
|
2166
|
-
this.context
|
|
2167
|
-
);
|
|
2168
|
-
this.workflowInvocations =
|
|
2169
|
-
new Resource$Projects$Locations$Repositories$Workflowinvocations(
|
|
2170
|
-
this.context
|
|
2171
|
-
);
|
|
2172
|
-
this.workspaces = new Resource$Projects$Locations$Repositories$Workspaces(
|
|
2173
|
-
this.context
|
|
2174
|
-
);
|
|
2175
|
-
}
|
|
2176
2374
|
|
|
2177
2375
|
/**
|
|
2178
|
-
*
|
|
2376
|
+
* Deletes a single Repository.
|
|
2179
2377
|
*
|
|
2180
2378
|
* @param params - Parameters for request
|
|
2181
2379
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2182
2380
|
* @param callback - Optional callback that handles the response.
|
|
2183
2381
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2184
2382
|
*/
|
|
2185
|
-
|
|
2186
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2383
|
+
delete(
|
|
2384
|
+
params: Params$Resource$Projects$Locations$Repositories$Delete,
|
|
2187
2385
|
options: StreamMethodOptions
|
|
2188
2386
|
): GaxiosPromise<Readable>;
|
|
2189
|
-
|
|
2190
|
-
params?: Params$Resource$Projects$Locations$Repositories$
|
|
2387
|
+
delete(
|
|
2388
|
+
params?: Params$Resource$Projects$Locations$Repositories$Delete,
|
|
2191
2389
|
options?: MethodOptions
|
|
2192
|
-
): GaxiosPromise<Schema$
|
|
2193
|
-
|
|
2194
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2390
|
+
): GaxiosPromise<Schema$Empty>;
|
|
2391
|
+
delete(
|
|
2392
|
+
params: Params$Resource$Projects$Locations$Repositories$Delete,
|
|
2195
2393
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2196
2394
|
callback: BodyResponseCallback<Readable>
|
|
2197
2395
|
): void;
|
|
2198
|
-
|
|
2199
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2200
|
-
options:
|
|
2201
|
-
|
|
2202
|
-
| BodyResponseCallback<Schema$CommitRepositoryChangesResponse>,
|
|
2203
|
-
callback: BodyResponseCallback<Schema$CommitRepositoryChangesResponse>
|
|
2204
|
-
): void;
|
|
2205
|
-
commit(
|
|
2206
|
-
params: Params$Resource$Projects$Locations$Repositories$Commit,
|
|
2207
|
-
callback: BodyResponseCallback<Schema$CommitRepositoryChangesResponse>
|
|
2396
|
+
delete(
|
|
2397
|
+
params: Params$Resource$Projects$Locations$Repositories$Delete,
|
|
2398
|
+
options: MethodOptions | BodyResponseCallback<Schema$Empty>,
|
|
2399
|
+
callback: BodyResponseCallback<Schema$Empty>
|
|
2208
2400
|
): void;
|
|
2209
|
-
|
|
2210
|
-
|
|
2401
|
+
delete(
|
|
2402
|
+
params: Params$Resource$Projects$Locations$Repositories$Delete,
|
|
2403
|
+
callback: BodyResponseCallback<Schema$Empty>
|
|
2211
2404
|
): void;
|
|
2212
|
-
|
|
2405
|
+
delete(callback: BodyResponseCallback<Schema$Empty>): void;
|
|
2406
|
+
delete(
|
|
2213
2407
|
paramsOrCallback?:
|
|
2214
|
-
| Params$Resource$Projects$Locations$Repositories$
|
|
2215
|
-
| BodyResponseCallback<Schema$
|
|
2408
|
+
| Params$Resource$Projects$Locations$Repositories$Delete
|
|
2409
|
+
| BodyResponseCallback<Schema$Empty>
|
|
2216
2410
|
| BodyResponseCallback<Readable>,
|
|
2217
2411
|
optionsOrCallback?:
|
|
2218
2412
|
| MethodOptions
|
|
2219
2413
|
| StreamMethodOptions
|
|
2220
|
-
| BodyResponseCallback<Schema$
|
|
2414
|
+
| BodyResponseCallback<Schema$Empty>
|
|
2221
2415
|
| BodyResponseCallback<Readable>,
|
|
2222
2416
|
callback?:
|
|
2223
|
-
| BodyResponseCallback<Schema$
|
|
2417
|
+
| BodyResponseCallback<Schema$Empty>
|
|
2224
2418
|
| BodyResponseCallback<Readable>
|
|
2225
|
-
):
|
|
2226
|
-
| void
|
|
2227
|
-
| GaxiosPromise<Schema$CommitRepositoryChangesResponse>
|
|
2228
|
-
| GaxiosPromise<Readable> {
|
|
2419
|
+
): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
|
|
2229
2420
|
let params = (paramsOrCallback ||
|
|
2230
|
-
{}) as Params$Resource$Projects$Locations$Repositories$
|
|
2421
|
+
{}) as Params$Resource$Projects$Locations$Repositories$Delete;
|
|
2231
2422
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2232
2423
|
|
|
2233
2424
|
if (typeof paramsOrCallback === 'function') {
|
|
2234
2425
|
callback = paramsOrCallback;
|
|
2235
|
-
params = {} as Params$Resource$Projects$Locations$Repositories$
|
|
2426
|
+
params = {} as Params$Resource$Projects$Locations$Repositories$Delete;
|
|
2236
2427
|
options = {};
|
|
2237
2428
|
}
|
|
2238
2429
|
|
|
@@ -2245,11 +2436,8 @@ export namespace dataform_v1beta1 {
|
|
|
2245
2436
|
const parameters = {
|
|
2246
2437
|
options: Object.assign(
|
|
2247
2438
|
{
|
|
2248
|
-
url: (rootUrl + '/v1beta1/{+name}
|
|
2249
|
-
|
|
2250
|
-
'$1'
|
|
2251
|
-
),
|
|
2252
|
-
method: 'POST',
|
|
2439
|
+
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2440
|
+
method: 'DELETE',
|
|
2253
2441
|
apiVersion: '',
|
|
2254
2442
|
},
|
|
2255
2443
|
options
|
|
@@ -2260,77 +2448,75 @@ export namespace dataform_v1beta1 {
|
|
|
2260
2448
|
context: this.context,
|
|
2261
2449
|
};
|
|
2262
2450
|
if (callback) {
|
|
2263
|
-
createAPIRequest<Schema$
|
|
2451
|
+
createAPIRequest<Schema$Empty>(
|
|
2264
2452
|
parameters,
|
|
2265
2453
|
callback as BodyResponseCallback<unknown>
|
|
2266
2454
|
);
|
|
2267
2455
|
} else {
|
|
2268
|
-
return createAPIRequest<Schema$
|
|
2269
|
-
parameters
|
|
2270
|
-
);
|
|
2456
|
+
return createAPIRequest<Schema$Empty>(parameters);
|
|
2271
2457
|
}
|
|
2272
2458
|
}
|
|
2273
2459
|
|
|
2274
2460
|
/**
|
|
2275
|
-
*
|
|
2461
|
+
* Fetches a Repository's history of commits. The Repository must not have a value for `git_remote_settings.url`.
|
|
2276
2462
|
*
|
|
2277
2463
|
* @param params - Parameters for request
|
|
2278
2464
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2279
2465
|
* @param callback - Optional callback that handles the response.
|
|
2280
2466
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2281
2467
|
*/
|
|
2282
|
-
|
|
2283
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2468
|
+
fetchHistory(
|
|
2469
|
+
params: Params$Resource$Projects$Locations$Repositories$Fetchhistory,
|
|
2284
2470
|
options: StreamMethodOptions
|
|
2285
2471
|
): GaxiosPromise<Readable>;
|
|
2286
|
-
|
|
2287
|
-
params?: Params$Resource$Projects$Locations$Repositories$
|
|
2472
|
+
fetchHistory(
|
|
2473
|
+
params?: Params$Resource$Projects$Locations$Repositories$Fetchhistory,
|
|
2288
2474
|
options?: MethodOptions
|
|
2289
|
-
): GaxiosPromise<Schema$
|
|
2290
|
-
|
|
2291
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2475
|
+
): GaxiosPromise<Schema$FetchRepositoryHistoryResponse>;
|
|
2476
|
+
fetchHistory(
|
|
2477
|
+
params: Params$Resource$Projects$Locations$Repositories$Fetchhistory,
|
|
2292
2478
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2293
2479
|
callback: BodyResponseCallback<Readable>
|
|
2294
2480
|
): void;
|
|
2295
|
-
|
|
2296
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2481
|
+
fetchHistory(
|
|
2482
|
+
params: Params$Resource$Projects$Locations$Repositories$Fetchhistory,
|
|
2297
2483
|
options:
|
|
2298
2484
|
| MethodOptions
|
|
2299
|
-
| BodyResponseCallback<Schema$
|
|
2300
|
-
callback: BodyResponseCallback<Schema$
|
|
2485
|
+
| BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>,
|
|
2486
|
+
callback: BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>
|
|
2301
2487
|
): void;
|
|
2302
|
-
|
|
2303
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2304
|
-
callback: BodyResponseCallback<Schema$
|
|
2488
|
+
fetchHistory(
|
|
2489
|
+
params: Params$Resource$Projects$Locations$Repositories$Fetchhistory,
|
|
2490
|
+
callback: BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>
|
|
2305
2491
|
): void;
|
|
2306
|
-
|
|
2307
|
-
callback: BodyResponseCallback<Schema$
|
|
2492
|
+
fetchHistory(
|
|
2493
|
+
callback: BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>
|
|
2308
2494
|
): void;
|
|
2309
|
-
|
|
2495
|
+
fetchHistory(
|
|
2310
2496
|
paramsOrCallback?:
|
|
2311
|
-
| Params$Resource$Projects$Locations$Repositories$
|
|
2312
|
-
| BodyResponseCallback<Schema$
|
|
2497
|
+
| Params$Resource$Projects$Locations$Repositories$Fetchhistory
|
|
2498
|
+
| BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>
|
|
2313
2499
|
| BodyResponseCallback<Readable>,
|
|
2314
2500
|
optionsOrCallback?:
|
|
2315
2501
|
| MethodOptions
|
|
2316
2502
|
| StreamMethodOptions
|
|
2317
|
-
| BodyResponseCallback<Schema$
|
|
2503
|
+
| BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>
|
|
2318
2504
|
| BodyResponseCallback<Readable>,
|
|
2319
2505
|
callback?:
|
|
2320
|
-
| BodyResponseCallback<Schema$
|
|
2506
|
+
| BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>
|
|
2321
2507
|
| BodyResponseCallback<Readable>
|
|
2322
2508
|
):
|
|
2323
2509
|
| void
|
|
2324
|
-
| GaxiosPromise<Schema$
|
|
2510
|
+
| GaxiosPromise<Schema$FetchRepositoryHistoryResponse>
|
|
2325
2511
|
| GaxiosPromise<Readable> {
|
|
2326
2512
|
let params = (paramsOrCallback ||
|
|
2327
|
-
{}) as Params$Resource$Projects$Locations$Repositories$
|
|
2513
|
+
{}) as Params$Resource$Projects$Locations$Repositories$Fetchhistory;
|
|
2328
2514
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2329
2515
|
|
|
2330
2516
|
if (typeof paramsOrCallback === 'function') {
|
|
2331
2517
|
callback = paramsOrCallback;
|
|
2332
2518
|
params =
|
|
2333
|
-
{} as Params$Resource$Projects$Locations$Repositories$
|
|
2519
|
+
{} as Params$Resource$Projects$Locations$Repositories$Fetchhistory;
|
|
2334
2520
|
options = {};
|
|
2335
2521
|
}
|
|
2336
2522
|
|
|
@@ -2343,9 +2529,10 @@ export namespace dataform_v1beta1 {
|
|
|
2343
2529
|
const parameters = {
|
|
2344
2530
|
options: Object.assign(
|
|
2345
2531
|
{
|
|
2346
|
-
url: (
|
|
2347
|
-
|
|
2348
|
-
|
|
2532
|
+
url: (rootUrl + '/v1beta1/{+name}:fetchHistory').replace(
|
|
2533
|
+
/([^:]\/)\/+/g,
|
|
2534
|
+
'$1'
|
|
2535
|
+
),
|
|
2349
2536
|
method: 'GET',
|
|
2350
2537
|
apiVersion: '',
|
|
2351
2538
|
},
|
|
@@ -2357,69 +2544,77 @@ export namespace dataform_v1beta1 {
|
|
|
2357
2544
|
context: this.context,
|
|
2358
2545
|
};
|
|
2359
2546
|
if (callback) {
|
|
2360
|
-
createAPIRequest<Schema$
|
|
2547
|
+
createAPIRequest<Schema$FetchRepositoryHistoryResponse>(
|
|
2361
2548
|
parameters,
|
|
2362
2549
|
callback as BodyResponseCallback<unknown>
|
|
2363
2550
|
);
|
|
2364
2551
|
} else {
|
|
2365
|
-
return createAPIRequest<Schema$
|
|
2552
|
+
return createAPIRequest<Schema$FetchRepositoryHistoryResponse>(
|
|
2366
2553
|
parameters
|
|
2367
2554
|
);
|
|
2368
2555
|
}
|
|
2369
2556
|
}
|
|
2370
2557
|
|
|
2371
2558
|
/**
|
|
2372
|
-
*
|
|
2559
|
+
* Fetches a Repository's remote branches.
|
|
2373
2560
|
*
|
|
2374
2561
|
* @param params - Parameters for request
|
|
2375
2562
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2376
2563
|
* @param callback - Optional callback that handles the response.
|
|
2377
2564
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2378
2565
|
*/
|
|
2379
|
-
|
|
2380
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2566
|
+
fetchRemoteBranches(
|
|
2567
|
+
params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches,
|
|
2381
2568
|
options: StreamMethodOptions
|
|
2382
2569
|
): GaxiosPromise<Readable>;
|
|
2383
|
-
|
|
2384
|
-
params?: Params$Resource$Projects$Locations$Repositories$
|
|
2570
|
+
fetchRemoteBranches(
|
|
2571
|
+
params?: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches,
|
|
2385
2572
|
options?: MethodOptions
|
|
2386
|
-
): GaxiosPromise<Schema$
|
|
2387
|
-
|
|
2388
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2573
|
+
): GaxiosPromise<Schema$FetchRemoteBranchesResponse>;
|
|
2574
|
+
fetchRemoteBranches(
|
|
2575
|
+
params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches,
|
|
2389
2576
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2390
2577
|
callback: BodyResponseCallback<Readable>
|
|
2391
2578
|
): void;
|
|
2392
|
-
|
|
2393
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2394
|
-
options:
|
|
2395
|
-
|
|
2579
|
+
fetchRemoteBranches(
|
|
2580
|
+
params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches,
|
|
2581
|
+
options:
|
|
2582
|
+
| MethodOptions
|
|
2583
|
+
| BodyResponseCallback<Schema$FetchRemoteBranchesResponse>,
|
|
2584
|
+
callback: BodyResponseCallback<Schema$FetchRemoteBranchesResponse>
|
|
2396
2585
|
): void;
|
|
2397
|
-
|
|
2398
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2399
|
-
callback: BodyResponseCallback<Schema$
|
|
2586
|
+
fetchRemoteBranches(
|
|
2587
|
+
params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches,
|
|
2588
|
+
callback: BodyResponseCallback<Schema$FetchRemoteBranchesResponse>
|
|
2400
2589
|
): void;
|
|
2401
|
-
|
|
2402
|
-
|
|
2590
|
+
fetchRemoteBranches(
|
|
2591
|
+
callback: BodyResponseCallback<Schema$FetchRemoteBranchesResponse>
|
|
2592
|
+
): void;
|
|
2593
|
+
fetchRemoteBranches(
|
|
2403
2594
|
paramsOrCallback?:
|
|
2404
|
-
| Params$Resource$Projects$Locations$Repositories$
|
|
2405
|
-
| BodyResponseCallback<Schema$
|
|
2595
|
+
| Params$Resource$Projects$Locations$Repositories$Fetchremotebranches
|
|
2596
|
+
| BodyResponseCallback<Schema$FetchRemoteBranchesResponse>
|
|
2406
2597
|
| BodyResponseCallback<Readable>,
|
|
2407
2598
|
optionsOrCallback?:
|
|
2408
2599
|
| MethodOptions
|
|
2409
2600
|
| StreamMethodOptions
|
|
2410
|
-
| BodyResponseCallback<Schema$
|
|
2601
|
+
| BodyResponseCallback<Schema$FetchRemoteBranchesResponse>
|
|
2411
2602
|
| BodyResponseCallback<Readable>,
|
|
2412
2603
|
callback?:
|
|
2413
|
-
| BodyResponseCallback<Schema$
|
|
2604
|
+
| BodyResponseCallback<Schema$FetchRemoteBranchesResponse>
|
|
2414
2605
|
| BodyResponseCallback<Readable>
|
|
2415
|
-
):
|
|
2606
|
+
):
|
|
2607
|
+
| void
|
|
2608
|
+
| GaxiosPromise<Schema$FetchRemoteBranchesResponse>
|
|
2609
|
+
| GaxiosPromise<Readable> {
|
|
2416
2610
|
let params = (paramsOrCallback ||
|
|
2417
|
-
{}) as Params$Resource$Projects$Locations$Repositories$
|
|
2611
|
+
{}) as Params$Resource$Projects$Locations$Repositories$Fetchremotebranches;
|
|
2418
2612
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2419
2613
|
|
|
2420
2614
|
if (typeof paramsOrCallback === 'function') {
|
|
2421
2615
|
callback = paramsOrCallback;
|
|
2422
|
-
params =
|
|
2616
|
+
params =
|
|
2617
|
+
{} as Params$Resource$Projects$Locations$Repositories$Fetchremotebranches;
|
|
2423
2618
|
options = {};
|
|
2424
2619
|
}
|
|
2425
2620
|
|
|
@@ -2432,82 +2627,82 @@ export namespace dataform_v1beta1 {
|
|
|
2432
2627
|
const parameters = {
|
|
2433
2628
|
options: Object.assign(
|
|
2434
2629
|
{
|
|
2435
|
-
url: (rootUrl + '/v1beta1/{+
|
|
2630
|
+
url: (rootUrl + '/v1beta1/{+name}:fetchRemoteBranches').replace(
|
|
2436
2631
|
/([^:]\/)\/+/g,
|
|
2437
2632
|
'$1'
|
|
2438
2633
|
),
|
|
2439
|
-
method: '
|
|
2634
|
+
method: 'GET',
|
|
2440
2635
|
apiVersion: '',
|
|
2441
2636
|
},
|
|
2442
2637
|
options
|
|
2443
2638
|
),
|
|
2444
2639
|
params,
|
|
2445
|
-
requiredParams: ['
|
|
2446
|
-
pathParams: ['
|
|
2640
|
+
requiredParams: ['name'],
|
|
2641
|
+
pathParams: ['name'],
|
|
2447
2642
|
context: this.context,
|
|
2448
2643
|
};
|
|
2449
2644
|
if (callback) {
|
|
2450
|
-
createAPIRequest<Schema$
|
|
2645
|
+
createAPIRequest<Schema$FetchRemoteBranchesResponse>(
|
|
2451
2646
|
parameters,
|
|
2452
2647
|
callback as BodyResponseCallback<unknown>
|
|
2453
2648
|
);
|
|
2454
2649
|
} else {
|
|
2455
|
-
return createAPIRequest<Schema$
|
|
2650
|
+
return createAPIRequest<Schema$FetchRemoteBranchesResponse>(parameters);
|
|
2456
2651
|
}
|
|
2457
2652
|
}
|
|
2458
2653
|
|
|
2459
2654
|
/**
|
|
2460
|
-
*
|
|
2655
|
+
* Fetches a single Repository.
|
|
2461
2656
|
*
|
|
2462
2657
|
* @param params - Parameters for request
|
|
2463
2658
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2464
2659
|
* @param callback - Optional callback that handles the response.
|
|
2465
2660
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2466
2661
|
*/
|
|
2467
|
-
|
|
2468
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2662
|
+
get(
|
|
2663
|
+
params: Params$Resource$Projects$Locations$Repositories$Get,
|
|
2469
2664
|
options: StreamMethodOptions
|
|
2470
2665
|
): GaxiosPromise<Readable>;
|
|
2471
|
-
|
|
2472
|
-
params?: Params$Resource$Projects$Locations$Repositories$
|
|
2666
|
+
get(
|
|
2667
|
+
params?: Params$Resource$Projects$Locations$Repositories$Get,
|
|
2473
2668
|
options?: MethodOptions
|
|
2474
|
-
): GaxiosPromise<Schema$
|
|
2475
|
-
|
|
2476
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2669
|
+
): GaxiosPromise<Schema$Repository>;
|
|
2670
|
+
get(
|
|
2671
|
+
params: Params$Resource$Projects$Locations$Repositories$Get,
|
|
2477
2672
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2478
2673
|
callback: BodyResponseCallback<Readable>
|
|
2479
2674
|
): void;
|
|
2480
|
-
|
|
2481
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2482
|
-
options: MethodOptions | BodyResponseCallback<Schema$
|
|
2483
|
-
callback: BodyResponseCallback<Schema$
|
|
2675
|
+
get(
|
|
2676
|
+
params: Params$Resource$Projects$Locations$Repositories$Get,
|
|
2677
|
+
options: MethodOptions | BodyResponseCallback<Schema$Repository>,
|
|
2678
|
+
callback: BodyResponseCallback<Schema$Repository>
|
|
2484
2679
|
): void;
|
|
2485
|
-
|
|
2486
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2487
|
-
callback: BodyResponseCallback<Schema$
|
|
2680
|
+
get(
|
|
2681
|
+
params: Params$Resource$Projects$Locations$Repositories$Get,
|
|
2682
|
+
callback: BodyResponseCallback<Schema$Repository>
|
|
2488
2683
|
): void;
|
|
2489
|
-
|
|
2490
|
-
|
|
2684
|
+
get(callback: BodyResponseCallback<Schema$Repository>): void;
|
|
2685
|
+
get(
|
|
2491
2686
|
paramsOrCallback?:
|
|
2492
|
-
| Params$Resource$Projects$Locations$Repositories$
|
|
2493
|
-
| BodyResponseCallback<Schema$
|
|
2687
|
+
| Params$Resource$Projects$Locations$Repositories$Get
|
|
2688
|
+
| BodyResponseCallback<Schema$Repository>
|
|
2494
2689
|
| BodyResponseCallback<Readable>,
|
|
2495
2690
|
optionsOrCallback?:
|
|
2496
2691
|
| MethodOptions
|
|
2497
2692
|
| StreamMethodOptions
|
|
2498
|
-
| BodyResponseCallback<Schema$
|
|
2693
|
+
| BodyResponseCallback<Schema$Repository>
|
|
2499
2694
|
| BodyResponseCallback<Readable>,
|
|
2500
2695
|
callback?:
|
|
2501
|
-
| BodyResponseCallback<Schema$
|
|
2696
|
+
| BodyResponseCallback<Schema$Repository>
|
|
2502
2697
|
| BodyResponseCallback<Readable>
|
|
2503
|
-
): void | GaxiosPromise<Schema$
|
|
2698
|
+
): void | GaxiosPromise<Schema$Repository> | GaxiosPromise<Readable> {
|
|
2504
2699
|
let params = (paramsOrCallback ||
|
|
2505
|
-
{}) as Params$Resource$Projects$Locations$Repositories$
|
|
2700
|
+
{}) as Params$Resource$Projects$Locations$Repositories$Get;
|
|
2506
2701
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2507
2702
|
|
|
2508
2703
|
if (typeof paramsOrCallback === 'function') {
|
|
2509
2704
|
callback = paramsOrCallback;
|
|
2510
|
-
params = {} as Params$Resource$Projects$Locations$Repositories$
|
|
2705
|
+
params = {} as Params$Resource$Projects$Locations$Repositories$Get;
|
|
2511
2706
|
options = {};
|
|
2512
2707
|
}
|
|
2513
2708
|
|
|
@@ -2521,7 +2716,7 @@ export namespace dataform_v1beta1 {
|
|
|
2521
2716
|
options: Object.assign(
|
|
2522
2717
|
{
|
|
2523
2718
|
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2524
|
-
method: '
|
|
2719
|
+
method: 'GET',
|
|
2525
2720
|
apiVersion: '',
|
|
2526
2721
|
},
|
|
2527
2722
|
options
|
|
@@ -2532,75 +2727,68 @@ export namespace dataform_v1beta1 {
|
|
|
2532
2727
|
context: this.context,
|
|
2533
2728
|
};
|
|
2534
2729
|
if (callback) {
|
|
2535
|
-
createAPIRequest<Schema$
|
|
2730
|
+
createAPIRequest<Schema$Repository>(
|
|
2536
2731
|
parameters,
|
|
2537
2732
|
callback as BodyResponseCallback<unknown>
|
|
2538
2733
|
);
|
|
2539
2734
|
} else {
|
|
2540
|
-
return createAPIRequest<Schema$
|
|
2735
|
+
return createAPIRequest<Schema$Repository>(parameters);
|
|
2541
2736
|
}
|
|
2542
2737
|
}
|
|
2543
2738
|
|
|
2544
2739
|
/**
|
|
2545
|
-
*
|
|
2740
|
+
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
2546
2741
|
*
|
|
2547
2742
|
* @param params - Parameters for request
|
|
2548
2743
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2549
2744
|
* @param callback - Optional callback that handles the response.
|
|
2550
2745
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2551
2746
|
*/
|
|
2552
|
-
|
|
2553
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2747
|
+
getIamPolicy(
|
|
2748
|
+
params: Params$Resource$Projects$Locations$Repositories$Getiampolicy,
|
|
2554
2749
|
options: StreamMethodOptions
|
|
2555
2750
|
): GaxiosPromise<Readable>;
|
|
2556
|
-
|
|
2557
|
-
params?: Params$Resource$Projects$Locations$Repositories$
|
|
2751
|
+
getIamPolicy(
|
|
2752
|
+
params?: Params$Resource$Projects$Locations$Repositories$Getiampolicy,
|
|
2558
2753
|
options?: MethodOptions
|
|
2559
|
-
): GaxiosPromise<Schema$
|
|
2560
|
-
|
|
2561
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2754
|
+
): GaxiosPromise<Schema$Policy>;
|
|
2755
|
+
getIamPolicy(
|
|
2756
|
+
params: Params$Resource$Projects$Locations$Repositories$Getiampolicy,
|
|
2562
2757
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2563
2758
|
callback: BodyResponseCallback<Readable>
|
|
2564
2759
|
): void;
|
|
2565
|
-
|
|
2566
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2567
|
-
options:
|
|
2568
|
-
|
|
2569
|
-
| BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>,
|
|
2570
|
-
callback: BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>
|
|
2571
|
-
): void;
|
|
2572
|
-
fetchHistory(
|
|
2573
|
-
params: Params$Resource$Projects$Locations$Repositories$Fetchhistory,
|
|
2574
|
-
callback: BodyResponseCallback<Schema$FetchRepositoryHistoryResponse>
|
|
2760
|
+
getIamPolicy(
|
|
2761
|
+
params: Params$Resource$Projects$Locations$Repositories$Getiampolicy,
|
|
2762
|
+
options: MethodOptions | BodyResponseCallback<Schema$Policy>,
|
|
2763
|
+
callback: BodyResponseCallback<Schema$Policy>
|
|
2575
2764
|
): void;
|
|
2576
|
-
|
|
2577
|
-
|
|
2765
|
+
getIamPolicy(
|
|
2766
|
+
params: Params$Resource$Projects$Locations$Repositories$Getiampolicy,
|
|
2767
|
+
callback: BodyResponseCallback<Schema$Policy>
|
|
2578
2768
|
): void;
|
|
2579
|
-
|
|
2769
|
+
getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2770
|
+
getIamPolicy(
|
|
2580
2771
|
paramsOrCallback?:
|
|
2581
|
-
| Params$Resource$Projects$Locations$Repositories$
|
|
2582
|
-
| BodyResponseCallback<Schema$
|
|
2772
|
+
| Params$Resource$Projects$Locations$Repositories$Getiampolicy
|
|
2773
|
+
| BodyResponseCallback<Schema$Policy>
|
|
2583
2774
|
| BodyResponseCallback<Readable>,
|
|
2584
2775
|
optionsOrCallback?:
|
|
2585
2776
|
| MethodOptions
|
|
2586
2777
|
| StreamMethodOptions
|
|
2587
|
-
| BodyResponseCallback<Schema$
|
|
2778
|
+
| BodyResponseCallback<Schema$Policy>
|
|
2588
2779
|
| BodyResponseCallback<Readable>,
|
|
2589
2780
|
callback?:
|
|
2590
|
-
| BodyResponseCallback<Schema$
|
|
2781
|
+
| BodyResponseCallback<Schema$Policy>
|
|
2591
2782
|
| BodyResponseCallback<Readable>
|
|
2592
|
-
):
|
|
2593
|
-
| void
|
|
2594
|
-
| GaxiosPromise<Schema$FetchRepositoryHistoryResponse>
|
|
2595
|
-
| GaxiosPromise<Readable> {
|
|
2783
|
+
): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
|
|
2596
2784
|
let params = (paramsOrCallback ||
|
|
2597
|
-
{}) as Params$Resource$Projects$Locations$Repositories$
|
|
2785
|
+
{}) as Params$Resource$Projects$Locations$Repositories$Getiampolicy;
|
|
2598
2786
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2599
2787
|
|
|
2600
2788
|
if (typeof paramsOrCallback === 'function') {
|
|
2601
2789
|
callback = paramsOrCallback;
|
|
2602
2790
|
params =
|
|
2603
|
-
{} as Params$Resource$Projects$Locations$Repositories$
|
|
2791
|
+
{} as Params$Resource$Projects$Locations$Repositories$Getiampolicy;
|
|
2604
2792
|
options = {};
|
|
2605
2793
|
}
|
|
2606
2794
|
|
|
@@ -2613,7 +2801,7 @@ export namespace dataform_v1beta1 {
|
|
|
2613
2801
|
const parameters = {
|
|
2614
2802
|
options: Object.assign(
|
|
2615
2803
|
{
|
|
2616
|
-
url: (rootUrl + '/v1beta1/{+
|
|
2804
|
+
url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(
|
|
2617
2805
|
/([^:]\/)\/+/g,
|
|
2618
2806
|
'$1'
|
|
2619
2807
|
),
|
|
@@ -2623,82 +2811,77 @@ export namespace dataform_v1beta1 {
|
|
|
2623
2811
|
options
|
|
2624
2812
|
),
|
|
2625
2813
|
params,
|
|
2626
|
-
requiredParams: ['
|
|
2627
|
-
pathParams: ['
|
|
2814
|
+
requiredParams: ['resource'],
|
|
2815
|
+
pathParams: ['resource'],
|
|
2628
2816
|
context: this.context,
|
|
2629
2817
|
};
|
|
2630
2818
|
if (callback) {
|
|
2631
|
-
createAPIRequest<Schema$
|
|
2819
|
+
createAPIRequest<Schema$Policy>(
|
|
2632
2820
|
parameters,
|
|
2633
2821
|
callback as BodyResponseCallback<unknown>
|
|
2634
2822
|
);
|
|
2635
2823
|
} else {
|
|
2636
|
-
return createAPIRequest<Schema$
|
|
2637
|
-
parameters
|
|
2638
|
-
);
|
|
2824
|
+
return createAPIRequest<Schema$Policy>(parameters);
|
|
2639
2825
|
}
|
|
2640
2826
|
}
|
|
2641
2827
|
|
|
2642
2828
|
/**
|
|
2643
|
-
*
|
|
2829
|
+
* Lists Repositories in a given project and location.
|
|
2644
2830
|
*
|
|
2645
2831
|
* @param params - Parameters for request
|
|
2646
2832
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2647
2833
|
* @param callback - Optional callback that handles the response.
|
|
2648
2834
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2649
2835
|
*/
|
|
2650
|
-
|
|
2651
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2836
|
+
list(
|
|
2837
|
+
params: Params$Resource$Projects$Locations$Repositories$List,
|
|
2652
2838
|
options: StreamMethodOptions
|
|
2653
2839
|
): GaxiosPromise<Readable>;
|
|
2654
|
-
|
|
2655
|
-
params?: Params$Resource$Projects$Locations$Repositories$
|
|
2656
|
-
options?: MethodOptions
|
|
2657
|
-
): GaxiosPromise<Schema$
|
|
2658
|
-
|
|
2659
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2840
|
+
list(
|
|
2841
|
+
params?: Params$Resource$Projects$Locations$Repositories$List,
|
|
2842
|
+
options?: MethodOptions
|
|
2843
|
+
): GaxiosPromise<Schema$ListRepositoriesResponse>;
|
|
2844
|
+
list(
|
|
2845
|
+
params: Params$Resource$Projects$Locations$Repositories$List,
|
|
2660
2846
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2661
2847
|
callback: BodyResponseCallback<Readable>
|
|
2662
2848
|
): void;
|
|
2663
|
-
|
|
2664
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2849
|
+
list(
|
|
2850
|
+
params: Params$Resource$Projects$Locations$Repositories$List,
|
|
2665
2851
|
options:
|
|
2666
2852
|
| MethodOptions
|
|
2667
|
-
| BodyResponseCallback<Schema$
|
|
2668
|
-
callback: BodyResponseCallback<Schema$
|
|
2669
|
-
): void;
|
|
2670
|
-
fetchRemoteBranches(
|
|
2671
|
-
params: Params$Resource$Projects$Locations$Repositories$Fetchremotebranches,
|
|
2672
|
-
callback: BodyResponseCallback<Schema$FetchRemoteBranchesResponse>
|
|
2853
|
+
| BodyResponseCallback<Schema$ListRepositoriesResponse>,
|
|
2854
|
+
callback: BodyResponseCallback<Schema$ListRepositoriesResponse>
|
|
2673
2855
|
): void;
|
|
2674
|
-
|
|
2675
|
-
|
|
2856
|
+
list(
|
|
2857
|
+
params: Params$Resource$Projects$Locations$Repositories$List,
|
|
2858
|
+
callback: BodyResponseCallback<Schema$ListRepositoriesResponse>
|
|
2676
2859
|
): void;
|
|
2677
|
-
|
|
2860
|
+
list(callback: BodyResponseCallback<Schema$ListRepositoriesResponse>): void;
|
|
2861
|
+
list(
|
|
2678
2862
|
paramsOrCallback?:
|
|
2679
|
-
| Params$Resource$Projects$Locations$Repositories$
|
|
2680
|
-
| BodyResponseCallback<Schema$
|
|
2863
|
+
| Params$Resource$Projects$Locations$Repositories$List
|
|
2864
|
+
| BodyResponseCallback<Schema$ListRepositoriesResponse>
|
|
2681
2865
|
| BodyResponseCallback<Readable>,
|
|
2682
2866
|
optionsOrCallback?:
|
|
2683
2867
|
| MethodOptions
|
|
2684
2868
|
| StreamMethodOptions
|
|
2685
|
-
| BodyResponseCallback<Schema$
|
|
2869
|
+
| BodyResponseCallback<Schema$ListRepositoriesResponse>
|
|
2686
2870
|
| BodyResponseCallback<Readable>,
|
|
2687
2871
|
callback?:
|
|
2688
|
-
| BodyResponseCallback<Schema$
|
|
2872
|
+
| BodyResponseCallback<Schema$ListRepositoriesResponse>
|
|
2689
2873
|
| BodyResponseCallback<Readable>
|
|
2690
2874
|
):
|
|
2691
2875
|
| void
|
|
2692
|
-
| GaxiosPromise<Schema$
|
|
2876
|
+
| GaxiosPromise<Schema$ListRepositoriesResponse>
|
|
2693
2877
|
| GaxiosPromise<Readable> {
|
|
2694
2878
|
let params = (paramsOrCallback ||
|
|
2695
|
-
{}) as Params$Resource$Projects$Locations$Repositories$
|
|
2879
|
+
{}) as Params$Resource$Projects$Locations$Repositories$List;
|
|
2696
2880
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2697
2881
|
|
|
2698
2882
|
if (typeof paramsOrCallback === 'function') {
|
|
2699
2883
|
callback = paramsOrCallback;
|
|
2700
|
-
params =
|
|
2701
|
-
{} as Params$Resource$Projects$Locations$Repositories$Fetchremotebranches;
|
|
2884
|
+
params = {} as Params$Resource$Projects$Locations$Repositories$List;
|
|
2702
2885
|
options = {};
|
|
2703
2886
|
}
|
|
2704
2887
|
|
|
@@ -2711,7 +2894,7 @@ export namespace dataform_v1beta1 {
|
|
|
2711
2894
|
const parameters = {
|
|
2712
2895
|
options: Object.assign(
|
|
2713
2896
|
{
|
|
2714
|
-
url: (rootUrl + '/v1beta1/{+
|
|
2897
|
+
url: (rootUrl + '/v1beta1/{+parent}/repositories').replace(
|
|
2715
2898
|
/([^:]\/)\/+/g,
|
|
2716
2899
|
'$1'
|
|
2717
2900
|
),
|
|
@@ -2721,54 +2904,54 @@ export namespace dataform_v1beta1 {
|
|
|
2721
2904
|
options
|
|
2722
2905
|
),
|
|
2723
2906
|
params,
|
|
2724
|
-
requiredParams: ['
|
|
2725
|
-
pathParams: ['
|
|
2907
|
+
requiredParams: ['parent'],
|
|
2908
|
+
pathParams: ['parent'],
|
|
2726
2909
|
context: this.context,
|
|
2727
2910
|
};
|
|
2728
2911
|
if (callback) {
|
|
2729
|
-
createAPIRequest<Schema$
|
|
2912
|
+
createAPIRequest<Schema$ListRepositoriesResponse>(
|
|
2730
2913
|
parameters,
|
|
2731
2914
|
callback as BodyResponseCallback<unknown>
|
|
2732
2915
|
);
|
|
2733
2916
|
} else {
|
|
2734
|
-
return createAPIRequest<Schema$
|
|
2917
|
+
return createAPIRequest<Schema$ListRepositoriesResponse>(parameters);
|
|
2735
2918
|
}
|
|
2736
2919
|
}
|
|
2737
2920
|
|
|
2738
2921
|
/**
|
|
2739
|
-
*
|
|
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
|
|
2740
2923
|
*
|
|
2741
2924
|
* @param params - Parameters for request
|
|
2742
2925
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2743
2926
|
* @param callback - Optional callback that handles the response.
|
|
2744
2927
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2745
2928
|
*/
|
|
2746
|
-
|
|
2747
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2929
|
+
patch(
|
|
2930
|
+
params: Params$Resource$Projects$Locations$Repositories$Patch,
|
|
2748
2931
|
options: StreamMethodOptions
|
|
2749
2932
|
): GaxiosPromise<Readable>;
|
|
2750
|
-
|
|
2751
|
-
params?: Params$Resource$Projects$Locations$Repositories$
|
|
2933
|
+
patch(
|
|
2934
|
+
params?: Params$Resource$Projects$Locations$Repositories$Patch,
|
|
2752
2935
|
options?: MethodOptions
|
|
2753
2936
|
): GaxiosPromise<Schema$Repository>;
|
|
2754
|
-
|
|
2755
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2937
|
+
patch(
|
|
2938
|
+
params: Params$Resource$Projects$Locations$Repositories$Patch,
|
|
2756
2939
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2757
2940
|
callback: BodyResponseCallback<Readable>
|
|
2758
2941
|
): void;
|
|
2759
|
-
|
|
2760
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2942
|
+
patch(
|
|
2943
|
+
params: Params$Resource$Projects$Locations$Repositories$Patch,
|
|
2761
2944
|
options: MethodOptions | BodyResponseCallback<Schema$Repository>,
|
|
2762
2945
|
callback: BodyResponseCallback<Schema$Repository>
|
|
2763
2946
|
): void;
|
|
2764
|
-
|
|
2765
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2947
|
+
patch(
|
|
2948
|
+
params: Params$Resource$Projects$Locations$Repositories$Patch,
|
|
2766
2949
|
callback: BodyResponseCallback<Schema$Repository>
|
|
2767
2950
|
): void;
|
|
2768
|
-
|
|
2769
|
-
|
|
2951
|
+
patch(callback: BodyResponseCallback<Schema$Repository>): void;
|
|
2952
|
+
patch(
|
|
2770
2953
|
paramsOrCallback?:
|
|
2771
|
-
| Params$Resource$Projects$Locations$Repositories$
|
|
2954
|
+
| Params$Resource$Projects$Locations$Repositories$Patch
|
|
2772
2955
|
| BodyResponseCallback<Schema$Repository>
|
|
2773
2956
|
| BodyResponseCallback<Readable>,
|
|
2774
2957
|
optionsOrCallback?:
|
|
@@ -2781,12 +2964,12 @@ export namespace dataform_v1beta1 {
|
|
|
2781
2964
|
| BodyResponseCallback<Readable>
|
|
2782
2965
|
): void | GaxiosPromise<Schema$Repository> | GaxiosPromise<Readable> {
|
|
2783
2966
|
let params = (paramsOrCallback ||
|
|
2784
|
-
{}) as Params$Resource$Projects$Locations$Repositories$
|
|
2967
|
+
{}) as Params$Resource$Projects$Locations$Repositories$Patch;
|
|
2785
2968
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2786
2969
|
|
|
2787
2970
|
if (typeof paramsOrCallback === 'function') {
|
|
2788
2971
|
callback = paramsOrCallback;
|
|
2789
|
-
params = {} as Params$Resource$Projects$Locations$Repositories$
|
|
2972
|
+
params = {} as Params$Resource$Projects$Locations$Repositories$Patch;
|
|
2790
2973
|
options = {};
|
|
2791
2974
|
}
|
|
2792
2975
|
|
|
@@ -2800,7 +2983,7 @@ export namespace dataform_v1beta1 {
|
|
|
2800
2983
|
options: Object.assign(
|
|
2801
2984
|
{
|
|
2802
2985
|
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2803
|
-
method: '
|
|
2986
|
+
method: 'PATCH',
|
|
2804
2987
|
apiVersion: '',
|
|
2805
2988
|
},
|
|
2806
2989
|
options
|
|
@@ -2821,58 +3004,65 @@ export namespace dataform_v1beta1 {
|
|
|
2821
3004
|
}
|
|
2822
3005
|
|
|
2823
3006
|
/**
|
|
2824
|
-
*
|
|
3007
|
+
* Returns the contents of a given Repository directory. The Repository must not have a value for `git_remote_settings.url`.
|
|
2825
3008
|
*
|
|
2826
3009
|
* @param params - Parameters for request
|
|
2827
3010
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2828
3011
|
* @param callback - Optional callback that handles the response.
|
|
2829
3012
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2830
3013
|
*/
|
|
2831
|
-
|
|
2832
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
3014
|
+
queryDirectoryContents(
|
|
3015
|
+
params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents,
|
|
2833
3016
|
options: StreamMethodOptions
|
|
2834
3017
|
): GaxiosPromise<Readable>;
|
|
2835
|
-
|
|
2836
|
-
params?: Params$Resource$Projects$Locations$Repositories$
|
|
3018
|
+
queryDirectoryContents(
|
|
3019
|
+
params?: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents,
|
|
2837
3020
|
options?: MethodOptions
|
|
2838
|
-
): GaxiosPromise<Schema$
|
|
2839
|
-
|
|
2840
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
3021
|
+
): GaxiosPromise<Schema$QueryRepositoryDirectoryContentsResponse>;
|
|
3022
|
+
queryDirectoryContents(
|
|
3023
|
+
params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents,
|
|
2841
3024
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2842
3025
|
callback: BodyResponseCallback<Readable>
|
|
2843
3026
|
): void;
|
|
2844
|
-
|
|
2845
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2846
|
-
options:
|
|
2847
|
-
|
|
3027
|
+
queryDirectoryContents(
|
|
3028
|
+
params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents,
|
|
3029
|
+
options:
|
|
3030
|
+
| MethodOptions
|
|
3031
|
+
| BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>,
|
|
3032
|
+
callback: BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>
|
|
2848
3033
|
): void;
|
|
2849
|
-
|
|
2850
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2851
|
-
callback: BodyResponseCallback<Schema$
|
|
3034
|
+
queryDirectoryContents(
|
|
3035
|
+
params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents,
|
|
3036
|
+
callback: BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>
|
|
2852
3037
|
): void;
|
|
2853
|
-
|
|
2854
|
-
|
|
3038
|
+
queryDirectoryContents(
|
|
3039
|
+
callback: BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>
|
|
3040
|
+
): void;
|
|
3041
|
+
queryDirectoryContents(
|
|
2855
3042
|
paramsOrCallback?:
|
|
2856
|
-
| Params$Resource$Projects$Locations$Repositories$
|
|
2857
|
-
| BodyResponseCallback<Schema$
|
|
3043
|
+
| Params$Resource$Projects$Locations$Repositories$Querydirectorycontents
|
|
3044
|
+
| BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>
|
|
2858
3045
|
| BodyResponseCallback<Readable>,
|
|
2859
3046
|
optionsOrCallback?:
|
|
2860
3047
|
| MethodOptions
|
|
2861
3048
|
| StreamMethodOptions
|
|
2862
|
-
| BodyResponseCallback<Schema$
|
|
3049
|
+
| BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>
|
|
2863
3050
|
| BodyResponseCallback<Readable>,
|
|
2864
3051
|
callback?:
|
|
2865
|
-
| BodyResponseCallback<Schema$
|
|
3052
|
+
| BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>
|
|
2866
3053
|
| BodyResponseCallback<Readable>
|
|
2867
|
-
):
|
|
3054
|
+
):
|
|
3055
|
+
| void
|
|
3056
|
+
| GaxiosPromise<Schema$QueryRepositoryDirectoryContentsResponse>
|
|
3057
|
+
| GaxiosPromise<Readable> {
|
|
2868
3058
|
let params = (paramsOrCallback ||
|
|
2869
|
-
{}) as Params$Resource$Projects$Locations$Repositories$
|
|
3059
|
+
{}) as Params$Resource$Projects$Locations$Repositories$Querydirectorycontents;
|
|
2870
3060
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2871
3061
|
|
|
2872
3062
|
if (typeof paramsOrCallback === 'function') {
|
|
2873
3063
|
callback = paramsOrCallback;
|
|
2874
3064
|
params =
|
|
2875
|
-
{} as Params$Resource$Projects$Locations$Repositories$
|
|
3065
|
+
{} as Params$Resource$Projects$Locations$Repositories$Querydirectorycontents;
|
|
2876
3066
|
options = {};
|
|
2877
3067
|
}
|
|
2878
3068
|
|
|
@@ -2885,7 +3075,7 @@ export namespace dataform_v1beta1 {
|
|
|
2885
3075
|
const parameters = {
|
|
2886
3076
|
options: Object.assign(
|
|
2887
3077
|
{
|
|
2888
|
-
url: (rootUrl + '/v1beta1/{+
|
|
3078
|
+
url: (rootUrl + '/v1beta1/{+name}:queryDirectoryContents').replace(
|
|
2889
3079
|
/([^:]\/)\/+/g,
|
|
2890
3080
|
'$1'
|
|
2891
3081
|
),
|
|
@@ -2895,77 +3085,81 @@ export namespace dataform_v1beta1 {
|
|
|
2895
3085
|
options
|
|
2896
3086
|
),
|
|
2897
3087
|
params,
|
|
2898
|
-
requiredParams: ['
|
|
2899
|
-
pathParams: ['
|
|
3088
|
+
requiredParams: ['name'],
|
|
3089
|
+
pathParams: ['name'],
|
|
2900
3090
|
context: this.context,
|
|
2901
3091
|
};
|
|
2902
3092
|
if (callback) {
|
|
2903
|
-
createAPIRequest<Schema$
|
|
3093
|
+
createAPIRequest<Schema$QueryRepositoryDirectoryContentsResponse>(
|
|
2904
3094
|
parameters,
|
|
2905
3095
|
callback as BodyResponseCallback<unknown>
|
|
2906
3096
|
);
|
|
2907
3097
|
} else {
|
|
2908
|
-
return createAPIRequest<Schema$
|
|
3098
|
+
return createAPIRequest<Schema$QueryRepositoryDirectoryContentsResponse>(
|
|
3099
|
+
parameters
|
|
3100
|
+
);
|
|
2909
3101
|
}
|
|
2910
3102
|
}
|
|
2911
3103
|
|
|
2912
3104
|
/**
|
|
2913
|
-
*
|
|
3105
|
+
* Returns the contents of a file (inside a Repository). The Repository must not have a value for `git_remote_settings.url`.
|
|
2914
3106
|
*
|
|
2915
3107
|
* @param params - Parameters for request
|
|
2916
3108
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2917
3109
|
* @param callback - Optional callback that handles the response.
|
|
2918
3110
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2919
3111
|
*/
|
|
2920
|
-
|
|
2921
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
3112
|
+
readFile(
|
|
3113
|
+
params: Params$Resource$Projects$Locations$Repositories$Readfile,
|
|
2922
3114
|
options: StreamMethodOptions
|
|
2923
3115
|
): GaxiosPromise<Readable>;
|
|
2924
|
-
|
|
2925
|
-
params?: Params$Resource$Projects$Locations$Repositories$
|
|
3116
|
+
readFile(
|
|
3117
|
+
params?: Params$Resource$Projects$Locations$Repositories$Readfile,
|
|
2926
3118
|
options?: MethodOptions
|
|
2927
|
-
): GaxiosPromise<Schema$
|
|
2928
|
-
|
|
2929
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
3119
|
+
): GaxiosPromise<Schema$ReadRepositoryFileResponse>;
|
|
3120
|
+
readFile(
|
|
3121
|
+
params: Params$Resource$Projects$Locations$Repositories$Readfile,
|
|
2930
3122
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2931
3123
|
callback: BodyResponseCallback<Readable>
|
|
2932
3124
|
): void;
|
|
2933
|
-
|
|
2934
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
3125
|
+
readFile(
|
|
3126
|
+
params: Params$Resource$Projects$Locations$Repositories$Readfile,
|
|
2935
3127
|
options:
|
|
2936
3128
|
| MethodOptions
|
|
2937
|
-
| BodyResponseCallback<Schema$
|
|
2938
|
-
callback: BodyResponseCallback<Schema$
|
|
3129
|
+
| BodyResponseCallback<Schema$ReadRepositoryFileResponse>,
|
|
3130
|
+
callback: BodyResponseCallback<Schema$ReadRepositoryFileResponse>
|
|
2939
3131
|
): void;
|
|
2940
|
-
|
|
2941
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
2942
|
-
callback: BodyResponseCallback<Schema$
|
|
3132
|
+
readFile(
|
|
3133
|
+
params: Params$Resource$Projects$Locations$Repositories$Readfile,
|
|
3134
|
+
callback: BodyResponseCallback<Schema$ReadRepositoryFileResponse>
|
|
2943
3135
|
): void;
|
|
2944
|
-
|
|
2945
|
-
|
|
3136
|
+
readFile(
|
|
3137
|
+
callback: BodyResponseCallback<Schema$ReadRepositoryFileResponse>
|
|
3138
|
+
): void;
|
|
3139
|
+
readFile(
|
|
2946
3140
|
paramsOrCallback?:
|
|
2947
|
-
| Params$Resource$Projects$Locations$Repositories$
|
|
2948
|
-
| BodyResponseCallback<Schema$
|
|
3141
|
+
| Params$Resource$Projects$Locations$Repositories$Readfile
|
|
3142
|
+
| BodyResponseCallback<Schema$ReadRepositoryFileResponse>
|
|
2949
3143
|
| BodyResponseCallback<Readable>,
|
|
2950
3144
|
optionsOrCallback?:
|
|
2951
3145
|
| MethodOptions
|
|
2952
3146
|
| StreamMethodOptions
|
|
2953
|
-
| BodyResponseCallback<Schema$
|
|
3147
|
+
| BodyResponseCallback<Schema$ReadRepositoryFileResponse>
|
|
2954
3148
|
| BodyResponseCallback<Readable>,
|
|
2955
3149
|
callback?:
|
|
2956
|
-
| BodyResponseCallback<Schema$
|
|
3150
|
+
| BodyResponseCallback<Schema$ReadRepositoryFileResponse>
|
|
2957
3151
|
| BodyResponseCallback<Readable>
|
|
2958
3152
|
):
|
|
2959
3153
|
| void
|
|
2960
|
-
| GaxiosPromise<Schema$
|
|
3154
|
+
| GaxiosPromise<Schema$ReadRepositoryFileResponse>
|
|
2961
3155
|
| GaxiosPromise<Readable> {
|
|
2962
3156
|
let params = (paramsOrCallback ||
|
|
2963
|
-
{}) as Params$Resource$Projects$Locations$Repositories$
|
|
3157
|
+
{}) as Params$Resource$Projects$Locations$Repositories$Readfile;
|
|
2964
3158
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2965
3159
|
|
|
2966
3160
|
if (typeof paramsOrCallback === 'function') {
|
|
2967
3161
|
callback = paramsOrCallback;
|
|
2968
|
-
params = {} as Params$Resource$Projects$Locations$Repositories$
|
|
3162
|
+
params = {} as Params$Resource$Projects$Locations$Repositories$Readfile;
|
|
2969
3163
|
options = {};
|
|
2970
3164
|
}
|
|
2971
3165
|
|
|
@@ -2978,7 +3172,7 @@ export namespace dataform_v1beta1 {
|
|
|
2978
3172
|
const parameters = {
|
|
2979
3173
|
options: Object.assign(
|
|
2980
3174
|
{
|
|
2981
|
-
url: (rootUrl + '/v1beta1/{+
|
|
3175
|
+
url: (rootUrl + '/v1beta1/{+name}:readFile').replace(
|
|
2982
3176
|
/([^:]\/)\/+/g,
|
|
2983
3177
|
'$1'
|
|
2984
3178
|
),
|
|
@@ -2988,945 +3182,73 @@ export namespace dataform_v1beta1 {
|
|
|
2988
3182
|
options
|
|
2989
3183
|
),
|
|
2990
3184
|
params,
|
|
2991
|
-
requiredParams: ['
|
|
2992
|
-
pathParams: ['
|
|
3185
|
+
requiredParams: ['name'],
|
|
3186
|
+
pathParams: ['name'],
|
|
2993
3187
|
context: this.context,
|
|
2994
3188
|
};
|
|
2995
3189
|
if (callback) {
|
|
2996
|
-
createAPIRequest<Schema$
|
|
3190
|
+
createAPIRequest<Schema$ReadRepositoryFileResponse>(
|
|
2997
3191
|
parameters,
|
|
2998
3192
|
callback as BodyResponseCallback<unknown>
|
|
2999
3193
|
);
|
|
3000
3194
|
} else {
|
|
3001
|
-
return createAPIRequest<Schema$
|
|
3195
|
+
return createAPIRequest<Schema$ReadRepositoryFileResponse>(parameters);
|
|
3002
3196
|
}
|
|
3003
3197
|
}
|
|
3004
3198
|
|
|
3005
3199
|
/**
|
|
3006
|
-
*
|
|
3200
|
+
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
3007
3201
|
*
|
|
3008
3202
|
* @param params - Parameters for request
|
|
3009
3203
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3010
3204
|
* @param callback - Optional callback that handles the response.
|
|
3011
3205
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3012
3206
|
*/
|
|
3013
|
-
|
|
3014
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
3207
|
+
setIamPolicy(
|
|
3208
|
+
params: Params$Resource$Projects$Locations$Repositories$Setiampolicy,
|
|
3015
3209
|
options: StreamMethodOptions
|
|
3016
3210
|
): GaxiosPromise<Readable>;
|
|
3017
|
-
|
|
3018
|
-
params?: Params$Resource$Projects$Locations$Repositories$
|
|
3211
|
+
setIamPolicy(
|
|
3212
|
+
params?: Params$Resource$Projects$Locations$Repositories$Setiampolicy,
|
|
3019
3213
|
options?: MethodOptions
|
|
3020
|
-
): GaxiosPromise<Schema$
|
|
3021
|
-
|
|
3022
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
3214
|
+
): GaxiosPromise<Schema$Policy>;
|
|
3215
|
+
setIamPolicy(
|
|
3216
|
+
params: Params$Resource$Projects$Locations$Repositories$Setiampolicy,
|
|
3023
3217
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3024
3218
|
callback: BodyResponseCallback<Readable>
|
|
3025
3219
|
): void;
|
|
3026
|
-
|
|
3027
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
3028
|
-
options: MethodOptions | BodyResponseCallback<Schema$
|
|
3029
|
-
callback: BodyResponseCallback<Schema$
|
|
3220
|
+
setIamPolicy(
|
|
3221
|
+
params: Params$Resource$Projects$Locations$Repositories$Setiampolicy,
|
|
3222
|
+
options: MethodOptions | BodyResponseCallback<Schema$Policy>,
|
|
3223
|
+
callback: BodyResponseCallback<Schema$Policy>
|
|
3030
3224
|
): void;
|
|
3031
|
-
|
|
3032
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
3033
|
-
callback: BodyResponseCallback<Schema$
|
|
3225
|
+
setIamPolicy(
|
|
3226
|
+
params: Params$Resource$Projects$Locations$Repositories$Setiampolicy,
|
|
3227
|
+
callback: BodyResponseCallback<Schema$Policy>
|
|
3034
3228
|
): void;
|
|
3035
|
-
|
|
3036
|
-
|
|
3229
|
+
setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3230
|
+
setIamPolicy(
|
|
3037
3231
|
paramsOrCallback?:
|
|
3038
|
-
| Params$Resource$Projects$Locations$Repositories$
|
|
3039
|
-
| BodyResponseCallback<Schema$
|
|
3232
|
+
| Params$Resource$Projects$Locations$Repositories$Setiampolicy
|
|
3233
|
+
| BodyResponseCallback<Schema$Policy>
|
|
3040
3234
|
| BodyResponseCallback<Readable>,
|
|
3041
3235
|
optionsOrCallback?:
|
|
3042
3236
|
| MethodOptions
|
|
3043
3237
|
| StreamMethodOptions
|
|
3044
|
-
| BodyResponseCallback<Schema$
|
|
3238
|
+
| BodyResponseCallback<Schema$Policy>
|
|
3045
3239
|
| BodyResponseCallback<Readable>,
|
|
3046
3240
|
callback?:
|
|
3047
|
-
| BodyResponseCallback<Schema$
|
|
3048
|
-
| BodyResponseCallback<Readable>
|
|
3049
|
-
): void | GaxiosPromise<Schema$Repository> | GaxiosPromise<Readable> {
|
|
3050
|
-
let params = (paramsOrCallback ||
|
|
3051
|
-
{}) as Params$Resource$Projects$Locations$Repositories$Patch;
|
|
3052
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3053
|
-
|
|
3054
|
-
if (typeof paramsOrCallback === 'function') {
|
|
3055
|
-
callback = paramsOrCallback;
|
|
3056
|
-
params = {} as Params$Resource$Projects$Locations$Repositories$Patch;
|
|
3057
|
-
options = {};
|
|
3058
|
-
}
|
|
3059
|
-
|
|
3060
|
-
if (typeof optionsOrCallback === 'function') {
|
|
3061
|
-
callback = optionsOrCallback;
|
|
3062
|
-
options = {};
|
|
3063
|
-
}
|
|
3064
|
-
|
|
3065
|
-
const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
|
|
3066
|
-
const parameters = {
|
|
3067
|
-
options: Object.assign(
|
|
3068
|
-
{
|
|
3069
|
-
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3070
|
-
method: 'PATCH',
|
|
3071
|
-
apiVersion: '',
|
|
3072
|
-
},
|
|
3073
|
-
options
|
|
3074
|
-
),
|
|
3075
|
-
params,
|
|
3076
|
-
requiredParams: ['name'],
|
|
3077
|
-
pathParams: ['name'],
|
|
3078
|
-
context: this.context,
|
|
3079
|
-
};
|
|
3080
|
-
if (callback) {
|
|
3081
|
-
createAPIRequest<Schema$Repository>(
|
|
3082
|
-
parameters,
|
|
3083
|
-
callback as BodyResponseCallback<unknown>
|
|
3084
|
-
);
|
|
3085
|
-
} else {
|
|
3086
|
-
return createAPIRequest<Schema$Repository>(parameters);
|
|
3087
|
-
}
|
|
3088
|
-
}
|
|
3089
|
-
|
|
3090
|
-
/**
|
|
3091
|
-
* Returns the contents of a given Repository directory. The Repository must not have a value for `git_remote_settings.url`.
|
|
3092
|
-
*
|
|
3093
|
-
* @param params - Parameters for request
|
|
3094
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3095
|
-
* @param callback - Optional callback that handles the response.
|
|
3096
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3097
|
-
*/
|
|
3098
|
-
queryDirectoryContents(
|
|
3099
|
-
params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents,
|
|
3100
|
-
options: StreamMethodOptions
|
|
3101
|
-
): GaxiosPromise<Readable>;
|
|
3102
|
-
queryDirectoryContents(
|
|
3103
|
-
params?: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents,
|
|
3104
|
-
options?: MethodOptions
|
|
3105
|
-
): GaxiosPromise<Schema$QueryRepositoryDirectoryContentsResponse>;
|
|
3106
|
-
queryDirectoryContents(
|
|
3107
|
-
params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents,
|
|
3108
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3109
|
-
callback: BodyResponseCallback<Readable>
|
|
3110
|
-
): void;
|
|
3111
|
-
queryDirectoryContents(
|
|
3112
|
-
params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents,
|
|
3113
|
-
options:
|
|
3114
|
-
| MethodOptions
|
|
3115
|
-
| BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>,
|
|
3116
|
-
callback: BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>
|
|
3117
|
-
): void;
|
|
3118
|
-
queryDirectoryContents(
|
|
3119
|
-
params: Params$Resource$Projects$Locations$Repositories$Querydirectorycontents,
|
|
3120
|
-
callback: BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>
|
|
3121
|
-
): void;
|
|
3122
|
-
queryDirectoryContents(
|
|
3123
|
-
callback: BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>
|
|
3124
|
-
): void;
|
|
3125
|
-
queryDirectoryContents(
|
|
3126
|
-
paramsOrCallback?:
|
|
3127
|
-
| Params$Resource$Projects$Locations$Repositories$Querydirectorycontents
|
|
3128
|
-
| BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>
|
|
3129
|
-
| BodyResponseCallback<Readable>,
|
|
3130
|
-
optionsOrCallback?:
|
|
3131
|
-
| MethodOptions
|
|
3132
|
-
| StreamMethodOptions
|
|
3133
|
-
| BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>
|
|
3134
|
-
| BodyResponseCallback<Readable>,
|
|
3135
|
-
callback?:
|
|
3136
|
-
| BodyResponseCallback<Schema$QueryRepositoryDirectoryContentsResponse>
|
|
3137
|
-
| BodyResponseCallback<Readable>
|
|
3138
|
-
):
|
|
3139
|
-
| void
|
|
3140
|
-
| GaxiosPromise<Schema$QueryRepositoryDirectoryContentsResponse>
|
|
3141
|
-
| GaxiosPromise<Readable> {
|
|
3142
|
-
let params = (paramsOrCallback ||
|
|
3143
|
-
{}) as Params$Resource$Projects$Locations$Repositories$Querydirectorycontents;
|
|
3144
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3145
|
-
|
|
3146
|
-
if (typeof paramsOrCallback === 'function') {
|
|
3147
|
-
callback = paramsOrCallback;
|
|
3148
|
-
params =
|
|
3149
|
-
{} as Params$Resource$Projects$Locations$Repositories$Querydirectorycontents;
|
|
3150
|
-
options = {};
|
|
3151
|
-
}
|
|
3152
|
-
|
|
3153
|
-
if (typeof optionsOrCallback === 'function') {
|
|
3154
|
-
callback = optionsOrCallback;
|
|
3155
|
-
options = {};
|
|
3156
|
-
}
|
|
3157
|
-
|
|
3158
|
-
const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
|
|
3159
|
-
const parameters = {
|
|
3160
|
-
options: Object.assign(
|
|
3161
|
-
{
|
|
3162
|
-
url: (rootUrl + '/v1beta1/{+name}:queryDirectoryContents').replace(
|
|
3163
|
-
/([^:]\/)\/+/g,
|
|
3164
|
-
'$1'
|
|
3165
|
-
),
|
|
3166
|
-
method: 'GET',
|
|
3167
|
-
apiVersion: '',
|
|
3168
|
-
},
|
|
3169
|
-
options
|
|
3170
|
-
),
|
|
3171
|
-
params,
|
|
3172
|
-
requiredParams: ['name'],
|
|
3173
|
-
pathParams: ['name'],
|
|
3174
|
-
context: this.context,
|
|
3175
|
-
};
|
|
3176
|
-
if (callback) {
|
|
3177
|
-
createAPIRequest<Schema$QueryRepositoryDirectoryContentsResponse>(
|
|
3178
|
-
parameters,
|
|
3179
|
-
callback as BodyResponseCallback<unknown>
|
|
3180
|
-
);
|
|
3181
|
-
} else {
|
|
3182
|
-
return createAPIRequest<Schema$QueryRepositoryDirectoryContentsResponse>(
|
|
3183
|
-
parameters
|
|
3184
|
-
);
|
|
3185
|
-
}
|
|
3186
|
-
}
|
|
3187
|
-
|
|
3188
|
-
/**
|
|
3189
|
-
* Returns the contents of a file (inside a Repository). The Repository must not have a value for `git_remote_settings.url`.
|
|
3190
|
-
*
|
|
3191
|
-
* @param params - Parameters for request
|
|
3192
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3193
|
-
* @param callback - Optional callback that handles the response.
|
|
3194
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3195
|
-
*/
|
|
3196
|
-
readFile(
|
|
3197
|
-
params: Params$Resource$Projects$Locations$Repositories$Readfile,
|
|
3198
|
-
options: StreamMethodOptions
|
|
3199
|
-
): GaxiosPromise<Readable>;
|
|
3200
|
-
readFile(
|
|
3201
|
-
params?: Params$Resource$Projects$Locations$Repositories$Readfile,
|
|
3202
|
-
options?: MethodOptions
|
|
3203
|
-
): GaxiosPromise<Schema$ReadRepositoryFileResponse>;
|
|
3204
|
-
readFile(
|
|
3205
|
-
params: Params$Resource$Projects$Locations$Repositories$Readfile,
|
|
3206
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3207
|
-
callback: BodyResponseCallback<Readable>
|
|
3208
|
-
): void;
|
|
3209
|
-
readFile(
|
|
3210
|
-
params: Params$Resource$Projects$Locations$Repositories$Readfile,
|
|
3211
|
-
options:
|
|
3212
|
-
| MethodOptions
|
|
3213
|
-
| BodyResponseCallback<Schema$ReadRepositoryFileResponse>,
|
|
3214
|
-
callback: BodyResponseCallback<Schema$ReadRepositoryFileResponse>
|
|
3215
|
-
): void;
|
|
3216
|
-
readFile(
|
|
3217
|
-
params: Params$Resource$Projects$Locations$Repositories$Readfile,
|
|
3218
|
-
callback: BodyResponseCallback<Schema$ReadRepositoryFileResponse>
|
|
3219
|
-
): void;
|
|
3220
|
-
readFile(
|
|
3221
|
-
callback: BodyResponseCallback<Schema$ReadRepositoryFileResponse>
|
|
3222
|
-
): void;
|
|
3223
|
-
readFile(
|
|
3224
|
-
paramsOrCallback?:
|
|
3225
|
-
| Params$Resource$Projects$Locations$Repositories$Readfile
|
|
3226
|
-
| BodyResponseCallback<Schema$ReadRepositoryFileResponse>
|
|
3227
|
-
| BodyResponseCallback<Readable>,
|
|
3228
|
-
optionsOrCallback?:
|
|
3229
|
-
| MethodOptions
|
|
3230
|
-
| StreamMethodOptions
|
|
3231
|
-
| BodyResponseCallback<Schema$ReadRepositoryFileResponse>
|
|
3232
|
-
| BodyResponseCallback<Readable>,
|
|
3233
|
-
callback?:
|
|
3234
|
-
| BodyResponseCallback<Schema$ReadRepositoryFileResponse>
|
|
3235
|
-
| BodyResponseCallback<Readable>
|
|
3236
|
-
):
|
|
3237
|
-
| void
|
|
3238
|
-
| GaxiosPromise<Schema$ReadRepositoryFileResponse>
|
|
3239
|
-
| GaxiosPromise<Readable> {
|
|
3240
|
-
let params = (paramsOrCallback ||
|
|
3241
|
-
{}) as Params$Resource$Projects$Locations$Repositories$Readfile;
|
|
3242
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3243
|
-
|
|
3244
|
-
if (typeof paramsOrCallback === 'function') {
|
|
3245
|
-
callback = paramsOrCallback;
|
|
3246
|
-
params = {} as Params$Resource$Projects$Locations$Repositories$Readfile;
|
|
3247
|
-
options = {};
|
|
3248
|
-
}
|
|
3249
|
-
|
|
3250
|
-
if (typeof optionsOrCallback === 'function') {
|
|
3251
|
-
callback = optionsOrCallback;
|
|
3252
|
-
options = {};
|
|
3253
|
-
}
|
|
3254
|
-
|
|
3255
|
-
const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
|
|
3256
|
-
const parameters = {
|
|
3257
|
-
options: Object.assign(
|
|
3258
|
-
{
|
|
3259
|
-
url: (rootUrl + '/v1beta1/{+name}:readFile').replace(
|
|
3260
|
-
/([^:]\/)\/+/g,
|
|
3261
|
-
'$1'
|
|
3262
|
-
),
|
|
3263
|
-
method: 'GET',
|
|
3264
|
-
apiVersion: '',
|
|
3265
|
-
},
|
|
3266
|
-
options
|
|
3267
|
-
),
|
|
3268
|
-
params,
|
|
3269
|
-
requiredParams: ['name'],
|
|
3270
|
-
pathParams: ['name'],
|
|
3271
|
-
context: this.context,
|
|
3272
|
-
};
|
|
3273
|
-
if (callback) {
|
|
3274
|
-
createAPIRequest<Schema$ReadRepositoryFileResponse>(
|
|
3275
|
-
parameters,
|
|
3276
|
-
callback as BodyResponseCallback<unknown>
|
|
3277
|
-
);
|
|
3278
|
-
} else {
|
|
3279
|
-
return createAPIRequest<Schema$ReadRepositoryFileResponse>(parameters);
|
|
3280
|
-
}
|
|
3281
|
-
}
|
|
3282
|
-
|
|
3283
|
-
/**
|
|
3284
|
-
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
3285
|
-
*
|
|
3286
|
-
* @param params - Parameters for request
|
|
3287
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3288
|
-
* @param callback - Optional callback that handles the response.
|
|
3289
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3290
|
-
*/
|
|
3291
|
-
setIamPolicy(
|
|
3292
|
-
params: Params$Resource$Projects$Locations$Repositories$Setiampolicy,
|
|
3293
|
-
options: StreamMethodOptions
|
|
3294
|
-
): GaxiosPromise<Readable>;
|
|
3295
|
-
setIamPolicy(
|
|
3296
|
-
params?: Params$Resource$Projects$Locations$Repositories$Setiampolicy,
|
|
3297
|
-
options?: MethodOptions
|
|
3298
|
-
): GaxiosPromise<Schema$Policy>;
|
|
3299
|
-
setIamPolicy(
|
|
3300
|
-
params: Params$Resource$Projects$Locations$Repositories$Setiampolicy,
|
|
3301
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3302
|
-
callback: BodyResponseCallback<Readable>
|
|
3303
|
-
): void;
|
|
3304
|
-
setIamPolicy(
|
|
3305
|
-
params: Params$Resource$Projects$Locations$Repositories$Setiampolicy,
|
|
3306
|
-
options: MethodOptions | BodyResponseCallback<Schema$Policy>,
|
|
3307
|
-
callback: BodyResponseCallback<Schema$Policy>
|
|
3308
|
-
): void;
|
|
3309
|
-
setIamPolicy(
|
|
3310
|
-
params: Params$Resource$Projects$Locations$Repositories$Setiampolicy,
|
|
3311
|
-
callback: BodyResponseCallback<Schema$Policy>
|
|
3312
|
-
): void;
|
|
3313
|
-
setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3314
|
-
setIamPolicy(
|
|
3315
|
-
paramsOrCallback?:
|
|
3316
|
-
| Params$Resource$Projects$Locations$Repositories$Setiampolicy
|
|
3317
|
-
| BodyResponseCallback<Schema$Policy>
|
|
3318
|
-
| BodyResponseCallback<Readable>,
|
|
3319
|
-
optionsOrCallback?:
|
|
3320
|
-
| MethodOptions
|
|
3321
|
-
| StreamMethodOptions
|
|
3322
|
-
| BodyResponseCallback<Schema$Policy>
|
|
3323
|
-
| BodyResponseCallback<Readable>,
|
|
3324
|
-
callback?:
|
|
3325
|
-
| BodyResponseCallback<Schema$Policy>
|
|
3326
|
-
| BodyResponseCallback<Readable>
|
|
3327
|
-
): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
|
|
3328
|
-
let params = (paramsOrCallback ||
|
|
3329
|
-
{}) as Params$Resource$Projects$Locations$Repositories$Setiampolicy;
|
|
3330
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3331
|
-
|
|
3332
|
-
if (typeof paramsOrCallback === 'function') {
|
|
3333
|
-
callback = paramsOrCallback;
|
|
3334
|
-
params =
|
|
3335
|
-
{} as Params$Resource$Projects$Locations$Repositories$Setiampolicy;
|
|
3336
|
-
options = {};
|
|
3337
|
-
}
|
|
3338
|
-
|
|
3339
|
-
if (typeof optionsOrCallback === 'function') {
|
|
3340
|
-
callback = optionsOrCallback;
|
|
3341
|
-
options = {};
|
|
3342
|
-
}
|
|
3343
|
-
|
|
3344
|
-
const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
|
|
3345
|
-
const parameters = {
|
|
3346
|
-
options: Object.assign(
|
|
3347
|
-
{
|
|
3348
|
-
url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(
|
|
3349
|
-
/([^:]\/)\/+/g,
|
|
3350
|
-
'$1'
|
|
3351
|
-
),
|
|
3352
|
-
method: 'POST',
|
|
3353
|
-
apiVersion: '',
|
|
3354
|
-
},
|
|
3355
|
-
options
|
|
3356
|
-
),
|
|
3357
|
-
params,
|
|
3358
|
-
requiredParams: ['resource'],
|
|
3359
|
-
pathParams: ['resource'],
|
|
3360
|
-
context: this.context,
|
|
3361
|
-
};
|
|
3362
|
-
if (callback) {
|
|
3363
|
-
createAPIRequest<Schema$Policy>(
|
|
3364
|
-
parameters,
|
|
3365
|
-
callback as BodyResponseCallback<unknown>
|
|
3366
|
-
);
|
|
3367
|
-
} else {
|
|
3368
|
-
return createAPIRequest<Schema$Policy>(parameters);
|
|
3369
|
-
}
|
|
3370
|
-
}
|
|
3371
|
-
|
|
3372
|
-
/**
|
|
3373
|
-
* 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.
|
|
3374
|
-
*
|
|
3375
|
-
* @param params - Parameters for request
|
|
3376
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3377
|
-
* @param callback - Optional callback that handles the response.
|
|
3378
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3379
|
-
*/
|
|
3380
|
-
testIamPermissions(
|
|
3381
|
-
params: Params$Resource$Projects$Locations$Repositories$Testiampermissions,
|
|
3382
|
-
options: StreamMethodOptions
|
|
3383
|
-
): GaxiosPromise<Readable>;
|
|
3384
|
-
testIamPermissions(
|
|
3385
|
-
params?: Params$Resource$Projects$Locations$Repositories$Testiampermissions,
|
|
3386
|
-
options?: MethodOptions
|
|
3387
|
-
): GaxiosPromise<Schema$TestIamPermissionsResponse>;
|
|
3388
|
-
testIamPermissions(
|
|
3389
|
-
params: Params$Resource$Projects$Locations$Repositories$Testiampermissions,
|
|
3390
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3391
|
-
callback: BodyResponseCallback<Readable>
|
|
3392
|
-
): void;
|
|
3393
|
-
testIamPermissions(
|
|
3394
|
-
params: Params$Resource$Projects$Locations$Repositories$Testiampermissions,
|
|
3395
|
-
options:
|
|
3396
|
-
| MethodOptions
|
|
3397
|
-
| BodyResponseCallback<Schema$TestIamPermissionsResponse>,
|
|
3398
|
-
callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
3399
|
-
): void;
|
|
3400
|
-
testIamPermissions(
|
|
3401
|
-
params: Params$Resource$Projects$Locations$Repositories$Testiampermissions,
|
|
3402
|
-
callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
3403
|
-
): void;
|
|
3404
|
-
testIamPermissions(
|
|
3405
|
-
callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
3406
|
-
): void;
|
|
3407
|
-
testIamPermissions(
|
|
3408
|
-
paramsOrCallback?:
|
|
3409
|
-
| Params$Resource$Projects$Locations$Repositories$Testiampermissions
|
|
3410
|
-
| BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
3411
|
-
| BodyResponseCallback<Readable>,
|
|
3412
|
-
optionsOrCallback?:
|
|
3413
|
-
| MethodOptions
|
|
3414
|
-
| StreamMethodOptions
|
|
3415
|
-
| BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
3416
|
-
| BodyResponseCallback<Readable>,
|
|
3417
|
-
callback?:
|
|
3418
|
-
| BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
3419
|
-
| BodyResponseCallback<Readable>
|
|
3420
|
-
):
|
|
3421
|
-
| void
|
|
3422
|
-
| GaxiosPromise<Schema$TestIamPermissionsResponse>
|
|
3423
|
-
| GaxiosPromise<Readable> {
|
|
3424
|
-
let params = (paramsOrCallback ||
|
|
3425
|
-
{}) as Params$Resource$Projects$Locations$Repositories$Testiampermissions;
|
|
3426
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3427
|
-
|
|
3428
|
-
if (typeof paramsOrCallback === 'function') {
|
|
3429
|
-
callback = paramsOrCallback;
|
|
3430
|
-
params =
|
|
3431
|
-
{} as Params$Resource$Projects$Locations$Repositories$Testiampermissions;
|
|
3432
|
-
options = {};
|
|
3433
|
-
}
|
|
3434
|
-
|
|
3435
|
-
if (typeof optionsOrCallback === 'function') {
|
|
3436
|
-
callback = optionsOrCallback;
|
|
3437
|
-
options = {};
|
|
3438
|
-
}
|
|
3439
|
-
|
|
3440
|
-
const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
|
|
3441
|
-
const parameters = {
|
|
3442
|
-
options: Object.assign(
|
|
3443
|
-
{
|
|
3444
|
-
url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(
|
|
3445
|
-
/([^:]\/)\/+/g,
|
|
3446
|
-
'$1'
|
|
3447
|
-
),
|
|
3448
|
-
method: 'POST',
|
|
3449
|
-
apiVersion: '',
|
|
3450
|
-
},
|
|
3451
|
-
options
|
|
3452
|
-
),
|
|
3453
|
-
params,
|
|
3454
|
-
requiredParams: ['resource'],
|
|
3455
|
-
pathParams: ['resource'],
|
|
3456
|
-
context: this.context,
|
|
3457
|
-
};
|
|
3458
|
-
if (callback) {
|
|
3459
|
-
createAPIRequest<Schema$TestIamPermissionsResponse>(
|
|
3460
|
-
parameters,
|
|
3461
|
-
callback as BodyResponseCallback<unknown>
|
|
3462
|
-
);
|
|
3463
|
-
} else {
|
|
3464
|
-
return createAPIRequest<Schema$TestIamPermissionsResponse>(parameters);
|
|
3465
|
-
}
|
|
3466
|
-
}
|
|
3467
|
-
}
|
|
3468
|
-
|
|
3469
|
-
export interface Params$Resource$Projects$Locations$Repositories$Commit
|
|
3470
|
-
extends StandardParameters {
|
|
3471
|
-
/**
|
|
3472
|
-
* Required. The repository's name.
|
|
3473
|
-
*/
|
|
3474
|
-
name?: string;
|
|
3475
|
-
|
|
3476
|
-
/**
|
|
3477
|
-
* Request body metadata
|
|
3478
|
-
*/
|
|
3479
|
-
requestBody?: Schema$CommitRepositoryChangesRequest;
|
|
3480
|
-
}
|
|
3481
|
-
export interface Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus
|
|
3482
|
-
extends StandardParameters {
|
|
3483
|
-
/**
|
|
3484
|
-
* Required. The repository's name.
|
|
3485
|
-
*/
|
|
3486
|
-
name?: string;
|
|
3487
|
-
}
|
|
3488
|
-
export interface Params$Resource$Projects$Locations$Repositories$Create
|
|
3489
|
-
extends StandardParameters {
|
|
3490
|
-
/**
|
|
3491
|
-
* Required. The location in which to create the repository. Must be in the format `projects/x/locations/x`.
|
|
3492
|
-
*/
|
|
3493
|
-
parent?: string;
|
|
3494
|
-
/**
|
|
3495
|
-
* Required. The ID to use for the repository, which will become the final component of the repository's resource name.
|
|
3496
|
-
*/
|
|
3497
|
-
repositoryId?: string;
|
|
3498
|
-
|
|
3499
|
-
/**
|
|
3500
|
-
* Request body metadata
|
|
3501
|
-
*/
|
|
3502
|
-
requestBody?: Schema$Repository;
|
|
3503
|
-
}
|
|
3504
|
-
export interface Params$Resource$Projects$Locations$Repositories$Delete
|
|
3505
|
-
extends StandardParameters {
|
|
3506
|
-
/**
|
|
3507
|
-
* If set to true, any child resources of this repository will also be deleted. (Otherwise, the request will only succeed if the repository has no child resources.)
|
|
3508
|
-
*/
|
|
3509
|
-
force?: boolean;
|
|
3510
|
-
/**
|
|
3511
|
-
* Required. The repository's name.
|
|
3512
|
-
*/
|
|
3513
|
-
name?: string;
|
|
3514
|
-
}
|
|
3515
|
-
export interface Params$Resource$Projects$Locations$Repositories$Fetchhistory
|
|
3516
|
-
extends StandardParameters {
|
|
3517
|
-
/**
|
|
3518
|
-
* Required. The repository's name.
|
|
3519
|
-
*/
|
|
3520
|
-
name?: string;
|
|
3521
|
-
/**
|
|
3522
|
-
* Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
|
|
3523
|
-
*/
|
|
3524
|
-
pageSize?: number;
|
|
3525
|
-
/**
|
|
3526
|
-
* 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.
|
|
3527
|
-
*/
|
|
3528
|
-
pageToken?: string;
|
|
3529
|
-
}
|
|
3530
|
-
export interface Params$Resource$Projects$Locations$Repositories$Fetchremotebranches
|
|
3531
|
-
extends StandardParameters {
|
|
3532
|
-
/**
|
|
3533
|
-
* Required. The repository's name.
|
|
3534
|
-
*/
|
|
3535
|
-
name?: string;
|
|
3536
|
-
}
|
|
3537
|
-
export interface Params$Resource$Projects$Locations$Repositories$Get
|
|
3538
|
-
extends StandardParameters {
|
|
3539
|
-
/**
|
|
3540
|
-
* Required. The repository's name.
|
|
3541
|
-
*/
|
|
3542
|
-
name?: string;
|
|
3543
|
-
}
|
|
3544
|
-
export interface Params$Resource$Projects$Locations$Repositories$Getiampolicy
|
|
3545
|
-
extends StandardParameters {
|
|
3546
|
-
/**
|
|
3547
|
-
* 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).
|
|
3548
|
-
*/
|
|
3549
|
-
'options.requestedPolicyVersion'?: number;
|
|
3550
|
-
/**
|
|
3551
|
-
* 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.
|
|
3552
|
-
*/
|
|
3553
|
-
resource?: string;
|
|
3554
|
-
}
|
|
3555
|
-
export interface Params$Resource$Projects$Locations$Repositories$List
|
|
3556
|
-
extends StandardParameters {
|
|
3557
|
-
/**
|
|
3558
|
-
* Optional. Filter for the returned list.
|
|
3559
|
-
*/
|
|
3560
|
-
filter?: string;
|
|
3561
|
-
/**
|
|
3562
|
-
* Optional. This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.
|
|
3563
|
-
*/
|
|
3564
|
-
orderBy?: string;
|
|
3565
|
-
/**
|
|
3566
|
-
* Optional. Maximum number of repositories to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
|
|
3567
|
-
*/
|
|
3568
|
-
pageSize?: number;
|
|
3569
|
-
/**
|
|
3570
|
-
* 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.
|
|
3571
|
-
*/
|
|
3572
|
-
pageToken?: string;
|
|
3573
|
-
/**
|
|
3574
|
-
* Required. The location in which to list repositories. Must be in the format `projects/x/locations/x`.
|
|
3575
|
-
*/
|
|
3576
|
-
parent?: string;
|
|
3577
|
-
}
|
|
3578
|
-
export interface Params$Resource$Projects$Locations$Repositories$Patch
|
|
3579
|
-
extends StandardParameters {
|
|
3580
|
-
/**
|
|
3581
|
-
* Identifier. The repository's name.
|
|
3582
|
-
*/
|
|
3583
|
-
name?: string;
|
|
3584
|
-
/**
|
|
3585
|
-
* Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated.
|
|
3586
|
-
*/
|
|
3587
|
-
updateMask?: string;
|
|
3588
|
-
|
|
3589
|
-
/**
|
|
3590
|
-
* Request body metadata
|
|
3591
|
-
*/
|
|
3592
|
-
requestBody?: Schema$Repository;
|
|
3593
|
-
}
|
|
3594
|
-
export interface Params$Resource$Projects$Locations$Repositories$Querydirectorycontents
|
|
3595
|
-
extends StandardParameters {
|
|
3596
|
-
/**
|
|
3597
|
-
* Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.
|
|
3598
|
-
*/
|
|
3599
|
-
commitSha?: string;
|
|
3600
|
-
/**
|
|
3601
|
-
* Required. The repository's name.
|
|
3602
|
-
*/
|
|
3603
|
-
name?: string;
|
|
3604
|
-
/**
|
|
3605
|
-
* Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
|
|
3606
|
-
*/
|
|
3607
|
-
pageSize?: number;
|
|
3608
|
-
/**
|
|
3609
|
-
* 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.
|
|
3610
|
-
*/
|
|
3611
|
-
pageToken?: string;
|
|
3612
|
-
/**
|
|
3613
|
-
* Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.
|
|
3614
|
-
*/
|
|
3615
|
-
path?: string;
|
|
3616
|
-
}
|
|
3617
|
-
export interface Params$Resource$Projects$Locations$Repositories$Readfile
|
|
3618
|
-
extends StandardParameters {
|
|
3619
|
-
/**
|
|
3620
|
-
* Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.
|
|
3621
|
-
*/
|
|
3622
|
-
commitSha?: string;
|
|
3623
|
-
/**
|
|
3624
|
-
* Required. The repository's name.
|
|
3625
|
-
*/
|
|
3626
|
-
name?: string;
|
|
3627
|
-
/**
|
|
3628
|
-
* Required. Full file path to read including filename, from repository root.
|
|
3629
|
-
*/
|
|
3630
|
-
path?: string;
|
|
3631
|
-
}
|
|
3632
|
-
export interface Params$Resource$Projects$Locations$Repositories$Setiampolicy
|
|
3633
|
-
extends StandardParameters {
|
|
3634
|
-
/**
|
|
3635
|
-
* 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.
|
|
3636
|
-
*/
|
|
3637
|
-
resource?: string;
|
|
3638
|
-
|
|
3639
|
-
/**
|
|
3640
|
-
* Request body metadata
|
|
3641
|
-
*/
|
|
3642
|
-
requestBody?: Schema$SetIamPolicyRequest;
|
|
3643
|
-
}
|
|
3644
|
-
export interface Params$Resource$Projects$Locations$Repositories$Testiampermissions
|
|
3645
|
-
extends StandardParameters {
|
|
3646
|
-
/**
|
|
3647
|
-
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
3648
|
-
*/
|
|
3649
|
-
resource?: string;
|
|
3650
|
-
|
|
3651
|
-
/**
|
|
3652
|
-
* Request body metadata
|
|
3653
|
-
*/
|
|
3654
|
-
requestBody?: Schema$TestIamPermissionsRequest;
|
|
3655
|
-
}
|
|
3656
|
-
|
|
3657
|
-
export class Resource$Projects$Locations$Repositories$Commentthreads {
|
|
3658
|
-
context: APIRequestContext;
|
|
3659
|
-
comments: Resource$Projects$Locations$Repositories$Commentthreads$Comments;
|
|
3660
|
-
constructor(context: APIRequestContext) {
|
|
3661
|
-
this.context = context;
|
|
3662
|
-
this.comments =
|
|
3663
|
-
new Resource$Projects$Locations$Repositories$Commentthreads$Comments(
|
|
3664
|
-
this.context
|
|
3665
|
-
);
|
|
3666
|
-
}
|
|
3667
|
-
|
|
3668
|
-
/**
|
|
3669
|
-
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
3670
|
-
*
|
|
3671
|
-
* @param params - Parameters for request
|
|
3672
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3673
|
-
* @param callback - Optional callback that handles the response.
|
|
3674
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3675
|
-
*/
|
|
3676
|
-
getIamPolicy(
|
|
3677
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy,
|
|
3678
|
-
options: StreamMethodOptions
|
|
3679
|
-
): GaxiosPromise<Readable>;
|
|
3680
|
-
getIamPolicy(
|
|
3681
|
-
params?: Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy,
|
|
3682
|
-
options?: MethodOptions
|
|
3683
|
-
): GaxiosPromise<Schema$Policy>;
|
|
3684
|
-
getIamPolicy(
|
|
3685
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy,
|
|
3686
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3687
|
-
callback: BodyResponseCallback<Readable>
|
|
3688
|
-
): void;
|
|
3689
|
-
getIamPolicy(
|
|
3690
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy,
|
|
3691
|
-
options: MethodOptions | BodyResponseCallback<Schema$Policy>,
|
|
3692
|
-
callback: BodyResponseCallback<Schema$Policy>
|
|
3693
|
-
): void;
|
|
3694
|
-
getIamPolicy(
|
|
3695
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy,
|
|
3696
|
-
callback: BodyResponseCallback<Schema$Policy>
|
|
3697
|
-
): void;
|
|
3698
|
-
getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3699
|
-
getIamPolicy(
|
|
3700
|
-
paramsOrCallback?:
|
|
3701
|
-
| Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy
|
|
3702
|
-
| BodyResponseCallback<Schema$Policy>
|
|
3703
|
-
| BodyResponseCallback<Readable>,
|
|
3704
|
-
optionsOrCallback?:
|
|
3705
|
-
| MethodOptions
|
|
3706
|
-
| StreamMethodOptions
|
|
3707
|
-
| BodyResponseCallback<Schema$Policy>
|
|
3708
|
-
| BodyResponseCallback<Readable>,
|
|
3709
|
-
callback?:
|
|
3710
|
-
| BodyResponseCallback<Schema$Policy>
|
|
3711
|
-
| BodyResponseCallback<Readable>
|
|
3712
|
-
): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
|
|
3713
|
-
let params = (paramsOrCallback ||
|
|
3714
|
-
{}) as Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy;
|
|
3715
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3716
|
-
|
|
3717
|
-
if (typeof paramsOrCallback === 'function') {
|
|
3718
|
-
callback = paramsOrCallback;
|
|
3719
|
-
params =
|
|
3720
|
-
{} as Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy;
|
|
3721
|
-
options = {};
|
|
3722
|
-
}
|
|
3723
|
-
|
|
3724
|
-
if (typeof optionsOrCallback === 'function') {
|
|
3725
|
-
callback = optionsOrCallback;
|
|
3726
|
-
options = {};
|
|
3727
|
-
}
|
|
3728
|
-
|
|
3729
|
-
const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
|
|
3730
|
-
const parameters = {
|
|
3731
|
-
options: Object.assign(
|
|
3732
|
-
{
|
|
3733
|
-
url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(
|
|
3734
|
-
/([^:]\/)\/+/g,
|
|
3735
|
-
'$1'
|
|
3736
|
-
),
|
|
3737
|
-
method: 'GET',
|
|
3738
|
-
apiVersion: '',
|
|
3739
|
-
},
|
|
3740
|
-
options
|
|
3741
|
-
),
|
|
3742
|
-
params,
|
|
3743
|
-
requiredParams: ['resource'],
|
|
3744
|
-
pathParams: ['resource'],
|
|
3745
|
-
context: this.context,
|
|
3746
|
-
};
|
|
3747
|
-
if (callback) {
|
|
3748
|
-
createAPIRequest<Schema$Policy>(
|
|
3749
|
-
parameters,
|
|
3750
|
-
callback as BodyResponseCallback<unknown>
|
|
3751
|
-
);
|
|
3752
|
-
} else {
|
|
3753
|
-
return createAPIRequest<Schema$Policy>(parameters);
|
|
3754
|
-
}
|
|
3755
|
-
}
|
|
3756
|
-
|
|
3757
|
-
/**
|
|
3758
|
-
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
3759
|
-
*
|
|
3760
|
-
* @param params - Parameters for request
|
|
3761
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3762
|
-
* @param callback - Optional callback that handles the response.
|
|
3763
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3764
|
-
*/
|
|
3765
|
-
setIamPolicy(
|
|
3766
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy,
|
|
3767
|
-
options: StreamMethodOptions
|
|
3768
|
-
): GaxiosPromise<Readable>;
|
|
3769
|
-
setIamPolicy(
|
|
3770
|
-
params?: Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy,
|
|
3771
|
-
options?: MethodOptions
|
|
3772
|
-
): GaxiosPromise<Schema$Policy>;
|
|
3773
|
-
setIamPolicy(
|
|
3774
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy,
|
|
3775
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3776
|
-
callback: BodyResponseCallback<Readable>
|
|
3777
|
-
): void;
|
|
3778
|
-
setIamPolicy(
|
|
3779
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy,
|
|
3780
|
-
options: MethodOptions | BodyResponseCallback<Schema$Policy>,
|
|
3781
|
-
callback: BodyResponseCallback<Schema$Policy>
|
|
3782
|
-
): void;
|
|
3783
|
-
setIamPolicy(
|
|
3784
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy,
|
|
3785
|
-
callback: BodyResponseCallback<Schema$Policy>
|
|
3786
|
-
): void;
|
|
3787
|
-
setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3788
|
-
setIamPolicy(
|
|
3789
|
-
paramsOrCallback?:
|
|
3790
|
-
| Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy
|
|
3791
|
-
| BodyResponseCallback<Schema$Policy>
|
|
3792
|
-
| BodyResponseCallback<Readable>,
|
|
3793
|
-
optionsOrCallback?:
|
|
3794
|
-
| MethodOptions
|
|
3795
|
-
| StreamMethodOptions
|
|
3796
|
-
| BodyResponseCallback<Schema$Policy>
|
|
3797
|
-
| BodyResponseCallback<Readable>,
|
|
3798
|
-
callback?:
|
|
3799
|
-
| BodyResponseCallback<Schema$Policy>
|
|
3800
|
-
| BodyResponseCallback<Readable>
|
|
3801
|
-
): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
|
|
3802
|
-
let params = (paramsOrCallback ||
|
|
3803
|
-
{}) as Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy;
|
|
3804
|
-
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3805
|
-
|
|
3806
|
-
if (typeof paramsOrCallback === 'function') {
|
|
3807
|
-
callback = paramsOrCallback;
|
|
3808
|
-
params =
|
|
3809
|
-
{} as Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy;
|
|
3810
|
-
options = {};
|
|
3811
|
-
}
|
|
3812
|
-
|
|
3813
|
-
if (typeof optionsOrCallback === 'function') {
|
|
3814
|
-
callback = optionsOrCallback;
|
|
3815
|
-
options = {};
|
|
3816
|
-
}
|
|
3817
|
-
|
|
3818
|
-
const rootUrl = options.rootUrl || 'https://dataform.googleapis.com/';
|
|
3819
|
-
const parameters = {
|
|
3820
|
-
options: Object.assign(
|
|
3821
|
-
{
|
|
3822
|
-
url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(
|
|
3823
|
-
/([^:]\/)\/+/g,
|
|
3824
|
-
'$1'
|
|
3825
|
-
),
|
|
3826
|
-
method: 'POST',
|
|
3827
|
-
apiVersion: '',
|
|
3828
|
-
},
|
|
3829
|
-
options
|
|
3830
|
-
),
|
|
3831
|
-
params,
|
|
3832
|
-
requiredParams: ['resource'],
|
|
3833
|
-
pathParams: ['resource'],
|
|
3834
|
-
context: this.context,
|
|
3835
|
-
};
|
|
3836
|
-
if (callback) {
|
|
3837
|
-
createAPIRequest<Schema$Policy>(
|
|
3838
|
-
parameters,
|
|
3839
|
-
callback as BodyResponseCallback<unknown>
|
|
3840
|
-
);
|
|
3841
|
-
} else {
|
|
3842
|
-
return createAPIRequest<Schema$Policy>(parameters);
|
|
3843
|
-
}
|
|
3844
|
-
}
|
|
3845
|
-
}
|
|
3846
|
-
|
|
3847
|
-
export interface Params$Resource$Projects$Locations$Repositories$Commentthreads$Getiampolicy
|
|
3848
|
-
extends StandardParameters {
|
|
3849
|
-
/**
|
|
3850
|
-
* 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).
|
|
3851
|
-
*/
|
|
3852
|
-
'options.requestedPolicyVersion'?: number;
|
|
3853
|
-
/**
|
|
3854
|
-
* 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.
|
|
3855
|
-
*/
|
|
3856
|
-
resource?: string;
|
|
3857
|
-
}
|
|
3858
|
-
export interface Params$Resource$Projects$Locations$Repositories$Commentthreads$Setiampolicy
|
|
3859
|
-
extends StandardParameters {
|
|
3860
|
-
/**
|
|
3861
|
-
* 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.
|
|
3862
|
-
*/
|
|
3863
|
-
resource?: string;
|
|
3864
|
-
|
|
3865
|
-
/**
|
|
3866
|
-
* Request body metadata
|
|
3867
|
-
*/
|
|
3868
|
-
requestBody?: Schema$SetIamPolicyRequest;
|
|
3869
|
-
}
|
|
3870
|
-
|
|
3871
|
-
export class Resource$Projects$Locations$Repositories$Commentthreads$Comments {
|
|
3872
|
-
context: APIRequestContext;
|
|
3873
|
-
constructor(context: APIRequestContext) {
|
|
3874
|
-
this.context = context;
|
|
3875
|
-
}
|
|
3876
|
-
|
|
3877
|
-
/**
|
|
3878
|
-
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
3879
|
-
*
|
|
3880
|
-
* @param params - Parameters for request
|
|
3881
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3882
|
-
* @param callback - Optional callback that handles the response.
|
|
3883
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3884
|
-
*/
|
|
3885
|
-
getIamPolicy(
|
|
3886
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Getiampolicy,
|
|
3887
|
-
options: StreamMethodOptions
|
|
3888
|
-
): GaxiosPromise<Readable>;
|
|
3889
|
-
getIamPolicy(
|
|
3890
|
-
params?: Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Getiampolicy,
|
|
3891
|
-
options?: MethodOptions
|
|
3892
|
-
): GaxiosPromise<Schema$Policy>;
|
|
3893
|
-
getIamPolicy(
|
|
3894
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Getiampolicy,
|
|
3895
|
-
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3896
|
-
callback: BodyResponseCallback<Readable>
|
|
3897
|
-
): void;
|
|
3898
|
-
getIamPolicy(
|
|
3899
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Getiampolicy,
|
|
3900
|
-
options: MethodOptions | BodyResponseCallback<Schema$Policy>,
|
|
3901
|
-
callback: BodyResponseCallback<Schema$Policy>
|
|
3902
|
-
): void;
|
|
3903
|
-
getIamPolicy(
|
|
3904
|
-
params: Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Getiampolicy,
|
|
3905
|
-
callback: BodyResponseCallback<Schema$Policy>
|
|
3906
|
-
): void;
|
|
3907
|
-
getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3908
|
-
getIamPolicy(
|
|
3909
|
-
paramsOrCallback?:
|
|
3910
|
-
| Params$Resource$Projects$Locations$Repositories$Commentthreads$Comments$Getiampolicy
|
|
3911
|
-
| BodyResponseCallback<Schema$Policy>
|
|
3912
|
-
| BodyResponseCallback<Readable>,
|
|
3913
|
-
optionsOrCallback?:
|
|
3914
|
-
| MethodOptions
|
|
3915
|
-
| StreamMethodOptions
|
|
3916
|
-
| BodyResponseCallback<Schema$Policy>
|
|
3917
|
-
| BodyResponseCallback<Readable>,
|
|
3918
|
-
callback?:
|
|
3919
|
-
| BodyResponseCallback<Schema$Policy>
|
|
3241
|
+
| BodyResponseCallback<Schema$Policy>
|
|
3920
3242
|
| BodyResponseCallback<Readable>
|
|
3921
3243
|
): void | GaxiosPromise<Schema$Policy> | GaxiosPromise<Readable> {
|
|
3922
3244
|
let params = (paramsOrCallback ||
|
|
3923
|
-
{}) as Params$Resource$Projects$Locations$Repositories$
|
|
3245
|
+
{}) as Params$Resource$Projects$Locations$Repositories$Setiampolicy;
|
|
3924
3246
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3925
3247
|
|
|
3926
3248
|
if (typeof paramsOrCallback === 'function') {
|
|
3927
3249
|
callback = paramsOrCallback;
|
|
3928
3250
|
params =
|
|
3929
|
-
{} as Params$Resource$Projects$Locations$Repositories$
|
|
3251
|
+
{} as Params$Resource$Projects$Locations$Repositories$Setiampolicy;
|
|
3930
3252
|
options = {};
|
|
3931
3253
|
}
|
|
3932
3254
|
|
|
@@ -3939,11 +3261,11 @@ export namespace dataform_v1beta1 {
|
|
|
3939
3261
|
const parameters = {
|
|
3940
3262
|
options: Object.assign(
|
|
3941
3263
|
{
|
|
3942
|
-
url: (rootUrl + '/v1beta1/{+resource}:
|
|
3264
|
+
url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(
|
|
3943
3265
|
/([^:]\/)\/+/g,
|
|
3944
3266
|
'$1'
|
|
3945
3267
|
),
|
|
3946
|
-
method: '
|
|
3268
|
+
method: 'POST',
|
|
3947
3269
|
apiVersion: '',
|
|
3948
3270
|
},
|
|
3949
3271
|
options
|
|
@@ -3964,58 +3286,65 @@ export namespace dataform_v1beta1 {
|
|
|
3964
3286
|
}
|
|
3965
3287
|
|
|
3966
3288
|
/**
|
|
3967
|
-
*
|
|
3289
|
+
* 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.
|
|
3968
3290
|
*
|
|
3969
3291
|
* @param params - Parameters for request
|
|
3970
3292
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
3971
3293
|
* @param callback - Optional callback that handles the response.
|
|
3972
3294
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3973
3295
|
*/
|
|
3974
|
-
|
|
3975
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
3296
|
+
testIamPermissions(
|
|
3297
|
+
params: Params$Resource$Projects$Locations$Repositories$Testiampermissions,
|
|
3976
3298
|
options: StreamMethodOptions
|
|
3977
3299
|
): GaxiosPromise<Readable>;
|
|
3978
|
-
|
|
3979
|
-
params?: Params$Resource$Projects$Locations$Repositories$
|
|
3300
|
+
testIamPermissions(
|
|
3301
|
+
params?: Params$Resource$Projects$Locations$Repositories$Testiampermissions,
|
|
3980
3302
|
options?: MethodOptions
|
|
3981
|
-
): GaxiosPromise<Schema$
|
|
3982
|
-
|
|
3983
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
3303
|
+
): GaxiosPromise<Schema$TestIamPermissionsResponse>;
|
|
3304
|
+
testIamPermissions(
|
|
3305
|
+
params: Params$Resource$Projects$Locations$Repositories$Testiampermissions,
|
|
3984
3306
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
3985
3307
|
callback: BodyResponseCallback<Readable>
|
|
3986
3308
|
): void;
|
|
3987
|
-
|
|
3988
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
3989
|
-
options:
|
|
3990
|
-
|
|
3309
|
+
testIamPermissions(
|
|
3310
|
+
params: Params$Resource$Projects$Locations$Repositories$Testiampermissions,
|
|
3311
|
+
options:
|
|
3312
|
+
| MethodOptions
|
|
3313
|
+
| BodyResponseCallback<Schema$TestIamPermissionsResponse>,
|
|
3314
|
+
callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
3991
3315
|
): void;
|
|
3992
|
-
|
|
3993
|
-
params: Params$Resource$Projects$Locations$Repositories$
|
|
3994
|
-
callback: BodyResponseCallback<Schema$
|
|
3316
|
+
testIamPermissions(
|
|
3317
|
+
params: Params$Resource$Projects$Locations$Repositories$Testiampermissions,
|
|
3318
|
+
callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
3995
3319
|
): void;
|
|
3996
|
-
|
|
3997
|
-
|
|
3320
|
+
testIamPermissions(
|
|
3321
|
+
callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
3322
|
+
): void;
|
|
3323
|
+
testIamPermissions(
|
|
3998
3324
|
paramsOrCallback?:
|
|
3999
|
-
| Params$Resource$Projects$Locations$Repositories$
|
|
4000
|
-
| BodyResponseCallback<Schema$
|
|
3325
|
+
| Params$Resource$Projects$Locations$Repositories$Testiampermissions
|
|
3326
|
+
| BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
4001
3327
|
| BodyResponseCallback<Readable>,
|
|
4002
3328
|
optionsOrCallback?:
|
|
4003
3329
|
| MethodOptions
|
|
4004
3330
|
| StreamMethodOptions
|
|
4005
|
-
| BodyResponseCallback<Schema$
|
|
3331
|
+
| BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
4006
3332
|
| BodyResponseCallback<Readable>,
|
|
4007
3333
|
callback?:
|
|
4008
|
-
| BodyResponseCallback<Schema$
|
|
3334
|
+
| BodyResponseCallback<Schema$TestIamPermissionsResponse>
|
|
4009
3335
|
| BodyResponseCallback<Readable>
|
|
4010
|
-
):
|
|
3336
|
+
):
|
|
3337
|
+
| void
|
|
3338
|
+
| GaxiosPromise<Schema$TestIamPermissionsResponse>
|
|
3339
|
+
| GaxiosPromise<Readable> {
|
|
4011
3340
|
let params = (paramsOrCallback ||
|
|
4012
|
-
{}) as Params$Resource$Projects$Locations$Repositories$
|
|
3341
|
+
{}) as Params$Resource$Projects$Locations$Repositories$Testiampermissions;
|
|
4013
3342
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
4014
3343
|
|
|
4015
3344
|
if (typeof paramsOrCallback === 'function') {
|
|
4016
3345
|
callback = paramsOrCallback;
|
|
4017
3346
|
params =
|
|
4018
|
-
{} as Params$Resource$Projects$Locations$Repositories$
|
|
3347
|
+
{} as Params$Resource$Projects$Locations$Repositories$Testiampermissions;
|
|
4019
3348
|
options = {};
|
|
4020
3349
|
}
|
|
4021
3350
|
|
|
@@ -4028,7 +3357,7 @@ export namespace dataform_v1beta1 {
|
|
|
4028
3357
|
const parameters = {
|
|
4029
3358
|
options: Object.assign(
|
|
4030
3359
|
{
|
|
4031
|
-
url: (rootUrl + '/v1beta1/{+resource}:
|
|
3360
|
+
url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(
|
|
4032
3361
|
/([^:]\/)\/+/g,
|
|
4033
3362
|
'$1'
|
|
4034
3363
|
),
|
|
@@ -4043,17 +3372,92 @@ export namespace dataform_v1beta1 {
|
|
|
4043
3372
|
context: this.context,
|
|
4044
3373
|
};
|
|
4045
3374
|
if (callback) {
|
|
4046
|
-
createAPIRequest<Schema$
|
|
3375
|
+
createAPIRequest<Schema$TestIamPermissionsResponse>(
|
|
4047
3376
|
parameters,
|
|
4048
3377
|
callback as BodyResponseCallback<unknown>
|
|
4049
3378
|
);
|
|
4050
3379
|
} else {
|
|
4051
|
-
return createAPIRequest<Schema$
|
|
3380
|
+
return createAPIRequest<Schema$TestIamPermissionsResponse>(parameters);
|
|
4052
3381
|
}
|
|
4053
3382
|
}
|
|
4054
3383
|
}
|
|
4055
3384
|
|
|
4056
|
-
export interface Params$Resource$Projects$Locations$Repositories$
|
|
3385
|
+
export interface Params$Resource$Projects$Locations$Repositories$Commit
|
|
3386
|
+
extends StandardParameters {
|
|
3387
|
+
/**
|
|
3388
|
+
* Required. The repository's name.
|
|
3389
|
+
*/
|
|
3390
|
+
name?: string;
|
|
3391
|
+
|
|
3392
|
+
/**
|
|
3393
|
+
* Request body metadata
|
|
3394
|
+
*/
|
|
3395
|
+
requestBody?: Schema$CommitRepositoryChangesRequest;
|
|
3396
|
+
}
|
|
3397
|
+
export interface Params$Resource$Projects$Locations$Repositories$Computeaccesstokenstatus
|
|
3398
|
+
extends StandardParameters {
|
|
3399
|
+
/**
|
|
3400
|
+
* Required. The repository's name.
|
|
3401
|
+
*/
|
|
3402
|
+
name?: string;
|
|
3403
|
+
}
|
|
3404
|
+
export interface Params$Resource$Projects$Locations$Repositories$Create
|
|
3405
|
+
extends StandardParameters {
|
|
3406
|
+
/**
|
|
3407
|
+
* Required. The location in which to create the repository. Must be in the format `projects/x/locations/x`.
|
|
3408
|
+
*/
|
|
3409
|
+
parent?: string;
|
|
3410
|
+
/**
|
|
3411
|
+
* Required. The ID to use for the repository, which will become the final component of the repository's resource name.
|
|
3412
|
+
*/
|
|
3413
|
+
repositoryId?: string;
|
|
3414
|
+
|
|
3415
|
+
/**
|
|
3416
|
+
* Request body metadata
|
|
3417
|
+
*/
|
|
3418
|
+
requestBody?: Schema$Repository;
|
|
3419
|
+
}
|
|
3420
|
+
export interface Params$Resource$Projects$Locations$Repositories$Delete
|
|
3421
|
+
extends StandardParameters {
|
|
3422
|
+
/**
|
|
3423
|
+
* If set to true, any child resources of this repository will also be deleted. (Otherwise, the request will only succeed if the repository has no child resources.)
|
|
3424
|
+
*/
|
|
3425
|
+
force?: boolean;
|
|
3426
|
+
/**
|
|
3427
|
+
* Required. The repository's name.
|
|
3428
|
+
*/
|
|
3429
|
+
name?: string;
|
|
3430
|
+
}
|
|
3431
|
+
export interface Params$Resource$Projects$Locations$Repositories$Fetchhistory
|
|
3432
|
+
extends StandardParameters {
|
|
3433
|
+
/**
|
|
3434
|
+
* Required. The repository's name.
|
|
3435
|
+
*/
|
|
3436
|
+
name?: string;
|
|
3437
|
+
/**
|
|
3438
|
+
* Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
|
|
3439
|
+
*/
|
|
3440
|
+
pageSize?: number;
|
|
3441
|
+
/**
|
|
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.
|
|
3443
|
+
*/
|
|
3444
|
+
pageToken?: string;
|
|
3445
|
+
}
|
|
3446
|
+
export interface Params$Resource$Projects$Locations$Repositories$Fetchremotebranches
|
|
3447
|
+
extends StandardParameters {
|
|
3448
|
+
/**
|
|
3449
|
+
* Required. The repository's name.
|
|
3450
|
+
*/
|
|
3451
|
+
name?: string;
|
|
3452
|
+
}
|
|
3453
|
+
export interface Params$Resource$Projects$Locations$Repositories$Get
|
|
3454
|
+
extends StandardParameters {
|
|
3455
|
+
/**
|
|
3456
|
+
* Required. The repository's name.
|
|
3457
|
+
*/
|
|
3458
|
+
name?: string;
|
|
3459
|
+
}
|
|
3460
|
+
export interface Params$Resource$Projects$Locations$Repositories$Getiampolicy
|
|
4057
3461
|
extends StandardParameters {
|
|
4058
3462
|
/**
|
|
4059
3463
|
* 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).
|
|
@@ -4064,7 +3468,84 @@ export namespace dataform_v1beta1 {
|
|
|
4064
3468
|
*/
|
|
4065
3469
|
resource?: string;
|
|
4066
3470
|
}
|
|
4067
|
-
export interface Params$Resource$Projects$Locations$Repositories$
|
|
3471
|
+
export interface Params$Resource$Projects$Locations$Repositories$List
|
|
3472
|
+
extends StandardParameters {
|
|
3473
|
+
/**
|
|
3474
|
+
* Optional. Filter for the returned list.
|
|
3475
|
+
*/
|
|
3476
|
+
filter?: string;
|
|
3477
|
+
/**
|
|
3478
|
+
* Optional. This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.
|
|
3479
|
+
*/
|
|
3480
|
+
orderBy?: string;
|
|
3481
|
+
/**
|
|
3482
|
+
* Optional. Maximum number of repositories to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
|
|
3483
|
+
*/
|
|
3484
|
+
pageSize?: number;
|
|
3485
|
+
/**
|
|
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.
|
|
3487
|
+
*/
|
|
3488
|
+
pageToken?: string;
|
|
3489
|
+
/**
|
|
3490
|
+
* Required. The location in which to list repositories. Must be in the format `projects/x/locations/x`.
|
|
3491
|
+
*/
|
|
3492
|
+
parent?: string;
|
|
3493
|
+
}
|
|
3494
|
+
export interface Params$Resource$Projects$Locations$Repositories$Patch
|
|
3495
|
+
extends StandardParameters {
|
|
3496
|
+
/**
|
|
3497
|
+
* Identifier. The repository's name.
|
|
3498
|
+
*/
|
|
3499
|
+
name?: string;
|
|
3500
|
+
/**
|
|
3501
|
+
* Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated.
|
|
3502
|
+
*/
|
|
3503
|
+
updateMask?: string;
|
|
3504
|
+
|
|
3505
|
+
/**
|
|
3506
|
+
* Request body metadata
|
|
3507
|
+
*/
|
|
3508
|
+
requestBody?: Schema$Repository;
|
|
3509
|
+
}
|
|
3510
|
+
export interface Params$Resource$Projects$Locations$Repositories$Querydirectorycontents
|
|
3511
|
+
extends StandardParameters {
|
|
3512
|
+
/**
|
|
3513
|
+
* Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.
|
|
3514
|
+
*/
|
|
3515
|
+
commitSha?: string;
|
|
3516
|
+
/**
|
|
3517
|
+
* Required. The repository's name.
|
|
3518
|
+
*/
|
|
3519
|
+
name?: string;
|
|
3520
|
+
/**
|
|
3521
|
+
* Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
|
|
3522
|
+
*/
|
|
3523
|
+
pageSize?: number;
|
|
3524
|
+
/**
|
|
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.
|
|
3526
|
+
*/
|
|
3527
|
+
pageToken?: string;
|
|
3528
|
+
/**
|
|
3529
|
+
* Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.
|
|
3530
|
+
*/
|
|
3531
|
+
path?: string;
|
|
3532
|
+
}
|
|
3533
|
+
export interface Params$Resource$Projects$Locations$Repositories$Readfile
|
|
3534
|
+
extends StandardParameters {
|
|
3535
|
+
/**
|
|
3536
|
+
* Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.
|
|
3537
|
+
*/
|
|
3538
|
+
commitSha?: string;
|
|
3539
|
+
/**
|
|
3540
|
+
* Required. The repository's name.
|
|
3541
|
+
*/
|
|
3542
|
+
name?: string;
|
|
3543
|
+
/**
|
|
3544
|
+
* Required. Full file path to read including filename, from repository root.
|
|
3545
|
+
*/
|
|
3546
|
+
path?: string;
|
|
3547
|
+
}
|
|
3548
|
+
export interface Params$Resource$Projects$Locations$Repositories$Setiampolicy
|
|
4068
3549
|
extends StandardParameters {
|
|
4069
3550
|
/**
|
|
4070
3551
|
* 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.
|
|
@@ -4076,6 +3557,18 @@ export namespace dataform_v1beta1 {
|
|
|
4076
3557
|
*/
|
|
4077
3558
|
requestBody?: Schema$SetIamPolicyRequest;
|
|
4078
3559
|
}
|
|
3560
|
+
export interface Params$Resource$Projects$Locations$Repositories$Testiampermissions
|
|
3561
|
+
extends StandardParameters {
|
|
3562
|
+
/**
|
|
3563
|
+
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
3564
|
+
*/
|
|
3565
|
+
resource?: string;
|
|
3566
|
+
|
|
3567
|
+
/**
|
|
3568
|
+
* Request body metadata
|
|
3569
|
+
*/
|
|
3570
|
+
requestBody?: Schema$TestIamPermissionsRequest;
|
|
3571
|
+
}
|
|
4079
3572
|
|
|
4080
3573
|
export class Resource$Projects$Locations$Repositories$Compilationresults {
|
|
4081
3574
|
context: APIRequestContext;
|
|
@@ -4495,7 +3988,7 @@ export namespace dataform_v1beta1 {
|
|
|
4495
3988
|
*/
|
|
4496
3989
|
pageSize?: number;
|
|
4497
3990
|
/**
|
|
4498
|
-
* 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.
|
|
4499
3992
|
*/
|
|
4500
3993
|
pageToken?: string;
|
|
4501
3994
|
/**
|
|
@@ -4518,7 +4011,7 @@ export namespace dataform_v1beta1 {
|
|
|
4518
4011
|
*/
|
|
4519
4012
|
pageSize?: number;
|
|
4520
4013
|
/**
|
|
4521
|
-
* 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.
|
|
4522
4015
|
*/
|
|
4523
4016
|
pageToken?: string;
|
|
4524
4017
|
}
|
|
@@ -4887,7 +4380,7 @@ export namespace dataform_v1beta1 {
|
|
|
4887
4380
|
}
|
|
4888
4381
|
|
|
4889
4382
|
/**
|
|
4890
|
-
* 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
|
|
4891
4384
|
*
|
|
4892
4385
|
* @param params - Parameters for request
|
|
4893
4386
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5010,7 +4503,7 @@ export namespace dataform_v1beta1 {
|
|
|
5010
4503
|
*/
|
|
5011
4504
|
pageSize?: number;
|
|
5012
4505
|
/**
|
|
5013
|
-
* 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.
|
|
5014
4507
|
*/
|
|
5015
4508
|
pageToken?: string;
|
|
5016
4509
|
/**
|
|
@@ -5399,7 +4892,7 @@ export namespace dataform_v1beta1 {
|
|
|
5399
4892
|
}
|
|
5400
4893
|
|
|
5401
4894
|
/**
|
|
5402
|
-
* 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
|
|
5403
4896
|
*
|
|
5404
4897
|
* @param params - Parameters for request
|
|
5405
4898
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5522,7 +5015,7 @@ export namespace dataform_v1beta1 {
|
|
|
5522
5015
|
*/
|
|
5523
5016
|
pageSize?: number;
|
|
5524
5017
|
/**
|
|
5525
|
-
* 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.
|
|
5526
5019
|
*/
|
|
5527
5020
|
pageToken?: string;
|
|
5528
5021
|
/**
|
|
@@ -6159,7 +5652,7 @@ export namespace dataform_v1beta1 {
|
|
|
6159
5652
|
*/
|
|
6160
5653
|
pageSize?: number;
|
|
6161
5654
|
/**
|
|
6162
|
-
* 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.
|
|
6163
5656
|
*/
|
|
6164
5657
|
pageToken?: string;
|
|
6165
5658
|
/**
|
|
@@ -6178,7 +5671,7 @@ export namespace dataform_v1beta1 {
|
|
|
6178
5671
|
*/
|
|
6179
5672
|
pageSize?: number;
|
|
6180
5673
|
/**
|
|
6181
|
-
* 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.
|
|
6182
5675
|
*/
|
|
6183
5676
|
pageToken?: string;
|
|
6184
5677
|
}
|
|
@@ -8501,7 +7994,7 @@ export namespace dataform_v1beta1 {
|
|
|
8501
7994
|
*/
|
|
8502
7995
|
pageSize?: number;
|
|
8503
7996
|
/**
|
|
8504
|
-
* 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.
|
|
8505
7998
|
*/
|
|
8506
7999
|
pageToken?: string;
|
|
8507
8000
|
/**
|
|
@@ -8576,7 +8069,7 @@ export namespace dataform_v1beta1 {
|
|
|
8576
8069
|
*/
|
|
8577
8070
|
pageSize?: number;
|
|
8578
8071
|
/**
|
|
8579
|
-
* 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.
|
|
8580
8073
|
*/
|
|
8581
8074
|
pageToken?: string;
|
|
8582
8075
|
/**
|
|
@@ -8650,7 +8143,7 @@ export namespace dataform_v1beta1 {
|
|
|
8650
8143
|
*/
|
|
8651
8144
|
pageSize?: number;
|
|
8652
8145
|
/**
|
|
8653
|
-
* 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.
|
|
8654
8147
|
*/
|
|
8655
8148
|
pageToken?: string;
|
|
8656
8149
|
/**
|