@maxim_mazurok/gapi.client.dlp-v2 0.0.20240616 → 0.0.20240624
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 +279 -1
- 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: 20240624
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -516,6 +516,8 @@ declare namespace gapi.client {
|
|
|
516
516
|
interface GooglePrivacyDlpV2DataProfileBigQueryRowSchema {
|
|
517
517
|
/** Column data profile column */
|
|
518
518
|
columnProfile?: GooglePrivacyDlpV2ColumnDataProfile;
|
|
519
|
+
/** File store data profile column. */
|
|
520
|
+
fileStoreProfile?: GooglePrivacyDlpV2FileStoreDataProfile;
|
|
519
521
|
/** Table data profile column */
|
|
520
522
|
tableProfile?: GooglePrivacyDlpV2TableDataProfile;
|
|
521
523
|
}
|
|
@@ -554,6 +556,8 @@ declare namespace gapi.client {
|
|
|
554
556
|
interface GooglePrivacyDlpV2DataProfilePubSubMessage {
|
|
555
557
|
/** The event that caused the Pub/Sub message to be sent. */
|
|
556
558
|
event?: string;
|
|
559
|
+
/** 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. */
|
|
560
|
+
fileStoreProfile?: GooglePrivacyDlpV2FileStoreDataProfile;
|
|
557
561
|
/** 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
562
|
profile?: GooglePrivacyDlpV2TableDataProfile;
|
|
559
563
|
}
|
|
@@ -835,6 +839,8 @@ declare namespace gapi.client {
|
|
|
835
839
|
interface GooglePrivacyDlpV2Error {
|
|
836
840
|
/** Detailed error codes and messages. */
|
|
837
841
|
details?: GoogleRpcStatus;
|
|
842
|
+
/** Additional information about the error. */
|
|
843
|
+
extraInfo?: string;
|
|
838
844
|
/** The times the error occurred. List includes the oldest timestamp and the last 9 timestamps. */
|
|
839
845
|
timestamps?: string[];
|
|
840
846
|
}
|
|
@@ -884,12 +890,90 @@ declare namespace gapi.client {
|
|
|
884
890
|
/** Apply the transformation to the entire field. */
|
|
885
891
|
primitiveTransformation?: GooglePrivacyDlpV2PrimitiveTransformation;
|
|
886
892
|
}
|
|
893
|
+
interface GooglePrivacyDlpV2FileClusterSummary {
|
|
894
|
+
/** The data risk level of this cluster. RISK_LOW if nothing has been scanned. */
|
|
895
|
+
dataRiskLevel?: GooglePrivacyDlpV2DataRiskLevel;
|
|
896
|
+
/** A list of Errors detected while scanning this cluster. The list is truncated to 10 per cluster. */
|
|
897
|
+
errors?: GooglePrivacyDlpV2Error[];
|
|
898
|
+
/** The file cluster type. */
|
|
899
|
+
fileClusterType?: GooglePrivacyDlpV2FileClusterType;
|
|
900
|
+
/** A sample of file types scanned in this cluster. Empty if no files were scanned. */
|
|
901
|
+
fileExtensionsScanned?: GooglePrivacyDlpV2FileExtensionInfo[];
|
|
902
|
+
/** A sample of file types seen in this cluster. Empty if no files were seen. */
|
|
903
|
+
fileExtensionsSeen?: GooglePrivacyDlpV2FileExtensionInfo[];
|
|
904
|
+
/** InfoTypes detected in this cluster. */
|
|
905
|
+
fileStoreInfoTypeSummaries?: GooglePrivacyDlpV2FileStoreInfoTypeSummary[];
|
|
906
|
+
/** 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. */
|
|
907
|
+
noFilesExist?: boolean;
|
|
908
|
+
/** The sensitivity score of this cluster. The score will be SENSITIVITY_LOW if nothing has been scanned. */
|
|
909
|
+
sensitivityScore?: GooglePrivacyDlpV2SensitivityScore;
|
|
910
|
+
}
|
|
911
|
+
interface GooglePrivacyDlpV2FileClusterType {
|
|
912
|
+
/** Cluster type. */
|
|
913
|
+
cluster?: string;
|
|
914
|
+
}
|
|
915
|
+
interface GooglePrivacyDlpV2FileExtensionInfo {
|
|
916
|
+
/** The file extension if set. (aka .pdf, .jpg, .txt) */
|
|
917
|
+
fileExtension?: string;
|
|
918
|
+
}
|
|
887
919
|
interface GooglePrivacyDlpV2FileSet {
|
|
888
920
|
/** The regex-filtered set of files to scan. Exactly one of `url` or `regex_file_set` must be set. */
|
|
889
921
|
regexFileSet?: GooglePrivacyDlpV2CloudStorageRegexFileSet;
|
|
890
922
|
/** 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
923
|
url?: string;
|
|
892
924
|
}
|
|
925
|
+
interface GooglePrivacyDlpV2FileStoreDataProfile {
|
|
926
|
+
/** The snapshot of the configurations used to generate the profile. */
|
|
927
|
+
configSnapshot?: GooglePrivacyDlpV2DataProfileConfigSnapshot;
|
|
928
|
+
/** The time the file store was first created. */
|
|
929
|
+
createTime?: string;
|
|
930
|
+
/** The data risk level of this resource. */
|
|
931
|
+
dataRiskLevel?: GooglePrivacyDlpV2DataRiskLevel;
|
|
932
|
+
/** The resource type that was profiled. */
|
|
933
|
+
dataSourceType?: GooglePrivacyDlpV2DataSourceType;
|
|
934
|
+
/** For resources that have multiple storage locations, these are those regions. For Google 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. */
|
|
935
|
+
dataStorageLocations?: string[];
|
|
936
|
+
/** FileClusterSummary per each cluster. */
|
|
937
|
+
fileClusterSummaries?: GooglePrivacyDlpV2FileClusterSummary[];
|
|
938
|
+
/** InfoTypes detected in this file store. */
|
|
939
|
+
fileStoreInfoTypeSummaries?: GooglePrivacyDlpV2FileStoreInfoTypeSummary[];
|
|
940
|
+
/** The file store does not have any files. */
|
|
941
|
+
fileStoreIsEmpty?: boolean;
|
|
942
|
+
/** The location of the file store. * Google Cloud Storage: https://cloud.google.com/storage/docs/locations#available-locations */
|
|
943
|
+
fileStoreLocation?: string;
|
|
944
|
+
/** The file store path. * Google Cloud Storage: `gs://{bucket}` */
|
|
945
|
+
fileStorePath?: string;
|
|
946
|
+
/** The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name */
|
|
947
|
+
fullResource?: string;
|
|
948
|
+
/** The time the file store was last modified. */
|
|
949
|
+
lastModifiedTime?: string;
|
|
950
|
+
/** The location type of the bucket (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated. */
|
|
951
|
+
locationType?: string;
|
|
952
|
+
/** The name of the profile. */
|
|
953
|
+
name?: string;
|
|
954
|
+
/** The last time the profile was generated. */
|
|
955
|
+
profileLastGenerated?: string;
|
|
956
|
+
/** Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated. */
|
|
957
|
+
profileStatus?: GooglePrivacyDlpV2ProfileStatus;
|
|
958
|
+
/** The resource name to the project data profile for this file store. */
|
|
959
|
+
projectDataProfile?: string;
|
|
960
|
+
/** The Google Cloud project ID that owns the resource. */
|
|
961
|
+
projectId?: string;
|
|
962
|
+
/** 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. */
|
|
963
|
+
resourceAttributes?: {[P in string]: GooglePrivacyDlpV2Value};
|
|
964
|
+
/** The labels applied to the resource at the time the profile was generated. */
|
|
965
|
+
resourceLabels?: {[P in string]: string};
|
|
966
|
+
/** How broadly a resource has been shared. */
|
|
967
|
+
resourceVisibility?: string;
|
|
968
|
+
/** The sensitivity score of this resource. */
|
|
969
|
+
sensitivityScore?: GooglePrivacyDlpV2SensitivityScore;
|
|
970
|
+
/** State of a profile. */
|
|
971
|
+
state?: string;
|
|
972
|
+
}
|
|
973
|
+
interface GooglePrivacyDlpV2FileStoreInfoTypeSummary {
|
|
974
|
+
/** The InfoType seen. */
|
|
975
|
+
infoType?: GooglePrivacyDlpV2InfoType;
|
|
976
|
+
}
|
|
893
977
|
interface GooglePrivacyDlpV2Finding {
|
|
894
978
|
/** Timestamp when finding was detected. */
|
|
895
979
|
createTime?: string;
|
|
@@ -1340,6 +1424,12 @@ declare namespace gapi.client {
|
|
|
1340
1424
|
/** The standard List next-page token. */
|
|
1341
1425
|
nextPageToken?: string;
|
|
1342
1426
|
}
|
|
1427
|
+
interface GooglePrivacyDlpV2ListFileStoreDataProfilesResponse {
|
|
1428
|
+
/** List of data profiles. */
|
|
1429
|
+
fileStoreDataProfiles?: GooglePrivacyDlpV2FileStoreDataProfile[];
|
|
1430
|
+
/** The next page token. */
|
|
1431
|
+
nextPageToken?: string;
|
|
1432
|
+
}
|
|
1343
1433
|
interface GooglePrivacyDlpV2ListInfoTypesResponse {
|
|
1344
1434
|
/** Set of sensitive infoTypes. */
|
|
1345
1435
|
infoTypes?: GooglePrivacyDlpV2InfoTypeDescription[];
|
|
@@ -1492,6 +1582,8 @@ declare namespace gapi.client {
|
|
|
1492
1582
|
interface GooglePrivacyDlpV2ProjectDataProfile {
|
|
1493
1583
|
/** The data risk level of this project. */
|
|
1494
1584
|
dataRiskLevel?: GooglePrivacyDlpV2DataRiskLevel;
|
|
1585
|
+
/** The number of file store data profiles generated for this project. */
|
|
1586
|
+
fileStoreDataProfileCount?: string;
|
|
1495
1587
|
/** The resource name of the profile. */
|
|
1496
1588
|
name?: string;
|
|
1497
1589
|
/** The last time the profile was generated. */
|
|
@@ -1502,6 +1594,8 @@ declare namespace gapi.client {
|
|
|
1502
1594
|
projectId?: string;
|
|
1503
1595
|
/** The sensitivity score of this project. */
|
|
1504
1596
|
sensitivityScore?: GooglePrivacyDlpV2SensitivityScore;
|
|
1597
|
+
/** The number of table data profiles generated for this project. */
|
|
1598
|
+
tableDataProfileCount?: string;
|
|
1505
1599
|
}
|
|
1506
1600
|
interface GooglePrivacyDlpV2Proximity {
|
|
1507
1601
|
/** Number of characters after the finding to consider. */
|
|
@@ -3317,6 +3411,97 @@ declare namespace gapi.client {
|
|
|
3317
3411
|
uploadType?: string;
|
|
3318
3412
|
}): Request<GooglePrivacyDlpV2ListDlpJobsResponse>;
|
|
3319
3413
|
}
|
|
3414
|
+
interface FileStoreDataProfilesResource {
|
|
3415
|
+
/** Delete a FileStoreDataProfile. Will not prevent the profile from being regenerated if the resource is still included in a discovery configuration. */
|
|
3416
|
+
delete(request?: {
|
|
3417
|
+
/** V1 error format. */
|
|
3418
|
+
'$.xgafv'?: string;
|
|
3419
|
+
/** OAuth access token. */
|
|
3420
|
+
access_token?: string;
|
|
3421
|
+
/** Data format for response. */
|
|
3422
|
+
alt?: string;
|
|
3423
|
+
/** JSONP */
|
|
3424
|
+
callback?: string;
|
|
3425
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3426
|
+
fields?: string;
|
|
3427
|
+
/** 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. */
|
|
3428
|
+
key?: string;
|
|
3429
|
+
/** Required. Resource name of the file store data profile. */
|
|
3430
|
+
name: string;
|
|
3431
|
+
/** OAuth 2.0 token for the current user. */
|
|
3432
|
+
oauth_token?: string;
|
|
3433
|
+
/** Returns response with indentations and line breaks. */
|
|
3434
|
+
prettyPrint?: boolean;
|
|
3435
|
+
/** 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. */
|
|
3436
|
+
quotaUser?: string;
|
|
3437
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3438
|
+
upload_protocol?: string;
|
|
3439
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3440
|
+
uploadType?: string;
|
|
3441
|
+
}): Request<{}>;
|
|
3442
|
+
/** Gets a file store data profile. */
|
|
3443
|
+
get(request?: {
|
|
3444
|
+
/** V1 error format. */
|
|
3445
|
+
'$.xgafv'?: string;
|
|
3446
|
+
/** OAuth access token. */
|
|
3447
|
+
access_token?: string;
|
|
3448
|
+
/** Data format for response. */
|
|
3449
|
+
alt?: string;
|
|
3450
|
+
/** JSONP */
|
|
3451
|
+
callback?: string;
|
|
3452
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3453
|
+
fields?: string;
|
|
3454
|
+
/** 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. */
|
|
3455
|
+
key?: string;
|
|
3456
|
+
/** Required. Resource name, for example `organizations/12345/locations/us/fileStoreDataProfiles/53234423`. */
|
|
3457
|
+
name: string;
|
|
3458
|
+
/** OAuth 2.0 token for the current user. */
|
|
3459
|
+
oauth_token?: string;
|
|
3460
|
+
/** Returns response with indentations and line breaks. */
|
|
3461
|
+
prettyPrint?: boolean;
|
|
3462
|
+
/** 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. */
|
|
3463
|
+
quotaUser?: string;
|
|
3464
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3465
|
+
upload_protocol?: string;
|
|
3466
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3467
|
+
uploadType?: string;
|
|
3468
|
+
}): Request<GooglePrivacyDlpV2FileStoreDataProfile>;
|
|
3469
|
+
/** Lists file store data profiles for an organization. */
|
|
3470
|
+
list(request?: {
|
|
3471
|
+
/** V1 error format. */
|
|
3472
|
+
'$.xgafv'?: string;
|
|
3473
|
+
/** OAuth access token. */
|
|
3474
|
+
access_token?: string;
|
|
3475
|
+
/** Data format for response. */
|
|
3476
|
+
alt?: string;
|
|
3477
|
+
/** JSONP */
|
|
3478
|
+
callback?: string;
|
|
3479
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3480
|
+
fields?: string;
|
|
3481
|
+
/** 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. */
|
|
3482
|
+
filter?: string;
|
|
3483
|
+
/** 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. */
|
|
3484
|
+
key?: string;
|
|
3485
|
+
/** OAuth 2.0 token for the current user. */
|
|
3486
|
+
oauth_token?: string;
|
|
3487
|
+
/** 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. */
|
|
3488
|
+
orderBy?: string;
|
|
3489
|
+
/** Optional. Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100. */
|
|
3490
|
+
pageSize?: number;
|
|
3491
|
+
/** Optional. Page token to continue retrieval. */
|
|
3492
|
+
pageToken?: string;
|
|
3493
|
+
/** Required. Resource name of the organization or project, for example `organizations/433245324/locations/europe` or `projects/project-id/locations/asia`. */
|
|
3494
|
+
parent: string;
|
|
3495
|
+
/** Returns response with indentations and line breaks. */
|
|
3496
|
+
prettyPrint?: boolean;
|
|
3497
|
+
/** 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. */
|
|
3498
|
+
quotaUser?: string;
|
|
3499
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3500
|
+
upload_protocol?: string;
|
|
3501
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3502
|
+
uploadType?: string;
|
|
3503
|
+
}): Request<GooglePrivacyDlpV2ListFileStoreDataProfilesResponse>;
|
|
3504
|
+
}
|
|
3320
3505
|
interface InspectTemplatesResource {
|
|
3321
3506
|
/** 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
3507
|
create(request: {
|
|
@@ -4103,6 +4288,7 @@ declare namespace gapi.client {
|
|
|
4103
4288
|
deidentifyTemplates: DeidentifyTemplatesResource;
|
|
4104
4289
|
discoveryConfigs: DiscoveryConfigsResource;
|
|
4105
4290
|
dlpJobs: DlpJobsResource;
|
|
4291
|
+
fileStoreDataProfiles: FileStoreDataProfilesResource;
|
|
4106
4292
|
inspectTemplates: InspectTemplatesResource;
|
|
4107
4293
|
jobTriggers: JobTriggersResource;
|
|
4108
4294
|
projectDataProfiles: ProjectDataProfilesResource;
|
|
@@ -6669,6 +6855,97 @@ declare namespace gapi.client {
|
|
|
6669
6855
|
uploadType?: string;
|
|
6670
6856
|
}): Request<GooglePrivacyDlpV2ListDlpJobsResponse>;
|
|
6671
6857
|
}
|
|
6858
|
+
interface FileStoreDataProfilesResource {
|
|
6859
|
+
/** Delete a FileStoreDataProfile. Will not prevent the profile from being regenerated if the resource is still included in a discovery configuration. */
|
|
6860
|
+
delete(request?: {
|
|
6861
|
+
/** V1 error format. */
|
|
6862
|
+
'$.xgafv'?: string;
|
|
6863
|
+
/** OAuth access token. */
|
|
6864
|
+
access_token?: string;
|
|
6865
|
+
/** Data format for response. */
|
|
6866
|
+
alt?: string;
|
|
6867
|
+
/** JSONP */
|
|
6868
|
+
callback?: string;
|
|
6869
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6870
|
+
fields?: string;
|
|
6871
|
+
/** 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. */
|
|
6872
|
+
key?: string;
|
|
6873
|
+
/** Required. Resource name of the file store data profile. */
|
|
6874
|
+
name: string;
|
|
6875
|
+
/** OAuth 2.0 token for the current user. */
|
|
6876
|
+
oauth_token?: string;
|
|
6877
|
+
/** Returns response with indentations and line breaks. */
|
|
6878
|
+
prettyPrint?: boolean;
|
|
6879
|
+
/** 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. */
|
|
6880
|
+
quotaUser?: string;
|
|
6881
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6882
|
+
upload_protocol?: string;
|
|
6883
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6884
|
+
uploadType?: string;
|
|
6885
|
+
}): Request<{}>;
|
|
6886
|
+
/** Gets a file store data profile. */
|
|
6887
|
+
get(request?: {
|
|
6888
|
+
/** V1 error format. */
|
|
6889
|
+
'$.xgafv'?: string;
|
|
6890
|
+
/** OAuth access token. */
|
|
6891
|
+
access_token?: string;
|
|
6892
|
+
/** Data format for response. */
|
|
6893
|
+
alt?: string;
|
|
6894
|
+
/** JSONP */
|
|
6895
|
+
callback?: string;
|
|
6896
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6897
|
+
fields?: string;
|
|
6898
|
+
/** 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. */
|
|
6899
|
+
key?: string;
|
|
6900
|
+
/** Required. Resource name, for example `organizations/12345/locations/us/fileStoreDataProfiles/53234423`. */
|
|
6901
|
+
name: string;
|
|
6902
|
+
/** OAuth 2.0 token for the current user. */
|
|
6903
|
+
oauth_token?: string;
|
|
6904
|
+
/** Returns response with indentations and line breaks. */
|
|
6905
|
+
prettyPrint?: boolean;
|
|
6906
|
+
/** 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. */
|
|
6907
|
+
quotaUser?: string;
|
|
6908
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6909
|
+
upload_protocol?: string;
|
|
6910
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6911
|
+
uploadType?: string;
|
|
6912
|
+
}): Request<GooglePrivacyDlpV2FileStoreDataProfile>;
|
|
6913
|
+
/** Lists file store data profiles for an organization. */
|
|
6914
|
+
list(request?: {
|
|
6915
|
+
/** V1 error format. */
|
|
6916
|
+
'$.xgafv'?: string;
|
|
6917
|
+
/** OAuth access token. */
|
|
6918
|
+
access_token?: string;
|
|
6919
|
+
/** Data format for response. */
|
|
6920
|
+
alt?: string;
|
|
6921
|
+
/** JSONP */
|
|
6922
|
+
callback?: string;
|
|
6923
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6924
|
+
fields?: string;
|
|
6925
|
+
/** 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. */
|
|
6926
|
+
filter?: string;
|
|
6927
|
+
/** 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. */
|
|
6928
|
+
key?: string;
|
|
6929
|
+
/** OAuth 2.0 token for the current user. */
|
|
6930
|
+
oauth_token?: string;
|
|
6931
|
+
/** 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. */
|
|
6932
|
+
orderBy?: string;
|
|
6933
|
+
/** Optional. Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100. */
|
|
6934
|
+
pageSize?: number;
|
|
6935
|
+
/** Optional. Page token to continue retrieval. */
|
|
6936
|
+
pageToken?: string;
|
|
6937
|
+
/** Required. Resource name of the organization or project, for example `organizations/433245324/locations/europe` or `projects/project-id/locations/asia`. */
|
|
6938
|
+
parent: string;
|
|
6939
|
+
/** Returns response with indentations and line breaks. */
|
|
6940
|
+
prettyPrint?: boolean;
|
|
6941
|
+
/** 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. */
|
|
6942
|
+
quotaUser?: string;
|
|
6943
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6944
|
+
upload_protocol?: string;
|
|
6945
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6946
|
+
uploadType?: string;
|
|
6947
|
+
}): Request<GooglePrivacyDlpV2ListFileStoreDataProfilesResponse>;
|
|
6948
|
+
}
|
|
6672
6949
|
interface ImageResource {
|
|
6673
6950
|
/** 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
6951
|
redact(request: {
|
|
@@ -7632,6 +7909,7 @@ declare namespace gapi.client {
|
|
|
7632
7909
|
deidentifyTemplates: DeidentifyTemplatesResource;
|
|
7633
7910
|
discoveryConfigs: DiscoveryConfigsResource;
|
|
7634
7911
|
dlpJobs: DlpJobsResource;
|
|
7912
|
+
fileStoreDataProfiles: FileStoreDataProfilesResource;
|
|
7635
7913
|
image: ImageResource;
|
|
7636
7914
|
inspectTemplates: InspectTemplatesResource;
|
|
7637
7915
|
jobTriggers: JobTriggersResource;
|