@maxim_mazurok/gapi.client.dataplex-v1 0.0.20230516 → 0.0.20230521
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/index.d.ts +24 -2
- package/package.json +1 -1
- package/tests.ts +33 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://dataplex.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230521
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1252,6 +1252,12 @@ declare namespace gapi.client {
|
|
|
1252
1252
|
/** Output only. The time when the job ended. */
|
|
1253
1253
|
endTime?:
|
|
1254
1254
|
string;
|
|
1255
|
+
/** Output only. Spec related to how a task is executed. */
|
|
1256
|
+
executionSpec?:
|
|
1257
|
+
GoogleCloudDataplexV1TaskExecutionSpec;
|
|
1258
|
+
/** Output only. User-defined labels for the task. */
|
|
1259
|
+
labels?:
|
|
1260
|
+
{ [P in string]: string };
|
|
1255
1261
|
/** Output only. Additional information about the current state. */
|
|
1256
1262
|
message?:
|
|
1257
1263
|
string;
|
|
@@ -1273,6 +1279,9 @@ declare namespace gapi.client {
|
|
|
1273
1279
|
/** Output only. Execution state for the job. */
|
|
1274
1280
|
state?:
|
|
1275
1281
|
string;
|
|
1282
|
+
/** Output only. Job execution trigger. */
|
|
1283
|
+
trigger?:
|
|
1284
|
+
string;
|
|
1276
1285
|
/** Output only. System generated globally unique ID for the job. */
|
|
1277
1286
|
uid?:
|
|
1278
1287
|
string;
|
|
@@ -1577,8 +1586,21 @@ declare namespace gapi.client {
|
|
|
1577
1586
|
job?:
|
|
1578
1587
|
GoogleCloudDataplexV1DataScanJob;
|
|
1579
1588
|
}
|
|
1580
|
-
// tslint:disable-next-line:no-empty-interface
|
|
1581
1589
|
interface GoogleCloudDataplexV1RunTaskRequest {
|
|
1590
|
+
/**
|
|
1591
|
+
* Optional. Execution spec arguments. If the map is left empty, the task will run with existing execution spec args from task definition. If the map contains an entry with a new key,
|
|
1592
|
+
* the same will be added to existing set of args. If the map contains an entry with an existing arg key in task definition, the task will run with new arg value for that entry.
|
|
1593
|
+
* Clearing an existing arg will require arg value to be explicitly set to a hyphen "-". The arg value cannot be empty.
|
|
1594
|
+
*/
|
|
1595
|
+
args?:
|
|
1596
|
+
{ [P in string]: string };
|
|
1597
|
+
/**
|
|
1598
|
+
* Optional. User-defined labels for the task. If the map is left empty, the task will run with existing labels from task definition. If the map contains an entry with a new key, the
|
|
1599
|
+
* same will be added to existing set of labels. If the map contains an entry with an existing label key in task definition, the task will run with new label value for that entry.
|
|
1600
|
+
* Clearing an existing label will require label value to be explicitly set to a hyphen "-". The label value cannot be empty.
|
|
1601
|
+
*/
|
|
1602
|
+
labels?:
|
|
1603
|
+
{ [P in string]: string };
|
|
1582
1604
|
}
|
|
1583
1605
|
interface GoogleCloudDataplexV1RunTaskResponse {
|
|
1584
1606
|
/** Jobs created by RunTask API. */
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230521
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -1621,6 +1621,18 @@ gapi.load('client', async () => {
|
|
|
1621
1621
|
executionStatus: {
|
|
1622
1622
|
latestJob: {
|
|
1623
1623
|
endTime: "Test string",
|
|
1624
|
+
executionSpec: {
|
|
1625
|
+
args: {
|
|
1626
|
+
A: "Test string"
|
|
1627
|
+
},
|
|
1628
|
+
kmsKey: "Test string",
|
|
1629
|
+
maxJobExecutionLifetime: "Test string",
|
|
1630
|
+
project: "Test string",
|
|
1631
|
+
serviceAccount: "Test string",
|
|
1632
|
+
},
|
|
1633
|
+
labels: {
|
|
1634
|
+
A: "Test string"
|
|
1635
|
+
},
|
|
1624
1636
|
message: "Test string",
|
|
1625
1637
|
name: "Test string",
|
|
1626
1638
|
retryCount: 42,
|
|
@@ -1628,6 +1640,7 @@ gapi.load('client', async () => {
|
|
|
1628
1640
|
serviceJob: "Test string",
|
|
1629
1641
|
startTime: "Test string",
|
|
1630
1642
|
state: "Test string",
|
|
1643
|
+
trigger: "Test string",
|
|
1631
1644
|
uid: "Test string",
|
|
1632
1645
|
},
|
|
1633
1646
|
updateTime: "Test string",
|
|
@@ -1761,6 +1774,18 @@ gapi.load('client', async () => {
|
|
|
1761
1774
|
executionStatus: {
|
|
1762
1775
|
latestJob: {
|
|
1763
1776
|
endTime: "Test string",
|
|
1777
|
+
executionSpec: {
|
|
1778
|
+
args: {
|
|
1779
|
+
A: "Test string"
|
|
1780
|
+
},
|
|
1781
|
+
kmsKey: "Test string",
|
|
1782
|
+
maxJobExecutionLifetime: "Test string",
|
|
1783
|
+
project: "Test string",
|
|
1784
|
+
serviceAccount: "Test string",
|
|
1785
|
+
},
|
|
1786
|
+
labels: {
|
|
1787
|
+
A: "Test string"
|
|
1788
|
+
},
|
|
1764
1789
|
message: "Test string",
|
|
1765
1790
|
name: "Test string",
|
|
1766
1791
|
retryCount: 42,
|
|
@@ -1768,6 +1793,7 @@ gapi.load('client', async () => {
|
|
|
1768
1793
|
serviceJob: "Test string",
|
|
1769
1794
|
startTime: "Test string",
|
|
1770
1795
|
state: "Test string",
|
|
1796
|
+
trigger: "Test string",
|
|
1771
1797
|
uid: "Test string",
|
|
1772
1798
|
},
|
|
1773
1799
|
updateTime: "Test string",
|
|
@@ -1863,6 +1889,12 @@ gapi.load('client', async () => {
|
|
|
1863
1889
|
await gapi.client.dataplex.projects.locations.lakes.tasks.run({
|
|
1864
1890
|
name: "Test string",
|
|
1865
1891
|
}, {
|
|
1892
|
+
args: {
|
|
1893
|
+
A: "Test string"
|
|
1894
|
+
},
|
|
1895
|
+
labels: {
|
|
1896
|
+
A: "Test string"
|
|
1897
|
+
},
|
|
1866
1898
|
});
|
|
1867
1899
|
/** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
|
|
1868
1900
|
await gapi.client.dataplex.projects.locations.lakes.tasks.setIamPolicy({
|