@maxim_mazurok/gapi.client.dlp-v2 0.0.20240505 → 0.0.20240512

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 (2) hide show
  1. package/index.d.ts +23 -8
  2. package/package.json +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: 20240505
12
+ // Revision: 20240512
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -484,9 +484,13 @@ declare namespace gapi.client {
484
484
  includeRegexes?: GooglePrivacyDlpV2DatabaseResourceRegexes;
485
485
  }
486
486
  interface GooglePrivacyDlpV2DatabaseResourceReference {
487
- /** Required. The instance where this resource is located. For example: Cloud SQL's instance id. */
487
+ /** Required. Name of a database within the instance. */
488
+ database?: string;
489
+ /** Required. Name of a database resource, for example, a table within the database. */
490
+ databaseResource?: string;
491
+ /** Required. The instance where this resource is located. For example: Cloud SQL instance ID. */
488
492
  instance?: string;
489
- /** Required. If within a project-level config, then this must match the config's project id. */
493
+ /** Required. If within a project-level config, then this must match the config's project ID. */
490
494
  projectId?: string;
491
495
  }
492
496
  interface GooglePrivacyDlpV2DatabaseResourceRegex {
@@ -496,7 +500,7 @@ declare namespace gapi.client {
496
500
  databaseResourceNameRegex?: string;
497
501
  /** Regex to test the instance name against. If empty, all instances match. */
498
502
  instanceRegex?: string;
499
- /** For organizations, if unset, will match all projects. Has no effect for Data Profile configurations created within a project. */
503
+ /** For organizations, if unset, will match all projects. Has no effect for configurations created within a project. */
500
504
  projectIdRegex?: string;
501
505
  }
502
506
  interface GooglePrivacyDlpV2DatabaseResourceRegexes {
@@ -713,6 +717,8 @@ declare namespace gapi.client {
713
717
  interface GooglePrivacyDlpV2DiscoveryBigQueryFilter {
714
718
  /** Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically. */
715
719
  otherTables?: any;
720
+ /** The table to scan. Discovery configurations including this can only include one DiscoveryTarget (the DiscoveryTarget with this TableReference). */
721
+ tableReference?: GooglePrivacyDlpV2TableReference;
716
722
  /** A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID. */
717
723
  tables?: GooglePrivacyDlpV2BigQueryTableCollection;
718
724
  }
@@ -789,6 +795,8 @@ declare namespace gapi.client {
789
795
  bigQueryTarget?: GooglePrivacyDlpV2BigQueryDiscoveryTarget;
790
796
  /** Cloud SQL target for Discovery. The first target to match a table will be the one applied. */
791
797
  cloudSqlTarget?: GooglePrivacyDlpV2CloudSqlDiscoveryTarget;
798
+ /** Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed. */
799
+ secretsTarget?: any;
792
800
  }
793
801
  interface GooglePrivacyDlpV2DlpJob {
794
802
  /** Events that should occur after the job has completed. */
@@ -1679,7 +1687,7 @@ declare namespace gapi.client {
1679
1687
  hybridStats?: GooglePrivacyDlpV2HybridInspectStatistics;
1680
1688
  /** Statistics of how many instances of each info type were found during inspect job. */
1681
1689
  infoTypeStats?: GooglePrivacyDlpV2InfoTypeStats[];
1682
- /** Number of rows scanned post sampling and time filtering (Applicable for row based stores such as BigQuery). */
1690
+ /** Number of rows scanned after sampling and time filtering (applicable for row based stores such as BigQuery). */
1683
1691
  numRowsProcessed?: string;
1684
1692
  /** Total size in bytes that were processed. */
1685
1693
  processedBytes?: string;
@@ -1724,6 +1732,7 @@ declare namespace gapi.client {
1724
1732
  /** Required. The username. */
1725
1733
  username?: string;
1726
1734
  }
1735
+ interface GooglePrivacyDlpV2SecretsDiscoveryTarget {}
1727
1736
  interface GooglePrivacyDlpV2SelectedInfoTypes {
1728
1737
  /** Required. InfoTypes to apply the transformation to. Required. Provided InfoType must be unique within the ImageTransformations message. */
1729
1738
  infoTypes?: GooglePrivacyDlpV2InfoType[];
@@ -1875,6 +1884,12 @@ declare namespace gapi.client {
1875
1884
  /** The columns that are the primary keys for table objects included in ContentItem. A copy of this cell's value will stored alongside alongside each finding so that the finding can be traced to the specific row it came from. No more than 3 may be provided. */
1876
1885
  identifyingFields?: GooglePrivacyDlpV2FieldId[];
1877
1886
  }
1887
+ interface GooglePrivacyDlpV2TableReference {
1888
+ /** Dataset ID of the table. */
1889
+ datasetId?: string;
1890
+ /** Name of the table. */
1891
+ tableId?: string;
1892
+ }
1878
1893
  interface GooglePrivacyDlpV2TaggedField {
1879
1894
  /** A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column (below). */
1880
1895
  customTag?: string;
@@ -2657,7 +2672,7 @@ declare namespace gapi.client {
2657
2672
  callback?: string;
2658
2673
  /** Selector specifying which fields to include in a partial response. */
2659
2674
  fields?: string;
2660
- /** Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR */
2675
+ /** Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR */
2661
2676
  filter?: string;
2662
2677
  /** 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. */
2663
2678
  key?: string;
@@ -5456,7 +5471,7 @@ declare namespace gapi.client {
5456
5471
  callback?: string;
5457
5472
  /** Selector specifying which fields to include in a partial response. */
5458
5473
  fields?: string;
5459
- /** Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR */
5474
+ /** Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR */
5460
5475
  filter?: string;
5461
5476
  /** 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. */
5462
5477
  key?: string;
@@ -5547,7 +5562,7 @@ declare namespace gapi.client {
5547
5562
  callback?: string;
5548
5563
  /** Selector specifying which fields to include in a partial response. */
5549
5564
  fields?: string;
5550
- /** Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR */
5565
+ /** Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR */
5551
5566
  filter?: string;
5552
5567
  /** 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. */
5553
5568
  key?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dlp-v2",
3
- "version": "0.0.20240505",
3
+ "version": "0.0.20240512",
4
4
  "description": "TypeScript typings for Sensitive Data Protection (DLP) v2",
5
5
  "repository": {
6
6
  "type": "git",