@maxim_mazurok/gapi.client.dlp-v2 0.0.20230312 → 0.0.20230326

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 +29 -1
  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: 20230312
12
+ // Revision: 20230326
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -41,6 +41,10 @@ declare namespace gapi.client {
41
41
  /** Save resulting findings in a provided location. */
42
42
  saveFindings?: GooglePrivacyDlpV2SaveFindings;
43
43
  }
44
+ interface GooglePrivacyDlpV2ActionDetails {
45
+ /** Outcome of a de-identification action. */
46
+ deidentifyDetails?: GooglePrivacyDlpV2DeidentifyDataSourceDetails;
47
+ }
44
48
  // tslint:disable-next-line:no-empty-interface
45
49
  interface GooglePrivacyDlpV2ActivateJobTriggerRequest {
46
50
  }
@@ -629,6 +633,20 @@ declare namespace gapi.client {
629
633
  /** An overview of the changes that were made on the `item`. */
630
634
  overview?: GooglePrivacyDlpV2TransformationOverview;
631
635
  }
636
+ interface GooglePrivacyDlpV2DeidentifyDataSourceDetails {
637
+ /** Stats about de-identification. */
638
+ deidentifyStats?: GooglePrivacyDlpV2DeidentifyDataSourceStats;
639
+ /** De-identification config used for the request. */
640
+ requestedOptions?: GooglePrivacyDlpV2RequestedDeidentifyOptions;
641
+ }
642
+ interface GooglePrivacyDlpV2DeidentifyDataSourceStats {
643
+ /** Number of successfully applied transformations. */
644
+ transformationCount?: string;
645
+ /** Number of errors encountered while trying to apply transformations. */
646
+ transformationErrorCount?: string;
647
+ /** Total size in bytes that were transformed in some way. */
648
+ transformedBytes?: string;
649
+ }
632
650
  interface GooglePrivacyDlpV2DeidentifyTemplate {
633
651
  /** Output only. The creation timestamp of an inspectTemplate. */
634
652
  createTime?: string;
@@ -695,6 +713,8 @@ declare namespace gapi.client {
695
713
  wordList?: GooglePrivacyDlpV2WordList;
696
714
  }
697
715
  interface GooglePrivacyDlpV2DlpJob {
716
+ /** Events that should occur after the job has completed. */
717
+ actionDetails?: GooglePrivacyDlpV2ActionDetails[];
698
718
  /** Time when the job was created. */
699
719
  createTime?: string;
700
720
  /** Time when the job finished. */
@@ -1678,6 +1698,14 @@ declare namespace gapi.client {
1678
1698
  // tslint:disable-next-line:no-empty-interface
1679
1699
  interface GooglePrivacyDlpV2ReplaceWithInfoTypeConfig {
1680
1700
  }
1701
+ interface GooglePrivacyDlpV2RequestedDeidentifyOptions {
1702
+ /** Snapshot of the state of the DeidentifyTemplate from the Deidentify action at the time this job was run. */
1703
+ snapshotDeidentifyTemplate?: GooglePrivacyDlpV2DeidentifyTemplate;
1704
+ /** Snapshot of the state of the image redact DeidentifyTemplate from the Deidentify action at the time this job was run. */
1705
+ snapshotImageRedactTemplate?: GooglePrivacyDlpV2DeidentifyTemplate;
1706
+ /** Snapshot of the state of the structured DeidentifyTemplate from the Deidentify action at the time this job was run. */
1707
+ snapshotStructuredDeidentifyTemplate?: GooglePrivacyDlpV2DeidentifyTemplate;
1708
+ }
1681
1709
  interface GooglePrivacyDlpV2RequestedOptions {
1682
1710
  /** Inspect config. */
1683
1711
  jobConfig?: GooglePrivacyDlpV2InspectJobConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dlp-v2",
3
- "version": "0.0.20230312",
3
+ "version": "0.0.20230326",
4
4
  "description": "TypeScript typings for Cloud Data Loss Prevention (DLP) API 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: 20230312
6
+ // Revision: 20230326
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */