@maxim_mazurok/gapi.client.dlp-v2 0.0.20240616 → 0.0.20240702

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 +379 -30
  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: 20240616
12
+ // Revision: 20240702
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -48,6 +48,7 @@ declare namespace gapi.client {
48
48
  interface GooglePrivacyDlpV2AllInfoTypes {}
49
49
  interface GooglePrivacyDlpV2AllOtherBigQueryTables {}
50
50
  interface GooglePrivacyDlpV2AllOtherDatabaseResources {}
51
+ interface GooglePrivacyDlpV2AllOtherResources {}
51
52
  interface GooglePrivacyDlpV2AllText {}
52
53
  interface GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails {
53
54
  /** Categorical stats result */
@@ -231,6 +232,16 @@ declare namespace gapi.client {
231
232
  /** A username and password stored in Secret Manager. */
232
233
  usernamePassword?: GooglePrivacyDlpV2SecretManagerCredential;
233
234
  }
235
+ interface GooglePrivacyDlpV2CloudStorageDiscoveryTarget {
236
+ /** Optional. In addition to matching the filter, these conditions must be true before a profile is generated. */
237
+ conditions?: GooglePrivacyDlpV2DiscoveryFileStoreConditions;
238
+ /** Optional. Disable profiling for buckets that match this filter. */
239
+ disabled?: any;
240
+ /** Required. The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket. */
241
+ filter?: GooglePrivacyDlpV2DiscoveryCloudStorageFilter;
242
+ /** Optional. How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity. */
243
+ generationCadence?: GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence;
244
+ }
234
245
  interface GooglePrivacyDlpV2CloudStorageFileSet {
235
246
  /** The url, in the format `gs:///`. Trailing wildcard in the path is allowed. */
236
247
  url?: string;
@@ -253,6 +264,12 @@ declare namespace gapi.client {
253
264
  /** A URL representing a file or path (no wildcards) in Cloud Storage. Example: `gs://[BUCKET_NAME]/dictionary.txt` */
254
265
  path?: string;
255
266
  }
267
+ interface GooglePrivacyDlpV2CloudStorageRegex {
268
+ /** Optional. Regex to test the bucket name against. If empty, all buckets match. Example: "marketing2021" or "(marketing)\d{4}" will both match the bucket gs://marketing2021 */
269
+ bucketNameRegex?: string;
270
+ /** Optional. For organizations, if unset, will match all projects. */
271
+ projectIdRegex?: string;
272
+ }
256
273
  interface GooglePrivacyDlpV2CloudStorageRegexFileSet {
257
274
  /** The name of a Cloud Storage bucket. Required. */
258
275
  bucketName?: string;
@@ -261,6 +278,12 @@ declare namespace gapi.client {
261
278
  /** A list of regular expressions matching file paths to include. All files in the bucket that match at least one of these regular expressions will be included in the set of files, except for those that also match an item in `exclude_regex`. Leaving this field empty will match all files by default (this is equivalent to including `.*` in the list). Regular expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found under the google/re2 repository on GitHub. */
262
279
  includeRegex?: string[];
263
280
  }
281
+ interface GooglePrivacyDlpV2CloudStorageResourceReference {
282
+ /** Required. The bucket to scan. */
283
+ bucketName?: string;
284
+ /** Required. If within a project-level config, then this must match the config's project id. */
285
+ projectId?: string;
286
+ }
264
287
  interface GooglePrivacyDlpV2Color {
265
288
  /** The amount of blue in the color as a value in the interval [0, 1]. */
266
289
  blue?: number;
@@ -516,6 +539,8 @@ declare namespace gapi.client {
516
539
  interface GooglePrivacyDlpV2DataProfileBigQueryRowSchema {
517
540
  /** Column data profile column */
518
541
  columnProfile?: GooglePrivacyDlpV2ColumnDataProfile;
542
+ /** File store data profile column. */
543
+ fileStoreProfile?: GooglePrivacyDlpV2FileStoreDataProfile;
519
544
  /** Table data profile column */
520
545
  tableProfile?: GooglePrivacyDlpV2TableDataProfile;
521
546
  }
@@ -554,6 +579,8 @@ declare namespace gapi.client {
554
579
  interface GooglePrivacyDlpV2DataProfilePubSubMessage {
555
580
  /** The event that caused the Pub/Sub message to be sent. */
556
581
  event?: string;
582
+ /** If `DetailLevel` is `FILE_STORE_PROFILE` this will be fully populated. Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and `file_store_path` will be populated. */
583
+ fileStoreProfile?: GooglePrivacyDlpV2FileStoreDataProfile;
557
584
  /** If `DetailLevel` is `TABLE_PROFILE` this will be fully populated. Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and `full_resource` will be populated. */
558
585
  profile?: GooglePrivacyDlpV2TableDataProfile;
559
586
  }
@@ -596,9 +623,9 @@ declare namespace gapi.client {
596
623
  timeZone?: GooglePrivacyDlpV2TimeZone;
597
624
  }
598
625
  interface GooglePrivacyDlpV2Deidentify {
599
- /** Required. User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket */
626
+ /** Required. User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for Cloud Storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket */
600
627
  cloudStorageOutput?: string;
601
- /** List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV. */
628
+ /** List of user-specified file type groups to transform. If specified, only the files with these file types will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only file types supported are: IMAGES, TEXT_FILES, CSV, TSV. */
602
629
  fileTypesToTransform?: string[];
603
630
  /** User specified deidentify templates and configs for structured, unstructured, and image files. */
604
631
  transformationConfig?: GooglePrivacyDlpV2TransformationConfig;
@@ -742,6 +769,26 @@ declare namespace gapi.client {
742
769
  /** When to reprofile if the schema has changed. */
743
770
  schemaModifiedCadence?: GooglePrivacyDlpV2SchemaModifiedCadence;
744
771
  }
772
+ interface GooglePrivacyDlpV2DiscoveryCloudStorageConditions {
773
+ /** Required. Only objects with the specified attributes will be scanned. Defaults to [ALL_SUPPORTED_BUCKETS] if unset. */
774
+ includedBucketAttributes?: string[];
775
+ /** Required. Only objects with the specified attributes will be scanned. If an object has one of the specified attributes but is inside an excluded bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A profile will be created even if no objects match the included_object_attributes. */
776
+ includedObjectAttributes?: string[];
777
+ }
778
+ interface GooglePrivacyDlpV2DiscoveryCloudStorageFilter {
779
+ /** Optional. The bucket to scan. Targets including this can only include one target (the target with this bucket). This enables profiling the contents of a single bucket, while the other options allow for easy profiling of many bucets within a project or an organization. */
780
+ cloudStorageResourceReference?: GooglePrivacyDlpV2CloudStorageResourceReference;
781
+ /** Optional. A specific set of buckets for this filter to apply to. */
782
+ collection?: GooglePrivacyDlpV2FileStoreCollection;
783
+ /** Optional. Catch-all. This should always be the last target 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. */
784
+ others?: any;
785
+ }
786
+ interface GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence {
787
+ /** Optional. Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update. */
788
+ inspectTemplateModifiedCadence?: GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence;
789
+ /** Optional. Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changed. Defaults to never. */
790
+ refreshFrequency?: string;
791
+ }
745
792
  interface GooglePrivacyDlpV2DiscoveryConfig {
746
793
  /** Actions to execute at the completion of scanning. */
747
794
  actions?: GooglePrivacyDlpV2DataProfileAction[];
@@ -766,12 +813,26 @@ declare namespace gapi.client {
766
813
  /** Output only. The last update timestamp of a DiscoveryConfig. */
767
814
  updateTime?: string;
768
815
  }
816
+ interface GooglePrivacyDlpV2DiscoveryFileStoreConditions {
817
+ /** Optional. Cloud Storage conditions. */
818
+ cloudStorageConditions?: GooglePrivacyDlpV2DiscoveryCloudStorageConditions;
819
+ /** Optional. File store must have been created after this date. Used to avoid backfilling. */
820
+ createdAfter?: string;
821
+ /** Optional. Minimum age a file store must have. If set, the value must be 1 hour or greater. */
822
+ minAge?: string;
823
+ }
769
824
  interface GooglePrivacyDlpV2DiscoveryGenerationCadence {
825
+ /** Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update. */
826
+ inspectTemplateModifiedCadence?: GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence;
770
827
  /** Governs when to update data profiles when a schema is modified. */
771
828
  schemaModifiedCadence?: GooglePrivacyDlpV2DiscoverySchemaModifiedCadence;
772
829
  /** Governs when to update data profiles when a table is modified. */
773
830
  tableModifiedCadence?: GooglePrivacyDlpV2DiscoveryTableModifiedCadence;
774
831
  }
832
+ interface GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence {
833
+ /** How frequently data profiles can be updated when the template is modified. Defaults to never. */
834
+ frequency?: string;
835
+ }
775
836
  interface GooglePrivacyDlpV2DiscoverySchemaModifiedCadence {
776
837
  /** How frequently profiles may be updated when schemas are modified. Defaults to monthly. */
777
838
  frequency?: string;
@@ -795,6 +856,8 @@ declare namespace gapi.client {
795
856
  bigQueryTarget?: GooglePrivacyDlpV2BigQueryDiscoveryTarget;
796
857
  /** Cloud SQL target for Discovery. The first target to match a table will be the one applied. */
797
858
  cloudSqlTarget?: GooglePrivacyDlpV2CloudSqlDiscoveryTarget;
859
+ /** Cloud Storage target for Discovery. The first target to match a table will be the one applied. */
860
+ cloudStorageTarget?: GooglePrivacyDlpV2CloudStorageDiscoveryTarget;
798
861
  /** 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
862
  secretsTarget?: any;
800
863
  }
@@ -835,6 +898,8 @@ declare namespace gapi.client {
835
898
  interface GooglePrivacyDlpV2Error {
836
899
  /** Detailed error codes and messages. */
837
900
  details?: GoogleRpcStatus;
901
+ /** Additional information about the error. */
902
+ extraInfo?: string;
838
903
  /** The times the error occurred. List includes the oldest timestamp and the last 9 timestamps. */
839
904
  timestamps?: string[];
840
905
  }
@@ -884,12 +949,102 @@ declare namespace gapi.client {
884
949
  /** Apply the transformation to the entire field. */
885
950
  primitiveTransformation?: GooglePrivacyDlpV2PrimitiveTransformation;
886
951
  }
952
+ interface GooglePrivacyDlpV2FileClusterSummary {
953
+ /** The data risk level of this cluster. RISK_LOW if nothing has been scanned. */
954
+ dataRiskLevel?: GooglePrivacyDlpV2DataRiskLevel;
955
+ /** A list of errors detected while scanning this cluster. The list is truncated to 10 per cluster. */
956
+ errors?: GooglePrivacyDlpV2Error[];
957
+ /** The file cluster type. */
958
+ fileClusterType?: GooglePrivacyDlpV2FileClusterType;
959
+ /** A sample of file types scanned in this cluster. Empty if no files were scanned. */
960
+ fileExtensionsScanned?: GooglePrivacyDlpV2FileExtensionInfo[];
961
+ /** A sample of file types seen in this cluster. Empty if no files were seen. */
962
+ fileExtensionsSeen?: GooglePrivacyDlpV2FileExtensionInfo[];
963
+ /** InfoTypes detected in this cluster. */
964
+ fileStoreInfoTypeSummaries?: GooglePrivacyDlpV2FileStoreInfoTypeSummary[];
965
+ /** True if no files exist in this cluster. If the bucket had more files than could be listed, this will be false even if no files for this cluster were seen and file_extensions_seen is empty. */
966
+ noFilesExist?: boolean;
967
+ /** The sensitivity score of this cluster. The score will be SENSITIVITY_LOW if nothing has been scanned. */
968
+ sensitivityScore?: GooglePrivacyDlpV2SensitivityScore;
969
+ }
970
+ interface GooglePrivacyDlpV2FileClusterType {
971
+ /** Cluster type. */
972
+ cluster?: string;
973
+ }
974
+ interface GooglePrivacyDlpV2FileExtensionInfo {
975
+ /** The file extension if set. (aka .pdf, .jpg, .txt) */
976
+ fileExtension?: string;
977
+ }
887
978
  interface GooglePrivacyDlpV2FileSet {
888
979
  /** The regex-filtered set of files to scan. Exactly one of `url` or `regex_file_set` must be set. */
889
980
  regexFileSet?: GooglePrivacyDlpV2CloudStorageRegexFileSet;
890
981
  /** The Cloud Storage url of the file(s) to scan, in the format `gs:///`. Trailing wildcard in the path is allowed. If the url ends in a trailing slash, the bucket or directory represented by the url will be scanned non-recursively (content in sub-directories will not be scanned). This means that `gs://mybucket/` is equivalent to `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to `gs://mybucket/directory/*`. Exactly one of `url` or `regex_file_set` must be set. */
891
982
  url?: string;
892
983
  }
984
+ interface GooglePrivacyDlpV2FileStoreCollection {
985
+ /** Optional. A collection of regular expressions to match a file store against. */
986
+ includeRegexes?: GooglePrivacyDlpV2FileStoreRegexes;
987
+ }
988
+ interface GooglePrivacyDlpV2FileStoreDataProfile {
989
+ /** The snapshot of the configurations used to generate the profile. */
990
+ configSnapshot?: GooglePrivacyDlpV2DataProfileConfigSnapshot;
991
+ /** The time the file store was first created. */
992
+ createTime?: string;
993
+ /** The data risk level of this resource. */
994
+ dataRiskLevel?: GooglePrivacyDlpV2DataRiskLevel;
995
+ /** The resource type that was profiled. */
996
+ dataSourceType?: GooglePrivacyDlpV2DataSourceType;
997
+ /** For resources that have multiple storage locations, these are those regions. For Cloud Storage this is the list of regions chosen for dual-region storage. `file_store_location` will normally be the corresponding multi-region for the list of individual locations. The first region is always picked as the processing and storage location for the data profile. */
998
+ dataStorageLocations?: string[];
999
+ /** FileClusterSummary per each cluster. */
1000
+ fileClusterSummaries?: GooglePrivacyDlpV2FileClusterSummary[];
1001
+ /** InfoTypes detected in this file store. */
1002
+ fileStoreInfoTypeSummaries?: GooglePrivacyDlpV2FileStoreInfoTypeSummary[];
1003
+ /** The file store does not have any files. */
1004
+ fileStoreIsEmpty?: boolean;
1005
+ /** The location of the file store. * Cloud Storage: https://cloud.google.com/storage/docs/locations#available-locations */
1006
+ fileStoreLocation?: string;
1007
+ /** The file store path. * Cloud Storage: `gs://{bucket}` */
1008
+ fileStorePath?: string;
1009
+ /** The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name */
1010
+ fullResource?: string;
1011
+ /** The time the file store was last modified. */
1012
+ lastModifiedTime?: string;
1013
+ /** The location type of the bucket (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated. */
1014
+ locationType?: string;
1015
+ /** The name of the profile. */
1016
+ name?: string;
1017
+ /** The last time the profile was generated. */
1018
+ profileLastGenerated?: string;
1019
+ /** Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated. */
1020
+ profileStatus?: GooglePrivacyDlpV2ProfileStatus;
1021
+ /** The resource name of the project data profile for this file store. */
1022
+ projectDataProfile?: string;
1023
+ /** The Google Cloud project ID that owns the resource. */
1024
+ projectId?: string;
1025
+ /** Attributes of the resource being profiled. Currently used attributes: * customer_managed_encryption: boolean - true: the resource is encrypted with a customer-managed key. - false: the resource is encrypted with a provider-managed key. */
1026
+ resourceAttributes?: {[P in string]: GooglePrivacyDlpV2Value};
1027
+ /** The labels applied to the resource at the time the profile was generated. */
1028
+ resourceLabels?: {[P in string]: string};
1029
+ /** How broadly a resource has been shared. */
1030
+ resourceVisibility?: string;
1031
+ /** The sensitivity score of this resource. */
1032
+ sensitivityScore?: GooglePrivacyDlpV2SensitivityScore;
1033
+ /** State of a profile. */
1034
+ state?: string;
1035
+ }
1036
+ interface GooglePrivacyDlpV2FileStoreInfoTypeSummary {
1037
+ /** The InfoType seen. */
1038
+ infoType?: GooglePrivacyDlpV2InfoType;
1039
+ }
1040
+ interface GooglePrivacyDlpV2FileStoreRegex {
1041
+ /** Optional. Regex for Cloud Storage. */
1042
+ cloudStorageRegex?: GooglePrivacyDlpV2CloudStorageRegex;
1043
+ }
1044
+ interface GooglePrivacyDlpV2FileStoreRegexes {
1045
+ /** Required. The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB. */
1046
+ patterns?: GooglePrivacyDlpV2FileStoreRegex[];
1047
+ }
893
1048
  interface GooglePrivacyDlpV2Finding {
894
1049
  /** Timestamp when finding was detected. */
895
1050
  createTime?: string;
@@ -1340,6 +1495,12 @@ declare namespace gapi.client {
1340
1495
  /** The standard List next-page token. */
1341
1496
  nextPageToken?: string;
1342
1497
  }
1498
+ interface GooglePrivacyDlpV2ListFileStoreDataProfilesResponse {
1499
+ /** List of data profiles. */
1500
+ fileStoreDataProfiles?: GooglePrivacyDlpV2FileStoreDataProfile[];
1501
+ /** The next page token. */
1502
+ nextPageToken?: string;
1503
+ }
1343
1504
  interface GooglePrivacyDlpV2ListInfoTypesResponse {
1344
1505
  /** Set of sensitive infoTypes. */
1345
1506
  infoTypes?: GooglePrivacyDlpV2InfoTypeDescription[];
@@ -1492,6 +1653,8 @@ declare namespace gapi.client {
1492
1653
  interface GooglePrivacyDlpV2ProjectDataProfile {
1493
1654
  /** The data risk level of this project. */
1494
1655
  dataRiskLevel?: GooglePrivacyDlpV2DataRiskLevel;
1656
+ /** The number of file store data profiles generated for this project. */
1657
+ fileStoreDataProfileCount?: string;
1495
1658
  /** The resource name of the profile. */
1496
1659
  name?: string;
1497
1660
  /** The last time the profile was generated. */
@@ -1502,6 +1665,8 @@ declare namespace gapi.client {
1502
1665
  projectId?: string;
1503
1666
  /** The sensitivity score of this project. */
1504
1667
  sensitivityScore?: GooglePrivacyDlpV2SensitivityScore;
1668
+ /** The number of table data profiles generated for this project. */
1669
+ tableDataProfileCount?: string;
1505
1670
  }
1506
1671
  interface GooglePrivacyDlpV2Proximity {
1507
1672
  /** Number of characters after the finding to consider. */
@@ -1857,7 +2022,7 @@ declare namespace gapi.client {
1857
2022
  profileLastGenerated?: string;
1858
2023
  /** Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated. */
1859
2024
  profileStatus?: GooglePrivacyDlpV2ProfileStatus;
1860
- /** The resource name to the project data profile for this table. */
2025
+ /** The resource name of the project data profile for this table. */
1861
2026
  projectDataProfile?: string;
1862
2027
  /** The labels applied to the resource at the time the profile was generated. */
1863
2028
  resourceLabels?: {[P in string]: string};
@@ -2312,7 +2477,7 @@ declare namespace gapi.client {
2312
2477
  locationId?: string;
2313
2478
  /** OAuth 2.0 token for the current user. */
2314
2479
  oauth_token?: string;
2315
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */
2480
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */
2316
2481
  orderBy?: string;
2317
2482
  /** Size of the page. This value can be limited by the server. If zero server returns a page of max size 100. */
2318
2483
  pageSize?: number;
@@ -2519,7 +2684,7 @@ declare namespace gapi.client {
2519
2684
  locationId?: string;
2520
2685
  /** OAuth 2.0 token for the current user. */
2521
2686
  oauth_token?: string;
2522
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */
2687
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */
2523
2688
  orderBy?: string;
2524
2689
  /** Size of the page. This value can be limited by the server. If zero server returns a page of max size 100. */
2525
2690
  pageSize?: number;
@@ -2641,7 +2806,7 @@ declare namespace gapi.client {
2641
2806
  key?: string;
2642
2807
  /** OAuth 2.0 token for the current user. */
2643
2808
  oauth_token?: string;
2644
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a column is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. */
2809
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a column is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. */
2645
2810
  orderBy?: string;
2646
2811
  /** Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100. */
2647
2812
  pageSize?: number;
@@ -2995,7 +3160,7 @@ declare namespace gapi.client {
2995
3160
  locationId?: string;
2996
3161
  /** OAuth 2.0 token for the current user. */
2997
3162
  oauth_token?: string;
2998
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */
3163
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */
2999
3164
  orderBy?: string;
3000
3165
  /** Size of the page. This value can be limited by the server. If zero server returns a page of max size 100. */
3001
3166
  pageSize?: number;
@@ -3200,7 +3365,7 @@ declare namespace gapi.client {
3200
3365
  key?: string;
3201
3366
  /** OAuth 2.0 token for the current user. */
3202
3367
  oauth_token?: string;
3203
- /** Comma separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status. */
3368
+ /** Comma-separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status. */
3204
3369
  orderBy?: string;
3205
3370
  /** Size of the page. This value can be limited by a server. */
3206
3371
  pageSize?: number;
@@ -3297,7 +3462,7 @@ declare namespace gapi.client {
3297
3462
  locationId?: string;
3298
3463
  /** OAuth 2.0 token for the current user. */
3299
3464
  oauth_token?: string;
3300
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state` */
3465
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state` */
3301
3466
  orderBy?: string;
3302
3467
  /** The standard list page size. */
3303
3468
  pageSize?: number;
@@ -3317,6 +3482,97 @@ declare namespace gapi.client {
3317
3482
  uploadType?: string;
3318
3483
  }): Request<GooglePrivacyDlpV2ListDlpJobsResponse>;
3319
3484
  }
3485
+ interface FileStoreDataProfilesResource {
3486
+ /** Delete a FileStoreDataProfile. Will not prevent the profile from being regenerated if the resource is still included in a discovery configuration. */
3487
+ delete(request?: {
3488
+ /** V1 error format. */
3489
+ '$.xgafv'?: string;
3490
+ /** OAuth access token. */
3491
+ access_token?: string;
3492
+ /** Data format for response. */
3493
+ alt?: string;
3494
+ /** JSONP */
3495
+ callback?: string;
3496
+ /** Selector specifying which fields to include in a partial response. */
3497
+ fields?: string;
3498
+ /** 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. */
3499
+ key?: string;
3500
+ /** Required. Resource name of the file store data profile. */
3501
+ name: string;
3502
+ /** OAuth 2.0 token for the current user. */
3503
+ oauth_token?: string;
3504
+ /** Returns response with indentations and line breaks. */
3505
+ prettyPrint?: boolean;
3506
+ /** 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. */
3507
+ quotaUser?: string;
3508
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3509
+ upload_protocol?: string;
3510
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3511
+ uploadType?: string;
3512
+ }): Request<{}>;
3513
+ /** Gets a file store data profile. */
3514
+ get(request?: {
3515
+ /** V1 error format. */
3516
+ '$.xgafv'?: string;
3517
+ /** OAuth access token. */
3518
+ access_token?: string;
3519
+ /** Data format for response. */
3520
+ alt?: string;
3521
+ /** JSONP */
3522
+ callback?: string;
3523
+ /** Selector specifying which fields to include in a partial response. */
3524
+ fields?: string;
3525
+ /** 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. */
3526
+ key?: string;
3527
+ /** Required. Resource name, for example `organizations/12345/locations/us/fileStoreDataProfiles/53234423`. */
3528
+ name: string;
3529
+ /** OAuth 2.0 token for the current user. */
3530
+ oauth_token?: string;
3531
+ /** Returns response with indentations and line breaks. */
3532
+ prettyPrint?: boolean;
3533
+ /** 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. */
3534
+ quotaUser?: string;
3535
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3536
+ upload_protocol?: string;
3537
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3538
+ uploadType?: string;
3539
+ }): Request<GooglePrivacyDlpV2FileStoreDataProfile>;
3540
+ /** Lists file store data profiles for an organization. */
3541
+ list(request?: {
3542
+ /** V1 error format. */
3543
+ '$.xgafv'?: string;
3544
+ /** OAuth access token. */
3545
+ access_token?: string;
3546
+ /** Data format for response. */
3547
+ alt?: string;
3548
+ /** JSONP */
3549
+ callback?: string;
3550
+ /** Selector specifying which fields to include in a partial response. */
3551
+ fields?: string;
3552
+ /** Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values: - `project_id` - The Google Cloud project ID. - `file_store_path` - The path like "gs://bucket". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` The length of this field should be no more than 500 characters. */
3553
+ filter?: string;
3554
+ /** 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. */
3555
+ key?: string;
3556
+ /** OAuth 2.0 token for the current user. */
3557
+ oauth_token?: string;
3558
+ /** Optional. Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `name` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `name`: The name of the profile. - `create_time`: The time the file store was first created. */
3559
+ orderBy?: string;
3560
+ /** Optional. Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100. */
3561
+ pageSize?: number;
3562
+ /** Optional. Page token to continue retrieval. */
3563
+ pageToken?: string;
3564
+ /** Required. Resource name of the organization or project, for example `organizations/433245324/locations/europe` or `projects/project-id/locations/asia`. */
3565
+ parent: string;
3566
+ /** Returns response with indentations and line breaks. */
3567
+ prettyPrint?: boolean;
3568
+ /** 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. */
3569
+ quotaUser?: string;
3570
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3571
+ upload_protocol?: string;
3572
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3573
+ uploadType?: string;
3574
+ }): Request<GooglePrivacyDlpV2ListFileStoreDataProfilesResponse>;
3575
+ }
3320
3576
  interface InspectTemplatesResource {
3321
3577
  /** 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. */
3322
3578
  create(request: {
@@ -3448,7 +3704,7 @@ declare namespace gapi.client {
3448
3704
  locationId?: string;
3449
3705
  /** OAuth 2.0 token for the current user. */
3450
3706
  oauth_token?: string;
3451
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */
3707
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */
3452
3708
  orderBy?: string;
3453
3709
  /** Size of the page. This value can be limited by the server. If zero server returns a page of max size 100. */
3454
3710
  pageSize?: number;
@@ -3657,7 +3913,7 @@ declare namespace gapi.client {
3657
3913
  locationId?: string;
3658
3914
  /** OAuth 2.0 token for the current user. */
3659
3915
  oauth_token?: string;
3660
- /** Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status. */
3916
+ /** Comma-separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status. */
3661
3917
  orderBy?: string;
3662
3918
  /** Size of the page. This value can be limited by a server. */
3663
3919
  pageSize?: number;
@@ -3781,7 +4037,7 @@ declare namespace gapi.client {
3781
4037
  key?: string;
3782
4038
  /** OAuth 2.0 token for the current user. */
3783
4039
  oauth_token?: string;
3784
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported fields are: - `project_id`: Google Cloud project ID - `sensitivity_level`: How sensitive the data in a project is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. */
4040
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported fields are: - `project_id`: Google Cloud project ID - `sensitivity_level`: How sensitive the data in a project is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. */
3785
4041
  orderBy?: string;
3786
4042
  /** Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100. */
3787
4043
  pageSize?: number;
@@ -3930,7 +4186,7 @@ declare namespace gapi.client {
3930
4186
  locationId?: string;
3931
4187
  /** OAuth 2.0 token for the current user. */
3932
4188
  oauth_token?: string;
3933
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name. */
4189
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name. */
3934
4190
  orderBy?: string;
3935
4191
  /** Size of the page. This value can be limited by the server. If zero server returns a page of max size 100. */
3936
4192
  pageSize?: number;
@@ -4079,7 +4335,7 @@ declare namespace gapi.client {
4079
4335
  key?: string;
4080
4336
  /** OAuth 2.0 token for the current user. */
4081
4337
  oauth_token?: string;
4082
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `row_count`: Number of rows in this resource. */
4338
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `row_count`: Number of rows in this resource. */
4083
4339
  orderBy?: string;
4084
4340
  /** Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100. */
4085
4341
  pageSize?: number;
@@ -4103,6 +4359,7 @@ declare namespace gapi.client {
4103
4359
  deidentifyTemplates: DeidentifyTemplatesResource;
4104
4360
  discoveryConfigs: DiscoveryConfigsResource;
4105
4361
  dlpJobs: DlpJobsResource;
4362
+ fileStoreDataProfiles: FileStoreDataProfilesResource;
4106
4363
  inspectTemplates: InspectTemplatesResource;
4107
4364
  jobTriggers: JobTriggersResource;
4108
4365
  projectDataProfiles: ProjectDataProfilesResource;
@@ -4240,7 +4497,7 @@ declare namespace gapi.client {
4240
4497
  locationId?: string;
4241
4498
  /** OAuth 2.0 token for the current user. */
4242
4499
  oauth_token?: string;
4243
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name. */
4500
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name. */
4244
4501
  orderBy?: string;
4245
4502
  /** Size of the page. This value can be limited by the server. If zero server returns a page of max size 100. */
4246
4503
  pageSize?: number;
@@ -4629,7 +4886,7 @@ declare namespace gapi.client {
4629
4886
  locationId?: string;
4630
4887
  /** OAuth 2.0 token for the current user. */
4631
4888
  oauth_token?: string;
4632
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */
4889
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */
4633
4890
  orderBy?: string;
4634
4891
  /** Size of the page. This value can be limited by the server. If zero server returns a page of max size 100. */
4635
4892
  pageSize?: number;
@@ -4896,7 +5153,7 @@ declare namespace gapi.client {
4896
5153
  locationId?: string;
4897
5154
  /** OAuth 2.0 token for the current user. */
4898
5155
  oauth_token?: string;
4899
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state` */
5156
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state` */
4900
5157
  orderBy?: string;
4901
5158
  /** The standard list page size. */
4902
5159
  pageSize?: number;
@@ -5107,7 +5364,7 @@ declare namespace gapi.client {
5107
5364
  locationId?: string;
5108
5365
  /** OAuth 2.0 token for the current user. */
5109
5366
  oauth_token?: string;
5110
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */
5367
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */
5111
5368
  orderBy?: string;
5112
5369
  /** Size of the page. This value can be limited by the server. If zero server returns a page of max size 100. */
5113
5370
  pageSize?: number;
@@ -5374,7 +5631,7 @@ declare namespace gapi.client {
5374
5631
  locationId?: string;
5375
5632
  /** OAuth 2.0 token for the current user. */
5376
5633
  oauth_token?: string;
5377
- /** Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status. */
5634
+ /** Comma-separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status. */
5378
5635
  orderBy?: string;
5379
5636
  /** Size of the page. This value can be limited by a server. */
5380
5637
  pageSize?: number;
@@ -5498,7 +5755,7 @@ declare namespace gapi.client {
5498
5755
  key?: string;
5499
5756
  /** OAuth 2.0 token for the current user. */
5500
5757
  oauth_token?: string;
5501
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a column is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. */
5758
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a column is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. */
5502
5759
  orderBy?: string;
5503
5760
  /** Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100. */
5504
5761
  pageSize?: number;
@@ -6061,7 +6318,7 @@ declare namespace gapi.client {
6061
6318
  locationId?: string;
6062
6319
  /** OAuth 2.0 token for the current user. */
6063
6320
  oauth_token?: string;
6064
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */
6321
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */
6065
6322
  orderBy?: string;
6066
6323
  /** Size of the page. This value can be limited by the server. If zero server returns a page of max size 100. */
6067
6324
  pageSize?: number;
@@ -6266,7 +6523,7 @@ declare namespace gapi.client {
6266
6523
  key?: string;
6267
6524
  /** OAuth 2.0 token for the current user. */
6268
6525
  oauth_token?: string;
6269
- /** Comma separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status. */
6526
+ /** Comma-separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status. */
6270
6527
  orderBy?: string;
6271
6528
  /** Size of the page. This value can be limited by a server. */
6272
6529
  pageSize?: number;
@@ -6649,7 +6906,7 @@ declare namespace gapi.client {
6649
6906
  locationId?: string;
6650
6907
  /** OAuth 2.0 token for the current user. */
6651
6908
  oauth_token?: string;
6652
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state` */
6909
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state` */
6653
6910
  orderBy?: string;
6654
6911
  /** The standard list page size. */
6655
6912
  pageSize?: number;
@@ -6669,6 +6926,97 @@ declare namespace gapi.client {
6669
6926
  uploadType?: string;
6670
6927
  }): Request<GooglePrivacyDlpV2ListDlpJobsResponse>;
6671
6928
  }
6929
+ interface FileStoreDataProfilesResource {
6930
+ /** Delete a FileStoreDataProfile. Will not prevent the profile from being regenerated if the resource is still included in a discovery configuration. */
6931
+ delete(request?: {
6932
+ /** V1 error format. */
6933
+ '$.xgafv'?: string;
6934
+ /** OAuth access token. */
6935
+ access_token?: string;
6936
+ /** Data format for response. */
6937
+ alt?: string;
6938
+ /** JSONP */
6939
+ callback?: string;
6940
+ /** Selector specifying which fields to include in a partial response. */
6941
+ fields?: string;
6942
+ /** 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. */
6943
+ key?: string;
6944
+ /** Required. Resource name of the file store data profile. */
6945
+ name: string;
6946
+ /** OAuth 2.0 token for the current user. */
6947
+ oauth_token?: string;
6948
+ /** Returns response with indentations and line breaks. */
6949
+ prettyPrint?: boolean;
6950
+ /** 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. */
6951
+ quotaUser?: string;
6952
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6953
+ upload_protocol?: string;
6954
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6955
+ uploadType?: string;
6956
+ }): Request<{}>;
6957
+ /** Gets a file store data profile. */
6958
+ get(request?: {
6959
+ /** V1 error format. */
6960
+ '$.xgafv'?: string;
6961
+ /** OAuth access token. */
6962
+ access_token?: string;
6963
+ /** Data format for response. */
6964
+ alt?: string;
6965
+ /** JSONP */
6966
+ callback?: string;
6967
+ /** Selector specifying which fields to include in a partial response. */
6968
+ fields?: string;
6969
+ /** 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. */
6970
+ key?: string;
6971
+ /** Required. Resource name, for example `organizations/12345/locations/us/fileStoreDataProfiles/53234423`. */
6972
+ name: string;
6973
+ /** OAuth 2.0 token for the current user. */
6974
+ oauth_token?: string;
6975
+ /** Returns response with indentations and line breaks. */
6976
+ prettyPrint?: boolean;
6977
+ /** 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. */
6978
+ quotaUser?: string;
6979
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6980
+ upload_protocol?: string;
6981
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6982
+ uploadType?: string;
6983
+ }): Request<GooglePrivacyDlpV2FileStoreDataProfile>;
6984
+ /** Lists file store data profiles for an organization. */
6985
+ list(request?: {
6986
+ /** V1 error format. */
6987
+ '$.xgafv'?: string;
6988
+ /** OAuth access token. */
6989
+ access_token?: string;
6990
+ /** Data format for response. */
6991
+ alt?: string;
6992
+ /** JSONP */
6993
+ callback?: string;
6994
+ /** Selector specifying which fields to include in a partial response. */
6995
+ fields?: string;
6996
+ /** Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values: - `project_id` - The Google Cloud project ID. - `file_store_path` - The path like "gs://bucket". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` The length of this field should be no more than 500 characters. */
6997
+ filter?: string;
6998
+ /** 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. */
6999
+ key?: string;
7000
+ /** OAuth 2.0 token for the current user. */
7001
+ oauth_token?: string;
7002
+ /** Optional. Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `name` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `name`: The name of the profile. - `create_time`: The time the file store was first created. */
7003
+ orderBy?: string;
7004
+ /** Optional. Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100. */
7005
+ pageSize?: number;
7006
+ /** Optional. Page token to continue retrieval. */
7007
+ pageToken?: string;
7008
+ /** Required. Resource name of the organization or project, for example `organizations/433245324/locations/europe` or `projects/project-id/locations/asia`. */
7009
+ parent: string;
7010
+ /** Returns response with indentations and line breaks. */
7011
+ prettyPrint?: boolean;
7012
+ /** 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. */
7013
+ quotaUser?: string;
7014
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7015
+ upload_protocol?: string;
7016
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7017
+ uploadType?: string;
7018
+ }): Request<GooglePrivacyDlpV2ListFileStoreDataProfilesResponse>;
7019
+ }
6672
7020
  interface ImageResource {
6673
7021
  /** Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/sensitive-data-protection/docs/redacting-sensitive-data-images to learn more. 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. */
6674
7022
  redact(request: {
@@ -6860,7 +7208,7 @@ declare namespace gapi.client {
6860
7208
  locationId?: string;
6861
7209
  /** OAuth 2.0 token for the current user. */
6862
7210
  oauth_token?: string;
6863
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */
7211
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */
6864
7212
  orderBy?: string;
6865
7213
  /** Size of the page. This value can be limited by the server. If zero server returns a page of max size 100. */
6866
7214
  pageSize?: number;
@@ -7185,7 +7533,7 @@ declare namespace gapi.client {
7185
7533
  locationId?: string;
7186
7534
  /** OAuth 2.0 token for the current user. */
7187
7535
  oauth_token?: string;
7188
- /** Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status. */
7536
+ /** Comma-separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status. */
7189
7537
  orderBy?: string;
7190
7538
  /** Size of the page. This value can be limited by a server. */
7191
7539
  pageSize?: number;
@@ -7309,7 +7657,7 @@ declare namespace gapi.client {
7309
7657
  key?: string;
7310
7658
  /** OAuth 2.0 token for the current user. */
7311
7659
  oauth_token?: string;
7312
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported fields are: - `project_id`: Google Cloud project ID - `sensitivity_level`: How sensitive the data in a project is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. */
7660
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported fields are: - `project_id`: Google Cloud project ID - `sensitivity_level`: How sensitive the data in a project is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. */
7313
7661
  orderBy?: string;
7314
7662
  /** Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100. */
7315
7663
  pageSize?: number;
@@ -7458,7 +7806,7 @@ declare namespace gapi.client {
7458
7806
  locationId?: string;
7459
7807
  /** OAuth 2.0 token for the current user. */
7460
7808
  oauth_token?: string;
7461
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name. */
7809
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name. */
7462
7810
  orderBy?: string;
7463
7811
  /** Size of the page. This value can be limited by the server. If zero server returns a page of max size 100. */
7464
7812
  pageSize?: number;
@@ -7607,7 +7955,7 @@ declare namespace gapi.client {
7607
7955
  key?: string;
7608
7956
  /** OAuth 2.0 token for the current user. */
7609
7957
  oauth_token?: string;
7610
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `row_count`: Number of rows in this resource. */
7958
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `row_count`: Number of rows in this resource. */
7611
7959
  orderBy?: string;
7612
7960
  /** Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100. */
7613
7961
  pageSize?: number;
@@ -7632,6 +7980,7 @@ declare namespace gapi.client {
7632
7980
  deidentifyTemplates: DeidentifyTemplatesResource;
7633
7981
  discoveryConfigs: DiscoveryConfigsResource;
7634
7982
  dlpJobs: DlpJobsResource;
7983
+ fileStoreDataProfiles: FileStoreDataProfilesResource;
7635
7984
  image: ImageResource;
7636
7985
  inspectTemplates: InspectTemplatesResource;
7637
7986
  jobTriggers: JobTriggersResource;
@@ -7770,7 +8119,7 @@ declare namespace gapi.client {
7770
8119
  locationId?: string;
7771
8120
  /** OAuth 2.0 token for the current user. */
7772
8121
  oauth_token?: string;
7773
- /** Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name. */
8122
+ /** Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name. */
7774
8123
  orderBy?: string;
7775
8124
  /** Size of the page. This value can be limited by the server. If zero server returns a page of max size 100. */
7776
8125
  pageSize?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dlp-v2",
3
- "version": "0.0.20240616",
3
+ "version": "0.0.20240702",
4
4
  "description": "TypeScript typings for Sensitive Data Protection (DLP) v2",
5
5
  "repository": {
6
6
  "type": "git",