@maxim_mazurok/gapi.client.dataplex-v1 0.0.20230405 → 0.0.20230423
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 +14 -4
- package/package.json +1 -1
- package/tests.ts +5 -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: 20230423
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -443,8 +443,12 @@ declare namespace gapi.client {
|
|
|
443
443
|
/** String value of a top N non-null value. */
|
|
444
444
|
value?: string;
|
|
445
445
|
}
|
|
446
|
-
// tslint:disable-next-line:no-empty-interface
|
|
447
446
|
interface GoogleCloudDataplexV1DataProfileSpec {
|
|
447
|
+
/**
|
|
448
|
+
* Optional. The percentage of the records to be selected from the dataset for DataScan. Value can range between 0.0 and 100.0 with up to 3 significant decimal digits. Sampling is not
|
|
449
|
+
* applied if sampling_percent is not specified, 0 or 100.
|
|
450
|
+
*/
|
|
451
|
+
samplingPercent?: number;
|
|
448
452
|
}
|
|
449
453
|
interface GoogleCloudDataplexV1DataQualityDimensionResult {
|
|
450
454
|
/** Whether the dimension passed or failed. */
|
|
@@ -543,6 +547,7 @@ declare namespace gapi.client {
|
|
|
543
547
|
maxValue?: string;
|
|
544
548
|
/** The minimum column statistic value allowed for a row to pass this validation.At least one of min_value and max_value need to be provided. */
|
|
545
549
|
minValue?: string;
|
|
550
|
+
/** The aggregate metric to evaluate. */
|
|
546
551
|
statistic?: string;
|
|
547
552
|
/** Whether column statistic needs to be strictly lesser than ('<') the maximum, or if equality is allowed.Only relevant if a max_value has been defined. Default = false. */
|
|
548
553
|
strictMaxEnabled?: boolean;
|
|
@@ -559,6 +564,11 @@ declare namespace gapi.client {
|
|
|
559
564
|
interface GoogleCloudDataplexV1DataQualitySpec {
|
|
560
565
|
/** The list of rules to evaluate against a data source. At least one rule is required. */
|
|
561
566
|
rules?: GoogleCloudDataplexV1DataQualityRule[];
|
|
567
|
+
/**
|
|
568
|
+
* Optional. The percentage of the records to be selected from the dataset for DataScan. Value can range between 0.0 and 100.0 with up to 3 significant decimal digits. Sampling is not
|
|
569
|
+
* applied if sampling_percent is not specified, 0 or 100.
|
|
570
|
+
*/
|
|
571
|
+
samplingPercent?: number;
|
|
562
572
|
}
|
|
563
573
|
interface GoogleCloudDataplexV1DataScan {
|
|
564
574
|
/** Output only. The time when the scan was created. */
|
|
@@ -568,7 +578,7 @@ declare namespace gapi.client {
|
|
|
568
578
|
/** Output only. The result of the data profile scan. */
|
|
569
579
|
dataProfileResult?: GoogleCloudDataplexV1DataProfileResult;
|
|
570
580
|
/** DataProfileScan related setting. */
|
|
571
|
-
dataProfileSpec?:
|
|
581
|
+
dataProfileSpec?: GoogleCloudDataplexV1DataProfileSpec;
|
|
572
582
|
/** Output only. The result of the data quality scan. */
|
|
573
583
|
dataQualityResult?: GoogleCloudDataplexV1DataQualityResult;
|
|
574
584
|
/** DataQualityScan related setting. */
|
|
@@ -660,7 +670,7 @@ declare namespace gapi.client {
|
|
|
660
670
|
/** Output only. The result of the data profile scan. */
|
|
661
671
|
dataProfileResult?: GoogleCloudDataplexV1DataProfileResult;
|
|
662
672
|
/** Output only. DataProfileScan related setting. */
|
|
663
|
-
dataProfileSpec?:
|
|
673
|
+
dataProfileSpec?: GoogleCloudDataplexV1DataProfileSpec;
|
|
664
674
|
/** Output only. The result of the data quality scan. */
|
|
665
675
|
dataQualityResult?: GoogleCloudDataplexV1DataQualityResult;
|
|
666
676
|
/** Output only. DataQualityScan related setting. */
|
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: 20230423
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -232,6 +232,7 @@ gapi.load('client', async () => {
|
|
|
232
232
|
},
|
|
233
233
|
},
|
|
234
234
|
dataProfileSpec: {
|
|
235
|
+
samplingPercent: 42,
|
|
235
236
|
},
|
|
236
237
|
dataQualityResult: {
|
|
237
238
|
dimensions: [
|
|
@@ -336,6 +337,7 @@ gapi.load('client', async () => {
|
|
|
336
337
|
},
|
|
337
338
|
}
|
|
338
339
|
],
|
|
340
|
+
samplingPercent: 42,
|
|
339
341
|
},
|
|
340
342
|
description: "Test string",
|
|
341
343
|
displayName: "Test string",
|
|
@@ -448,6 +450,7 @@ gapi.load('client', async () => {
|
|
|
448
450
|
},
|
|
449
451
|
},
|
|
450
452
|
dataProfileSpec: {
|
|
453
|
+
samplingPercent: 42,
|
|
451
454
|
},
|
|
452
455
|
dataQualityResult: {
|
|
453
456
|
dimensions: [
|
|
@@ -552,6 +555,7 @@ gapi.load('client', async () => {
|
|
|
552
555
|
},
|
|
553
556
|
}
|
|
554
557
|
],
|
|
558
|
+
samplingPercent: 42,
|
|
555
559
|
},
|
|
556
560
|
description: "Test string",
|
|
557
561
|
displayName: "Test string",
|