@maxim_mazurok/gapi.client.dlp-v2 0.0.20250207 → 0.0.20250222
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.
- package/index.d.ts +72 -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:
|
|
12
|
+
// Revision: 20250222
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -850,6 +850,8 @@ declare namespace gapi.client {
|
|
|
850
850
|
orgConfig?: GooglePrivacyDlpV2OrgConfig;
|
|
851
851
|
/** Must be set only when scanning other clouds. */
|
|
852
852
|
otherCloudStartingLocation?: GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation;
|
|
853
|
+
/** Optional. Processing location configuration. Vertex AI dataset scanning will set processing_location.image_fallback_type to MultiRegionProcessing by default. */
|
|
854
|
+
processingLocation?: GooglePrivacyDlpV2ProcessingLocation;
|
|
853
855
|
/** Required. A status for this configuration. */
|
|
854
856
|
status?: string;
|
|
855
857
|
/** Target to match against for determining what to scan and how frequently. */
|
|
@@ -928,6 +930,28 @@ declare namespace gapi.client {
|
|
|
928
930
|
otherCloudTarget?: GooglePrivacyDlpV2OtherCloudDiscoveryTarget;
|
|
929
931
|
/** 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. */
|
|
930
932
|
secretsTarget?: any;
|
|
933
|
+
/** Vertex AI dataset target for Discovery. The first target to match a dataset will be the one applied. Note that discovery for Vertex AI can incur Cloud Storage Class B operation charges for storage.objects.get operations and retrieval fees. For more information, see [Cloud Storage pricing](https://cloud.google.com/storage/pricing#price-tables). Note that discovery for Vertex AI dataset will not be able to scan images unless DiscoveryConfig.processing_location.image_fallback_location has multi_region_processing or global_processing configured. */
|
|
934
|
+
vertexDatasetTarget?: GooglePrivacyDlpV2VertexDatasetDiscoveryTarget;
|
|
935
|
+
}
|
|
936
|
+
interface GooglePrivacyDlpV2DiscoveryVertexDatasetConditions {
|
|
937
|
+
/** Vertex AI dataset must have been created after this date. Used to avoid backfilling. */
|
|
938
|
+
createdAfter?: string;
|
|
939
|
+
/** Minimum age a Vertex AI dataset must have. If set, the value must be 1 hour or greater. */
|
|
940
|
+
minAge?: string;
|
|
941
|
+
}
|
|
942
|
+
interface GooglePrivacyDlpV2DiscoveryVertexDatasetFilter {
|
|
943
|
+
/** A specific set of Vertex AI datasets for this filter to apply to. */
|
|
944
|
+
collection?: GooglePrivacyDlpV2VertexDatasetCollection;
|
|
945
|
+
/** 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. */
|
|
946
|
+
others?: any;
|
|
947
|
+
/** The dataset resource to scan. Targets including this can only include one target (the target with this dataset resource reference). */
|
|
948
|
+
vertexDatasetResourceReference?: GooglePrivacyDlpV2VertexDatasetResourceReference;
|
|
949
|
+
}
|
|
950
|
+
interface GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence {
|
|
951
|
+
/** 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 be updated. */
|
|
952
|
+
inspectTemplateModifiedCadence?: GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence;
|
|
953
|
+
/** If you set this field, profiles are refreshed at this frequency regardless of whether the underlying datasets have changed. Defaults to never. */
|
|
954
|
+
refreshFrequency?: string;
|
|
931
955
|
}
|
|
932
956
|
interface GooglePrivacyDlpV2DlpJob {
|
|
933
957
|
/** Events that should occur after the job has completed. */
|
|
@@ -1072,7 +1096,7 @@ declare namespace gapi.client {
|
|
|
1072
1096
|
fileStoreIsEmpty?: boolean;
|
|
1073
1097
|
/** The location of the file store. * Cloud Storage: https://cloud.google.com/storage/docs/locations#available-locations * Amazon S3: https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints */
|
|
1074
1098
|
fileStoreLocation?: string;
|
|
1075
|
-
/** The file store path. * Cloud Storage: `gs://{bucket}` * Amazon S3: `s3://{bucket}` */
|
|
1099
|
+
/** The file store path. * Cloud Storage: `gs://{bucket}` * Amazon S3: `s3://{bucket}` * Vertex AI dataset: `projects/{project_number}/locations/{location}/datasets/{dataset_id}` */
|
|
1076
1100
|
fileStorePath?: string;
|
|
1077
1101
|
/** The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name Example format of an S3 bucket full resource name: `//cloudasset.googleapis.com/organizations/{org_id}/otherCloudConnections/aws/arn:aws:s3:::{bucket_name}` */
|
|
1078
1102
|
fullResource?: string;
|
|
@@ -1090,6 +1114,8 @@ declare namespace gapi.client {
|
|
|
1090
1114
|
projectDataProfile?: string;
|
|
1091
1115
|
/** The Google Cloud project ID that owns the resource. For Amazon S3 buckets, this is the AWS Account Id. */
|
|
1092
1116
|
projectId?: string;
|
|
1117
|
+
/** Resources related to this profile. */
|
|
1118
|
+
relatedResources?: GooglePrivacyDlpV2RelatedResource[];
|
|
1093
1119
|
/** 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. */
|
|
1094
1120
|
resourceAttributes?: {[P in string]: GooglePrivacyDlpV2Value};
|
|
1095
1121
|
/** The labels applied to the resource at the time the profile was generated. */
|
|
@@ -1158,6 +1184,7 @@ declare namespace gapi.client {
|
|
|
1158
1184
|
/** Required. Upper bound value of buckets. All values greater than upper_bound are grouped together into a single bucket; for example if `upper_bound` = 89, then all values greater than 89 are replaced with the value "89+". */
|
|
1159
1185
|
upperBound?: GooglePrivacyDlpV2Value;
|
|
1160
1186
|
}
|
|
1187
|
+
interface GooglePrivacyDlpV2GlobalProcessing {}
|
|
1161
1188
|
interface GooglePrivacyDlpV2HotwordRule {
|
|
1162
1189
|
/** Regular expression pattern defining what qualifies as a hotword. */
|
|
1163
1190
|
hotwordRegex?: GooglePrivacyDlpV2Regex;
|
|
@@ -1211,6 +1238,12 @@ declare namespace gapi.client {
|
|
|
1211
1238
|
/** If the container is a table, additional information to make findings meaningful such as the columns that are primary keys. */
|
|
1212
1239
|
tableOptions?: GooglePrivacyDlpV2TableOptions;
|
|
1213
1240
|
}
|
|
1241
|
+
interface GooglePrivacyDlpV2ImageFallbackLocation {
|
|
1242
|
+
/** Processing will happen in the global region. */
|
|
1243
|
+
globalProcessing?: any;
|
|
1244
|
+
/** Processing will happen in a multi-region that contains the current region if available. */
|
|
1245
|
+
multiRegionProcessing?: any;
|
|
1246
|
+
}
|
|
1214
1247
|
interface GooglePrivacyDlpV2ImageLocation {
|
|
1215
1248
|
/** Bounding boxes locating the pixels within the image containing the finding. */
|
|
1216
1249
|
boundingBoxes?: GooglePrivacyDlpV2BoundingBox[];
|
|
@@ -1622,6 +1655,7 @@ declare namespace gapi.client {
|
|
|
1622
1655
|
/** Type of metadata containing the finding. */
|
|
1623
1656
|
type?: string;
|
|
1624
1657
|
}
|
|
1658
|
+
interface GooglePrivacyDlpV2MultiRegionProcessing {}
|
|
1625
1659
|
interface GooglePrivacyDlpV2NumericalStatsConfig {
|
|
1626
1660
|
/** Field to compute numerical stats on. Supported types are integer, float, date, datetime, timestamp, time. */
|
|
1627
1661
|
field?: GooglePrivacyDlpV2FieldId;
|
|
@@ -1746,6 +1780,10 @@ declare namespace gapi.client {
|
|
|
1746
1780
|
/** Numerical stats */
|
|
1747
1781
|
numericalStatsConfig?: GooglePrivacyDlpV2NumericalStatsConfig;
|
|
1748
1782
|
}
|
|
1783
|
+
interface GooglePrivacyDlpV2ProcessingLocation {
|
|
1784
|
+
/** Image processing will fall back using this configuration. */
|
|
1785
|
+
imageFallbackLocation?: GooglePrivacyDlpV2ImageFallbackLocation;
|
|
1786
|
+
}
|
|
1749
1787
|
interface GooglePrivacyDlpV2ProfileStatus {
|
|
1750
1788
|
/** Profiling status code and optional message. The `status.code` value is 0 (default value) for OK. */
|
|
1751
1789
|
status?: GoogleRpcStatus;
|
|
@@ -1924,6 +1962,10 @@ declare namespace gapi.client {
|
|
|
1924
1962
|
/** An overview of the changes that were made to the `item`. */
|
|
1925
1963
|
overview?: GooglePrivacyDlpV2TransformationOverview;
|
|
1926
1964
|
}
|
|
1965
|
+
interface GooglePrivacyDlpV2RelatedResource {
|
|
1966
|
+
/** The full resource name of the related resource. */
|
|
1967
|
+
fullResource?: string;
|
|
1968
|
+
}
|
|
1927
1969
|
interface GooglePrivacyDlpV2ReplaceDictionaryConfig {
|
|
1928
1970
|
/** A list of words to select from for random replacement. The [limits](https://cloud.google.com/sensitive-data-protection/limits) page contains details about the size limits of dictionaries. */
|
|
1929
1971
|
wordList?: GooglePrivacyDlpV2WordList;
|
|
@@ -2128,6 +2170,8 @@ declare namespace gapi.client {
|
|
|
2128
2170
|
profileStatus?: GooglePrivacyDlpV2ProfileStatus;
|
|
2129
2171
|
/** The resource name of the project data profile for this table. */
|
|
2130
2172
|
projectDataProfile?: string;
|
|
2173
|
+
/** Resources related to this profile. */
|
|
2174
|
+
relatedResources?: GooglePrivacyDlpV2RelatedResource[];
|
|
2131
2175
|
/** The labels applied to the resource at the time the profile was generated. */
|
|
2132
2176
|
resourceLabels?: {[P in string]: string};
|
|
2133
2177
|
/** How broadly a resource has been shared. */
|
|
@@ -2364,6 +2408,32 @@ declare namespace gapi.client {
|
|
|
2364
2408
|
/** Name of the version */
|
|
2365
2409
|
version?: string;
|
|
2366
2410
|
}
|
|
2411
|
+
interface GooglePrivacyDlpV2VertexDatasetCollection {
|
|
2412
|
+
/** The regex used to filter dataset resources. */
|
|
2413
|
+
vertexDatasetRegexes?: GooglePrivacyDlpV2VertexDatasetRegexes;
|
|
2414
|
+
}
|
|
2415
|
+
interface GooglePrivacyDlpV2VertexDatasetDiscoveryTarget {
|
|
2416
|
+
/** In addition to matching the filter, these conditions must be true before a profile is generated. */
|
|
2417
|
+
conditions?: GooglePrivacyDlpV2DiscoveryVertexDatasetConditions;
|
|
2418
|
+
/** Disable profiling for datasets that match this filter. */
|
|
2419
|
+
disabled?: any;
|
|
2420
|
+
/** Required. The datasets the discovery cadence applies to. The first target with a matching filter will be the one to apply to a dataset. */
|
|
2421
|
+
filter?: GooglePrivacyDlpV2DiscoveryVertexDatasetFilter;
|
|
2422
|
+
/** How often and when to update profiles. New datasets that match both the filter and conditions are scanned as quickly as possible depending on system capacity. */
|
|
2423
|
+
generationCadence?: GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence;
|
|
2424
|
+
}
|
|
2425
|
+
interface GooglePrivacyDlpV2VertexDatasetRegex {
|
|
2426
|
+
/** For organizations, if unset, will match all projects. Has no effect for configurations created within a project. */
|
|
2427
|
+
projectIdRegex?: string;
|
|
2428
|
+
}
|
|
2429
|
+
interface GooglePrivacyDlpV2VertexDatasetRegexes {
|
|
2430
|
+
/** Required. The group of regular expression patterns to match against one or more datasets. Maximum of 100 entries. The sum of the lengths of all regular expressions can't exceed 10 KiB. */
|
|
2431
|
+
patterns?: GooglePrivacyDlpV2VertexDatasetRegex[];
|
|
2432
|
+
}
|
|
2433
|
+
interface GooglePrivacyDlpV2VertexDatasetResourceReference {
|
|
2434
|
+
/** Required. The name of the dataset resource. If set within a project-level configuration, the specified resource must be within the project. */
|
|
2435
|
+
datasetResourceName?: string;
|
|
2436
|
+
}
|
|
2367
2437
|
interface GooglePrivacyDlpV2WordList {
|
|
2368
2438
|
/** Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits. [required] */
|
|
2369
2439
|
words?: string[];
|