@maxim_mazurok/gapi.client.dlp-v2 0.0.20230611 → 0.0.20230625

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 +77 -5
  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: 20230611
12
+ // Revision: 20230625
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -277,14 +277,16 @@ declare namespace gapi.client {
277
277
  }
278
278
  interface GooglePrivacyDlpV2CloudStorageOptions {
279
279
  /**
280
- * Max number of bytes to scan from a file. If a scanned file's size is bigger than this value then the rest of the bytes are omitted. Only one of bytes_limit_per_file and
281
- * bytes_limit_per_file_percent can be specified. Cannot be set if de-identification is requested.
280
+ * Max number of bytes to scan from a file. If a scanned file's size is bigger than this value then the rest of the bytes are omitted. Only one of `bytes_limit_per_file` and
281
+ * `bytes_limit_per_file_percent` can be specified. This field can't be set if de-identification is requested. For certain file types, setting this field has no effect. For more
282
+ * information, see [Limits on bytes scanned per file](https://cloud.google.com/dlp/docs/supported-file-types#max-byte-size-per-file).
282
283
  */
283
284
  bytesLimitPerFile?:
284
285
  string;
285
286
  /**
286
287
  * Max percentage of bytes to scan from a file. The rest are omitted. The number of bytes scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no
287
- * limit. Defaults to 0. Only one of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. Cannot be set if de-identification is requested.
288
+ * limit. Defaults to 0. Only one of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. This field can't be set if de-identification is requested. For certain file
289
+ * types, setting this field has no effect. For more information, see [Limits on bytes scanned per file](https://cloud.google.com/dlp/docs/supported-file-types#max-byte-size-per-file).
288
290
  */
289
291
  bytesLimitPerFilePercent?:
290
292
  number;
@@ -341,6 +343,68 @@ declare namespace gapi.client {
341
343
  red?:
342
344
  number;
343
345
  }
346
+ interface GooglePrivacyDlpV2ColumnDataProfile {
347
+ /** The name of the column. */
348
+ column?:
349
+ string;
350
+ /** 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. */
351
+ columnInfoType?:
352
+ GooglePrivacyDlpV2InfoTypeSummary;
353
+ /** The data type of a given column. */
354
+ columnType?:
355
+ string;
356
+ /** The data risk level for this column. */
357
+ dataRiskLevel?:
358
+ GooglePrivacyDlpV2DataRiskLevel;
359
+ /** The BigQuery dataset ID. */
360
+ datasetId?:
361
+ string;
362
+ /** The BigQuery location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations. */
363
+ datasetLocation?:
364
+ string;
365
+ /** The Google Cloud project ID that owns the BigQuery dataset. */
366
+ datasetProjectId?:
367
+ string;
368
+ /** Approximate percentage of entries being null in the column. */
369
+ estimatedNullPercentage?:
370
+ string;
371
+ /** Approximate uniqueness of the column. */
372
+ estimatedUniquenessScore?:
373
+ string;
374
+ /** 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. */
375
+ freeTextScore?:
376
+ number;
377
+ /** The name of the profile. */
378
+ name?:
379
+ string;
380
+ /** Other types found within this column. List will be un-ordered. */
381
+ otherMatches?:
382
+ GooglePrivacyDlpV2OtherInfoTypeSummary[];
383
+ /** Indicates if a policy tag has been applied to the column. */
384
+ policyState?:
385
+ string;
386
+ /** The last time the profile was generated. */
387
+ profileLastGenerated?:
388
+ string;
389
+ /** Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated. */
390
+ profileStatus?:
391
+ GooglePrivacyDlpV2ProfileStatus;
392
+ /** The sensitivity of this column. */
393
+ sensitivityScore?:
394
+ GooglePrivacyDlpV2SensitivityScore;
395
+ /** State of a profile. */
396
+ state?:
397
+ string;
398
+ /** The resource name to the table data profile. */
399
+ tableDataProfile?:
400
+ string;
401
+ /** The resource name of the table this column is within. */
402
+ tableFullResource?:
403
+ string;
404
+ /** The BigQuery table ID. */
405
+ tableId?:
406
+ string;
407
+ }
344
408
  interface GooglePrivacyDlpV2Condition {
345
409
  /** Required. Field within the record this condition is evaluated against. */
346
410
  field?:
@@ -632,6 +696,14 @@ declare namespace gapi.client {
632
696
  pubSubNotification?:
633
697
  GooglePrivacyDlpV2PubSubNotification;
634
698
  }
699
+ interface GooglePrivacyDlpV2DataProfileBigQueryRowSchema {
700
+ /** Column data profile column */
701
+ columnProfile?:
702
+ GooglePrivacyDlpV2ColumnDataProfile;
703
+ /** Table data profile column */
704
+ tableProfile?:
705
+ GooglePrivacyDlpV2TableDataProfile;
706
+ }
635
707
  interface GooglePrivacyDlpV2DataProfileConfigSnapshot {
636
708
  /** A copy of the configuration used to generate this profile. */
637
709
  dataProfileJob?:
@@ -1941,7 +2013,7 @@ declare namespace gapi.client {
1941
2013
  GooglePrivacyDlpV2NumericalStatsConfig;
1942
2014
  }
1943
2015
  interface GooglePrivacyDlpV2ProfileStatus {
1944
- /** Profiling status code and optional message. status.code will be 0 (default value) for OK. */
2016
+ /** Profiling status code and optional message. The `status.code` value is 0 (default value) for OK. */
1945
2017
  status?:
1946
2018
  GoogleRpcStatus;
1947
2019
  /** 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.20230611",
3
+ "version": "0.0.20230625",
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: 20230611
6
+ // Revision: 20230625
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */