@maxim_mazurok/gapi.client.dlp-v2 0.0.20250305 → 0.0.20250316

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 +87 -1
  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: 20250305
12
+ // Revision: 20250316
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1158,6 +1158,8 @@ declare namespace gapi.client {
1158
1158
  sensitivityScore?: GooglePrivacyDlpV2SensitivityScore;
1159
1159
  /** State of a profile. */
1160
1160
  state?: string;
1161
+ /** The tags attached to the resource, including any tags attached during profiling. */
1162
+ tags?: GooglePrivacyDlpV2Tag[];
1161
1163
  }
1162
1164
  interface GooglePrivacyDlpV2FileStoreInfoTypeSummary {
1163
1165
  /** The InfoType seen. */
@@ -1331,6 +1333,8 @@ declare namespace gapi.client {
1331
1333
  name?: string;
1332
1334
  /** The default sensitivity of the infoType. */
1333
1335
  sensitivityScore?: GooglePrivacyDlpV2SensitivityScore;
1336
+ /** If this field is set, this infoType is a general infoType and these specific infoTypes are contained within it. General infoTypes are infoTypes that encompass multiple specific infoTypes. For example, the "GEOGRAPHIC_DATA" general infoType would have set for this field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS". */
1337
+ specificInfoTypes?: string[];
1334
1338
  /** Which parts of the API supports this InfoType. */
1335
1339
  supportedBy?: string[];
1336
1340
  /** A list of available versions for the infotype. */
@@ -2222,6 +2226,8 @@ declare namespace gapi.client {
2222
2226
  tableId?: string;
2223
2227
  /** The size of the table when the profile was generated. */
2224
2228
  tableSizeBytes?: string;
2229
+ /** The tags attached to the table, including any tags attached during profiling. Because tags are attached to Cloud SQL instances rather than Cloud SQL tables, this field is empty for Cloud SQL table profiles. */
2230
+ tags?: GooglePrivacyDlpV2Tag[];
2225
2231
  }
2226
2232
  interface GooglePrivacyDlpV2TableLocation {
2227
2233
  /** The zero-based index of the row where the finding is located. Only populated for resources that have a natural ordering, not BigQuery. In BigQuery, to identify the row a finding came from, populate BigQueryOptions.identifying_fields with your primary key column names and when you store the findings the value of those columns will be stored inside of Finding. */
@@ -2237,6 +2243,14 @@ declare namespace gapi.client {
2237
2243
  /** Name of the table. */
2238
2244
  tableId?: string;
2239
2245
  }
2246
+ interface GooglePrivacyDlpV2Tag {
2247
+ /** The key of a tag key-value pair. For Google Cloud resources, this is the resource name of the key, for example, "tagKeys/123456". */
2248
+ key?: string;
2249
+ /** The namespaced name for the tag value to attach to Google Cloud resources. Must be in the format `{parent_id}/{tag_key_short_name}/{short_name}`, for example, "123456/environment/prod". This is only set for Google Cloud resources. */
2250
+ namespacedTagValue?: string;
2251
+ /** The value of a tag key-value pair. For Google Cloud resources, this is the resource name of the value, for example, "tagValues/123456". */
2252
+ value?: string;
2253
+ }
2240
2254
  interface GooglePrivacyDlpV2TagCondition {
2241
2255
  /** Conditions attaching the tag to a resource on its profile having this sensitivity score. */
2242
2256
  sensitivityScore?: GooglePrivacyDlpV2SensitivityScore;
@@ -3832,6 +3846,41 @@ declare namespace gapi.client {
3832
3846
  uploadType?: string;
3833
3847
  }): Request<GooglePrivacyDlpV2ListFileStoreDataProfilesResponse>;
3834
3848
  }
3849
+ interface InfoTypesResource {
3850
+ /** Returns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to learn more. */
3851
+ list(request?: {
3852
+ /** V1 error format. */
3853
+ '$.xgafv'?: string;
3854
+ /** OAuth access token. */
3855
+ access_token?: string;
3856
+ /** Data format for response. */
3857
+ alt?: string;
3858
+ /** JSONP */
3859
+ callback?: string;
3860
+ /** Selector specifying which fields to include in a partial response. */
3861
+ fields?: string;
3862
+ /** filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT. */
3863
+ filter?: string;
3864
+ /** 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. */
3865
+ key?: string;
3866
+ /** BCP-47 language code for localized infoType friendly names. If omitted, or if localized strings are not available, en-US strings will be returned. */
3867
+ languageCode?: string;
3868
+ /** Deprecated. This field has no effect. */
3869
+ locationId?: string;
3870
+ /** OAuth 2.0 token for the current user. */
3871
+ oauth_token?: string;
3872
+ /** The parent resource name. The format of this value is as follows: `locations/{location_id}` */
3873
+ parent: string;
3874
+ /** Returns response with indentations and line breaks. */
3875
+ prettyPrint?: boolean;
3876
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3877
+ quotaUser?: string;
3878
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3879
+ upload_protocol?: string;
3880
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3881
+ uploadType?: string;
3882
+ }): Request<GooglePrivacyDlpV2ListInfoTypesResponse>;
3883
+ }
3835
3884
  interface InspectTemplatesResource {
3836
3885
  /** Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more. */
3837
3886
  create(request: {
@@ -4619,6 +4668,7 @@ declare namespace gapi.client {
4619
4668
  discoveryConfigs: DiscoveryConfigsResource;
4620
4669
  dlpJobs: DlpJobsResource;
4621
4670
  fileStoreDataProfiles: FileStoreDataProfilesResource;
4671
+ infoTypes: InfoTypesResource;
4622
4672
  inspectTemplates: InspectTemplatesResource;
4623
4673
  jobTriggers: JobTriggersResource;
4624
4674
  projectDataProfiles: ProjectDataProfilesResource;
@@ -7336,6 +7386,41 @@ declare namespace gapi.client {
7336
7386
  body: GooglePrivacyDlpV2RedactImageRequest,
7337
7387
  ): Request<GooglePrivacyDlpV2RedactImageResponse>;
7338
7388
  }
7389
+ interface InfoTypesResource {
7390
+ /** Returns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to learn more. */
7391
+ list(request?: {
7392
+ /** V1 error format. */
7393
+ '$.xgafv'?: string;
7394
+ /** OAuth access token. */
7395
+ access_token?: string;
7396
+ /** Data format for response. */
7397
+ alt?: string;
7398
+ /** JSONP */
7399
+ callback?: string;
7400
+ /** Selector specifying which fields to include in a partial response. */
7401
+ fields?: string;
7402
+ /** filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT. */
7403
+ filter?: string;
7404
+ /** 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. */
7405
+ key?: string;
7406
+ /** BCP-47 language code for localized infoType friendly names. If omitted, or if localized strings are not available, en-US strings will be returned. */
7407
+ languageCode?: string;
7408
+ /** Deprecated. This field has no effect. */
7409
+ locationId?: string;
7410
+ /** OAuth 2.0 token for the current user. */
7411
+ oauth_token?: string;
7412
+ /** The parent resource name. The format of this value is as follows: `locations/{location_id}` */
7413
+ parent: string;
7414
+ /** Returns response with indentations and line breaks. */
7415
+ prettyPrint?: boolean;
7416
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
7417
+ quotaUser?: string;
7418
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7419
+ upload_protocol?: string;
7420
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7421
+ uploadType?: string;
7422
+ }): Request<GooglePrivacyDlpV2ListInfoTypesResponse>;
7423
+ }
7339
7424
  interface InspectTemplatesResource {
7340
7425
  /** Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more. */
7341
7426
  create(request: {
@@ -8241,6 +8326,7 @@ declare namespace gapi.client {
8241
8326
  dlpJobs: DlpJobsResource;
8242
8327
  fileStoreDataProfiles: FileStoreDataProfilesResource;
8243
8328
  image: ImageResource;
8329
+ infoTypes: InfoTypesResource;
8244
8330
  inspectTemplates: InspectTemplatesResource;
8245
8331
  jobTriggers: JobTriggersResource;
8246
8332
  projectDataProfiles: ProjectDataProfilesResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dlp-v2",
3
- "version": "0.0.20250305",
3
+ "version": "0.0.20250316",
4
4
  "description": "TypeScript typings for Sensitive Data Protection (DLP) v2",
5
5
  "repository": {
6
6
  "type": "git",