@maxim_mazurok/gapi.client.dlp-v2 0.0.20250119 → 0.0.20250202

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 +57 -57
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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: 20250119
12
+ // Revision: 20250202
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Sensitive Data Protection (DLP) v2 */
18
18
  function load(
19
- urlOrObject: 'https://dlp.googleapis.com/$discovery/rest?version=v2'
19
+ urlOrObject: 'https://dlp.googleapis.com/$discovery/rest?version=v2',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'dlp', version: 'v2'): Promise<void>;
@@ -2525,7 +2525,7 @@ declare namespace gapi.client {
2525
2525
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2526
2526
  uploadType?: string;
2527
2527
  },
2528
- body: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest
2528
+ body: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest,
2529
2529
  ): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
2530
2530
  /** Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more. */
2531
2531
  delete(request?: {
@@ -2672,7 +2672,7 @@ declare namespace gapi.client {
2672
2672
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2673
2673
  uploadType?: string;
2674
2674
  },
2675
- body: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest
2675
+ body: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest,
2676
2676
  ): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
2677
2677
  }
2678
2678
  interface InspectTemplatesResource {
@@ -2732,7 +2732,7 @@ declare namespace gapi.client {
2732
2732
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2733
2733
  uploadType?: string;
2734
2734
  },
2735
- body: GooglePrivacyDlpV2CreateInspectTemplateRequest
2735
+ body: GooglePrivacyDlpV2CreateInspectTemplateRequest,
2736
2736
  ): Request<GooglePrivacyDlpV2InspectTemplate>;
2737
2737
  /** Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more. */
2738
2738
  delete(request?: {
@@ -2879,7 +2879,7 @@ declare namespace gapi.client {
2879
2879
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2880
2880
  uploadType?: string;
2881
2881
  },
2882
- body: GooglePrivacyDlpV2UpdateInspectTemplateRequest
2882
+ body: GooglePrivacyDlpV2UpdateInspectTemplateRequest,
2883
2883
  ): Request<GooglePrivacyDlpV2InspectTemplate>;
2884
2884
  }
2885
2885
  interface ColumnDataProfilesResource {
@@ -3003,7 +3003,7 @@ declare namespace gapi.client {
3003
3003
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3004
3004
  uploadType?: string;
3005
3005
  },
3006
- body: GooglePrivacyDlpV2CreateConnectionRequest
3006
+ body: GooglePrivacyDlpV2CreateConnectionRequest,
3007
3007
  ): Request<GooglePrivacyDlpV2Connection>;
3008
3008
  /** Delete a Connection. */
