@maxim_mazurok/gapi.client.dataplex-v1 0.0.20230516 → 0.0.20230530
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 +49 -2
- package/package.json +1 -1
- package/tests.ts +54 -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: 20230530
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -585,6 +585,12 @@ declare namespace gapi.client {
|
|
|
585
585
|
string;
|
|
586
586
|
}
|
|
587
587
|
interface GoogleCloudDataplexV1DataProfileSpec {
|
|
588
|
+
/** Optional. The fields to exclude from data profile.If specified, the fields will be excluded from data profile, regardless of include_fields value. */
|
|
589
|
+
excludeFields?:
|
|
590
|
+
GoogleCloudDataplexV1DataProfileSpecSelectedFields;
|
|
591
|
+
/** Optional. The fields to include in data profile.If not specified, all fields at the time of profile scan job execution are included, except for ones listed in exclude_fields. */
|
|
592
|
+
includeFields?:
|
|
593
|
+
GoogleCloudDataplexV1DataProfileSpecSelectedFields;
|
|
588
594
|
/**
|
|
589
595
|
* Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL syntax. Example: col1 >= 0
|
|
590
596
|
* AND col2 < 10
|
|
@@ -598,6 +604,14 @@ declare namespace gapi.client {
|
|
|
598
604
|
samplingPercent?:
|
|
599
605
|
number;
|
|
600
606
|
}
|
|
607
|
+
interface GoogleCloudDataplexV1DataProfileSpecSelectedFields {
|
|
608
|
+
/**
|
|
609
|
+
* Optional. Expected input is a list of fully qualified names of fields as in the schema.Only top-level field names for nested fields are supported. For instance, if 'x' is of nested
|
|
610
|
+
* field type, listing 'x' is supported but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of 'x'.
|
|
611
|
+
*/
|
|
612
|
+
fieldNames?:
|
|
613
|
+
string[];
|
|
614
|
+
}
|
|
601
615
|
interface GoogleCloudDataplexV1DataQualityDimensionResult {
|
|
602
616
|
/** Whether the dimension passed or failed. */
|
|
603
617
|
passed?:
|
|
@@ -1252,6 +1266,12 @@ declare namespace gapi.client {
|
|
|
1252
1266
|
/** Output only. The time when the job ended. */
|
|
1253
1267
|
endTime?:
|
|
1254
1268
|
string;
|
|
1269
|
+
/** Output only. Spec related to how a task is executed. */
|
|
1270
|
+
executionSpec?:
|
|
1271
|
+
GoogleCloudDataplexV1TaskExecutionSpec;
|
|
1272
|
+
/** Output only. User-defined labels for the task. */
|
|
1273
|
+
labels?:
|
|
1274
|
+
{ [P in string]: string };
|
|
1255
1275
|
/** Output only. Additional information about the current state. */
|
|
1256
1276
|
message?:
|
|
1257
1277
|
string;
|
|
@@ -1273,6 +1293,9 @@ declare namespace gapi.client {
|
|
|
1273
1293
|
/** Output only. Execution state for the job. */
|
|
1274
1294
|
state?:
|
|
1275
1295
|
string;
|
|
1296
|
+
/** Output only. Job execution trigger. */
|
|
1297
|
+
trigger?:
|
|
1298
|
+
string;
|
|
1276
1299
|
/** Output only. System generated globally unique ID for the job. */
|
|
1277
1300
|
uid?:
|
|
1278
1301
|
string;
|
|
@@ -1281,6 +1304,9 @@ declare namespace gapi.client {
|
|
|
1281
1304
|
/** The time when the job ended running. */
|
|
1282
1305
|
endTime?:
|
|
1283
1306
|
string;
|
|
1307
|
+
/** Job execution trigger. */
|
|
1308
|
+
executionTrigger?:
|
|
1309
|
+
string;
|
|
1284
1310
|
/** The unique id identifying the job. */
|
|
1285
1311
|
jobId?:
|
|
1286
1312
|
string;
|
|
@@ -1577,8 +1603,21 @@ declare namespace gapi.client {
|
|
|
1577
1603
|
job?:
|
|
1578
1604
|
GoogleCloudDataplexV1DataScanJob;
|
|
1579
1605
|
}
|
|
1580
|
-
// tslint:disable-next-line:no-empty-interface
|
|
1581
1606
|
interface GoogleCloudDataplexV1RunTaskRequest {
|
|
1607
|
+
/**
|
|
1608
|
+
* 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,
|
|
1609
|
+
* 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.
|
|
1610
|
+
* Clearing an existing arg will require arg value to be explicitly set to a hyphen "-". The arg value cannot be empty.
|
|
1611
|
+
*/
|
|
1612
|
+
args?:
|
|
1613
|
+
{ [P in string]: string };
|
|
1614
|
+
/**
|
|
1615
|
+
* 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
|
|
1616
|
+
* 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.
|
|
1617
|
+
* Clearing an existing label will require label value to be explicitly set to a hyphen "-". The label value cannot be empty.
|
|
1618
|
+
*/
|
|
1619
|
+
labels?:
|
|
1620
|
+
{ [P in string]: string };
|
|
1582
1621
|
}
|
|
1583
1622
|
interface GoogleCloudDataplexV1RunTaskResponse {
|
|
1584
1623
|
/** Jobs created by RunTask API. */
|
|
@@ -2950,6 +2989,14 @@ declare namespace gapi.client {
|
|
|
2950
2989
|
/** Selector specifying which fields to include in a partial response. */
|
|
2951
2990
|
fields?:
|
|
2952
2991
|
string;
|
|
2992
|
+
/**
|
|
2993
|
+
* Optional. An expression for filtering the results of the ListDataScanJobs request.If unspecified, all datascan jobs will be returned. Multiple filters can be applied (with AND,
|
|
2994
|
+
* OR logical operators). Filters are case-sensitive.Allowed fields are: start_time end_timestart_time and end_time expect RFC-3339 formatted strings (e.g.
|
|
2995
|
+
* 2018-10-08T18:30:00-07:00).For instance, 'start_time > 2018-10-08T00:00:00.123456789Z AND end_time < 2018-10-09T00:00:00.123456789Z' limits results to DataScanJobs between
|
|
2996
|
+
* specified start and end times.
|
|
2997
|
+
*/
|
|
2998
|
+
filter?:
|
|
2999
|
+
string;
|
|
2953
3000
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2954
3001
|
key?:
|
|
2955
3002
|
string;
|
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: 20230530
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -285,6 +285,16 @@ gapi.load('client', async () => {
|
|
|
285
285
|
},
|
|
286
286
|
},
|
|
287
287
|
dataProfileSpec: {
|
|
288
|
+
excludeFields: {
|
|
289
|
+
fieldNames: [
|
|
290
|
+
"Test string"
|
|
291
|
+
],
|
|
292
|
+
},
|
|
293
|
+
includeFields: {
|
|
294
|
+
fieldNames: [
|
|
295
|
+
"Test string"
|
|
296
|
+
],
|
|
297
|
+
},
|
|
288
298
|
rowFilter: "Test string",
|
|
289
299
|
samplingPercent: 42,
|
|
290
300
|
},
|
|
@@ -505,6 +515,16 @@ gapi.load('client', async () => {
|
|
|
505
515
|
},
|
|
506
516
|
},
|
|
507
517
|
dataProfileSpec: {
|
|
518
|
+
excludeFields: {
|
|
519
|
+
fieldNames: [
|
|
520
|
+
"Test string"
|
|
521
|
+
],
|
|
522
|
+
},
|
|
523
|
+
includeFields: {
|
|
524
|
+
fieldNames: [
|
|
525
|
+
"Test string"
|
|
526
|
+
],
|
|
527
|
+
},
|
|
508
528
|
rowFilter: "Test string",
|
|
509
529
|
samplingPercent: 42,
|
|
510
530
|
},
|
|
@@ -699,6 +719,7 @@ gapi.load('client', async () => {
|
|
|
699
719
|
});
|
|
700
720
|
/** Lists DataScanJobs under the given DataScan. */
|
|
701
721
|
await gapi.client.dataplex.projects.locations.dataScans.jobs.list({
|
|
722
|
+
filter: "Test string",
|
|
702
723
|
pageSize: 42,
|
|
703
724
|
pageToken: "Test string",
|
|
704
725
|
parent: "Test string",
|
|
@@ -1621,6 +1642,18 @@ gapi.load('client', async () => {
|
|
|
1621
1642
|
executionStatus: {
|
|
1622
1643
|
latestJob: {
|
|
1623
1644
|
endTime: "Test string",
|
|
1645
|
+
executionSpec: {
|
|
1646
|
+
args: {
|
|
1647
|
+
A: "Test string"
|
|
1648
|
+
},
|
|
1649
|
+
kmsKey: "Test string",
|
|
1650
|
+
maxJobExecutionLifetime: "Test string",
|
|
1651
|
+
project: "Test string",
|
|
1652
|
+
serviceAccount: "Test string",
|
|
1653
|
+
},
|
|
1654
|
+
labels: {
|
|
1655
|
+
A: "Test string"
|
|
1656
|
+
},
|
|
1624
1657
|
message: "Test string",
|
|
1625
1658
|
name: "Test string",
|
|
1626
1659
|
retryCount: 42,
|
|
@@ -1628,6 +1661,7 @@ gapi.load('client', async () => {
|
|
|
1628
1661
|
serviceJob: "Test string",
|
|
1629
1662
|
startTime: "Test string",
|
|
1630
1663
|
state: "Test string",
|
|
1664
|
+
trigger: "Test string",
|
|
1631
1665
|
uid: "Test string",
|
|
1632
1666
|
},
|
|
1633
1667
|
updateTime: "Test string",
|
|
@@ -1761,6 +1795,18 @@ gapi.load('client', async () => {
|
|
|
1761
1795
|
executionStatus: {
|
|
1762
1796
|
latestJob: {
|
|
1763
1797
|
endTime: "Test string",
|
|
1798
|
+
executionSpec: {
|
|
1799
|
+
args: {
|
|
1800
|
+
A: "Test string"
|
|
1801
|
+
},
|
|
1802
|
+
kmsKey: "Test string",
|
|
1803
|
+
maxJobExecutionLifetime: "Test string",
|
|
1804
|
+
project: "Test string",
|
|
1805
|
+
serviceAccount: "Test string",
|
|
1806
|
+
},
|
|
1807
|
+
labels: {
|
|
1808
|
+
A: "Test string"
|
|
1809
|
+
},
|
|
1764
1810
|
message: "Test string",
|
|
1765
1811
|
name: "Test string",
|
|
1766
1812
|
retryCount: 42,
|
|
@@ -1768,6 +1814,7 @@ gapi.load('client', async () => {
|
|
|
1768
1814
|
serviceJob: "Test string",
|
|
1769
1815
|
startTime: "Test string",
|
|
1770
1816
|
state: "Test string",
|
|
1817
|
+
trigger: "Test string",
|
|
1771
1818
|
uid: "Test string",
|
|
1772
1819
|
},
|
|
1773
1820
|
updateTime: "Test string",
|
|
@@ -1863,6 +1910,12 @@ gapi.load('client', async () => {
|
|
|
1863
1910
|
await gapi.client.dataplex.projects.locations.lakes.tasks.run({
|
|
1864
1911
|
name: "Test string",
|
|
1865
1912
|
}, {
|
|
1913
|
+
args: {
|
|
1914
|
+
A: "Test string"
|
|
1915
|
+
},
|
|
1916
|
+
labels: {
|
|
1917
|
+
A: "Test string"
|
|
1918
|
+
},
|
|
1866
1919
|
});
|
|
1867
1920
|
/** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
|
|
1868
1921
|
await gapi.client.dataplex.projects.locations.lakes.tasks.setIamPolicy({
|