@maxim_mazurok/gapi.client.dataplex-v1 0.0.20230521 → 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.
Files changed (3) hide show
  1. package/index.d.ts +26 -1
  2. package/package.json +1 -1
  3. package/tests.ts +22 -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: 20230521
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?:
@@ -1290,6 +1304,9 @@ declare namespace gapi.client {
1290
1304
  /** The time when the job ended running. */
1291
1305
  endTime?:
1292
1306
  string;
1307
+ /** Job execution trigger. */
1308
+ executionTrigger?:
1309
+ string;
1293
1310
  /** The unique id identifying the job. */
1294
1311
  jobId?:
1295
1312
  string;
@@ -2972,6 +2989,14 @@ declare namespace gapi.client {
2972
2989
  /** Selector specifying which fields to include in a partial response. */
2973
2990
  fields?:
2974
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;
2975
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. */
2976
3001
  key?:
2977
3002
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataplex-v1",
3
- "version": "0.0.20230521",
3
+ "version": "0.0.20230530",
4
4
  "description": "TypeScript typings for Cloud Dataplex API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230521
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",