3009
3009
  delete(request?: {
@@ -3148,7 +3148,7 @@ declare namespace gapi.client {
3148
3148
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3149
3149
  uploadType?: string;
3150
3150
  },
3151
- body: GooglePrivacyDlpV2UpdateConnectionRequest
3151
+ body: GooglePrivacyDlpV2UpdateConnectionRequest,
3152
3152
  ): Request<GooglePrivacyDlpV2Connection>;
3153
3153
  /** Searches for Connections in a parent. */
3154
3154
  search(request?: {
@@ -3241,7 +3241,7 @@ declare namespace gapi.client {
3241
3241
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3242
3242
  uploadType?: string;
3243
3243
  },
3244
- body: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest
3244
+ body: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest,
3245
3245
  ): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
3246
3246
  /** Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more. */
3247
3247
  delete(request?: {
@@ -3388,7 +3388,7 @@ declare namespace gapi.client {
3388
3388
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3389
3389
  uploadType?: string;
3390
3390
  },
3391
- body: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest
3391
+ body: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest,
3392
3392
  ): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
3393
3393
  }
3394
3394
  interface DiscoveryConfigsResource {
@@ -3448,7 +3448,7 @@ declare namespace gapi.client {
3448
3448
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3449
3449
  uploadType?: string;
3450
3450
  },
3451
- body: GooglePrivacyDlpV2CreateDiscoveryConfigRequest
3451
+ body: GooglePrivacyDlpV2CreateDiscoveryConfigRequest,
3452
3452
  ): Request<GooglePrivacyDlpV2DiscoveryConfig>;
3453
3453
  /** Deletes a discovery configuration. */
3454
3454
  delete(request?: {
@@ -3593,7 +3593,7 @@ declare namespace gapi.client {
3593
3593
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3594
3594
  uploadType?: string;
3595
3595
  },
3596
- body: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest
3596
+ body: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest,
3597
3597
  ): Request<GooglePrivacyDlpV2DiscoveryConfig>;
3598
3598
  }
3599
3599
  interface DlpJobsResource {
@@ -3785,7 +3785,7 @@ declare namespace gapi.client {
3785
3785
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3786
3786
  uploadType?: string;
3787
3787
  },
3788
- body: GooglePrivacyDlpV2CreateInspectTemplateRequest
3788
+ body: GooglePrivacyDlpV2CreateInspectTemplateRequest,
3789
3789
  ): Request<GooglePrivacyDlpV2InspectTemplate>;
3790
3790
  /** Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more. */
3791
3791
  delete(request?: {
@@ -3932,7 +3932,7 @@ declare namespace gapi.client {
3932
3932
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3933
3933
  uploadType?: string;
3934
3934
  },
3935
- body: GooglePrivacyDlpV2UpdateInspectTemplateRequest
3935
+ body: GooglePrivacyDlpV2UpdateInspectTemplateRequest,
3936
3936
  ): Request<GooglePrivacyDlpV2InspectTemplate>;
3937
3937
  }
3938
3938
  interface JobTriggersResource {
@@ -3992,7 +3992,7 @@ declare namespace gapi.client {
3992
3992
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3993
3993
  uploadType?: string;
3994
3994
  },
3995
- body: GooglePrivacyDlpV2CreateJobTriggerRequest
3995
+ body: GooglePrivacyDlpV2CreateJobTriggerRequest,
3996
3996
  ): Request<GooglePrivacyDlpV2JobTrigger>;
3997
3997
  /** Deletes a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more. */
3998
3998
  delete(request?: {
@@ -4143,7 +4143,7 @@ declare namespace gapi.client {
4143
4143
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4144
4144
  uploadType?: string;
4145
4145
  },
4146
- body: GooglePrivacyDlpV2UpdateJobTriggerRequest
4146
+ body: GooglePrivacyDlpV2UpdateJobTriggerRequest,
4147
4147
  ): Request<GooglePrivacyDlpV2JobTrigger>;
4148
4148
  }
4149
4149
  interface ProjectDataProfilesResource {
@@ -4267,7 +4267,7 @@ declare namespace gapi.client {
4267
4267
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4268
4268
  uploadType?: string;
4269
4269
  },
4270
- body: GooglePrivacyDlpV2CreateStoredInfoTypeRequest
4270
+ body: GooglePrivacyDlpV2CreateStoredInfoTypeRequest,
4271
4271
  ): Request<GooglePrivacyDlpV2StoredInfoType>;
4272
4272
  /** Deletes a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more. */
4273
4273
  delete(request?: {
@@ -4414,7 +4414,7 @@ declare namespace gapi.client {
4414
4414
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4415
4415
  uploadType?: string;
4416
4416
  },
4417
- body: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
4417
+ body: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest,
4418
4418
  ): Request<GooglePrivacyDlpV2StoredInfoType>;
4419
4419
  }
4420
4420
  interface TableDataProfilesResource {
@@ -4578,7 +4578,7 @@ declare namespace gapi.client {
4578
4578
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4579
4579
  uploadType?: string;
4580
4580
  },
4581
- body: GooglePrivacyDlpV2CreateStoredInfoTypeRequest
4581
+ body: GooglePrivacyDlpV2CreateStoredInfoTypeRequest,
4582
4582
  ): Request<GooglePrivacyDlpV2StoredInfoType>;
4583
4583
  /** Deletes a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more. */
4584
4584
  delete(request?: {
@@ -4725,7 +4725,7 @@ declare namespace gapi.client {
4725
4725
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4726
4726
  uploadType?: string;
4727
4727
  },
4728
- body: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
4728
+ body: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest,
4729
4729
  ): Request<GooglePrivacyDlpV2StoredInfoType>;
4730
4730
  }
4731
4731
  interface OrganizationsResource {
@@ -4791,7 +4791,7 @@ declare namespace gapi.client {
4791
4791
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4792
4792
  uploadType?: string;
4793
4793
  },
4794
- body: GooglePrivacyDlpV2DeidentifyContentRequest
4794
+ body: GooglePrivacyDlpV2DeidentifyContentRequest,
4795
4795
  ): Request<GooglePrivacyDlpV2DeidentifyContentResponse>;
4796
4796
  /** Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. For how to guides, see https://cloud.google.com/sensitive-data-protection/docs/inspecting-images and https://cloud.google.com/sensitive-data-protection/docs/inspecting-text, */
4797
4797
  inspect(request: {
@@ -4849,7 +4849,7 @@ declare namespace gapi.client {
4849
4849
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4850
4850
  uploadType?: string;
4851
4851
  },
4852
- body: GooglePrivacyDlpV2InspectContentRequest
4852
+ body: GooglePrivacyDlpV2InspectContentRequest,
4853
4853
  ): Request<GooglePrivacyDlpV2InspectContentResponse>;
4854
4854
  /** Re-identifies content that has been de-identified. See https://cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example to learn more. */
4855
4855
  reidentify(request: {
@@ -4907,7 +4907,7 @@ declare namespace gapi.client {
4907
4907
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4908
4908
  uploadType?: string;
4909
4909
  },
4910
- body: GooglePrivacyDlpV2ReidentifyContentRequest
4910
+ body: GooglePrivacyDlpV2ReidentifyContentRequest,
4911
4911
  ): Request<GooglePrivacyDlpV2ReidentifyContentResponse>;
4912
4912
  }
4913
4913
  interface DeidentifyTemplatesResource {
@@ -4967,7 +4967,7 @@ declare namespace gapi.client {
4967
4967
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4968
4968
  uploadType?: string;
4969
4969
  },
4970
- body: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest
4970
+ body: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest,
4971
4971
  ): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
4972
4972
  /** Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more. */
4973
4973
  delete(request?: {
@@ -5114,7 +5114,7 @@ declare namespace gapi.client {
5114
5114
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5115
5115
  uploadType?: string;
5116
5116
  },
5117
- body: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest
5117
+ body: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest,
5118
5118
  ): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
5119
5119
  }
5120
5120
  interface DlpJobsResource {
@@ -5174,7 +5174,7 @@ declare namespace gapi.client {
5174
5174
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5175
5175
  uploadType?: string;
5176
5176
  },
5177
- body: GooglePrivacyDlpV2CancelDlpJobRequest
5177
+ body: GooglePrivacyDlpV2CancelDlpJobRequest,
5178
5178
  ): Request<{}>;
5179
5179
  /** Creates a new job to inspect storage or calculate risk metrics. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. */
5180
5180
  create(request: {
@@ -5232,7 +5232,7 @@ declare namespace gapi.client {
5232
5232
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5233
5233
  uploadType?: string;
5234
5234
  },
5235
- body: GooglePrivacyDlpV2CreateDlpJobRequest
5235
+ body: GooglePrivacyDlpV2CreateDlpJobRequest,
5236
5236
  ): Request<GooglePrivacyDlpV2DlpJob>;
5237
5237
  /** Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be canceled if possible. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more. */
5238
5238
  delete(request?: {
@@ -5385,7 +5385,7 @@ declare namespace gapi.client {
5385
5385
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5386
5386
  uploadType?: string;
5387
5387
  },
5388
- body: GooglePrivacyDlpV2RedactImageRequest
5388
+ body: GooglePrivacyDlpV2RedactImageRequest,
5389
5389
  ): Request<GooglePrivacyDlpV2RedactImageResponse>;
5390
5390
  }
5391
5391
  interface InspectTemplatesResource {
@@ -5445,7 +5445,7 @@ declare namespace gapi.client {
5445
5445
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5446
5446
  uploadType?: string;
5447
5447
  },
5448
- body: GooglePrivacyDlpV2CreateInspectTemplateRequest
5448
+ body: GooglePrivacyDlpV2CreateInspectTemplateRequest,
5449
5449
  ): Request<GooglePrivacyDlpV2InspectTemplate>;
5450
5450
  /** Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more. */
5451
5451
  delete(request?: {
@@ -5592,7 +5592,7 @@ declare namespace gapi.client {
5592
5592
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5593
5593
  uploadType?: string;
5594
5594
  },
5595
- body: GooglePrivacyDlpV2UpdateInspectTemplateRequest
5595
+ body: GooglePrivacyDlpV2UpdateInspectTemplateRequest,
5596
5596
  ): Request<GooglePrivacyDlpV2InspectTemplate>;
5597
5597
  }
5598
5598
  interface JobTriggersResource {
@@ -5652,7 +5652,7 @@ declare namespace gapi.client {
5652
5652
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5653
5653
  uploadType?: string;
5654
5654
  },
5655
- body: GooglePrivacyDlpV2ActivateJobTriggerRequest
5655
+ body: GooglePrivacyDlpV2ActivateJobTriggerRequest,
5656
5656
  ): Request<GooglePrivacyDlpV2DlpJob>;
5657
5657
  /** Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more. */
5658
5658
  create(request: {
@@ -5710,7 +5710,7 @@ declare namespace gapi.client {
5710
5710
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5711
5711
  uploadType?: string;
5712
5712
  },
5713
- body: GooglePrivacyDlpV2CreateJobTriggerRequest
5713
+ body: GooglePrivacyDlpV2CreateJobTriggerRequest,
5714
5714
  ): Request<GooglePrivacyDlpV2JobTrigger>;
5715
5715
  /** Deletes a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more. */
5716
5716
  delete(request?: {
@@ -5861,7 +5861,7 @@ declare namespace gapi.client {
5861
5861
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5862
5862
  uploadType?: string;
5863
5863
  },
5864
- body: GooglePrivacyDlpV2UpdateJobTriggerRequest
5864
+ body: GooglePrivacyDlpV2UpdateJobTriggerRequest,
5865
5865
  ): Request<GooglePrivacyDlpV2JobTrigger>;
5866
5866
  }
5867
5867
  interface ColumnDataProfilesResource {
@@ -5985,7 +5985,7 @@ declare namespace gapi.client {
5985
5985
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5986
5986
  uploadType?: string;
5987
5987
  },
5988
- body: GooglePrivacyDlpV2CreateConnectionRequest
5988
+ body: GooglePrivacyDlpV2CreateConnectionRequest,
5989
5989
  ): Request<GooglePrivacyDlpV2Connection>;
5990
5990
  /** Delete a Connection. */
5991
5991
  delete(request?: {
@@ -6130,7 +6130,7 @@ declare namespace gapi.client {
6130
6130
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6131
6131
  uploadType?: string;
6132
6132
  },
6133
- body: GooglePrivacyDlpV2UpdateConnectionRequest
6133
+ body: GooglePrivacyDlpV2UpdateConnectionRequest,
6134
6134
  ): Request<GooglePrivacyDlpV2Connection>;
6135
6135
  /** Searches for Connections in a parent. */
6136
6136
  search(request?: {
@@ -6223,7 +6223,7 @@ declare namespace gapi.client {
6223
6223
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6224
6224
  uploadType?: string;
6225
6225
  },
6226
- body: GooglePrivacyDlpV2DeidentifyContentRequest
6226
+ body: GooglePrivacyDlpV2DeidentifyContentRequest,
6227
6227
  ): Request<GooglePrivacyDlpV2DeidentifyContentResponse>;
6228
6228
  /** Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. For how to guides, see https://cloud.google.com/sensitive-data-protection/docs/inspecting-images and https://cloud.google.com/sensitive-data-protection/docs/inspecting-text, */
6229
6229
  inspect(request: {
@@ -6281,7 +6281,7 @@ declare namespace gapi.client {
6281
6281
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6282
6282
  uploadType?: string;
6283
6283
  },
6284
- body: GooglePrivacyDlpV2InspectContentRequest
6284
+ body: GooglePrivacyDlpV2InspectContentRequest,
6285
6285
  ): Request<GooglePrivacyDlpV2InspectContentResponse>;
6286
6286
  /** Re-identifies content that has been de-identified. See https://cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example to learn more. */
6287
6287
  reidentify(request: {
@@ -6339,7 +6339,7 @@ declare namespace gapi.client {
6339
6339
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6340
6340
  uploadType?: string;
6341
6341
  },
6342
- body: GooglePrivacyDlpV2ReidentifyContentRequest
6342
+ body: GooglePrivacyDlpV2ReidentifyContentRequest,
6343
6343
  ): Request<GooglePrivacyDlpV2ReidentifyContentResponse>;
6344
6344
  }
6345
6345
  interface DeidentifyTemplatesResource {
@@ -6399,7 +6399,7 @@ declare namespace gapi.client {
6399
6399
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6400
6400
  uploadType?: string;
6401
6401
  },
6402
- body: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest
6402
+ body: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest,
6403
6403
  ): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
6404
6404
  /** Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more. */
6405
6405
  delete(request?: {
@@ -6546,7 +6546,7 @@ declare namespace gapi.client {
6546
6546
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6547
6547
  uploadType?: string;
6548
6548
  },
6549
- body: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest
6549
+ body: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest,
6550
6550
  ): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
6551
6551
  }
6552
6552
  interface DiscoveryConfigsResource {
@@ -6606,7 +6606,7 @@ declare namespace gapi.client {
6606
6606
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6607
6607
  uploadType?: string;
6608
6608
  },
6609
- body: GooglePrivacyDlpV2CreateDiscoveryConfigRequest
6609
+ body: GooglePrivacyDlpV2CreateDiscoveryConfigRequest,
6610
6610
  ): Request<GooglePrivacyDlpV2DiscoveryConfig>;
6611
6611
  /** Deletes a discovery configuration. */
6612
6612
  delete(request?: {
@@ -6751,7 +6751,7 @@ declare namespace gapi.client {
6751
6751
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6752
6752
  uploadType?: string;
6753
6753
  },
6754
- body: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest
6754
+ body: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest,
6755
6755
  ): Request<GooglePrivacyDlpV2DiscoveryConfig>;
6756
6756
  }
6757
6757
  interface DlpJobsResource {
@@ -6811,7 +6811,7 @@ declare namespace gapi.client {
6811
6811
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6812
6812
  uploadType?: string;
6813
6813
  },
6814
- body: GooglePrivacyDlpV2CancelDlpJobRequest
6814
+ body: GooglePrivacyDlpV2CancelDlpJobRequest,
6815
6815
  ): Request<{}>;
6816
6816
  /** Creates a new job to inspect storage or calculate risk metrics. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. */
6817
6817
  create(request: {
@@ -6869,7 +6869,7 @@ declare namespace gapi.client {
6869
6869
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6870
6870
  uploadType?: string;
6871
6871
  },
6872
- body: GooglePrivacyDlpV2CreateDlpJobRequest
6872
+ body: GooglePrivacyDlpV2CreateDlpJobRequest,
6873
6873
  ): Request<GooglePrivacyDlpV2DlpJob>;
6874
6874
  /** Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be canceled if possible. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more. */
6875
6875
  delete(request?: {
@@ -6954,7 +6954,7 @@ declare namespace gapi.client {
6954
6954
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6955
6955
  uploadType?: string;
6956
6956
  },
6957
- body: GooglePrivacyDlpV2FinishDlpJobRequest
6957
+ body: GooglePrivacyDlpV2FinishDlpJobRequest,
6958
6958
  ): Request<{}>;
6959
6959
  /** Gets the latest state of a long-running DlpJob. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more. */
6960
6960
  get(request?: {
@@ -7039,7 +7039,7 @@ declare namespace gapi.client {
7039
7039
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7040
7040
  uploadType?: string;
7041
7041
  },
7042
- body: GooglePrivacyDlpV2HybridInspectDlpJobRequest
7042
+ body: GooglePrivacyDlpV2HybridInspectDlpJobRequest,
7043
7043
  ): Request<{}>;
7044
7044
  /** Lists DlpJobs that match the specified filter in the request. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more. */
7045
7045
  list(request?: {
@@ -7229,7 +7229,7 @@ declare namespace gapi.client {
7229
7229
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7230
7230
  uploadType?: string;
7231
7231
  },
7232
- body: GooglePrivacyDlpV2RedactImageRequest
7232
+ body: GooglePrivacyDlpV2RedactImageRequest,
7233
7233
  ): Request<GooglePrivacyDlpV2RedactImageResponse>;
7234
7234
  }
7235
7235
  interface InspectTemplatesResource {
@@ -7289,7 +7289,7 @@ declare namespace gapi.client {
7289
7289
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7290
7290
  uploadType?: string;
7291
7291
  },
7292
- body: GooglePrivacyDlpV2CreateInspectTemplateRequest
7292
+ body: GooglePrivacyDlpV2CreateInspectTemplateRequest,
7293
7293
  ): Request<GooglePrivacyDlpV2InspectTemplate>;
7294
7294
  /** Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more. */
7295
7295
  delete(request?: {
@@ -7436,7 +7436,7 @@ declare namespace gapi.client {
7436
7436
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7437
7437
  uploadType?: string;
7438
7438
  },
7439
- body: GooglePrivacyDlpV2UpdateInspectTemplateRequest
7439
+ body: GooglePrivacyDlpV2UpdateInspectTemplateRequest,
7440
7440
  ): Request<GooglePrivacyDlpV2InspectTemplate>;
7441
7441
  }
7442
7442
  interface JobTriggersResource {
@@ -7496,7 +7496,7 @@ declare namespace gapi.client {
7496
7496
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7497
7497
  uploadType?: string;
7498
7498
  },
7499
- body: GooglePrivacyDlpV2ActivateJobTriggerRequest
7499
+ body: GooglePrivacyDlpV2ActivateJobTriggerRequest,
7500
7500
  ): Request<GooglePrivacyDlpV2DlpJob>;
7501
7501
  /** Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more. */
7502
7502
  create(request: {
@@ -7554,7 +7554,7 @@ declare namespace gapi.client {
7554
7554
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7555
7555
  uploadType?: string;
7556
7556
  },
7557
- body: GooglePrivacyDlpV2CreateJobTriggerRequest
7557
+ body: GooglePrivacyDlpV2CreateJobTriggerRequest,
7558
7558
  ): Request<GooglePrivacyDlpV2JobTrigger>;
7559
7559
  /** Deletes a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more. */
7560
7560
  delete(request?: {
@@ -7666,7 +7666,7 @@ declare namespace gapi.client {
7666
7666
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7667
7667
  uploadType?: string;
7668
7668
  },
7669
- body: GooglePrivacyDlpV2HybridInspectJobTriggerRequest
7669
+ body: GooglePrivacyDlpV2HybridInspectJobTriggerRequest,
7670
7670
  ): Request<{}>;
7671
7671
  /** Lists job triggers. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more. */
7672
7672
  list(request?: {
@@ -7763,7 +7763,7 @@ declare namespace gapi.client {
7763
7763
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7764
7764
  uploadType?: string;
7765
7765
  },
7766
- body: GooglePrivacyDlpV2UpdateJobTriggerRequest
7766
+ body: GooglePrivacyDlpV2UpdateJobTriggerRequest,
7767
7767
  ): Request<GooglePrivacyDlpV2JobTrigger>;
7768
7768
  }
7769
7769
  interface ProjectDataProfilesResource {
@@ -7887,7 +7887,7 @@ declare namespace gapi.client {
7887
7887
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7888
7888
  uploadType?: string;
7889
7889
  },
7890
- body: GooglePrivacyDlpV2CreateStoredInfoTypeRequest
7890
+ body: GooglePrivacyDlpV2CreateStoredInfoTypeRequest,
7891
7891
  ): Request<GooglePrivacyDlpV2StoredInfoType>;
7892
7892
  /** Deletes a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more. */
7893
7893
  delete(request?: {
@@ -8034,7 +8034,7 @@ declare namespace gapi.client {
8034
8034
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8035
8035
  uploadType?: string;
8036
8036
  },
8037
- body: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
8037
+ body: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest,
8038
8038
  ): Request<GooglePrivacyDlpV2StoredInfoType>;
8039
8039
  }
8040
8040
  interface TableDataProfilesResource {
@@ -8200,7 +8200,7 @@ declare namespace gapi.client {
8200
8200
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8201
8201
  uploadType?: string;
8202
8202
  },
8203
- body: GooglePrivacyDlpV2CreateStoredInfoTypeRequest
8203
+ body: GooglePrivacyDlpV2CreateStoredInfoTypeRequest,
8204
8204
  ): Request<GooglePrivacyDlpV2StoredInfoType>;
8205
8205
  /** Deletes a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more. */
8206
8206
  delete(request?: {
@@ -8347,7 +8347,7 @@ declare namespace gapi.client {
8347
8347
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8348
8348
  uploadType?: string;
8349
8349
  },
8350
- body: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
8350
+ body: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest,
8351
8351
  ): Request<GooglePrivacyDlpV2StoredInfoType>;
8352
8352
  }
8353
8353
  interface ProjectsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dlp-v2",
3
- "version": "0.0.20250119",
3
+ "version": "0.0.20250202",
4
4
  "description": "TypeScript typings for Sensitive Data Protection (DLP) v2",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.dlp
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -62,7 +62,7 @@ gapi.auth.authorize(
62
62
  } else {
63
63
  /* handle authorization error */
64
64
  }
65
- }
65
+ },
66
66
  );
67
67
  ```
68
68