@maxim_mazurok/gapi.client.dlp-v2 0.0.20230603 → 0.0.20230618

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 +72 -2
  2. package/package.json +1 -1
  3. package/tests.ts +1 -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://dlp.googleapis.com/$discovery/rest?version=v2
12
- // Revision: 20230603
12
+ // Revision: 20230618
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -341,6 +341,68 @@ declare namespace gapi.client {
341
341
  red?:
342
342
  number;
343
343
  }
344
+ interface GooglePrivacyDlpV2ColumnDataProfile {
345
+ /** The name of the column. */
346
+ column?:
347
+ string;
348
+ /** If it's been determined this column can be identified as a single type, this will be set. Otherwise the column either has unidentifiable content or mixed types. */
349
+ columnInfoType?:
350
+ GooglePrivacyDlpV2InfoTypeSummary;
351
+ /** The data type of a given column. */
352
+ columnType?:
353
+ string;
354
+ /** The data risk level for this column. */
355
+ dataRiskLevel?:
356
+ GooglePrivacyDlpV2DataRiskLevel;
357
+ /** The BigQuery dataset ID. */
358
+ datasetId?:
359
+ string;
360
+ /** The BigQuery location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations. */
361
+ datasetLocation?:
362
+ string;
363
+ /** The Google Cloud project ID that owns the BigQuery dataset. */
364
+ datasetProjectId?:
365
+ string;
366
+ /** Approximate percentage of entries being null in the column. */
367
+ estimatedNullPercentage?:
368
+ string;
369
+ /** Approximate uniqueness of the column. */
370
+ estimatedUniquenessScore?:
371
+ string;
372
+ /** The likelihood that this column contains free-form text. A value close to 1 may indicate the column is likely to contain free-form or natural language text. Range in 0-1. */
373
+ freeTextScore?:
374
+ number;
375
+ /** The name of the profile. */
376
+ name?:
377
+ string;
378
+ /** Other types found within this column. List will be un-ordered. */
379
+ otherMatches?:
380
+ GooglePrivacyDlpV2OtherInfoTypeSummary[];
381
+ /** Indicates if a policy tag has been applied to the column. */
382
+ policyState?:
383
+ string;
384
+ /** The last time the profile was generated. */
385
+ profileLastGenerated?:
386
+ string;
387
+ /** Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated. */
388
+ profileStatus?:
389
+ GooglePrivacyDlpV2ProfileStatus;
390
+ /** The sensitivity of this column. */
391
+ sensitivityScore?:
392
+ GooglePrivacyDlpV2SensitivityScore;
393
+ /** State of a profile. */
394
+ state?:
395
+ string;
396
+ /** The resource name to the table data profile. */
397
+ tableDataProfile?:
398
+ string;
399
+ /** The resource name of the table this column is within. */
400
+ tableFullResource?:
401
+ string;
402
+ /** The BigQuery table ID. */
403
+ tableId?:
404
+ string;
405
+ }
344
406
  interface GooglePrivacyDlpV2Condition {
345
407
  /** Required. Field within the record this condition is evaluated against. */
346
408
  field?:
@@ -632,6 +694,14 @@ declare namespace gapi.client {
632
694
  pubSubNotification?:
633
695
  GooglePrivacyDlpV2PubSubNotification;
634
696
  }
697
+ interface GooglePrivacyDlpV2DataProfileBigQueryRowSchema {
698
+ /** Column data profile column */
699
+ columnProfile?:
700
+ GooglePrivacyDlpV2ColumnDataProfile;
701
+ /** Table data profile column */
702
+ tableProfile?:
703
+ GooglePrivacyDlpV2TableDataProfile;
704
+ }
635
705
  interface GooglePrivacyDlpV2DataProfileConfigSnapshot {
636
706
  /** A copy of the configuration used to generate this profile. */
637
707
  dataProfileJob?:
@@ -1941,7 +2011,7 @@ declare namespace gapi.client {
1941
2011
  GooglePrivacyDlpV2NumericalStatsConfig;
1942
2012
  }
1943
2013
  interface GooglePrivacyDlpV2ProfileStatus {
1944
- /** Profiling status code and optional message. status.code will be 0 (default value) for OK. */
2014
+ /** Profiling status code and optional message. The `status.code` value is 0 (default value) for OK. */
1945
2015
  status?:
1946
2016
  GoogleRpcStatus;
1947
2017
  /** Time when the profile generation status was updated */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dlp-v2",
3
- "version": "0.0.20230603",
3
+ "version": "0.0.20230618",
4
4
  "description": "TypeScript typings for Cloud Data Loss Prevention (DLP) v2",
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: 20230603
6
+ // Revision: 20230618
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */