@maxim_mazurok/gapi.client.dlp-v2 0.0.20231008 → 0.0.20231015
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 +1601 -788
- package/package.json +1 -1
- package/tests.ts +499 -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: 20231015
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -60,6 +60,9 @@ declare namespace gapi.client {
|
|
|
60
60
|
interface GooglePrivacyDlpV2AllInfoTypes {
|
|
61
61
|
}
|
|
62
62
|
// tslint:disable-next-line:no-empty-interface
|
|
63
|
+
interface GooglePrivacyDlpV2AllOtherBigQueryTables {
|
|
64
|
+
}
|
|
65
|
+
// tslint:disable-next-line:no-empty-interface
|
|
63
66
|
interface GooglePrivacyDlpV2AllText {
|
|
64
67
|
}
|
|
65
68
|
interface GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails {
|
|
@@ -102,6 +105,20 @@ declare namespace gapi.client {
|
|
|
102
105
|
table?:
|
|
103
106
|
GooglePrivacyDlpV2BigQueryTable;
|
|
104
107
|
}
|
|
108
|
+
interface GooglePrivacyDlpV2BigQueryDiscoveryTarget {
|
|
109
|
+
/** How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity. */
|
|
110
|
+
cadence?:
|
|
111
|
+
GooglePrivacyDlpV2DiscoveryGenerationCadence;
|
|
112
|
+
/** In addition to matching the filter, these conditions must be true before a profile is generated. */
|
|
113
|
+
conditions?:
|
|
114
|
+
GooglePrivacyDlpV2DiscoveryBigQueryConditions;
|
|
115
|
+
/** Tables that match this filter will not have profiles created. */
|
|
116
|
+
disabled?:
|
|
117
|
+
any;
|
|
118
|
+
/** Required. The tables the Discovery cadence applies to. The first target with a matching filter will be the one to apply to a table. */
|
|
119
|
+
filter?:
|
|
120
|
+
GooglePrivacyDlpV2DiscoveryBigQueryFilter;
|
|
121
|
+
}
|
|
105
122
|
interface GooglePrivacyDlpV2BigQueryField {
|
|
106
123
|
/** Designated field in the BigQuery table. */
|
|
107
124
|
field?:
|
|
@@ -158,6 +175,22 @@ declare namespace gapi.client {
|
|
|
158
175
|
tableReference?:
|
|
159
176
|
GooglePrivacyDlpV2BigQueryTable;
|
|
160
177
|
}
|
|
178
|
+
interface GooglePrivacyDlpV2BigQueryRegex {
|
|
179
|
+
/** If unset, this property matches all datasets. */
|
|
180
|
+
datasetIdRegex?:
|
|
181
|
+
string;
|
|
182
|
+
/** For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project. */
|
|
183
|
+
projectIdRegex?:
|
|
184
|
+
string;
|
|
185
|
+
/** If unset, this property matches all tables. */
|
|
186
|
+
tableIdRegex?:
|
|
187
|
+
string;
|
|
188
|
+
}
|
|
189
|
+
interface GooglePrivacyDlpV2BigQueryRegexes {
|
|
190
|
+
/** A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables. */
|
|
191
|
+
patterns?:
|
|
192
|
+
GooglePrivacyDlpV2BigQueryRegex[];
|
|
193
|
+
}
|
|
161
194
|
interface GooglePrivacyDlpV2BigQueryTable {
|
|
162
195
|
/** Dataset ID of the table. */
|
|
163
196
|
datasetId?:
|
|
@@ -169,6 +202,16 @@ declare namespace gapi.client {
|
|
|
169
202
|
tableId?:
|
|
170
203
|
string;
|
|
171
204
|
}
|
|
205
|
+
interface GooglePrivacyDlpV2BigQueryTableCollection {
|
|
206
|
+
/** A collection of regular expressions to match a BigQuery table against. */
|
|
207
|
+
includeRegexes?:
|
|
208
|
+
GooglePrivacyDlpV2BigQueryRegexes;
|
|
209
|
+
}
|
|
210
|
+
interface GooglePrivacyDlpV2BigQueryTableTypes {
|
|
211
|
+
/** A set of bigquery table types. */
|
|
212
|
+
types?:
|
|
213
|
+
string[];
|
|
214
|
+
}
|
|
172
215
|
interface GooglePrivacyDlpV2BoundingBox {
|
|
173
216
|
/** Height of the bounding box in pixels. */
|
|
174
217
|
height?:
|
|
@@ -514,6 +557,17 @@ declare namespace gapi.client {
|
|
|
514
557
|
templateId?:
|
|
515
558
|
string;
|
|
516
559
|
}
|
|
560
|
+
interface GooglePrivacyDlpV2CreateDiscoveryConfigRequest {
|
|
561
|
+
/**
|
|
562
|
+
* The config id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Z\d-_]+`. The maximum length is 100
|
|
563
|
+
* characters. Can be empty to allow the system to generate one.
|
|
564
|
+
*/
|
|
565
|
+
configId?:
|
|
566
|
+
string;
|
|
567
|
+
/** Required. The DiscoveryConfig to create. */
|
|
568
|
+
discoveryConfig?:
|
|
569
|
+
GooglePrivacyDlpV2DiscoveryConfig;
|
|
570
|
+
}
|
|
517
571
|
interface GooglePrivacyDlpV2CreateDlpJobRequest {
|
|
518
572
|
/** An inspection job scans a storage repository for InfoTypes. */
|
|
519
573
|
inspectJob?:
|
|
@@ -991,6 +1045,120 @@ declare namespace gapi.client {
|
|
|
991
1045
|
wordList?:
|
|
992
1046
|
GooglePrivacyDlpV2WordList;
|
|
993
1047
|
}
|
|
1048
|
+
// tslint:disable-next-line:no-empty-interface
|
|
1049
|
+
interface GooglePrivacyDlpV2Disabled {
|
|
1050
|
+
}
|
|
1051
|
+
interface GooglePrivacyDlpV2DiscoveryBigQueryConditions {
|
|
1052
|
+
/** BigQuery table must have been created after this date. Used to avoid backfilling. */
|
|
1053
|
+
createdAfter?:
|
|
1054
|
+
string;
|
|
1055
|
+
/** At least one of the conditions must be true for a table to be scanned. */
|
|
1056
|
+
orConditions?:
|
|
1057
|
+
GooglePrivacyDlpV2OrConditions;
|
|
1058
|
+
/** Restrict Discovery to categories of table types. */
|
|
1059
|
+
typeCollection?:
|
|
1060
|
+
string;
|
|
1061
|
+
/** Restrict Discovery to specific table types. */
|
|
1062
|
+
types?:
|
|
1063
|
+
GooglePrivacyDlpV2BigQueryTableTypes;
|
|
1064
|
+
}
|
|
1065
|
+
interface GooglePrivacyDlpV2DiscoveryBigQueryFilter {
|
|
1066
|
+
/**
|
|
1067
|
+
* Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default
|
|
1068
|
+
* one will be added automatically.
|
|
1069
|
+
*/
|
|
1070
|
+
otherTables?:
|
|
1071
|
+
any;
|
|
1072
|
+
/**
|
|
1073
|
+
* A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all
|
|
1074
|
+
* tables in that collection must be profiled. Must specify a project ID.
|
|
1075
|
+
*/
|
|
1076
|
+
tables?:
|
|
1077
|
+
GooglePrivacyDlpV2BigQueryTableCollection;
|
|
1078
|
+
}
|
|
1079
|
+
interface GooglePrivacyDlpV2DiscoveryConfig {
|
|
1080
|
+
/** Actions to execute at the completion of scanning. */
|
|
1081
|
+
actions?:
|
|
1082
|
+
GooglePrivacyDlpV2DataProfileAction[];
|
|
1083
|
+
/** Output only. The creation timestamp of a DiscoveryConfig. */
|
|
1084
|
+
createTime?:
|
|
1085
|
+
string;
|
|
1086
|
+
/** Display name (max 100 chars) */
|
|
1087
|
+
displayName?:
|
|
1088
|
+
string;
|
|
1089
|
+
/**
|
|
1090
|
+
* Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the
|
|
1091
|
+
* last 100 errors. Whenever the config is modified this list will be cleared.
|
|
1092
|
+
*/
|
|
1093
|
+
errors?:
|
|
1094
|
+
GooglePrivacyDlpV2Error[];
|
|
1095
|
+
/**
|
|
1096
|
+
* Detection logic for profile generation. Not all template features are used by Discovery. FindingLimits, include_quote and exclude_info_types have no impact on Discovery. Multiple
|
|
1097
|
+
* templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including "global"). Each region is scanned using the applicable
|
|
1098
|
+
* template. If no region-specific template is specified, but a "global" template is specified, it will be copied to that region and used instead. If no global or region-specific
|
|
1099
|
+
* template is provided for a region with data, that region's data will not be scanned. For more information, see https://cloud.google.com/dlp/docs/data-profiles#data_residency.
|
|
1100
|
+
*/
|
|
1101
|
+
inspectTemplates?:
|
|
1102
|
+
string[];
|
|
1103
|
+
/** Output only. The timestamp of the last time this config was executed. */
|
|
1104
|
+
lastRunTime?:
|
|
1105
|
+
string;
|
|
1106
|
+
/**
|
|
1107
|
+
* Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created, for example
|
|
1108
|
+
* `projects/dlp-test-project/locations/global/discoveryConfigs/53234423`.
|
|
1109
|
+
*/
|
|
1110
|
+
name?:
|
|
1111
|
+
string;
|
|
1112
|
+
/** Only set when the parent is an org. */
|
|
1113
|
+
orgConfig?:
|
|
1114
|
+
GooglePrivacyDlpV2OrgConfig;
|
|
1115
|
+
/** Required. A status for this configuration. */
|
|
1116
|
+
status?:
|
|
1117
|
+
string;
|
|
1118
|
+
/** Target to match against for determining what to scan and how frequently. */
|
|
1119
|
+
targets?:
|
|
1120
|
+
GooglePrivacyDlpV2DiscoveryTarget[];
|
|
1121
|
+
/** Output only. The last update timestamp of a DiscoveryConfig. */
|
|
1122
|
+
updateTime?:
|
|
1123
|
+
string;
|
|
1124
|
+
}
|
|
1125
|
+
interface GooglePrivacyDlpV2DiscoveryGenerationCadence {
|
|
1126
|
+
/** Governs when to update data profiles when a schema is modified. */
|
|
1127
|
+
schemaModifiedCadence?:
|
|
1128
|
+
GooglePrivacyDlpV2DiscoverySchemaModifiedCadence;
|
|
1129
|
+
/** Governs when to update data profiles when a table is modified. */
|
|
1130
|
+
tableModifiedCadence?:
|
|
1131
|
+
GooglePrivacyDlpV2DiscoveryTableModifiedCadence;
|
|
1132
|
+
}
|
|
1133
|
+
interface GooglePrivacyDlpV2DiscoverySchemaModifiedCadence {
|
|
1134
|
+
/** How frequently profiles may be updated when schemas are modified. Defaults to monthly. */
|
|
1135
|
+
frequency?:
|
|
1136
|
+
string;
|
|
1137
|
+
/** The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS. */
|
|
1138
|
+
types?:
|
|
1139
|
+
string[];
|
|
1140
|
+
}
|
|
1141
|
+
interface GooglePrivacyDlpV2DiscoveryStartingLocation {
|
|
1142
|
+
/** The ID of the Folder within an organization to scan. */
|
|
1143
|
+
folderId?:
|
|
1144
|
+
string;
|
|
1145
|
+
/** The ID of an organization to scan. */
|
|
1146
|
+
organizationId?:
|
|
1147
|
+
string;
|
|
1148
|
+
}
|
|
1149
|
+
interface GooglePrivacyDlpV2DiscoveryTableModifiedCadence {
|
|
1150
|
+
/** How frequently data profiles can be updated when tables are modified. Defaults to never. */
|
|
1151
|
+
frequency?:
|
|
1152
|
+
string;
|
|
1153
|
+
/** The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP. */
|
|
1154
|
+
types?:
|
|
1155
|
+
string[];
|
|
1156
|
+
}
|
|
1157
|
+
interface GooglePrivacyDlpV2DiscoveryTarget {
|
|
1158
|
+
/** BigQuery target for Discovery. The first target to match a table will be the one applied. */
|
|
1159
|
+
bigQueryTarget?:
|
|
1160
|
+
GooglePrivacyDlpV2BigQueryDiscoveryTarget;
|
|
1161
|
+
}
|
|
994
1162
|
interface GooglePrivacyDlpV2DlpJob {
|
|
995
1163
|
/** Events that should occur after the job has completed. */
|
|
996
1164
|
actionDetails?:
|
|
@@ -1853,6 +2021,14 @@ declare namespace gapi.client {
|
|
|
1853
2021
|
nextPageToken?:
|
|
1854
2022
|
string;
|
|
1855
2023
|
}
|
|
2024
|
+
interface GooglePrivacyDlpV2ListDiscoveryConfigsResponse {
|
|
2025
|
+
/** List of configs, up to page_size in ListDiscoveryConfigsRequest. */
|
|
2026
|
+
discoveryConfigs?:
|
|
2027
|
+
GooglePrivacyDlpV2DiscoveryConfig[];
|
|
2028
|
+
/** If the next page is available then the next page token to be used in following ListDiscoveryConfigs request. */
|
|
2029
|
+
nextPageToken?:
|
|
2030
|
+
string;
|
|
2031
|
+
}
|
|
1856
2032
|
interface GooglePrivacyDlpV2ListDlpJobsResponse {
|
|
1857
2033
|
/** A list of DlpJobs that matches the specified filter in the request. */
|
|
1858
2034
|
jobs?:
|
|
@@ -1934,6 +2110,25 @@ declare namespace gapi.client {
|
|
|
1934
2110
|
quantileValues?:
|
|
1935
2111
|
GooglePrivacyDlpV2Value[];
|
|
1936
2112
|
}
|
|
2113
|
+
interface GooglePrivacyDlpV2OrConditions {
|
|
2114
|
+
/** Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater. */
|
|
2115
|
+
minAge?:
|
|
2116
|
+
string;
|
|
2117
|
+
/** Minimum number of rows that should be present before Cloud DLP profiles a table */
|
|
2118
|
+
minRowCount?:
|
|
2119
|
+
number;
|
|
2120
|
+
}
|
|
2121
|
+
interface GooglePrivacyDlpV2OrgConfig {
|
|
2122
|
+
/** The data to scan: folder, org, or project */
|
|
2123
|
+
location?:
|
|
2124
|
+
GooglePrivacyDlpV2DiscoveryStartingLocation;
|
|
2125
|
+
/**
|
|
2126
|
+
* The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be
|
|
2127
|
+
* enabled.
|
|
2128
|
+
*/
|
|
2129
|
+
projectId?:
|
|
2130
|
+
string;
|
|
2131
|
+
}
|
|
1937
2132
|
interface GooglePrivacyDlpV2OtherInfoTypeSummary {
|
|
1938
2133
|
/** Approximate percentage of non-null rows that contained data detected by this infotype. */
|
|
1939
2134
|
estimatedPrevalence?:
|
|
@@ -2812,6 +3007,14 @@ declare namespace gapi.client {
|
|
|
2812
3007
|
updateMask?:
|
|
2813
3008
|
string;
|
|
2814
3009
|
}
|
|
3010
|
+
interface GooglePrivacyDlpV2UpdateDiscoveryConfigRequest {
|
|
3011
|
+
/** New DiscoveryConfig value. */
|
|
3012
|
+
discoveryConfig?:
|
|
3013
|
+
GooglePrivacyDlpV2DiscoveryConfig;
|
|
3014
|
+
/** Mask to control which fields get updated. */
|
|
3015
|
+
updateMask?:
|
|
3016
|
+
string;
|
|
3017
|
+
}
|
|
2815
3018
|
interface GooglePrivacyDlpV2UpdateInspectTemplateRequest {
|
|
2816
3019
|
/** New InspectTemplate value. */
|
|
2817
3020
|
inspectTemplate?:
|
|
@@ -4019,90 +4222,8 @@ declare namespace gapi.client {
|
|
|
4019
4222
|
},
|
|
4020
4223
|
body: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
4021
4224
|
}
|
|
4022
|
-
interface
|
|
4023
|
-
/**
|
|
4024
|
-
* Lists DlpJobs that match the specified filter in the request. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to
|
|
4025
|
-
* learn more.
|
|
4026
|
-
*/
|
|
4027
|
-
list(request?: {
|
|
4028
|
-
/** V1 error format. */
|
|
4029
|
-
"$.xgafv"?:
|
|
4030
|
-
string;
|
|
4031
|
-
/** OAuth access token. */
|
|
4032
|
-
access_token?:
|
|
4033
|
-
string;
|
|
4034
|
-
/** Data format for response. */
|
|
4035
|
-
alt?:
|
|
4036
|
-
string;
|
|
4037
|
-
/** JSONP */
|
|
4038
|
-
callback?:
|
|
4039
|
-
string;
|
|
4040
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
4041
|
-
fields?:
|
|
4042
|
-
string;
|
|
4043
|
-
/**
|
|
4044
|
-
* 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
|
|
4045
|
-
* of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect jobs: - `state` -
|
|
4046
|
-
* PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` -
|
|
4047
|
-
* Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` -
|
|
4048
|
-
* RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=`
|
|
4049
|
-
* or `!=`. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage
|
|
4050
|
-
* AND (state = done OR state = canceled) * end_time > \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters.
|
|
4051
|
-
*/
|
|
4052
|
-
filter?:
|
|
4053
|
-
string;
|
|
4054
|
-
/** 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. */
|
|
4055
|
-
key?:
|
|
4056
|
-
string;
|
|
4057
|
-
/** Deprecated. This field has no effect. */
|
|
4058
|
-
locationId?:
|
|
4059
|
-
string;
|
|
4060
|
-
/** OAuth 2.0 token for the current user. */
|
|
4061
|
-
oauth_token?:
|
|
4062
|
-
string;
|
|
4063
|
-
/**
|
|
4064
|
-
* Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters
|
|
4065
|
-
* 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`:
|
|
4066
|
-
* corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`
|
|
4067
|
-
*/
|
|
4068
|
-
orderBy?:
|
|
4069
|
-
string;
|
|
4070
|
-
/** The standard list page size. */
|
|
4071
|
-
pageSize?:
|
|
4072
|
-
number;
|
|
4073
|
-
/** The standard list page token. */
|
|
4074
|
-
pageToken?:
|
|
4075
|
-
string;
|
|
4076
|
-
/**
|
|
4077
|
-
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
4078
|
-
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
4079
|
-
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
4080
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4081
|
-
*/
|
|
4082
|
-
parent:
|
|
4083
|
-
string;
|
|
4084
|
-
/** Returns response with indentations and line breaks. */
|
|
4085
|
-
prettyPrint?:
|
|
4086
|
-
boolean;
|
|
4087
|
-
/** 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. */
|
|
4088
|
-
quotaUser?:
|
|
4089
|
-
string;
|
|
4090
|
-
/** The type of job. Defaults to `DlpJobType.INSPECT` */
|
|
4091
|
-
type?:
|
|
4092
|
-
string;
|
|
4093
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4094
|
-
upload_protocol?:
|
|
4095
|
-
string;
|
|
4096
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4097
|
-
uploadType?:
|
|
4098
|
-
string;
|
|
4099
|
-
}): Request<GooglePrivacyDlpV2ListDlpJobsResponse>;
|
|
4100
|
-
}
|
|
4101
|
-
interface InspectTemplatesResource {
|
|
4102
|
-
/**
|
|
4103
|
-
* Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn
|
|
4104
|
-
* more.
|
|
4105
|
-
*/
|
|
4225
|
+
interface DiscoveryConfigsResource {
|
|
4226
|
+
/** Creates a config for Discovery to scan and profile storage. */
|
|
4106
4227
|
create(request: {
|
|
4107
4228
|
/** V1 error format. */
|
|
4108
4229
|
"$.xgafv"?:
|
|
@@ -4126,11 +4247,8 @@ declare namespace gapi.client {
|
|
|
4126
4247
|
oauth_token?:
|
|
4127
4248
|
string;
|
|
4128
4249
|
/**
|
|
4129
|
-
* Required. Parent resource name. The format of this value
|
|
4130
|
-
*
|
|
4131
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
4132
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
4133
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4250
|
+
* Required. Parent resource name. The format of this value is as follows: `projects/`PROJECT_ID`/locations/`LOCATION_ID The following example `parent` string specifies a parent
|
|
4251
|
+
* project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4134
4252
|
*/
|
|
4135
4253
|
parent:
|
|
4136
4254
|
string;
|
|
@@ -4148,8 +4266,8 @@ declare namespace gapi.client {
|
|
|
4148
4266
|
string;
|
|
4149
4267
|
/** Request body */
|
|
4150
4268
|
resource:
|
|
4151
|
-
|
|
4152
|
-
}): Request<
|
|
4269
|
+
GooglePrivacyDlpV2CreateDiscoveryConfigRequest;
|
|
4270
|
+
}): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
4153
4271
|
create(request: {
|
|
4154
4272
|
/** V1 error format. */
|
|
4155
4273
|
"$.xgafv"?:
|
|
@@ -4173,11 +4291,8 @@ declare namespace gapi.client {
|
|
|
4173
4291
|
oauth_token?:
|
|
4174
4292
|
string;
|
|
4175
4293
|
/**
|
|
4176
|
-
* Required. Parent resource name. The format of this value
|
|
4177
|
-
*
|
|
4178
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
4179
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
4180
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4294
|
+
* Required. Parent resource name. The format of this value is as follows: `projects/`PROJECT_ID`/locations/`LOCATION_ID The following example `parent` string specifies a parent
|
|
4295
|
+
* project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4181
4296
|
*/
|
|
4182
4297
|
parent:
|
|
4183
4298
|
string;
|
|
@@ -4194,8 +4309,8 @@ declare namespace gapi.client {
|
|
|
4194
4309
|
uploadType?:
|
|
4195
4310
|
string;
|
|
4196
4311
|
},
|
|
4197
|
-
body:
|
|
4198
|
-
/** Deletes
|
|
4312
|
+
body: GooglePrivacyDlpV2CreateDiscoveryConfigRequest): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
4313
|
+
/** Deletes a Discovery configuration. */
|
|
4199
4314
|
delete(request?: {
|
|
4200
4315
|
/** V1 error format. */
|
|
4201
4316
|
"$.xgafv"?:
|
|
@@ -4215,10 +4330,7 @@ declare namespace gapi.client {
|
|
|
4215
4330
|
/** 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. */
|
|
4216
4331
|
key?:
|
|
4217
4332
|
string;
|
|
4218
|
-
/**
|
|
4219
|
-
* Required. Resource name of the organization and inspectTemplate to be deleted, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
4220
|
-
* projects/project-id/inspectTemplates/432452342.
|
|
4221
|
-
*/
|
|
4333
|
+
/** Required. Resource name of the project and the config, for example `projects/dlp-test-project/discoveryConfigs/53234423`. */
|
|
4222
4334
|
name:
|
|
4223
4335
|
string;
|
|
4224
4336
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4237,7 +4349,7 @@ declare namespace gapi.client {
|
|
|
4237
4349
|
uploadType?:
|
|
4238
4350
|
string;
|
|
4239
4351
|
}): Request<{}>;
|
|
4240
|
-
/** Gets
|
|
4352
|
+
/** Gets a Discovery configuration. */
|
|
4241
4353
|
get(request?: {
|
|
4242
4354
|
/** V1 error format. */
|
|
4243
4355
|
"$.xgafv"?:
|
|
@@ -4257,10 +4369,7 @@ declare namespace gapi.client {
|
|
|
4257
4369
|
/** 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. */
|
|
4258
4370
|
key?:
|
|
4259
4371
|
string;
|
|
4260
|
-
/**
|
|
4261
|
-
* Required. Resource name of the organization and inspectTemplate to be read, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
4262
|
-
* projects/project-id/inspectTemplates/432452342.
|
|
4263
|
-
*/
|
|
4372
|
+
/** Required. Resource name of the project and the configuration, for example `projects/dlp-test-project/discoveryConfigs/53234423`. */
|
|
4264
4373
|
name:
|
|
4265
4374
|
string;
|
|
4266
4375
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4278,8 +4387,8 @@ declare namespace gapi.client {
|
|
|
4278
4387
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4279
4388
|
uploadType?:
|
|
4280
4389
|
string;
|
|
4281
|
-
}): Request<
|
|
4282
|
-
/** Lists
|
|
4390
|
+
}): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
4391
|
+
/** Lists Discovery configurations. */
|
|
4283
4392
|
list(request?: {
|
|
4284
4393
|
/** V1 error format. */
|
|
4285
4394
|
"$.xgafv"?:
|
|
@@ -4299,31 +4408,25 @@ declare namespace gapi.client {
|
|
|
4299
4408
|
/** 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. */
|
|
4300
4409
|
key?:
|
|
4301
4410
|
string;
|
|
4302
|
-
/** Deprecated. This field has no effect. */
|
|
4303
|
-
locationId?:
|
|
4304
|
-
string;
|
|
4305
4411
|
/** OAuth 2.0 token for the current user. */
|
|
4306
4412
|
oauth_token?:
|
|
4307
4413
|
string;
|
|
4308
4414
|
/**
|
|
4309
|
-
* Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space
|
|
4310
|
-
* are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `
|
|
4311
|
-
*
|
|
4415
|
+
* Comma separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space
|
|
4416
|
+
* 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. -
|
|
4417
|
+
* `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status.
|
|
4312
4418
|
*/
|
|
4313
4419
|
orderBy?:
|
|
4314
4420
|
string;
|
|
4315
|
-
/** Size of the page, can be limited by
|
|
4421
|
+
/** Size of the page, can be limited by a server. */
|
|
4316
4422
|
pageSize?:
|
|
4317
4423
|
number;
|
|
4318
|
-
/** Page token to continue retrieval. Comes from previous call to `
|
|
4424
|
+
/** Page token to continue retrieval. Comes from previous call to ListDiscoveryConfigs. `order_by` field must not change for subsequent calls. */
|
|
4319
4425
|
pageToken?:
|
|
4320
4426
|
string;
|
|
4321
4427
|
/**
|
|
4322
|
-
* Required. Parent resource name. The format of this value
|
|
4323
|
-
*
|
|
4324
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
4325
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
4326
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4428
|
+
* Required. Parent resource name. The format of this value is as follows: `projects/`PROJECT_ID`/locations/`LOCATION_ID The following example `parent` string specifies a parent
|
|
4429
|
+
* project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4327
4430
|
*/
|
|
4328
4431
|
parent:
|
|
4329
4432
|
string;
|
|
@@ -4339,8 +4442,8 @@ declare namespace gapi.client {
|
|
|
4339
4442
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4340
4443
|
uploadType?:
|
|
4341
4444
|
string;
|
|
4342
|
-
}): Request<
|
|
4343
|
-
/** Updates
|
|
4445
|
+
}): Request<GooglePrivacyDlpV2ListDiscoveryConfigsResponse>;
|
|
4446
|
+
/** Updates a Discovery configuration. */
|
|
4344
4447
|
patch(request: {
|
|
4345
4448
|
/** V1 error format. */
|
|
4346
4449
|
"$.xgafv"?:
|
|
@@ -4360,10 +4463,7 @@ declare namespace gapi.client {
|
|
|
4360
4463
|
/** 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. */
|
|
4361
4464
|
key?:
|
|
4362
4465
|
string;
|
|
4363
|
-
/**
|
|
4364
|
-
* Required. Resource name of organization and inspectTemplate to be updated, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
4365
|
-
* projects/project-id/inspectTemplates/432452342.
|
|
4366
|
-
*/
|
|
4466
|
+
/** Required. Resource name of the project and the configuration, for example `projects/dlp-test-project/discoveryConfigs/53234423`. */
|
|
4367
4467
|
name:
|
|
4368
4468
|
string;
|
|
4369
4469
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4383,8 +4483,8 @@ declare namespace gapi.client {
|
|
|
4383
4483
|
string;
|
|
4384
4484
|
/** Request body */
|
|
4385
4485
|
resource:
|
|
4386
|
-
|
|
4387
|
-
}): Request<
|
|
4486
|
+
GooglePrivacyDlpV2UpdateDiscoveryConfigRequest;
|
|
4487
|
+
}): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
4388
4488
|
patch(request: {
|
|
4389
4489
|
/** V1 error format. */
|
|
4390
4490
|
"$.xgafv"?:
|
|
@@ -4404,10 +4504,7 @@ declare namespace gapi.client {
|
|
|
4404
4504
|
/** 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. */
|
|
4405
4505
|
key?:
|
|
4406
4506
|
string;
|
|
4407
|
-
/**
|
|
4408
|
-
* Required. Resource name of organization and inspectTemplate to be updated, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
4409
|
-
* projects/project-id/inspectTemplates/432452342.
|
|
4410
|
-
*/
|
|
4507
|
+
/** Required. Resource name of the project and the configuration, for example `projects/dlp-test-project/discoveryConfigs/53234423`. */
|
|
4411
4508
|
name:
|
|
4412
4509
|
string;
|
|
4413
4510
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4426,14 +4523,14 @@ declare namespace gapi.client {
|
|
|
4426
4523
|
uploadType?:
|
|
4427
4524
|
string;
|
|
4428
4525
|
},
|
|
4429
|
-
body:
|
|
4526
|
+
body: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
4430
4527
|
}
|
|
4431
|
-
interface
|
|
4528
|
+
interface DlpJobsResource {
|
|
4432
4529
|
/**
|
|
4433
|
-
*
|
|
4434
|
-
* more.
|
|
4530
|
+
* Lists DlpJobs that match the specified filter in the request. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to
|
|
4531
|
+
* learn more.
|
|
4435
4532
|
*/
|
|
4436
|
-
|
|
4533
|
+
list(request?: {
|
|
4437
4534
|
/** V1 error format. */
|
|
4438
4535
|
"$.xgafv"?:
|
|
4439
4536
|
string;
|
|
@@ -4449,21 +4546,101 @@ declare namespace gapi.client {
|
|
|
4449
4546
|
/** Selector specifying which fields to include in a partial response. */
|
|
4450
4547
|
fields?:
|
|
4451
4548
|
string;
|
|
4549
|
+
/**
|
|
4550
|
+
* 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
|
|
4551
|
+
* of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect jobs: - `state` -
|
|
4552
|
+
* PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` -
|
|
4553
|
+
* Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` -
|
|
4554
|
+
* RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=`
|
|
4555
|
+
* or `!=`. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage
|
|
4556
|
+
* AND (state = done OR state = canceled) * end_time > \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters.
|
|
4557
|
+
*/
|
|
4558
|
+
filter?:
|
|
4559
|
+
string;
|
|
4452
4560
|
/** 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. */
|
|
4453
4561
|
key?:
|
|
4454
4562
|
string;
|
|
4563
|
+
/** Deprecated. This field has no effect. */
|
|
4564
|
+
locationId?:
|
|
4565
|
+
string;
|
|
4455
4566
|
/** OAuth 2.0 token for the current user. */
|
|
4456
4567
|
oauth_token?:
|
|
4457
4568
|
string;
|
|
4458
4569
|
/**
|
|
4459
|
-
*
|
|
4460
|
-
*
|
|
4461
|
-
*
|
|
4462
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4570
|
+
* Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters
|
|
4571
|
+
* 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`:
|
|
4572
|
+
* corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`
|
|
4463
4573
|
*/
|
|
4464
|
-
|
|
4574
|
+
orderBy?:
|
|
4465
4575
|
string;
|
|
4466
|
-
/**
|
|
4576
|
+
/** The standard list page size. */
|
|
4577
|
+
pageSize?:
|
|
4578
|
+
number;
|
|
4579
|
+
/** The standard list page token. */
|
|
4580
|
+
pageToken?:
|
|
4581
|
+
string;
|
|
4582
|
+
/**
|
|
4583
|
+
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
4584
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
4585
|
+
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
4586
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4587
|
+
*/
|
|
4588
|
+
parent:
|
|
4589
|
+
string;
|
|
4590
|
+
/** Returns response with indentations and line breaks. */
|
|
4591
|
+
prettyPrint?:
|
|
4592
|
+
boolean;
|
|
4593
|
+
/** 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. */
|
|
4594
|
+
quotaUser?:
|
|
4595
|
+
string;
|
|
4596
|
+
/** The type of job. Defaults to `DlpJobType.INSPECT` */
|
|
4597
|
+
type?:
|
|
4598
|
+
string;
|
|
4599
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4600
|
+
upload_protocol?:
|
|
4601
|
+
string;
|
|
4602
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4603
|
+
uploadType?:
|
|
4604
|
+
string;
|
|
4605
|
+
}): Request<GooglePrivacyDlpV2ListDlpJobsResponse>;
|
|
4606
|
+
}
|
|
4607
|
+
interface InspectTemplatesResource {
|
|
4608
|
+
/**
|
|
4609
|
+
* Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn
|
|
4610
|
+
* more.
|
|
4611
|
+
*/
|
|
4612
|
+
create(request: {
|
|
4613
|
+
/** V1 error format. */
|
|
4614
|
+
"$.xgafv"?:
|
|
4615
|
+
string;
|
|
4616
|
+
/** OAuth access token. */
|
|
4617
|
+
access_token?:
|
|
4618
|
+
string;
|
|
4619
|
+
/** Data format for response. */
|
|
4620
|
+
alt?:
|
|
4621
|
+
string;
|
|
4622
|
+
/** JSONP */
|
|
4623
|
+
callback?:
|
|
4624
|
+
string;
|
|
4625
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4626
|
+
fields?:
|
|
4627
|
+
string;
|
|
4628
|
+
/** 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. */
|
|
4629
|
+
key?:
|
|
4630
|
+
string;
|
|
4631
|
+
/** OAuth 2.0 token for the current user. */
|
|
4632
|
+
oauth_token?:
|
|
4633
|
+
string;
|
|
4634
|
+
/**
|
|
4635
|
+
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
4636
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
4637
|
+
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
4638
|
+
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
4639
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4640
|
+
*/
|
|
4641
|
+
parent:
|
|
4642
|
+
string;
|
|
4643
|
+
/** Returns response with indentations and line breaks. */
|
|
4467
4644
|
prettyPrint?:
|
|
4468
4645
|
boolean;
|
|
4469
4646
|
/** 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. */
|
|
@@ -4477,8 +4654,8 @@ declare namespace gapi.client {
|
|
|
4477
4654
|
string;
|
|
4478
4655
|
/** Request body */
|
|
4479
4656
|
resource:
|
|
4480
|
-
|
|
4481
|
-
}): Request<
|
|
4657
|
+
GooglePrivacyDlpV2CreateInspectTemplateRequest;
|
|
4658
|
+
}): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
4482
4659
|
create(request: {
|
|
4483
4660
|
/** V1 error format. */
|
|
4484
4661
|
"$.xgafv"?:
|
|
@@ -4502,9 +4679,10 @@ declare namespace gapi.client {
|
|
|
4502
4679
|
oauth_token?:
|
|
4503
4680
|
string;
|
|
4504
4681
|
/**
|
|
4505
|
-
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
4682
|
+
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
4506
4683
|
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
4507
|
-
* location specified (defaults to global): `projects/`PROJECT_ID
|
|
4684
|
+
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
4685
|
+
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
4508
4686
|
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4509
4687
|
*/
|
|
4510
4688
|
parent:
|
|
@@ -4522,8 +4700,8 @@ declare namespace gapi.client {
|
|
|
4522
4700
|
uploadType?:
|
|
4523
4701
|
string;
|
|
4524
4702
|
},
|
|
4525
|
-
body:
|
|
4526
|
-
/** Deletes
|
|
4703
|
+
body: GooglePrivacyDlpV2CreateInspectTemplateRequest): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
4704
|
+
/** Deletes an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. */
|
|
4527
4705
|
delete(request?: {
|
|
4528
4706
|
/** V1 error format. */
|
|
4529
4707
|
"$.xgafv"?:
|
|
@@ -4543,7 +4721,10 @@ declare namespace gapi.client {
|
|
|
4543
4721
|
/** 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. */
|
|
4544
4722
|
key?:
|
|
4545
4723
|
string;
|
|
4546
|
-
/**
|
|
4724
|
+
/**
|
|
4725
|
+
* Required. Resource name of the organization and inspectTemplate to be deleted, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
4726
|
+
* projects/project-id/inspectTemplates/432452342.
|
|
4727
|
+
*/
|
|
4547
4728
|
name:
|
|
4548
4729
|
string;
|
|
4549
4730
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4562,7 +4743,7 @@ declare namespace gapi.client {
|
|
|
4562
4743
|
uploadType?:
|
|
4563
4744
|
string;
|
|
4564
4745
|
}): Request<{}>;
|
|
4565
|
-
/** Gets
|
|
4746
|
+
/** Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. */
|
|
4566
4747
|
get(request?: {
|
|
4567
4748
|
/** V1 error format. */
|
|
4568
4749
|
"$.xgafv"?:
|
|
@@ -4582,7 +4763,10 @@ declare namespace gapi.client {
|
|
|
4582
4763
|
/** 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. */
|
|
4583
4764
|
key?:
|
|
4584
4765
|
string;
|
|
4585
|
-
/**
|
|
4766
|
+
/**
|
|
4767
|
+
* Required. Resource name of the organization and inspectTemplate to be read, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
4768
|
+
* projects/project-id/inspectTemplates/432452342.
|
|
4769
|
+
*/
|
|
4586
4770
|
name:
|
|
4587
4771
|
string;
|
|
4588
4772
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4600,8 +4784,8 @@ declare namespace gapi.client {
|
|
|
4600
4784
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4601
4785
|
uploadType?:
|
|
4602
4786
|
string;
|
|
4603
|
-
}): Request<
|
|
4604
|
-
/** Lists
|
|
4787
|
+
}): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
4788
|
+
/** Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more. */
|
|
4605
4789
|
list(request?: {
|
|
4606
4790
|
/** V1 error format. */
|
|
4607
4791
|
"$.xgafv"?:
|
|
@@ -4618,16 +4802,6 @@ declare namespace gapi.client {
|
|
|
4618
4802
|
/** Selector specifying which fields to include in a partial response. */
|
|
4619
4803
|
fields?:
|
|
4620
4804
|
string;
|
|
4621
|
-
/**
|
|
4622
|
-
* 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
|
|
4623
|
-
* of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect triggers: - `status` -
|
|
4624
|
-
* HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds
|
|
4625
|
-
* are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. Examples: *
|
|
4626
|
-
* inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state =
|
|
4627
|
-
* PAUSED OR state = HEALTHY) * last_run_time > \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters.
|
|
4628
|
-
*/
|
|
4629
|
-
filter?:
|
|
4630
|
-
string;
|
|
4631
4805
|
/** 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. */
|
|
4632
4806
|
key?:
|
|
4633
4807
|
string;
|
|
@@ -4638,23 +4812,23 @@ declare namespace gapi.client {
|
|
|
4638
4812
|
oauth_token?:
|
|
4639
4813
|
string;
|
|
4640
4814
|
/**
|
|
4641
|
-
* Comma separated list of
|
|
4642
|
-
*
|
|
4643
|
-
*
|
|
4644
|
-
* JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.
|
|
4815
|
+
* Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters
|
|
4816
|
+
* 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`:
|
|
4817
|
+
* 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.
|
|
4645
4818
|
*/
|
|
4646
4819
|
orderBy?:
|
|
4647
4820
|
string;
|
|
4648
|
-
/** Size of the page, can be limited by
|
|
4821
|
+
/** Size of the page, can be limited by the server. If zero server returns a page of max size 100. */
|
|
4649
4822
|
pageSize?:
|
|
4650
4823
|
number;
|
|
4651
|
-
/** Page token to continue retrieval. Comes from previous call to
|
|
4824
|
+
/** Page token to continue retrieval. Comes from previous call to `ListInspectTemplates`. */
|
|
4652
4825
|
pageToken?:
|
|
4653
4826
|
string;
|
|
4654
4827
|
/**
|
|
4655
|
-
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
4828
|
+
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
4656
4829
|
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
4657
|
-
* location specified (defaults to global): `projects/`PROJECT_ID
|
|
4830
|
+
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
4831
|
+
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
4658
4832
|
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4659
4833
|
*/
|
|
4660
4834
|
parent:
|
|
@@ -4665,17 +4839,14 @@ declare namespace gapi.client {
|
|
|
4665
4839
|
/** 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. */
|
|
4666
4840
|
quotaUser?:
|
|
4667
4841
|
string;
|
|
4668
|
-
/** The type of jobs. Will use `DlpJobType.INSPECT` if not set. */
|
|
4669
|
-
type?:
|
|
4670
|
-
string;
|
|
4671
4842
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4672
4843
|
upload_protocol?:
|
|
4673
4844
|
string;
|
|
4674
4845
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4675
4846
|
uploadType?:
|
|
4676
4847
|
string;
|
|
4677
|
-
}): Request<
|
|
4678
|
-
/** Updates
|
|
4848
|
+
}): Request<GooglePrivacyDlpV2ListInspectTemplatesResponse>;
|
|
4849
|
+
/** Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. */
|
|
4679
4850
|
patch(request: {
|
|
4680
4851
|
/** V1 error format. */
|
|
4681
4852
|
"$.xgafv"?:
|
|
@@ -4695,7 +4866,10 @@ declare namespace gapi.client {
|
|
|
4695
4866
|
/** 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. */
|
|
4696
4867
|
key?:
|
|
4697
4868
|
string;
|
|
4698
|
-
/**
|
|
4869
|
+
/**
|
|
4870
|
+
* Required. Resource name of organization and inspectTemplate to be updated, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
4871
|
+
* projects/project-id/inspectTemplates/432452342.
|
|
4872
|
+
*/
|
|
4699
4873
|
name:
|
|
4700
4874
|
string;
|
|
4701
4875
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4715,8 +4889,8 @@ declare namespace gapi.client {
|
|
|
4715
4889
|
string;
|
|
4716
4890
|
/** Request body */
|
|
4717
4891
|
resource:
|
|
4718
|
-
|
|
4719
|
-
}): Request<
|
|
4892
|
+
GooglePrivacyDlpV2UpdateInspectTemplateRequest;
|
|
4893
|
+
}): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
4720
4894
|
patch(request: {
|
|
4721
4895
|
/** V1 error format. */
|
|
4722
4896
|
"$.xgafv"?:
|
|
@@ -4736,7 +4910,10 @@ declare namespace gapi.client {
|
|
|
4736
4910
|
/** 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. */
|
|
4737
4911
|
key?:
|
|
4738
4912
|
string;
|
|
4739
|
-
/**
|
|
4913
|
+
/**
|
|
4914
|
+
* Required. Resource name of organization and inspectTemplate to be updated, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
4915
|
+
* projects/project-id/inspectTemplates/432452342.
|
|
4916
|
+
*/
|
|
4740
4917
|
name:
|
|
4741
4918
|
string;
|
|
4742
4919
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4755,10 +4932,13 @@ declare namespace gapi.client {
|
|
|
4755
4932
|
uploadType?:
|
|
4756
4933
|
string;
|
|
4757
4934
|
},
|
|
4758
|
-
body:
|
|
4935
|
+
body: GooglePrivacyDlpV2UpdateInspectTemplateRequest): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
4759
4936
|
}
|
|
4760
|
-
interface
|
|
4761
|
-
/**
|
|
4937
|
+
interface JobTriggersResource {
|
|
4938
|
+
/**
|
|
4939
|
+
* Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn
|
|
4940
|
+
* more.
|
|
4941
|
+
*/
|
|
4762
4942
|
create(request: {
|
|
4763
4943
|
/** V1 error format. */
|
|
4764
4944
|
"$.xgafv"?:
|
|
@@ -4782,10 +4962,9 @@ declare namespace gapi.client {
|
|
|
4782
4962
|
oauth_token?:
|
|
4783
4963
|
string;
|
|
4784
4964
|
/**
|
|
4785
|
-
* Required. Parent resource name. The format of this value varies depending on
|
|
4965
|
+
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
4786
4966
|
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
4787
|
-
* location specified (defaults to global): `projects/`PROJECT_ID
|
|
4788
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
4967
|
+
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
4789
4968
|
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4790
4969
|
*/
|
|
4791
4970
|
parent:
|
|
@@ -4804,8 +4983,8 @@ declare namespace gapi.client {
|
|
|
4804
4983
|
string;
|
|
4805
4984
|
/** Request body */
|
|
4806
4985
|
resource:
|
|
4807
|
-
|
|
4808
|
-
}): Request<
|
|
4986
|
+
GooglePrivacyDlpV2CreateJobTriggerRequest;
|
|
4987
|
+
}): Request<GooglePrivacyDlpV2JobTrigger>;
|
|
4809
4988
|
create(request: {
|
|
4810
4989
|
/** V1 error format. */
|
|
4811
4990
|
"$.xgafv"?:
|
|
@@ -4829,10 +5008,9 @@ declare namespace gapi.client {
|
|
|
4829
5008
|
oauth_token?:
|
|
4830
5009
|
string;
|
|
4831
5010
|
/**
|
|
4832
|
-
* Required. Parent resource name. The format of this value varies depending on
|
|
5011
|
+
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
4833
5012
|
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
4834
|
-
* location specified (defaults to global): `projects/`PROJECT_ID
|
|
4835
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
5013
|
+
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
4836
5014
|
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4837
5015
|
*/
|
|
4838
5016
|
parent:
|
|
@@ -4850,8 +5028,8 @@ declare namespace gapi.client {
|
|
|
4850
5028
|
uploadType?:
|
|
4851
5029
|
string;
|
|
4852
5030
|
},
|
|
4853
|
-
body:
|
|
4854
|
-
/** Deletes a
|
|
5031
|
+
body: GooglePrivacyDlpV2CreateJobTriggerRequest): Request<GooglePrivacyDlpV2JobTrigger>;
|
|
5032
|
+
/** Deletes a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. */
|
|
4855
5033
|
delete(request?: {
|
|
4856
5034
|
/** V1 error format. */
|
|
4857
5035
|
"$.xgafv"?:
|
|
@@ -4871,10 +5049,7 @@ declare namespace gapi.client {
|
|
|
4871
5049
|
/** 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. */
|
|
4872
5050
|
key?:
|
|
4873
5051
|
string;
|
|
4874
|
-
/**
|
|
4875
|
-
* Required. Resource name of the organization and storedInfoType to be deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
|
|
4876
|
-
* projects/project-id/storedInfoTypes/432452342.
|
|
4877
|
-
*/
|
|
5052
|
+
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
4878
5053
|
name:
|
|
4879
5054
|
string;
|
|
4880
5055
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4893,7 +5068,7 @@ declare namespace gapi.client {
|
|
|
4893
5068
|
uploadType?:
|
|
4894
5069
|
string;
|
|
4895
5070
|
}): Request<{}>;
|
|
4896
|
-
/** Gets a
|
|
5071
|
+
/** Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. */
|
|
4897
5072
|
get(request?: {
|
|
4898
5073
|
/** V1 error format. */
|
|
4899
5074
|
"$.xgafv"?:
|
|
@@ -4913,10 +5088,7 @@ declare namespace gapi.client {
|
|
|
4913
5088
|
/** 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. */
|
|
4914
5089
|
key?:
|
|
4915
5090
|
string;
|
|
4916
|
-
/**
|
|
4917
|
-
* Required. Resource name of the organization and storedInfoType to be read, for example `organizations/433245324/storedInfoTypes/432452342` or
|
|
4918
|
-
* projects/project-id/storedInfoTypes/432452342.
|
|
4919
|
-
*/
|
|
5091
|
+
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
4920
5092
|
name:
|
|
4921
5093
|
string;
|
|
4922
5094
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4934,8 +5106,8 @@ declare namespace gapi.client {
|
|
|
4934
5106
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4935
5107
|
uploadType?:
|
|
4936
5108
|
string;
|
|
4937
|
-
}): Request<
|
|
4938
|
-
/** Lists
|
|
5109
|
+
}): Request<GooglePrivacyDlpV2JobTrigger>;
|
|
5110
|
+
/** Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. */
|
|
4939
5111
|
list(request?: {
|
|
4940
5112
|
/** V1 error format. */
|
|
4941
5113
|
"$.xgafv"?:
|
|
@@ -4952,6 +5124,16 @@ declare namespace gapi.client {
|
|
|
4952
5124
|
/** Selector specifying which fields to include in a partial response. */
|
|
4953
5125
|
fields?:
|
|
4954
5126
|
string;
|
|
5127
|
+
/**
|
|
5128
|
+
* 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
|
|
5129
|
+
* of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect triggers: - `status` -
|
|
5130
|
+
* HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds
|
|
5131
|
+
* are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. Examples: *
|
|
5132
|
+
* inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state =
|
|
5133
|
+
* PAUSED OR state = HEALTHY) * last_run_time > \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters.
|
|
5134
|
+
*/
|
|
5135
|
+
filter?:
|
|
5136
|
+
string;
|
|
4955
5137
|
/** 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. */
|
|
4956
5138
|
key?:
|
|
4957
5139
|
string;
|
|
@@ -4962,20 +5144,21 @@ declare namespace gapi.client {
|
|
|
4962
5144
|
oauth_token?:
|
|
4963
5145
|
string;
|
|
4964
5146
|
/**
|
|
4965
|
-
* Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space
|
|
4966
|
-
* are insignificant. Example: `name asc,
|
|
4967
|
-
*
|
|
5147
|
+
* Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space
|
|
5148
|
+
* characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. -
|
|
5149
|
+
* `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
|
|
5150
|
+
* JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.
|
|
4968
5151
|
*/
|
|
4969
5152
|
orderBy?:
|
|
4970
5153
|
string;
|
|
4971
|
-
/** Size of the page, can be limited by
|
|
5154
|
+
/** Size of the page, can be limited by a server. */
|
|
4972
5155
|
pageSize?:
|
|
4973
5156
|
number;
|
|
4974
|
-
/** Page token to continue retrieval. Comes from previous call to `
|
|
5157
|
+
/** Page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls. */
|
|
4975
5158
|
pageToken?:
|
|
4976
5159
|
string;
|
|
4977
5160
|
/**
|
|
4978
|
-
* Required. Parent resource name. The format of this value varies depending on
|
|
5161
|
+
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
4979
5162
|
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
4980
5163
|
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
4981
5164
|
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
@@ -4988,17 +5171,17 @@ declare namespace gapi.client {
|
|
|
4988
5171
|
/** 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. */
|
|
4989
5172
|
quotaUser?:
|
|
4990
5173
|
string;
|
|
5174
|
+
/** The type of jobs. Will use `DlpJobType.INSPECT` if not set. */
|
|
5175
|
+
type?:
|
|
5176
|
+
string;
|
|
4991
5177
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4992
5178
|
upload_protocol?:
|
|
4993
5179
|
string;
|
|
4994
5180
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4995
5181
|
uploadType?:
|
|
4996
5182
|
string;
|
|
4997
|
-
}): Request<
|
|
4998
|
-
/**
|
|
4999
|
-
* Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See
|
|
5000
|
-
* https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
|
|
5001
|
-
*/
|
|
5183
|
+
}): Request<GooglePrivacyDlpV2ListJobTriggersResponse>;
|
|
5184
|
+
/** Updates a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. */
|
|
5002
5185
|
patch(request: {
|
|
5003
5186
|
/** V1 error format. */
|
|
5004
5187
|
"$.xgafv"?:
|
|
@@ -5018,10 +5201,7 @@ declare namespace gapi.client {
|
|
|
5018
5201
|
/** 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. */
|
|
5019
5202
|
key?:
|
|
5020
5203
|
string;
|
|
5021
|
-
/**
|
|
5022
|
-
* Required. Resource name of organization and storedInfoType to be updated, for example `organizations/433245324/storedInfoTypes/432452342` or
|
|
5023
|
-
* projects/project-id/storedInfoTypes/432452342.
|
|
5024
|
-
*/
|
|
5204
|
+
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
5025
5205
|
name:
|
|
5026
5206
|
string;
|
|
5027
5207
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -5041,8 +5221,8 @@ declare namespace gapi.client {
|
|
|
5041
5221
|
string;
|
|
5042
5222
|
/** Request body */
|
|
5043
5223
|
resource:
|
|
5044
|
-
|
|
5045
|
-
}): Request<
|
|
5224
|
+
GooglePrivacyDlpV2UpdateJobTriggerRequest;
|
|
5225
|
+
}): Request<GooglePrivacyDlpV2JobTrigger>;
|
|
5046
5226
|
patch(request: {
|
|
5047
5227
|
/** V1 error format. */
|
|
5048
5228
|
"$.xgafv"?:
|
|
@@ -5062,10 +5242,7 @@ declare namespace gapi.client {
|
|
|
5062
5242
|
/** 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. */
|
|
5063
5243
|
key?:
|
|
5064
5244
|
string;
|
|
5065
|
-
/**
|
|
5066
|
-
* Required. Resource name of organization and storedInfoType to be updated, for example `organizations/433245324/storedInfoTypes/432452342` or
|
|
5067
|
-
* projects/project-id/storedInfoTypes/432452342.
|
|
5068
|
-
*/
|
|
5245
|
+
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
5069
5246
|
name:
|
|
5070
5247
|
string;
|
|
5071
5248
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -5084,19 +5261,7 @@ declare namespace gapi.client {
|
|
|
5084
5261
|
uploadType?:
|
|
5085
5262
|
string;
|
|
5086
5263
|
},
|
|
5087
|
-
body:
|
|
5088
|
-
}
|
|
5089
|
-
interface LocationsResource {
|
|
5090
|
-
deidentifyTemplates:
|
|
5091
|
-
DeidentifyTemplatesResource;
|
|
5092
|
-
dlpJobs:
|
|
5093
|
-
DlpJobsResource;
|
|
5094
|
-
inspectTemplates:
|
|
5095
|
-
InspectTemplatesResource;
|
|
5096
|
-
jobTriggers:
|
|
5097
|
-
JobTriggersResource;
|
|
5098
|
-
storedInfoTypes:
|
|
5099
|
-
StoredInfoTypesResource;
|
|
5264
|
+
body: GooglePrivacyDlpV2UpdateJobTriggerRequest): Request<GooglePrivacyDlpV2JobTrigger>;
|
|
5100
5265
|
}
|
|
5101
5266
|
interface StoredInfoTypesResource {
|
|
5102
5267
|
/** Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more. */
|
|
@@ -5427,23 +5592,461 @@ declare namespace gapi.client {
|
|
|
5427
5592
|
},
|
|
5428
5593
|
body: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest): Request<GooglePrivacyDlpV2StoredInfoType>;
|
|
5429
5594
|
}
|
|
5430
|
-
interface
|
|
5595
|
+
interface LocationsResource {
|
|
5431
5596
|
deidentifyTemplates:
|
|
5432
5597
|
DeidentifyTemplatesResource;
|
|
5598
|
+
discoveryConfigs:
|
|
5599
|
+
DiscoveryConfigsResource;
|
|
5600
|
+
dlpJobs:
|
|
5601
|
+
DlpJobsResource;
|
|
5433
5602
|
inspectTemplates:
|
|
5434
5603
|
InspectTemplatesResource;
|
|
5435
|
-
|
|
5436
|
-
|
|
5604
|
+
jobTriggers:
|
|
5605
|
+
JobTriggersResource;
|
|
5606
|
+
storedInfoTypes:
|
|
5607
|
+
StoredInfoTypesResource;
|
|
5608
|
+
}
|
|
5609
|
+
interface StoredInfoTypesResource {
|
|
5610
|
+
/** Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more. */
|
|
5611
|
+
create(request: {
|
|
5612
|
+
/** V1 error format. */
|
|
5613
|
+
"$.xgafv"?:
|
|
5614
|
+
string;
|
|
5615
|
+
/** OAuth access token. */
|
|
5616
|
+
access_token?:
|
|
5617
|
+
string;
|
|
5618
|
+
/** Data format for response. */
|
|
5619
|
+
alt?:
|
|
5620
|
+
string;
|
|
5621
|
+
/** JSONP */
|
|
5622
|
+
callback?:
|
|
5623
|
+
string;
|
|
5624
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5625
|
+
fields?:
|
|
5626
|
+
string;
|
|
5627
|
+
/** 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. */
|
|
5628
|
+
key?:
|
|
5629
|
+
string;
|
|
5630
|
+
/** OAuth 2.0 token for the current user. */
|
|
5631
|
+
oauth_token?:
|
|
5632
|
+
string;
|
|
5633
|
+
/**
|
|
5634
|
+
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
5635
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
5636
|
+
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
5637
|
+
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
5638
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
5639
|
+
*/
|
|
5640
|
+
parent:
|
|
5641
|
+
string;
|
|
5642
|
+
/** Returns response with indentations and line breaks. */
|
|
5643
|
+
prettyPrint?:
|
|
5644
|
+
boolean;
|
|
5645
|
+
/** 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. */
|
|
5646
|
+
quotaUser?:
|
|
5647
|
+
string;
|
|
5648
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5649
|
+
upload_protocol?:
|
|
5650
|
+
string;
|
|
5651
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5652
|
+
uploadType?:
|
|
5653
|
+
string;
|
|
5654
|
+
/** Request body */
|
|
5655
|
+
resource:
|
|
5656
|
+
GooglePrivacyDlpV2CreateStoredInfoTypeRequest;
|
|
5657
|
+
}): Request<GooglePrivacyDlpV2StoredInfoType>;
|
|
5658
|
+
create(request: {
|
|
5659
|
+
/** V1 error format. */
|
|
5660
|
+
"$.xgafv"?:
|
|
5661
|
+
string;
|
|
5662
|
+
/** OAuth access token. */
|
|
5663
|
+
access_token?:
|
|
5664
|
+
string;
|
|
5665
|
+
/** Data format for response. */
|
|
5666
|
+
alt?:
|
|
5667
|
+
string;
|
|
5668
|
+
/** JSONP */
|
|
5669
|
+
callback?:
|
|
5670
|
+
string;
|
|
5671
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5672
|
+
fields?:
|
|
5673
|
+
string;
|
|
5674
|
+
/** 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. */
|
|
5675
|
+
key?:
|
|
5676
|
+
string;
|
|
5677
|
+
/** OAuth 2.0 token for the current user. */
|
|
5678
|
+
oauth_token?:
|
|
5679
|
+
string;
|
|
5680
|
+
/**
|
|
5681
|
+
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
5682
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
5683
|
+
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
5684
|
+
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
5685
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
5686
|
+
*/
|
|
5687
|
+
parent:
|
|
5688
|
+
string;
|
|
5689
|
+
/** Returns response with indentations and line breaks. */
|
|
5690
|
+
prettyPrint?:
|
|
5691
|
+
boolean;
|
|
5692
|
+
/** 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. */
|
|
5693
|
+
quotaUser?:
|
|
5694
|
+
string;
|
|
5695
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5696
|
+
upload_protocol?:
|
|
5697
|
+
string;
|
|
5698
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5699
|
+
uploadType?:
|
|
5700
|
+
string;
|
|
5701
|
+
},
|
|
5702
|
+
body: GooglePrivacyDlpV2CreateStoredInfoTypeRequest): Request<GooglePrivacyDlpV2StoredInfoType>;
|
|
5703
|
+
/** Deletes a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more. */
|
|
5704
|
+
delete(request?: {
|
|
5705
|
+
/** V1 error format. */
|
|
5706
|
+
"$.xgafv"?:
|
|
5707
|
+
string;
|
|
5708
|
+
/** OAuth access token. */
|
|
5709
|
+
access_token?:
|
|
5710
|
+
string;
|
|
5711
|
+
/** Data format for response. */
|
|
5712
|
+
alt?:
|
|
5713
|
+
string;
|
|
5714
|
+
/** JSONP */
|
|
5715
|
+
callback?:
|
|
5716
|
+
string;
|
|
5717
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5718
|
+
fields?:
|
|
5719
|
+
string;
|
|
5720
|
+
/** 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. */
|
|
5721
|
+
key?:
|
|
5722
|
+
string;
|
|
5723
|
+
/**
|
|
5724
|
+
* Required. Resource name of the organization and storedInfoType to be deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
|
|
5725
|
+
* projects/project-id/storedInfoTypes/432452342.
|
|
5726
|
+
*/
|
|
5727
|
+
name:
|
|
5728
|
+
string;
|
|
5729
|
+
/** OAuth 2.0 token for the current user. */
|
|
5730
|
+
oauth_token?:
|
|
5731
|
+
string;
|
|
5732
|
+
/** Returns response with indentations and line breaks. */
|
|
5733
|
+
prettyPrint?:
|
|
5734
|
+
boolean;
|
|
5735
|
+
/** 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. */
|
|
5736
|
+
quotaUser?:
|
|
5737
|
+
string;
|
|
5738
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5739
|
+
upload_protocol?:
|
|
5740
|
+
string;
|
|
5741
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5742
|
+
uploadType?:
|
|
5743
|
+
string;
|
|
5744
|
+
}): Request<{}>;
|
|
5745
|
+
/** Gets a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more. */
|
|
5746
|
+
get(request?: {
|
|
5747
|
+
/** V1 error format. */
|
|
5748
|
+
"$.xgafv"?:
|
|
5749
|
+
string;
|
|
5750
|
+
/** OAuth access token. */
|
|
5751
|
+
access_token?:
|
|
5752
|
+
string;
|
|
5753
|
+
/** Data format for response. */
|
|
5754
|
+
alt?:
|
|
5755
|
+
string;
|
|
5756
|
+
/** JSONP */
|
|
5757
|
+
callback?:
|
|
5758
|
+
string;
|
|
5759
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5760
|
+
fields?:
|
|
5761
|
+
string;
|
|
5762
|
+
/** 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. */
|
|
5763
|
+
key?:
|
|
5764
|
+
string;
|
|
5765
|
+
/**
|
|
5766
|
+
* Required. Resource name of the organization and storedInfoType to be read, for example `organizations/433245324/storedInfoTypes/432452342` or
|
|
5767
|
+
* projects/project-id/storedInfoTypes/432452342.
|
|
5768
|
+
*/
|
|
5769
|
+
name:
|
|
5770
|
+
string;
|
|
5771
|
+
/** OAuth 2.0 token for the current user. */
|
|
5772
|
+
oauth_token?:
|
|
5773
|
+
string;
|
|
5774
|
+
/** Returns response with indentations and line breaks. */
|
|
5775
|
+
prettyPrint?:
|
|
5776
|
+
boolean;
|
|
5777
|
+
/** 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. */
|
|
5778
|
+
quotaUser?:
|
|
5779
|
+
string;
|
|
5780
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5781
|
+
upload_protocol?:
|
|
5782
|
+
string;
|
|
5783
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5784
|
+
uploadType?:
|
|
5785
|
+
string;
|
|
5786
|
+
}): Request<GooglePrivacyDlpV2StoredInfoType>;
|
|
5787
|
+
/** Lists stored infoTypes. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more. */
|
|
5788
|
+
list(request?: {
|
|
5789
|
+
/** V1 error format. */
|
|
5790
|
+
"$.xgafv"?:
|
|
5791
|
+
string;
|
|
5792
|
+
/** OAuth access token. */
|
|
5793
|
+
access_token?:
|
|
5794
|
+
string;
|
|
5795
|
+
/** Data format for response. */
|
|
5796
|
+
alt?:
|
|
5797
|
+
string;
|
|
5798
|
+
/** JSONP */
|
|
5799
|
+
callback?:
|
|
5800
|
+
string;
|
|
5801
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5802
|
+
fields?:
|
|
5803
|
+
string;
|
|
5804
|
+
/** 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. */
|
|
5805
|
+
key?:
|
|
5806
|
+
string;
|
|
5807
|
+
/** Deprecated. This field has no effect. */
|
|
5808
|
+
locationId?:
|
|
5809
|
+
string;
|
|
5810
|
+
/** OAuth 2.0 token for the current user. */
|
|
5811
|
+
oauth_token?:
|
|
5812
|
+
string;
|
|
5813
|
+
/**
|
|
5814
|
+
* Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters
|
|
5815
|
+
* 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
|
|
5816
|
+
* created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.
|
|
5817
|
+
*/
|
|
5818
|
+
orderBy?:
|
|
5819
|
+
string;
|
|
5820
|
+
/** Size of the page, can be limited by the server. If zero server returns a page of max size 100. */
|
|
5821
|
+
pageSize?:
|
|
5822
|
+
number;
|
|
5823
|
+
/** Page token to continue retrieval. Comes from previous call to `ListStoredInfoTypes`. */
|
|
5824
|
+
pageToken?:
|
|
5825
|
+
string;
|
|
5826
|
+
/**
|
|
5827
|
+
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
5828
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
5829
|
+
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
5830
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
5831
|
+
*/
|
|
5832
|
+
parent:
|
|
5833
|
+
string;
|
|
5834
|
+
/** Returns response with indentations and line breaks. */
|
|
5835
|
+
prettyPrint?:
|
|
5836
|
+
boolean;
|
|
5837
|
+
/** 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. */
|
|
5838
|
+
quotaUser?:
|
|
5839
|
+
string;
|
|
5840
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5841
|
+
upload_protocol?:
|
|
5842
|
+
string;
|
|
5843
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5844
|
+
uploadType?:
|
|
5845
|
+
string;
|
|
5846
|
+
}): Request<GooglePrivacyDlpV2ListStoredInfoTypesResponse>;
|
|
5847
|
+
/**
|
|
5848
|
+
* Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See
|
|
5849
|
+
* https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
|
|
5850
|
+
*/
|
|
5851
|
+
patch(request: {
|
|
5852
|
+
/** V1 error format. */
|
|
5853
|
+
"$.xgafv"?:
|
|
5854
|
+
string;
|
|
5855
|
+
/** OAuth access token. */
|
|
5856
|
+
access_token?:
|
|
5857
|
+
string;
|
|
5858
|
+
/** Data format for response. */
|
|
5859
|
+
alt?:
|
|
5860
|
+
string;
|
|
5861
|
+
/** JSONP */
|
|
5862
|
+
callback?:
|
|
5863
|
+
string;
|
|
5864
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5865
|
+
fields?:
|
|
5866
|
+
string;
|
|
5867
|
+
/** 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. */
|
|
5868
|
+
key?:
|
|
5869
|
+
string;
|
|
5870
|
+
/**
|
|
5871
|
+
* Required. Resource name of organization and storedInfoType to be updated, for example `organizations/433245324/storedInfoTypes/432452342` or
|
|
5872
|
+
* projects/project-id/storedInfoTypes/432452342.
|
|
5873
|
+
*/
|
|
5874
|
+
name:
|
|
5875
|
+
string;
|
|
5876
|
+
/** OAuth 2.0 token for the current user. */
|
|
5877
|
+
oauth_token?:
|
|
5878
|
+
string;
|
|
5879
|
+
/** Returns response with indentations and line breaks. */
|
|
5880
|
+
prettyPrint?:
|
|
5881
|
+
boolean;
|
|
5882
|
+
/** 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. */
|
|
5883
|
+
quotaUser?:
|
|
5884
|
+
string;
|
|
5885
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5886
|
+
upload_protocol?:
|
|
5887
|
+
string;
|
|
5888
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5889
|
+
uploadType?:
|
|
5890
|
+
string;
|
|
5891
|
+
/** Request body */
|
|
5892
|
+
resource:
|
|
5893
|
+
GooglePrivacyDlpV2UpdateStoredInfoTypeRequest;
|
|
5894
|
+
}): Request<GooglePrivacyDlpV2StoredInfoType>;
|
|
5895
|
+
patch(request: {
|
|
5896
|
+
/** V1 error format. */
|
|
5897
|
+
"$.xgafv"?:
|
|
5898
|
+
string;
|
|
5899
|
+
/** OAuth access token. */
|
|
5900
|
+
access_token?:
|
|
5901
|
+
string;
|
|
5902
|
+
/** Data format for response. */
|
|
5903
|
+
alt?:
|
|
5904
|
+
string;
|
|
5905
|
+
/** JSONP */
|
|
5906
|
+
callback?:
|
|
5907
|
+
string;
|
|
5908
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5909
|
+
fields?:
|
|
5910
|
+
string;
|
|
5911
|
+
/** 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. */
|
|
5912
|
+
key?:
|
|
5913
|
+
string;
|
|
5914
|
+
/**
|
|
5915
|
+
* Required. Resource name of organization and storedInfoType to be updated, for example `organizations/433245324/storedInfoTypes/432452342` or
|
|
5916
|
+
* projects/project-id/storedInfoTypes/432452342.
|
|
5917
|
+
*/
|
|
5918
|
+
name:
|
|
5919
|
+
string;
|
|
5920
|
+
/** OAuth 2.0 token for the current user. */
|
|
5921
|
+
oauth_token?:
|
|
5922
|
+
string;
|
|
5923
|
+
/** Returns response with indentations and line breaks. */
|
|
5924
|
+
prettyPrint?:
|
|
5925
|
+
boolean;
|
|
5926
|
+
/** 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. */
|
|
5927
|
+
quotaUser?:
|
|
5928
|
+
string;
|
|
5929
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5930
|
+
upload_protocol?:
|
|
5931
|
+
string;
|
|
5932
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5933
|
+
uploadType?:
|
|
5934
|
+
string;
|
|
5935
|
+
},
|
|
5936
|
+
body: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest): Request<GooglePrivacyDlpV2StoredInfoType>;
|
|
5937
|
+
}
|
|
5938
|
+
interface OrganizationsResource {
|
|
5939
|
+
deidentifyTemplates:
|
|
5940
|
+
DeidentifyTemplatesResource;
|
|
5941
|
+
inspectTemplates:
|
|
5942
|
+
InspectTemplatesResource;
|
|
5943
|
+
locations:
|
|
5944
|
+
LocationsResource;
|
|
5437
5945
|
storedInfoTypes:
|
|
5438
5946
|
StoredInfoTypesResource;
|
|
5439
5947
|
}
|
|
5440
5948
|
interface ContentResource {
|
|
5441
5949
|
/**
|
|
5442
|
-
* De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
|
|
5443
|
-
* 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
|
|
5444
|
-
* change over time as detectors are updated.
|
|
5950
|
+
* De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
|
|
5951
|
+
* 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
|
|
5952
|
+
* change over time as detectors are updated.
|
|
5953
|
+
*/
|
|
5954
|
+
deidentify(request: {
|
|
5955
|
+
/** V1 error format. */
|
|
5956
|
+
"$.xgafv"?:
|
|
5957
|
+
string;
|
|
5958
|
+
/** OAuth access token. */
|
|
5959
|
+
access_token?:
|
|
5960
|
+
string;
|
|
5961
|
+
/** Data format for response. */
|
|
5962
|
+
alt?:
|
|
5963
|
+
string;
|
|
5964
|
+
/** JSONP */
|
|
5965
|
+
callback?:
|
|
5966
|
+
string;
|
|
5967
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5968
|
+
fields?:
|
|
5969
|
+
string;
|
|
5970
|
+
/** 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. */
|
|
5971
|
+
key?:
|
|
5972
|
+
string;
|
|
5973
|
+
/** OAuth 2.0 token for the current user. */
|
|
5974
|
+
oauth_token?:
|
|
5975
|
+
string;
|
|
5976
|
+
/**
|
|
5977
|
+
* Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): +
|
|
5978
|
+
* Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
|
5979
|
+
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
5980
|
+
* parent=projects/example-project/locations/europe-west3
|
|
5981
|
+
*/
|
|
5982
|
+
parent:
|
|
5983
|
+
string;
|
|
5984
|
+
/** Returns response with indentations and line breaks. */
|
|
5985
|
+
prettyPrint?:
|
|
5986
|
+
boolean;
|
|
5987
|
+
/** 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. */
|
|
5988
|
+
quotaUser?:
|
|
5989
|
+
string;
|
|
5990
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5991
|
+
upload_protocol?:
|
|
5992
|
+
string;
|
|
5993
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5994
|
+
uploadType?:
|
|
5995
|
+
string;
|
|
5996
|
+
/** Request body */
|
|
5997
|
+
resource:
|
|
5998
|
+
GooglePrivacyDlpV2DeidentifyContentRequest;
|
|
5999
|
+
}): Request<GooglePrivacyDlpV2DeidentifyContentResponse>;
|
|
6000
|
+
deidentify(request: {
|
|
6001
|
+
/** V1 error format. */
|
|
6002
|
+
"$.xgafv"?:
|
|
6003
|
+
string;
|
|
6004
|
+
/** OAuth access token. */
|
|
6005
|
+
access_token?:
|
|
6006
|
+
string;
|
|
6007
|
+
/** Data format for response. */
|
|
6008
|
+
alt?:
|
|
6009
|
+
string;
|
|
6010
|
+
/** JSONP */
|
|
6011
|
+
callback?:
|
|
6012
|
+
string;
|
|
6013
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6014
|
+
fields?:
|
|
6015
|
+
string;
|
|
6016
|
+
/** 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. */
|
|
6017
|
+
key?:
|
|
6018
|
+
string;
|
|
6019
|
+
/** OAuth 2.0 token for the current user. */
|
|
6020
|
+
oauth_token?:
|
|
6021
|
+
string;
|
|
6022
|
+
/**
|
|
6023
|
+
* Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): +
|
|
6024
|
+
* Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
|
6025
|
+
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
6026
|
+
* parent=projects/example-project/locations/europe-west3
|
|
6027
|
+
*/
|
|
6028
|
+
parent:
|
|
6029
|
+
string;
|
|
6030
|
+
/** Returns response with indentations and line breaks. */
|
|
6031
|
+
prettyPrint?:
|
|
6032
|
+
boolean;
|
|
6033
|
+
/** 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. */
|
|
6034
|
+
quotaUser?:
|
|
6035
|
+
string;
|
|
6036
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6037
|
+
upload_protocol?:
|
|
6038
|
+
string;
|
|
6039
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6040
|
+
uploadType?:
|
|
6041
|
+
string;
|
|
6042
|
+
},
|
|
6043
|
+
body: GooglePrivacyDlpV2DeidentifyContentRequest): Request<GooglePrivacyDlpV2DeidentifyContentResponse>;
|
|
6044
|
+
/**
|
|
6045
|
+
* Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. When no InfoTypes or CustomInfoTypes are specified in this
|
|
6046
|
+
* request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. For how to guides, see
|
|
6047
|
+
* https://cloud.google.com/dlp/docs/inspecting-images and https://cloud.google.com/dlp/docs/inspecting-text,
|
|
5445
6048
|
*/
|
|
5446
|
-
|
|
6049
|
+
inspect(request: {
|
|
5447
6050
|
/** V1 error format. */
|
|
5448
6051
|
"$.xgafv"?:
|
|
5449
6052
|
string;
|
|
@@ -5487,9 +6090,9 @@ declare namespace gapi.client {
|
|
|
5487
6090
|
string;
|
|
5488
6091
|
/** Request body */
|
|
5489
6092
|
resource:
|
|
5490
|
-
|
|
5491
|
-
}): Request<
|
|
5492
|
-
|
|
6093
|
+
GooglePrivacyDlpV2InspectContentRequest;
|
|
6094
|
+
}): Request<GooglePrivacyDlpV2InspectContentResponse>;
|
|
6095
|
+
inspect(request: {
|
|
5493
6096
|
/** V1 error format. */
|
|
5494
6097
|
"$.xgafv"?:
|
|
5495
6098
|
string;
|
|
@@ -5517,7 +6120,239 @@ declare namespace gapi.client {
|
|
|
5517
6120
|
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
5518
6121
|
* parent=projects/example-project/locations/europe-west3
|
|
5519
6122
|
*/
|
|
5520
|
-
parent:
|
|
6123
|
+
parent:
|
|
6124
|
+
string;
|
|
6125
|
+
/** Returns response with indentations and line breaks. */
|
|
6126
|
+
prettyPrint?:
|
|
6127
|
+
boolean;
|
|
6128
|
+
/** 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. */
|
|
6129
|
+
quotaUser?:
|
|
6130
|
+
string;
|
|
6131
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6132
|
+
upload_protocol?:
|
|
6133
|
+
string;
|
|
6134
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6135
|
+
uploadType?:
|
|
6136
|
+
string;
|
|
6137
|
+
},
|
|
6138
|
+
body: GooglePrivacyDlpV2InspectContentRequest): Request<GooglePrivacyDlpV2InspectContentResponse>;
|
|
6139
|
+
/** Re-identifies content that has been de-identified. See https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example to learn more. */
|
|
6140
|
+
reidentify(request: {
|
|
6141
|
+
/** V1 error format. */
|
|
6142
|
+
"$.xgafv"?:
|
|
6143
|
+
string;
|
|
6144
|
+
/** OAuth access token. */
|
|
6145
|
+
access_token?:
|
|
6146
|
+
string;
|
|
6147
|
+
/** Data format for response. */
|
|
6148
|
+
alt?:
|
|
6149
|
+
string;
|
|
6150
|
+
/** JSONP */
|
|
6151
|
+
callback?:
|
|
6152
|
+
string;
|
|
6153
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6154
|
+
fields?:
|
|
6155
|
+
string;
|
|
6156
|
+
/** 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. */
|
|
6157
|
+
key?:
|
|
6158
|
+
string;
|
|
6159
|
+
/** OAuth 2.0 token for the current user. */
|
|
6160
|
+
oauth_token?:
|
|
6161
|
+
string;
|
|
6162
|
+
/**
|
|
6163
|
+
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
6164
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
6165
|
+
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
6166
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6167
|
+
*/
|
|
6168
|
+
parent:
|
|
6169
|
+
string;
|
|
6170
|
+
/** Returns response with indentations and line breaks. */
|
|
6171
|
+
prettyPrint?:
|
|
6172
|
+
boolean;
|
|
6173
|
+
/** 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. */
|
|
6174
|
+
quotaUser?:
|
|
6175
|
+
string;
|
|
6176
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6177
|
+
upload_protocol?:
|
|
6178
|
+
string;
|
|
6179
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6180
|
+
uploadType?:
|
|
6181
|
+
string;
|
|
6182
|
+
/** Request body */
|
|
6183
|
+
resource:
|
|
6184
|
+
GooglePrivacyDlpV2ReidentifyContentRequest;
|
|
6185
|
+
}): Request<GooglePrivacyDlpV2ReidentifyContentResponse>;
|
|
6186
|
+
reidentify(request: {
|
|
6187
|
+
/** V1 error format. */
|
|
6188
|
+
"$.xgafv"?:
|
|
6189
|
+
string;
|
|
6190
|
+
/** OAuth access token. */
|
|
6191
|
+
access_token?:
|
|
6192
|
+
string;
|
|
6193
|
+
/** Data format for response. */
|
|
6194
|
+
alt?:
|
|
6195
|
+
string;
|
|
6196
|
+
/** JSONP */
|
|
6197
|
+
callback?:
|
|
6198
|
+
string;
|
|
6199
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6200
|
+
fields?:
|
|
6201
|
+
string;
|
|
6202
|
+
/** 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. */
|
|
6203
|
+
key?:
|
|
6204
|
+
string;
|
|
6205
|
+
/** OAuth 2.0 token for the current user. */
|
|
6206
|
+
oauth_token?:
|
|
6207
|
+
string;
|
|
6208
|
+
/**
|
|
6209
|
+
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
6210
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
6211
|
+
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
6212
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6213
|
+
*/
|
|
6214
|
+
parent:
|
|
6215
|
+
string;
|
|
6216
|
+
/** Returns response with indentations and line breaks. */
|
|
6217
|
+
prettyPrint?:
|
|
6218
|
+
boolean;
|
|
6219
|
+
/** 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. */
|
|
6220
|
+
quotaUser?:
|
|
6221
|
+
string;
|
|
6222
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6223
|
+
upload_protocol?:
|
|
6224
|
+
string;
|
|
6225
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6226
|
+
uploadType?:
|
|
6227
|
+
string;
|
|
6228
|
+
},
|
|
6229
|
+
body: GooglePrivacyDlpV2ReidentifyContentRequest): Request<GooglePrivacyDlpV2ReidentifyContentResponse>;
|
|
6230
|
+
}
|
|
6231
|
+
interface DeidentifyTemplatesResource {
|
|
6232
|
+
/**
|
|
6233
|
+
* Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid
|
|
6234
|
+
* to learn more.
|
|
6235
|
+
*/
|
|
6236
|
+
create(request: {
|
|
6237
|
+
/** V1 error format. */
|
|
6238
|
+
"$.xgafv"?:
|
|
6239
|
+
string;
|
|
6240
|
+
/** OAuth access token. */
|
|
6241
|
+
access_token?:
|
|
6242
|
+
string;
|
|
6243
|
+
/** Data format for response. */
|
|
6244
|
+
alt?:
|
|
6245
|
+
string;
|
|
6246
|
+
/** JSONP */
|
|
6247
|
+
callback?:
|
|
6248
|
+
string;
|
|
6249
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6250
|
+
fields?:
|
|
6251
|
+
string;
|
|
6252
|
+
/** 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. */
|
|
6253
|
+
key?:
|
|
6254
|
+
string;
|
|
6255
|
+
/** OAuth 2.0 token for the current user. */
|
|
6256
|
+
oauth_token?:
|
|
6257
|
+
string;
|
|
6258
|
+
/**
|
|
6259
|
+
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
6260
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
6261
|
+
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
6262
|
+
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
6263
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6264
|
+
*/
|
|
6265
|
+
parent:
|
|
6266
|
+
string;
|
|
6267
|
+
/** Returns response with indentations and line breaks. */
|
|
6268
|
+
prettyPrint?:
|
|
6269
|
+
boolean;
|
|
6270
|
+
/** 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. */
|
|
6271
|
+
quotaUser?:
|
|
6272
|
+
string;
|
|
6273
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6274
|
+
upload_protocol?:
|
|
6275
|
+
string;
|
|
6276
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6277
|
+
uploadType?:
|
|
6278
|
+
string;
|
|
6279
|
+
/** Request body */
|
|
6280
|
+
resource:
|
|
6281
|
+
GooglePrivacyDlpV2CreateDeidentifyTemplateRequest;
|
|
6282
|
+
}): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
6283
|
+
create(request: {
|
|
6284
|
+
/** V1 error format. */
|
|
6285
|
+
"$.xgafv"?:
|
|
6286
|
+
string;
|
|
6287
|
+
/** OAuth access token. */
|
|
6288
|
+
access_token?:
|
|
6289
|
+
string;
|
|
6290
|
+
/** Data format for response. */
|
|
6291
|
+
alt?:
|
|
6292
|
+
string;
|
|
6293
|
+
/** JSONP */
|
|
6294
|
+
callback?:
|
|
6295
|
+
string;
|
|
6296
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6297
|
+
fields?:
|
|
6298
|
+
string;
|
|
6299
|
+
/** 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. */
|
|
6300
|
+
key?:
|
|
6301
|
+
string;
|
|
6302
|
+
/** OAuth 2.0 token for the current user. */
|
|
6303
|
+
oauth_token?:
|
|
6304
|
+
string;
|
|
6305
|
+
/**
|
|
6306
|
+
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
6307
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
6308
|
+
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
6309
|
+
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
6310
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6311
|
+
*/
|
|
6312
|
+
parent:
|
|
6313
|
+
string;
|
|
6314
|
+
/** Returns response with indentations and line breaks. */
|
|
6315
|
+
prettyPrint?:
|
|
6316
|
+
boolean;
|
|
6317
|
+
/** 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. */
|
|
6318
|
+
quotaUser?:
|
|
6319
|
+
string;
|
|
6320
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6321
|
+
upload_protocol?:
|
|
6322
|
+
string;
|
|
6323
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6324
|
+
uploadType?:
|
|
6325
|
+
string;
|
|
6326
|
+
},
|
|
6327
|
+
body: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
6328
|
+
/** Deletes a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. */
|
|
6329
|
+
delete(request?: {
|
|
6330
|
+
/** V1 error format. */
|
|
6331
|
+
"$.xgafv"?:
|
|
6332
|
+
string;
|
|
6333
|
+
/** OAuth access token. */
|
|
6334
|
+
access_token?:
|
|
6335
|
+
string;
|
|
6336
|
+
/** Data format for response. */
|
|
6337
|
+
alt?:
|
|
6338
|
+
string;
|
|
6339
|
+
/** JSONP */
|
|
6340
|
+
callback?:
|
|
6341
|
+
string;
|
|
6342
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6343
|
+
fields?:
|
|
6344
|
+
string;
|
|
6345
|
+
/** 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. */
|
|
6346
|
+
key?:
|
|
6347
|
+
string;
|
|
6348
|
+
/**
|
|
6349
|
+
* Required. Resource name of the organization and deidentify template to be deleted, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
6350
|
+
* projects/project-id/deidentifyTemplates/432452342.
|
|
6351
|
+
*/
|
|
6352
|
+
name:
|
|
6353
|
+
string;
|
|
6354
|
+
/** OAuth 2.0 token for the current user. */
|
|
6355
|
+
oauth_token?:
|
|
5521
6356
|
string;
|
|
5522
6357
|
/** Returns response with indentations and line breaks. */
|
|
5523
6358
|
prettyPrint?:
|
|
@@ -5531,14 +6366,9 @@ declare namespace gapi.client {
|
|
|
5531
6366
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5532
6367
|
uploadType?:
|
|
5533
6368
|
string;
|
|
5534
|
-
}
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
* Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. When no InfoTypes or CustomInfoTypes are specified in this
|
|
5538
|
-
* request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. For how to guides, see
|
|
5539
|
-
* https://cloud.google.com/dlp/docs/inspecting-images and https://cloud.google.com/dlp/docs/inspecting-text,
|
|
5540
|
-
*/
|
|
5541
|
-
inspect(request: {
|
|
6369
|
+
}): Request<{}>;
|
|
6370
|
+
/** Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. */
|
|
6371
|
+
get(request?: {
|
|
5542
6372
|
/** V1 error format. */
|
|
5543
6373
|
"$.xgafv"?:
|
|
5544
6374
|
string;
|
|
@@ -5557,16 +6387,14 @@ declare namespace gapi.client {
|
|
|
5557
6387
|
/** 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. */
|
|
5558
6388
|
key?:
|
|
5559
6389
|
string;
|
|
5560
|
-
/** OAuth 2.0 token for the current user. */
|
|
5561
|
-
oauth_token?:
|
|
5562
|
-
string;
|
|
5563
6390
|
/**
|
|
5564
|
-
*
|
|
5565
|
-
*
|
|
5566
|
-
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
5567
|
-
* parent=projects/example-project/locations/europe-west3
|
|
6391
|
+
* Required. Resource name of the organization and deidentify template to be read, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
6392
|
+
* projects/project-id/deidentifyTemplates/432452342.
|
|
5568
6393
|
*/
|
|
5569
|
-
|
|
6394
|
+
name:
|
|
6395
|
+
string;
|
|
6396
|
+
/** OAuth 2.0 token for the current user. */
|
|
6397
|
+
oauth_token?:
|
|
5570
6398
|
string;
|
|
5571
6399
|
/** Returns response with indentations and line breaks. */
|
|
5572
6400
|
prettyPrint?:
|
|
@@ -5580,11 +6408,9 @@ declare namespace gapi.client {
|
|
|
5580
6408
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5581
6409
|
uploadType?:
|
|
5582
6410
|
string;
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
}): Request<GooglePrivacyDlpV2InspectContentResponse>;
|
|
5587
|
-
inspect(request: {
|
|
6411
|
+
}): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
6412
|
+
/** Lists DeidentifyTemplates. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. */
|
|
6413
|
+
list(request?: {
|
|
5588
6414
|
/** V1 error format. */
|
|
5589
6415
|
"$.xgafv"?:
|
|
5590
6416
|
string;
|
|
@@ -5603,14 +6429,31 @@ declare namespace gapi.client {
|
|
|
5603
6429
|
/** 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. */
|
|
5604
6430
|
key?:
|
|
5605
6431
|
string;
|
|
6432
|
+
/** Deprecated. This field has no effect. */
|
|
6433
|
+
locationId?:
|
|
6434
|
+
string;
|
|
5606
6435
|
/** OAuth 2.0 token for the current user. */
|
|
5607
6436
|
oauth_token?:
|
|
5608
6437
|
string;
|
|
5609
6438
|
/**
|
|
5610
|
-
*
|
|
5611
|
-
*
|
|
5612
|
-
*
|
|
5613
|
-
|
|
6439
|
+
* Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters
|
|
6440
|
+
* 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`:
|
|
6441
|
+
* 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.
|
|
6442
|
+
*/
|
|
6443
|
+
orderBy?:
|
|
6444
|
+
string;
|
|
6445
|
+
/** Size of the page, can be limited by the server. If zero server returns a page of max size 100. */
|
|
6446
|
+
pageSize?:
|
|
6447
|
+
number;
|
|
6448
|
+
/** Page token to continue retrieval. Comes from previous call to `ListDeidentifyTemplates`. */
|
|
6449
|
+
pageToken?:
|
|
6450
|
+
string;
|
|
6451
|
+
/**
|
|
6452
|
+
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
6453
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
6454
|
+
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
6455
|
+
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
6456
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
5614
6457
|
*/
|
|
5615
6458
|
parent:
|
|
5616
6459
|
string;
|
|
@@ -5626,10 +6469,9 @@ declare namespace gapi.client {
|
|
|
5626
6469
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5627
6470
|
uploadType?:
|
|
5628
6471
|
string;
|
|
5629
|
-
}
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
reidentify(request: {
|
|
6472
|
+
}): Request<GooglePrivacyDlpV2ListDeidentifyTemplatesResponse>;
|
|
6473
|
+
/** Updates the DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. */
|
|
6474
|
+
patch(request: {
|
|
5633
6475
|
/** V1 error format. */
|
|
5634
6476
|
"$.xgafv"?:
|
|
5635
6477
|
string;
|
|
@@ -5648,16 +6490,14 @@ declare namespace gapi.client {
|
|
|
5648
6490
|
/** 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. */
|
|
5649
6491
|
key?:
|
|
5650
6492
|
string;
|
|
5651
|
-
/** OAuth 2.0 token for the current user. */
|
|
5652
|
-
oauth_token?:
|
|
5653
|
-
string;
|
|
5654
6493
|
/**
|
|
5655
|
-
* Required.
|
|
5656
|
-
*
|
|
5657
|
-
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
5658
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6494
|
+
* Required. Resource name of organization and deidentify template to be updated, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
6495
|
+
* projects/project-id/deidentifyTemplates/432452342.
|
|
5659
6496
|
*/
|
|
5660
|
-
|
|
6497
|
+
name:
|
|
6498
|
+
string;
|
|
6499
|
+
/** OAuth 2.0 token for the current user. */
|
|
6500
|
+
oauth_token?:
|
|
5661
6501
|
string;
|
|
5662
6502
|
/** Returns response with indentations and line breaks. */
|
|
5663
6503
|
prettyPrint?:
|
|
@@ -5673,9 +6513,9 @@ declare namespace gapi.client {
|
|
|
5673
6513
|
string;
|
|
5674
6514
|
/** Request body */
|
|
5675
6515
|
resource:
|
|
5676
|
-
|
|
5677
|
-
}): Request<
|
|
5678
|
-
|
|
6516
|
+
GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest;
|
|
6517
|
+
}): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
6518
|
+
patch(request: {
|
|
5679
6519
|
/** V1 error format. */
|
|
5680
6520
|
"$.xgafv"?:
|
|
5681
6521
|
string;
|
|
@@ -5694,16 +6534,14 @@ declare namespace gapi.client {
|
|
|
5694
6534
|
/** 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. */
|
|
5695
6535
|
key?:
|
|
5696
6536
|
string;
|
|
5697
|
-
/** OAuth 2.0 token for the current user. */
|
|
5698
|
-
oauth_token?:
|
|
5699
|
-
string;
|
|
5700
6537
|
/**
|
|
5701
|
-
* Required.
|
|
5702
|
-
*
|
|
5703
|
-
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
5704
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6538
|
+
* Required. Resource name of organization and deidentify template to be updated, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
6539
|
+
* projects/project-id/deidentifyTemplates/432452342.
|
|
5705
6540
|
*/
|
|
5706
|
-
|
|
6541
|
+
name:
|
|
6542
|
+
string;
|
|
6543
|
+
/** OAuth 2.0 token for the current user. */
|
|
6544
|
+
oauth_token?:
|
|
5707
6545
|
string;
|
|
5708
6546
|
/** Returns response with indentations and line breaks. */
|
|
5709
6547
|
prettyPrint?:
|
|
@@ -5718,14 +6556,14 @@ declare namespace gapi.client {
|
|
|
5718
6556
|
uploadType?:
|
|
5719
6557
|
string;
|
|
5720
6558
|
},
|
|
5721
|
-
body:
|
|
6559
|
+
body: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
5722
6560
|
}
|
|
5723
|
-
interface
|
|
6561
|
+
interface DlpJobsResource {
|
|
5724
6562
|
/**
|
|
5725
|
-
*
|
|
5726
|
-
* to learn more.
|
|
6563
|
+
* Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See
|
|
6564
|
+
* https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
|
|
5727
6565
|
*/
|
|
5728
|
-
|
|
6566
|
+
cancel(request: {
|
|
5729
6567
|
/** V1 error format. */
|
|
5730
6568
|
"$.xgafv"?:
|
|
5731
6569
|
string;
|
|
@@ -5744,18 +6582,12 @@ declare namespace gapi.client {
|
|
|
5744
6582
|
/** 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. */
|
|
5745
6583
|
key?:
|
|
5746
6584
|
string;
|
|
6585
|
+
/** Required. The name of the DlpJob resource to be cancelled. */
|
|
6586
|
+
name:
|
|
6587
|
+
string;
|
|
5747
6588
|
/** OAuth 2.0 token for the current user. */
|
|
5748
6589
|
oauth_token?:
|
|
5749
6590
|
string;
|
|
5750
|
-
/**
|
|
5751
|
-
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
5752
|
-
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
5753
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
5754
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
5755
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
5756
|
-
*/
|
|
5757
|
-
parent:
|
|
5758
|
-
string;
|
|
5759
6591
|
/** Returns response with indentations and line breaks. */
|
|
5760
6592
|
prettyPrint?:
|
|
5761
6593
|
boolean;
|
|
@@ -5770,9 +6602,9 @@ declare namespace gapi.client {
|
|
|
5770
6602
|
string;
|
|
5771
6603
|
/** Request body */
|
|
5772
6604
|
resource:
|
|
5773
|
-
|
|
5774
|
-
}): Request<
|
|
5775
|
-
|
|
6605
|
+
GooglePrivacyDlpV2CancelDlpJobRequest;
|
|
6606
|
+
}): Request<{}>;
|
|
6607
|
+
cancel(request: {
|
|
5776
6608
|
/** V1 error format. */
|
|
5777
6609
|
"$.xgafv"?:
|
|
5778
6610
|
string;
|
|
@@ -5791,18 +6623,12 @@ declare namespace gapi.client {
|
|
|
5791
6623
|
/** 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. */
|
|
5792
6624
|
key?:
|
|
5793
6625
|
string;
|
|
6626
|
+
/** Required. The name of the DlpJob resource to be cancelled. */
|
|
6627
|
+
name:
|
|
6628
|
+
string;
|
|
5794
6629
|
/** OAuth 2.0 token for the current user. */
|
|
5795
6630
|
oauth_token?:
|
|
5796
6631
|
string;
|
|
5797
|
-
/**
|
|
5798
|
-
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
5799
|
-
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
5800
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
5801
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
5802
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
5803
|
-
*/
|
|
5804
|
-
parent:
|
|
5805
|
-
string;
|
|
5806
6632
|
/** Returns response with indentations and line breaks. */
|
|
5807
6633
|
prettyPrint?:
|
|
5808
6634
|
boolean;
|
|
@@ -5816,9 +6642,13 @@ declare namespace gapi.client {
|
|
|
5816
6642
|
uploadType?:
|
|
5817
6643
|
string;
|
|
5818
6644
|
},
|
|
5819
|
-
body:
|
|
5820
|
-
/**
|
|
5821
|
-
|
|
6645
|
+
body: GooglePrivacyDlpV2CancelDlpJobRequest): Request<{}>;
|
|
6646
|
+
/**
|
|
6647
|
+
* Creates a new job to inspect storage or calculate risk metrics. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis
|
|
6648
|
+
* to learn more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but
|
|
6649
|
+
* may change over time as detectors are updated.
|
|
6650
|
+
*/
|
|
6651
|
+
create(request: {
|
|
5822
6652
|
/** V1 error format. */
|
|
5823
6653
|
"$.xgafv"?:
|
|
5824
6654
|
string;
|
|
@@ -5837,15 +6667,17 @@ declare namespace gapi.client {
|
|
|
5837
6667
|
/** 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. */
|
|
5838
6668
|
key?:
|
|
5839
6669
|
string;
|
|
5840
|
-
/**
|
|
5841
|
-
* Required. Resource name of the organization and deidentify template to be deleted, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
5842
|
-
* projects/project-id/deidentifyTemplates/432452342.
|
|
5843
|
-
*/
|
|
5844
|
-
name:
|
|
5845
|
-
string;
|
|
5846
6670
|
/** OAuth 2.0 token for the current user. */
|
|
5847
6671
|
oauth_token?:
|
|
5848
6672
|
string;
|
|
6673
|
+
/**
|
|
6674
|
+
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
6675
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
6676
|
+
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
6677
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6678
|
+
*/
|
|
6679
|
+
parent:
|
|
6680
|
+
string;
|
|
5849
6681
|
/** Returns response with indentations and line breaks. */
|
|
5850
6682
|
prettyPrint?:
|
|
5851
6683
|
boolean;
|
|
@@ -5858,9 +6690,11 @@ declare namespace gapi.client {
|
|
|
5858
6690
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5859
6691
|
uploadType?:
|
|
5860
6692
|
string;
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
6693
|
+
/** Request body */
|
|
6694
|
+
resource:
|
|
6695
|
+
GooglePrivacyDlpV2CreateDlpJobRequest;
|
|
6696
|
+
}): Request<GooglePrivacyDlpV2DlpJob>;
|
|
6697
|
+
create(request: {
|
|
5864
6698
|
/** V1 error format. */
|
|
5865
6699
|
"$.xgafv"?:
|
|
5866
6700
|
string;
|
|
@@ -5879,15 +6713,17 @@ declare namespace gapi.client {
|
|
|
5879
6713
|
/** 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. */
|
|
5880
6714
|
key?:
|
|
5881
6715
|
string;
|
|
5882
|
-
/**
|
|
5883
|
-
* Required. Resource name of the organization and deidentify template to be read, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
5884
|
-
* projects/project-id/deidentifyTemplates/432452342.
|
|
5885
|
-
*/
|
|
5886
|
-
name:
|
|
5887
|
-
string;
|
|
5888
6716
|
/** OAuth 2.0 token for the current user. */
|
|
5889
6717
|
oauth_token?:
|
|
5890
6718
|
string;
|
|
6719
|
+
/**
|
|
6720
|
+
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
6721
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
6722
|
+
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
6723
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6724
|
+
*/
|
|
6725
|
+
parent:
|
|
6726
|
+
string;
|
|
5891
6727
|
/** Returns response with indentations and line breaks. */
|
|
5892
6728
|
prettyPrint?:
|
|
5893
6729
|
boolean;
|
|
@@ -5900,9 +6736,13 @@ declare namespace gapi.client {
|
|
|
5900
6736
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5901
6737
|
uploadType?:
|
|
5902
6738
|
string;
|
|
5903
|
-
}
|
|
5904
|
-
|
|
5905
|
-
|
|
6739
|
+
},
|
|
6740
|
+
body: GooglePrivacyDlpV2CreateDlpJobRequest): Request<GooglePrivacyDlpV2DlpJob>;
|
|
6741
|
+
/**
|
|
6742
|
+
* Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be canceled if possible. See
|
|
6743
|
+
* https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
|
|
6744
|
+
*/
|
|
6745
|
+
delete(request?: {
|
|
5906
6746
|
/** V1 error format. */
|
|
5907
6747
|
"$.xgafv"?:
|
|
5908
6748
|
string;
|
|
@@ -5921,34 +6761,12 @@ declare namespace gapi.client {
|
|
|
5921
6761
|
/** 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. */
|
|
5922
6762
|
key?:
|
|
5923
6763
|
string;
|
|
5924
|
-
/**
|
|
5925
|
-
|
|
6764
|
+
/** Required. The name of the DlpJob resource to be deleted. */
|
|
6765
|
+
name:
|
|
5926
6766
|
string;
|
|
5927
6767
|
/** OAuth 2.0 token for the current user. */
|
|
5928
6768
|
oauth_token?:
|
|
5929
6769
|
string;
|
|
5930
|
-
/**
|
|
5931
|
-
* Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters
|
|
5932
|
-
* 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`:
|
|
5933
|
-
* 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.
|
|
5934
|
-
*/
|
|
5935
|
-
orderBy?:
|
|
5936
|
-
string;
|
|
5937
|
-
/** Size of the page, can be limited by the server. If zero server returns a page of max size 100. */
|
|
5938
|
-
pageSize?:
|
|
5939
|
-
number;
|
|
5940
|
-
/** Page token to continue retrieval. Comes from previous call to `ListDeidentifyTemplates`. */
|
|
5941
|
-
pageToken?:
|
|
5942
|
-
string;
|
|
5943
|
-
/**
|
|
5944
|
-
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
5945
|
-
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
5946
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
5947
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
5948
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
5949
|
-
*/
|
|
5950
|
-
parent:
|
|
5951
|
-
string;
|
|
5952
6770
|
/** Returns response with indentations and line breaks. */
|
|
5953
6771
|
prettyPrint?:
|
|
5954
6772
|
boolean;
|
|
@@ -5961,9 +6779,9 @@ declare namespace gapi.client {
|
|
|
5961
6779
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5962
6780
|
uploadType?:
|
|
5963
6781
|
string;
|
|
5964
|
-
}): Request<
|
|
5965
|
-
/**
|
|
5966
|
-
|
|
6782
|
+
}): Request<{}>;
|
|
6783
|
+
/** Gets the latest state of a long-running DlpJob. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. */
|
|
6784
|
+
get(request?: {
|
|
5967
6785
|
/** V1 error format. */
|
|
5968
6786
|
"$.xgafv"?:
|
|
5969
6787
|
string;
|
|
@@ -5982,10 +6800,7 @@ declare namespace gapi.client {
|
|
|
5982
6800
|
/** 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. */
|
|
5983
6801
|
key?:
|
|
5984
6802
|
string;
|
|
5985
|
-
/**
|
|
5986
|
-
* Required. Resource name of organization and deidentify template to be updated, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
5987
|
-
* projects/project-id/deidentifyTemplates/432452342.
|
|
5988
|
-
*/
|
|
6803
|
+
/** Required. The name of the DlpJob resource. */
|
|
5989
6804
|
name:
|
|
5990
6805
|
string;
|
|
5991
6806
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -6003,11 +6818,12 @@ declare namespace gapi.client {
|
|
|
6003
6818
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6004
6819
|
uploadType?:
|
|
6005
6820
|
string;
|
|
6006
|
-
|
|
6007
|
-
|
|
6008
|
-
|
|
6009
|
-
|
|
6010
|
-
|
|
6821
|
+
}): Request<GooglePrivacyDlpV2DlpJob>;
|
|
6822
|
+
/**
|
|
6823
|
+
* Lists DlpJobs that match the specified filter in the request. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to
|
|
6824
|
+
* learn more.
|
|
6825
|
+
*/
|
|
6826
|
+
list(request?: {
|
|
6011
6827
|
/** V1 error format. */
|
|
6012
6828
|
"$.xgafv"?:
|
|
6013
6829
|
string;
|
|
@@ -6023,39 +6839,71 @@ declare namespace gapi.client {
|
|
|
6023
6839
|
/** Selector specifying which fields to include in a partial response. */
|
|
6024
6840
|
fields?:
|
|
6025
6841
|
string;
|
|
6842
|
+
/**
|
|
6843
|
+
* 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
|
|
6844
|
+
* of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect jobs: - `state` -
|
|
6845
|
+
* PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` -
|
|
6846
|
+
* Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` -
|
|
6847
|
+
* RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=`
|
|
6848
|
+
* or `!=`. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage
|
|
6849
|
+
* AND (state = done OR state = canceled) * end_time > \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters.
|
|
6850
|
+
*/
|
|
6851
|
+
filter?:
|
|
6852
|
+
string;
|
|
6026
6853
|
/** 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. */
|
|
6027
6854
|
key?:
|
|
6028
6855
|
string;
|
|
6029
|
-
/**
|
|
6030
|
-
|
|
6031
|
-
* projects/project-id/deidentifyTemplates/432452342.
|
|
6032
|
-
*/
|
|
6033
|
-
name:
|
|
6856
|
+
/** Deprecated. This field has no effect. */
|
|
6857
|
+
locationId?:
|
|
6034
6858
|
string;
|
|
6035
6859
|
/** OAuth 2.0 token for the current user. */
|
|
6036
6860
|
oauth_token?:
|
|
6037
6861
|
string;
|
|
6862
|
+
/**
|
|
6863
|
+
* Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters
|
|
6864
|
+
* 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`:
|
|
6865
|
+
* corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`
|
|
6866
|
+
*/
|
|
6867
|
+
orderBy?:
|
|
6868
|
+
string;
|
|
6869
|
+
/** The standard list page size. */
|
|
6870
|
+
pageSize?:
|
|
6871
|
+
number;
|
|
6872
|
+
/** The standard list page token. */
|
|
6873
|
+
pageToken?:
|
|
6874
|
+
string;
|
|
6875
|
+
/**
|
|
6876
|
+
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
6877
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
6878
|
+
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
6879
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6880
|
+
*/
|
|
6881
|
+
parent:
|
|
6882
|
+
string;
|
|
6038
6883
|
/** Returns response with indentations and line breaks. */
|
|
6039
6884
|
prettyPrint?:
|
|
6040
6885
|
boolean;
|
|
6041
6886
|
/** 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. */
|
|
6042
6887
|
quotaUser?:
|
|
6043
6888
|
string;
|
|
6889
|
+
/** The type of job. Defaults to `DlpJobType.INSPECT` */
|
|
6890
|
+
type?:
|
|
6891
|
+
string;
|
|
6044
6892
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6045
6893
|
upload_protocol?:
|
|
6046
6894
|
string;
|
|
6047
6895
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6048
6896
|
uploadType?:
|
|
6049
6897
|
string;
|
|
6050
|
-
}
|
|
6051
|
-
body: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
6898
|
+
}): Request<GooglePrivacyDlpV2ListDlpJobsResponse>;
|
|
6052
6899
|
}
|
|
6053
|
-
interface
|
|
6900
|
+
interface ImageResource {
|
|
6054
6901
|
/**
|
|
6055
|
-
*
|
|
6056
|
-
* https://cloud.google.com/dlp/docs/
|
|
6902
|
+
* Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See
|
|
6903
|
+
* https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically
|
|
6904
|
+
* choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
|
|
6057
6905
|
*/
|
|
6058
|
-
|
|
6906
|
+
redact(request: {
|
|
6059
6907
|
/** V1 error format. */
|
|
6060
6908
|
"$.xgafv"?:
|
|
6061
6909
|
string;
|
|
@@ -6074,12 +6922,17 @@ declare namespace gapi.client {
|
|
|
6074
6922
|
/** 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. */
|
|
6075
6923
|
key?:
|
|
6076
6924
|
string;
|
|
6077
|
-
/** Required. The name of the DlpJob resource to be cancelled. */
|
|
6078
|
-
name:
|
|
6079
|
-
string;
|
|
6080
6925
|
/** OAuth 2.0 token for the current user. */
|
|
6081
6926
|
oauth_token?:
|
|
6082
6927
|
string;
|
|
6928
|
+
/**
|
|
6929
|
+
* Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): +
|
|
6930
|
+
* Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
|
6931
|
+
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
6932
|
+
* parent=projects/example-project/locations/europe-west3
|
|
6933
|
+
*/
|
|
6934
|
+
parent:
|
|
6935
|
+
string;
|
|
6083
6936
|
/** Returns response with indentations and line breaks. */
|
|
6084
6937
|
prettyPrint?:
|
|
6085
6938
|
boolean;
|
|
@@ -6094,9 +6947,9 @@ declare namespace gapi.client {
|
|
|
6094
6947
|
string;
|
|
6095
6948
|
/** Request body */
|
|
6096
6949
|
resource:
|
|
6097
|
-
|
|
6098
|
-
}): Request<
|
|
6099
|
-
|
|
6950
|
+
GooglePrivacyDlpV2RedactImageRequest;
|
|
6951
|
+
}): Request<GooglePrivacyDlpV2RedactImageResponse>;
|
|
6952
|
+
redact(request: {
|
|
6100
6953
|
/** V1 error format. */
|
|
6101
6954
|
"$.xgafv"?:
|
|
6102
6955
|
string;
|
|
@@ -6115,12 +6968,17 @@ declare namespace gapi.client {
|
|
|
6115
6968
|
/** 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. */
|
|
6116
6969
|
key?:
|
|
6117
6970
|
string;
|
|
6118
|
-
/** Required. The name of the DlpJob resource to be cancelled. */
|
|
6119
|
-
name:
|
|
6120
|
-
string;
|
|
6121
6971
|
/** OAuth 2.0 token for the current user. */
|
|
6122
6972
|
oauth_token?:
|
|
6123
6973
|
string;
|
|
6974
|
+
/**
|
|
6975
|
+
* Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): +
|
|
6976
|
+
* Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
|
6977
|
+
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
6978
|
+
* parent=projects/example-project/locations/europe-west3
|
|
6979
|
+
*/
|
|
6980
|
+
parent:
|
|
6981
|
+
string;
|
|
6124
6982
|
/** Returns response with indentations and line breaks. */
|
|
6125
6983
|
prettyPrint?:
|
|
6126
6984
|
boolean;
|
|
@@ -6134,11 +6992,12 @@ declare namespace gapi.client {
|
|
|
6134
6992
|
uploadType?:
|
|
6135
6993
|
string;
|
|
6136
6994
|
},
|
|
6137
|
-
body:
|
|
6995
|
+
body: GooglePrivacyDlpV2RedactImageRequest): Request<GooglePrivacyDlpV2RedactImageResponse>;
|
|
6996
|
+
}
|
|
6997
|
+
interface InspectTemplatesResource {
|
|
6138
6998
|
/**
|
|
6139
|
-
* Creates
|
|
6140
|
-
*
|
|
6141
|
-
* may change over time as detectors are updated.
|
|
6999
|
+
* Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn
|
|
7000
|
+
* more.
|
|
6142
7001
|
*/
|
|
6143
7002
|
create(request: {
|
|
6144
7003
|
/** V1 error format. */
|
|
@@ -6163,9 +7022,10 @@ declare namespace gapi.client {
|
|
|
6163
7022
|
oauth_token?:
|
|
6164
7023
|
string;
|
|
6165
7024
|
/**
|
|
6166
|
-
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
7025
|
+
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
6167
7026
|
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
6168
|
-
* location specified (defaults to global): `projects/`PROJECT_ID
|
|
7027
|
+
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
7028
|
+
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
6169
7029
|
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6170
7030
|
*/
|
|
6171
7031
|
parent:
|
|
@@ -6184,8 +7044,8 @@ declare namespace gapi.client {
|
|
|
6184
7044
|
string;
|
|
6185
7045
|
/** Request body */
|
|
6186
7046
|
resource:
|
|
6187
|
-
|
|
6188
|
-
}): Request<
|
|
7047
|
+
GooglePrivacyDlpV2CreateInspectTemplateRequest;
|
|
7048
|
+
}): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
6189
7049
|
create(request: {
|
|
6190
7050
|
/** V1 error format. */
|
|
6191
7051
|
"$.xgafv"?:
|
|
@@ -6209,9 +7069,10 @@ declare namespace gapi.client {
|
|
|
6209
7069
|
oauth_token?:
|
|
6210
7070
|
string;
|
|
6211
7071
|
/**
|
|
6212
|
-
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
7072
|
+
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
6213
7073
|
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
6214
|
-
* location specified (defaults to global): `projects/`PROJECT_ID
|
|
7074
|
+
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
7075
|
+
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
6215
7076
|
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6216
7077
|
*/
|
|
6217
7078
|
parent:
|
|
@@ -6229,11 +7090,8 @@ declare namespace gapi.client {
|
|
|
6229
7090
|
uploadType?:
|
|
6230
7091
|
string;
|
|
6231
7092
|
},
|
|
6232
|
-
body:
|
|
6233
|
-
/**
|
|
6234
|
-
* Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be canceled if possible. See
|
|
6235
|
-
* https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
|
|
6236
|
-
*/
|
|
7093
|
+
body: GooglePrivacyDlpV2CreateInspectTemplateRequest): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
7094
|
+
/** Deletes an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. */
|
|
6237
7095
|
delete(request?: {
|
|
6238
7096
|
/** V1 error format. */
|
|
6239
7097
|
"$.xgafv"?:
|
|
@@ -6253,7 +7111,10 @@ declare namespace gapi.client {
|
|
|
6253
7111
|
/** 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. */
|
|
6254
7112
|
key?:
|
|
6255
7113
|
string;
|
|
6256
|
-
/**
|
|
7114
|
+
/**
|
|
7115
|
+
* Required. Resource name of the organization and inspectTemplate to be deleted, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
7116
|
+
* projects/project-id/inspectTemplates/432452342.
|
|
7117
|
+
*/
|
|
6257
7118
|
name:
|
|
6258
7119
|
string;
|
|
6259
7120
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -6272,7 +7133,7 @@ declare namespace gapi.client {
|
|
|
6272
7133
|
uploadType?:
|
|
6273
7134
|
string;
|
|
6274
7135
|
}): Request<{}>;
|
|
6275
|
-
/** Gets
|
|
7136
|
+
/** Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. */
|
|
6276
7137
|
get(request?: {
|
|
6277
7138
|
/** V1 error format. */
|
|
6278
7139
|
"$.xgafv"?:
|
|
@@ -6292,7 +7153,10 @@ declare namespace gapi.client {
|
|
|
6292
7153
|
/** 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. */
|
|
6293
7154
|
key?:
|
|
6294
7155
|
string;
|
|
6295
|
-
/**
|
|
7156
|
+
/**
|
|
7157
|
+
* Required. Resource name of the organization and inspectTemplate to be read, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
7158
|
+
* projects/project-id/inspectTemplates/432452342.
|
|
7159
|
+
*/
|
|
6296
7160
|
name:
|
|
6297
7161
|
string;
|
|
6298
7162
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -6310,11 +7174,8 @@ declare namespace gapi.client {
|
|
|
6310
7174
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6311
7175
|
uploadType?:
|
|
6312
7176
|
string;
|
|
6313
|
-
}): Request<
|
|
6314
|
-
/**
|
|
6315
|
-
* Lists DlpJobs that match the specified filter in the request. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to
|
|
6316
|
-
* learn more.
|
|
6317
|
-
*/
|
|
7177
|
+
}): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
7178
|
+
/** Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more. */
|
|
6318
7179
|
list(request?: {
|
|
6319
7180
|
/** V1 error format. */
|
|
6320
7181
|
"$.xgafv"?:
|
|
@@ -6331,17 +7192,6 @@ declare namespace gapi.client {
|
|
|
6331
7192
|
/** Selector specifying which fields to include in a partial response. */
|
|
6332
7193
|
fields?:
|
|
6333
7194
|
string;
|
|
6334
|
-
/**
|
|
6335
|
-
* 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
|
|
6336
|
-
* of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect jobs: - `state` -
|
|
6337
|
-
* PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` -
|
|
6338
|
-
* Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` -
|
|
6339
|
-
* RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=`
|
|
6340
|
-
* or `!=`. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage
|
|
6341
|
-
* AND (state = done OR state = canceled) * end_time > \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters.
|
|
6342
|
-
*/
|
|
6343
|
-
filter?:
|
|
6344
|
-
string;
|
|
6345
7195
|
/** 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. */
|
|
6346
7196
|
key?:
|
|
6347
7197
|
string;
|
|
@@ -6353,21 +7203,22 @@ declare namespace gapi.client {
|
|
|
6353
7203
|
string;
|
|
6354
7204
|
/**
|
|
6355
7205
|
* Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters
|
|
6356
|
-
* are insignificant. Example: `name asc,
|
|
6357
|
-
* corresponds to the time the
|
|
7206
|
+
* 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`:
|
|
7207
|
+
* 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.
|
|
6358
7208
|
*/
|
|
6359
7209
|
orderBy?:
|
|
6360
7210
|
string;
|
|
6361
|
-
/**
|
|
7211
|
+
/** Size of the page, can be limited by the server. If zero server returns a page of max size 100. */
|
|
6362
7212
|
pageSize?:
|
|
6363
7213
|
number;
|
|
6364
|
-
/**
|
|
7214
|
+
/** Page token to continue retrieval. Comes from previous call to `ListInspectTemplates`. */
|
|
6365
7215
|
pageToken?:
|
|
6366
7216
|
string;
|
|
6367
7217
|
/**
|
|
6368
|
-
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
7218
|
+
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
6369
7219
|
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
6370
|
-
* location specified (defaults to global): `projects/`PROJECT_ID
|
|
7220
|
+
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
7221
|
+
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
6371
7222
|
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6372
7223
|
*/
|
|
6373
7224
|
parent:
|
|
@@ -6378,24 +7229,15 @@ declare namespace gapi.client {
|
|
|
6378
7229
|
/** 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. */
|
|
6379
7230
|
quotaUser?:
|
|
6380
7231
|
string;
|
|
6381
|
-
/** The type of job. Defaults to `DlpJobType.INSPECT` */
|
|
6382
|
-
type?:
|
|
6383
|
-
string;
|
|
6384
7232
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6385
7233
|
upload_protocol?:
|
|
6386
7234
|
string;
|
|
6387
7235
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6388
7236
|
uploadType?:
|
|
6389
7237
|
string;
|
|
6390
|
-
}): Request<
|
|
6391
|
-
|
|
6392
|
-
|
|
6393
|
-
/**
|
|
6394
|
-
* Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See
|
|
6395
|
-
* https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically
|
|
6396
|
-
* choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
|
|
6397
|
-
*/
|
|
6398
|
-
redact(request: {
|
|
7238
|
+
}): Request<GooglePrivacyDlpV2ListInspectTemplatesResponse>;
|
|
7239
|
+
/** Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. */
|
|
7240
|
+
patch(request: {
|
|
6399
7241
|
/** V1 error format. */
|
|
6400
7242
|
"$.xgafv"?:
|
|
6401
7243
|
string;
|
|
@@ -6414,16 +7256,14 @@ declare namespace gapi.client {
|
|
|
6414
7256
|
/** 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. */
|
|
6415
7257
|
key?:
|
|
6416
7258
|
string;
|
|
6417
|
-
/** OAuth 2.0 token for the current user. */
|
|
6418
|
-
oauth_token?:
|
|
6419
|
-
string;
|
|
6420
7259
|
/**
|
|
6421
|
-
*
|
|
6422
|
-
*
|
|
6423
|
-
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
6424
|
-
* parent=projects/example-project/locations/europe-west3
|
|
7260
|
+
* Required. Resource name of organization and inspectTemplate to be updated, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
7261
|
+
* projects/project-id/inspectTemplates/432452342.
|
|
6425
7262
|
*/
|
|
6426
|
-
|
|
7263
|
+
name:
|
|
7264
|
+
string;
|
|
7265
|
+
/** OAuth 2.0 token for the current user. */
|
|
7266
|
+
oauth_token?:
|
|
6427
7267
|
string;
|
|
6428
7268
|
/** Returns response with indentations and line breaks. */
|
|
6429
7269
|
prettyPrint?:
|
|
@@ -6439,9 +7279,9 @@ declare namespace gapi.client {
|
|
|
6439
7279
|
string;
|
|
6440
7280
|
/** Request body */
|
|
6441
7281
|
resource:
|
|
6442
|
-
|
|
6443
|
-
}): Request<
|
|
6444
|
-
|
|
7282
|
+
GooglePrivacyDlpV2UpdateInspectTemplateRequest;
|
|
7283
|
+
}): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
7284
|
+
patch(request: {
|
|
6445
7285
|
/** V1 error format. */
|
|
6446
7286
|
"$.xgafv"?:
|
|
6447
7287
|
string;
|
|
@@ -6460,16 +7300,14 @@ declare namespace gapi.client {
|
|
|
6460
7300
|
/** 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. */
|
|
6461
7301
|
key?:
|
|
6462
7302
|
string;
|
|
6463
|
-
/** OAuth 2.0 token for the current user. */
|
|
6464
|
-
oauth_token?:
|
|
6465
|
-
string;
|
|
6466
7303
|
/**
|
|
6467
|
-
*
|
|
6468
|
-
*
|
|
6469
|
-
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
6470
|
-
* parent=projects/example-project/locations/europe-west3
|
|
7304
|
+
* Required. Resource name of organization and inspectTemplate to be updated, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
7305
|
+
* projects/project-id/inspectTemplates/432452342.
|
|
6471
7306
|
*/
|
|
6472
|
-
|
|
7307
|
+
name:
|
|
7308
|
+
string;
|
|
7309
|
+
/** OAuth 2.0 token for the current user. */
|
|
7310
|
+
oauth_token?:
|
|
6473
7311
|
string;
|
|
6474
7312
|
/** Returns response with indentations and line breaks. */
|
|
6475
7313
|
prettyPrint?:
|
|
@@ -6484,14 +7322,11 @@ declare namespace gapi.client {
|
|
|
6484
7322
|
uploadType?:
|
|
6485
7323
|
string;
|
|
6486
7324
|
},
|
|
6487
|
-
body:
|
|
7325
|
+
body: GooglePrivacyDlpV2UpdateInspectTemplateRequest): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
6488
7326
|
}
|
|
6489
|
-
interface
|
|
6490
|
-
/**
|
|
6491
|
-
|
|
6492
|
-
* more.
|
|
6493
|
-
*/
|
|
6494
|
-
create(request: {
|
|
7327
|
+
interface JobTriggersResource {
|
|
7328
|
+
/** Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur. */
|
|
7329
|
+
activate(request: {
|
|
6495
7330
|
/** V1 error format. */
|
|
6496
7331
|
"$.xgafv"?:
|
|
6497
7332
|
string;
|
|
@@ -6510,18 +7345,12 @@ declare namespace gapi.client {
|
|
|
6510
7345
|
/** 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. */
|
|
6511
7346
|
key?:
|
|
6512
7347
|
string;
|
|
7348
|
+
/** Required. Resource name of the trigger to activate, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
7349
|
+
name:
|
|
7350
|
+
string;
|
|
6513
7351
|
/** OAuth 2.0 token for the current user. */
|
|
6514
7352
|
oauth_token?:
|
|
6515
7353
|
string;
|
|
6516
|
-
/**
|
|
6517
|
-
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
6518
|
-
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
6519
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
6520
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
6521
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6522
|
-
*/
|
|
6523
|
-
parent:
|
|
6524
|
-
string;
|
|
6525
7354
|
/** Returns response with indentations and line breaks. */
|
|
6526
7355
|
prettyPrint?:
|
|
6527
7356
|
boolean;
|
|
@@ -6536,9 +7365,9 @@ declare namespace gapi.client {
|
|
|
6536
7365
|
string;
|
|
6537
7366
|
/** Request body */
|
|
6538
7367
|
resource:
|
|
6539
|
-
|
|
6540
|
-
}): Request<
|
|
6541
|
-
|
|
7368
|
+
GooglePrivacyDlpV2ActivateJobTriggerRequest;
|
|
7369
|
+
}): Request<GooglePrivacyDlpV2DlpJob>;
|
|
7370
|
+
activate(request: {
|
|
6542
7371
|
/** V1 error format. */
|
|
6543
7372
|
"$.xgafv"?:
|
|
6544
7373
|
string;
|
|
@@ -6557,18 +7386,12 @@ declare namespace gapi.client {
|
|
|
6557
7386
|
/** 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. */
|
|
6558
7387
|
key?:
|
|
6559
7388
|
string;
|
|
7389
|
+
/** Required. Resource name of the trigger to activate, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
7390
|
+
name:
|
|
7391
|
+
string;
|
|
6560
7392
|
/** OAuth 2.0 token for the current user. */
|
|
6561
7393
|
oauth_token?:
|
|
6562
7394
|
string;
|
|
6563
|
-
/**
|
|
6564
|
-
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
6565
|
-
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
6566
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
6567
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
6568
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6569
|
-
*/
|
|
6570
|
-
parent:
|
|
6571
|
-
string;
|
|
6572
7395
|
/** Returns response with indentations and line breaks. */
|
|
6573
7396
|
prettyPrint?:
|
|
6574
7397
|
boolean;
|
|
@@ -6582,9 +7405,12 @@ declare namespace gapi.client {
|
|
|
6582
7405
|
uploadType?:
|
|
6583
7406
|
string;
|
|
6584
7407
|
},
|
|
6585
|
-
body:
|
|
6586
|
-
/**
|
|
6587
|
-
|
|
7408
|
+
body: GooglePrivacyDlpV2ActivateJobTriggerRequest): Request<GooglePrivacyDlpV2DlpJob>;
|
|
7409
|
+
/**
|
|
7410
|
+
* Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn
|
|
7411
|
+
* more.
|
|
7412
|
+
*/
|
|
7413
|
+
create(request: {
|
|
6588
7414
|
/** V1 error format. */
|
|
6589
7415
|
"$.xgafv"?:
|
|
6590
7416
|
string;
|
|
@@ -6600,18 +7426,20 @@ declare namespace gapi.client {
|
|
|
6600
7426
|
/** Selector specifying which fields to include in a partial response. */
|
|
6601
7427
|
fields?:
|
|
6602
7428
|
string;
|
|
6603
|
-
/** 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. */
|
|
6604
|
-
key?:
|
|
6605
|
-
string;
|
|
6606
|
-
/**
|
|
6607
|
-
* Required. Resource name of the organization and inspectTemplate to be deleted, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
6608
|
-
* projects/project-id/inspectTemplates/432452342.
|
|
6609
|
-
*/
|
|
6610
|
-
name:
|
|
6611
|
-
string;
|
|
7429
|
+
/** 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. */
|
|
7430
|
+
key?:
|
|
7431
|
+
string;
|
|
6612
7432
|
/** OAuth 2.0 token for the current user. */
|
|
6613
7433
|
oauth_token?:
|
|
6614
7434
|
string;
|
|
7435
|
+
/**
|
|
7436
|
+
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
7437
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
7438
|
+
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
7439
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
7440
|
+
*/
|
|
7441
|
+
parent:
|
|
7442
|
+
string;
|
|
6615
7443
|
/** Returns response with indentations and line breaks. */
|
|
6616
7444
|
prettyPrint?:
|
|
6617
7445
|
boolean;
|
|
@@ -6624,9 +7452,11 @@ declare namespace gapi.client {
|
|
|
6624
7452
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6625
7453
|
uploadType?:
|
|
6626
7454
|
string;
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
7455
|
+
/** Request body */
|
|
7456
|
+
resource:
|
|
7457
|
+
GooglePrivacyDlpV2CreateJobTriggerRequest;
|
|
7458
|
+
}): Request<GooglePrivacyDlpV2JobTrigger>;
|
|
7459
|
+
create(request: {
|
|
6630
7460
|
/** V1 error format. */
|
|
6631
7461
|
"$.xgafv"?:
|
|
6632
7462
|
string;
|
|
@@ -6645,15 +7475,17 @@ declare namespace gapi.client {
|
|
|
6645
7475
|
/** 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. */
|
|
6646
7476
|
key?:
|
|
6647
7477
|
string;
|
|
6648
|
-
/**
|
|
6649
|
-
* Required. Resource name of the organization and inspectTemplate to be read, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
6650
|
-
* projects/project-id/inspectTemplates/432452342.
|
|
6651
|
-
*/
|
|
6652
|
-
name:
|
|
6653
|
-
string;
|
|
6654
7478
|
/** OAuth 2.0 token for the current user. */
|
|
6655
7479
|
oauth_token?:
|
|
6656
7480
|
string;
|
|
7481
|
+
/**
|
|
7482
|
+
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
7483
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
7484
|
+
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
7485
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
7486
|
+
*/
|
|
7487
|
+
parent:
|
|
7488
|
+
string;
|
|
6657
7489
|
/** Returns response with indentations and line breaks. */
|
|
6658
7490
|
prettyPrint?:
|
|
6659
7491
|
boolean;
|
|
@@ -6666,9 +7498,10 @@ declare namespace gapi.client {
|
|
|
6666
7498
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6667
7499
|
uploadType?:
|
|
6668
7500
|
string;
|
|
6669
|
-
}
|
|
6670
|
-
|
|
6671
|
-
|
|
7501
|
+
},
|
|
7502
|
+
body: GooglePrivacyDlpV2CreateJobTriggerRequest): Request<GooglePrivacyDlpV2JobTrigger>;
|
|
7503
|
+
/** Deletes a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. */
|
|
7504
|
+
delete(request?: {
|
|
6672
7505
|
/** V1 error format. */
|
|
6673
7506
|
"$.xgafv"?:
|
|
6674
7507
|
string;
|
|
@@ -6687,34 +7520,12 @@ declare namespace gapi.client {
|
|
|
6687
7520
|
/** 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. */
|
|
6688
7521
|
key?:
|
|
6689
7522
|
string;
|
|
6690
|
-
/**
|
|
6691
|
-
|
|
7523
|
+
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
7524
|
+
name:
|
|
6692
7525
|
string;
|
|
6693
7526
|
/** OAuth 2.0 token for the current user. */
|
|
6694
7527
|
oauth_token?:
|
|
6695
7528
|
string;
|
|
6696
|
-
/**
|
|
6697
|
-
* Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters
|
|
6698
|
-
* 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`:
|
|
6699
|
-
* 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.
|
|
6700
|
-
*/
|
|
6701
|
-
orderBy?:
|
|
6702
|
-
string;
|
|
6703
|
-
/** Size of the page, can be limited by the server. If zero server returns a page of max size 100. */
|
|
6704
|
-
pageSize?:
|
|
6705
|
-
number;
|
|
6706
|
-
/** Page token to continue retrieval. Comes from previous call to `ListInspectTemplates`. */
|
|
6707
|
-
pageToken?:
|
|
6708
|
-
string;
|
|
6709
|
-
/**
|
|
6710
|
-
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
6711
|
-
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
6712
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
6713
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
6714
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6715
|
-
*/
|
|
6716
|
-
parent:
|
|
6717
|
-
string;
|
|
6718
7529
|
/** Returns response with indentations and line breaks. */
|
|
6719
7530
|
prettyPrint?:
|
|
6720
7531
|
boolean;
|
|
@@ -6727,9 +7538,9 @@ declare namespace gapi.client {
|
|
|
6727
7538
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6728
7539
|
uploadType?:
|
|
6729
7540
|
string;
|
|
6730
|
-
}): Request<
|
|
6731
|
-
/**
|
|
6732
|
-
|
|
7541
|
+
}): Request<{}>;
|
|
7542
|
+
/** Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. */
|
|
7543
|
+
get(request?: {
|
|
6733
7544
|
/** V1 error format. */
|
|
6734
7545
|
"$.xgafv"?:
|
|
6735
7546
|
string;
|
|
@@ -6748,10 +7559,7 @@ declare namespace gapi.client {
|
|
|
6748
7559
|
/** 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. */
|
|
6749
7560
|
key?:
|
|
6750
7561
|
string;
|
|
6751
|
-
/**
|
|
6752
|
-
* Required. Resource name of organization and inspectTemplate to be updated, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
6753
|
-
* projects/project-id/inspectTemplates/432452342.
|
|
6754
|
-
*/
|
|
7562
|
+
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
6755
7563
|
name:
|
|
6756
7564
|
string;
|
|
6757
7565
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -6769,11 +7577,9 @@ declare namespace gapi.client {
|
|
|
6769
7577
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6770
7578
|
uploadType?:
|
|
6771
7579
|
string;
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
}): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
6776
|
-
patch(request: {
|
|
7580
|
+
}): Request<GooglePrivacyDlpV2JobTrigger>;
|
|
7581
|
+
/** Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. */
|
|
7582
|
+
list(request?: {
|
|
6777
7583
|
/** V1 error format. */
|
|
6778
7584
|
"$.xgafv"?:
|
|
6779
7585
|
string;
|
|
@@ -6789,36 +7595,65 @@ declare namespace gapi.client {
|
|
|
6789
7595
|
/** Selector specifying which fields to include in a partial response. */
|
|
6790
7596
|
fields?:
|
|
6791
7597
|
string;
|
|
7598
|
+
/**
|
|
7599
|
+
* 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
|
|
7600
|
+
* of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect triggers: - `status` -
|
|
7601
|
+
* HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds
|
|
7602
|
+
* are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. Examples: *
|
|
7603
|
+
* inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state =
|
|
7604
|
+
* PAUSED OR state = HEALTHY) * last_run_time > \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters.
|
|
7605
|
+
*/
|
|
7606
|
+
filter?:
|
|
7607
|
+
string;
|
|
6792
7608
|
/** 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. */
|
|
6793
7609
|
key?:
|
|
6794
7610
|
string;
|
|
6795
|
-
/**
|
|
6796
|
-
|
|
6797
|
-
* projects/project-id/inspectTemplates/432452342.
|
|
6798
|
-
*/
|
|
6799
|
-
name:
|
|
7611
|
+
/** Deprecated. This field has no effect. */
|
|
7612
|
+
locationId?:
|
|
6800
7613
|
string;
|
|
6801
7614
|
/** OAuth 2.0 token for the current user. */
|
|
6802
7615
|
oauth_token?:
|
|
6803
7616
|
string;
|
|
7617
|
+
/**
|
|
7618
|
+
* Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space
|
|
7619
|
+
* characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. -
|
|
7620
|
+
* `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
|
|
7621
|
+
* JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.
|
|
7622
|
+
*/
|
|
7623
|
+
orderBy?:
|
|
7624
|
+
string;
|
|
7625
|
+
/** Size of the page, can be limited by a server. */
|
|
7626
|
+
pageSize?:
|
|
7627
|
+
number;
|
|
7628
|
+
/** Page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls. */
|
|
7629
|
+
pageToken?:
|
|
7630
|
+
string;
|
|
7631
|
+
/**
|
|
7632
|
+
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
7633
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
7634
|
+
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
7635
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
7636
|
+
*/
|
|
7637
|
+
parent:
|
|
7638
|
+
string;
|
|
6804
7639
|
/** Returns response with indentations and line breaks. */
|
|
6805
7640
|
prettyPrint?:
|
|
6806
7641
|
boolean;
|
|
6807
7642
|
/** 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. */
|
|
6808
7643
|
quotaUser?:
|
|
6809
7644
|
string;
|
|
7645
|
+
/** The type of jobs. Will use `DlpJobType.INSPECT` if not set. */
|
|
7646
|
+
type?:
|
|
7647
|
+
string;
|
|
6810
7648
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6811
7649
|
upload_protocol?:
|
|
6812
7650
|
string;
|
|
6813
7651
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6814
7652
|
uploadType?:
|
|
6815
7653
|
string;
|
|
6816
|
-
}
|
|
6817
|
-
|
|
6818
|
-
|
|
6819
|
-
interface JobTriggersResource {
|
|
6820
|
-
/** Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur. */
|
|
6821
|
-
activate(request: {
|
|
7654
|
+
}): Request<GooglePrivacyDlpV2ListJobTriggersResponse>;
|
|
7655
|
+
/** Updates a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. */
|
|
7656
|
+
patch(request: {
|
|
6822
7657
|
/** V1 error format. */
|
|
6823
7658
|
"$.xgafv"?:
|
|
6824
7659
|
string;
|
|
@@ -6837,7 +7672,7 @@ declare namespace gapi.client {
|
|
|
6837
7672
|
/** 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. */
|
|
6838
7673
|
key?:
|
|
6839
7674
|
string;
|
|
6840
|
-
/** Required. Resource name of the
|
|
7675
|
+
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
6841
7676
|
name:
|
|
6842
7677
|
string;
|
|
6843
7678
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -6857,9 +7692,9 @@ declare namespace gapi.client {
|
|
|
6857
7692
|
string;
|
|
6858
7693
|
/** Request body */
|
|
6859
7694
|
resource:
|
|
6860
|
-
|
|
6861
|
-
}): Request<
|
|
6862
|
-
|
|
7695
|
+
GooglePrivacyDlpV2UpdateJobTriggerRequest;
|
|
7696
|
+
}): Request<GooglePrivacyDlpV2JobTrigger>;
|
|
7697
|
+
patch(request: {
|
|
6863
7698
|
/** V1 error format. */
|
|
6864
7699
|
"$.xgafv"?:
|
|
6865
7700
|
string;
|
|
@@ -6878,7 +7713,7 @@ declare namespace gapi.client {
|
|
|
6878
7713
|
/** 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. */
|
|
6879
7714
|
key?:
|
|
6880
7715
|
string;
|
|
6881
|
-
/** Required. Resource name of the
|
|
7716
|
+
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
6882
7717
|
name:
|
|
6883
7718
|
string;
|
|
6884
7719
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -6897,12 +7732,15 @@ declare namespace gapi.client {
|
|
|
6897
7732
|
uploadType?:
|
|
6898
7733
|
string;
|
|
6899
7734
|
},
|
|
6900
|
-
body:
|
|
7735
|
+
body: GooglePrivacyDlpV2UpdateJobTriggerRequest): Request<GooglePrivacyDlpV2JobTrigger>;
|
|
7736
|
+
}
|
|
7737
|
+
interface ContentResource {
|
|
6901
7738
|
/**
|
|
6902
|
-
*
|
|
6903
|
-
* more.
|
|
7739
|
+
* De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
|
|
7740
|
+
* 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
|
|
7741
|
+
* change over time as detectors are updated.
|
|
6904
7742
|
*/
|
|
6905
|
-
|
|
7743
|
+
deidentify(request: {
|
|
6906
7744
|
/** V1 error format. */
|
|
6907
7745
|
"$.xgafv"?:
|
|
6908
7746
|
string;
|
|
@@ -6925,10 +7763,10 @@ declare namespace gapi.client {
|
|
|
6925
7763
|
oauth_token?:
|
|
6926
7764
|
string;
|
|
6927
7765
|
/**
|
|
6928
|
-
*
|
|
6929
|
-
*
|
|
6930
|
-
*
|
|
6931
|
-
*
|
|
7766
|
+
* Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): +
|
|
7767
|
+
* Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
|
7768
|
+
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
7769
|
+
* parent=projects/example-project/locations/europe-west3
|
|
6932
7770
|
*/
|
|
6933
7771
|
parent:
|
|
6934
7772
|
string;
|
|
@@ -6946,9 +7784,9 @@ declare namespace gapi.client {
|
|
|
6946
7784
|
string;
|
|
6947
7785
|
/** Request body */
|
|
6948
7786
|
resource:
|
|
6949
|
-
|
|
6950
|
-
}): Request<
|
|
6951
|
-
|
|
7787
|
+
GooglePrivacyDlpV2DeidentifyContentRequest;
|
|
7788
|
+
}): Request<GooglePrivacyDlpV2DeidentifyContentResponse>;
|
|
7789
|
+
deidentify(request: {
|
|
6952
7790
|
/** V1 error format. */
|
|
6953
7791
|
"$.xgafv"?:
|
|
6954
7792
|
string;
|
|
@@ -6971,10 +7809,10 @@ declare namespace gapi.client {
|
|
|
6971
7809
|
oauth_token?:
|
|
6972
7810
|
string;
|
|
6973
7811
|
/**
|
|
6974
|
-
*
|
|
6975
|
-
*
|
|
6976
|
-
*
|
|
6977
|
-
*
|
|
7812
|
+
* Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): +
|
|
7813
|
+
* Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
|
7814
|
+
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
7815
|
+
* parent=projects/example-project/locations/europe-west3
|
|
6978
7816
|
*/
|
|
6979
7817
|
parent:
|
|
6980
7818
|
string;
|
|
@@ -6991,9 +7829,13 @@ declare namespace gapi.client {
|
|
|
6991
7829
|
uploadType?:
|
|
6992
7830
|
string;
|
|
6993
7831
|
},
|
|
6994
|
-
body:
|
|
6995
|
-
/**
|
|
6996
|
-
|
|
7832
|
+
body: GooglePrivacyDlpV2DeidentifyContentRequest): Request<GooglePrivacyDlpV2DeidentifyContentResponse>;
|
|
7833
|
+
/**
|
|
7834
|
+
* Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. When no InfoTypes or CustomInfoTypes are specified in this
|
|
7835
|
+
* request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. For how to guides, see
|
|
7836
|
+
* https://cloud.google.com/dlp/docs/inspecting-images and https://cloud.google.com/dlp/docs/inspecting-text,
|
|
7837
|
+
*/
|
|
7838
|
+
inspect(request: {
|
|
6997
7839
|
/** V1 error format. */
|
|
6998
7840
|
"$.xgafv"?:
|
|
6999
7841
|
string;
|
|
@@ -7012,12 +7854,17 @@ declare namespace gapi.client {
|
|
|
7012
7854
|
/** 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. */
|
|
7013
7855
|
key?:
|
|
7014
7856
|
string;
|
|
7015
|
-
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
7016
|
-
name:
|
|
7017
|
-
string;
|
|
7018
7857
|
/** OAuth 2.0 token for the current user. */
|
|
7019
7858
|
oauth_token?:
|
|
7020
7859
|
string;
|
|
7860
|
+
/**
|
|
7861
|
+
* Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): +
|
|
7862
|
+
* Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
|
7863
|
+
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
7864
|
+
* parent=projects/example-project/locations/europe-west3
|
|
7865
|
+
*/
|
|
7866
|
+
parent:
|
|
7867
|
+
string;
|
|
7021
7868
|
/** Returns response with indentations and line breaks. */
|
|
7022
7869
|
prettyPrint?:
|
|
7023
7870
|
boolean;
|
|
@@ -7030,9 +7877,11 @@ declare namespace gapi.client {
|
|
|
7030
7877
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7031
7878
|
uploadType?:
|
|
7032
7879
|
string;
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
7880
|
+
/** Request body */
|
|
7881
|
+
resource:
|
|
7882
|
+
GooglePrivacyDlpV2InspectContentRequest;
|
|
7883
|
+
}): Request<GooglePrivacyDlpV2InspectContentResponse>;
|
|
7884
|
+
inspect(request: {
|
|
7036
7885
|
/** V1 error format. */
|
|
7037
7886
|
"$.xgafv"?:
|
|
7038
7887
|
string;
|
|
@@ -7051,12 +7900,17 @@ declare namespace gapi.client {
|
|
|
7051
7900
|
/** 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. */
|
|
7052
7901
|
key?:
|
|
7053
7902
|
string;
|
|
7054
|
-
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
7055
|
-
name:
|
|
7056
|
-
string;
|
|
7057
7903
|
/** OAuth 2.0 token for the current user. */
|
|
7058
7904
|
oauth_token?:
|
|
7059
7905
|
string;
|
|
7906
|
+
/**
|
|
7907
|
+
* Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-location): +
|
|
7908
|
+
* Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
|
7909
|
+
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
7910
|
+
* parent=projects/example-project/locations/europe-west3
|
|
7911
|
+
*/
|
|
7912
|
+
parent:
|
|
7913
|
+
string;
|
|
7060
7914
|
/** Returns response with indentations and line breaks. */
|
|
7061
7915
|
prettyPrint?:
|
|
7062
7916
|
boolean;
|
|
@@ -7069,9 +7923,10 @@ declare namespace gapi.client {
|
|
|
7069
7923
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7070
7924
|
uploadType?:
|
|
7071
7925
|
string;
|
|
7072
|
-
}
|
|
7073
|
-
|
|
7074
|
-
|
|
7926
|
+
},
|
|
7927
|
+
body: GooglePrivacyDlpV2InspectContentRequest): Request<GooglePrivacyDlpV2InspectContentResponse>;
|
|
7928
|
+
/** Re-identifies content that has been de-identified. See https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example to learn more. */
|
|
7929
|
+
reidentify(request: {
|
|
7075
7930
|
/** V1 error format. */
|
|
7076
7931
|
"$.xgafv"?:
|
|
7077
7932
|
string;
|
|
@@ -7087,39 +7942,12 @@ declare namespace gapi.client {
|
|
|
7087
7942
|
/** Selector specifying which fields to include in a partial response. */
|
|
7088
7943
|
fields?:
|
|
7089
7944
|
string;
|
|
7090
|
-
/**
|
|
7091
|
-
* 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
|
|
7092
|
-
* of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect triggers: - `status` -
|
|
7093
|
-
* HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds
|
|
7094
|
-
* are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. Examples: *
|
|
7095
|
-
* inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state =
|
|
7096
|
-
* PAUSED OR state = HEALTHY) * last_run_time > \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters.
|
|
7097
|
-
*/
|
|
7098
|
-
filter?:
|
|
7099
|
-
string;
|
|
7100
7945
|
/** 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. */
|
|
7101
7946
|
key?:
|
|
7102
7947
|
string;
|
|
7103
|
-
/**
|
|
7104
|
-
|
|
7105
|
-
string;
|
|
7106
|
-
/** OAuth 2.0 token for the current user. */
|
|
7107
|
-
oauth_token?:
|
|
7108
|
-
string;
|
|
7109
|
-
/**
|
|
7110
|
-
* Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space
|
|
7111
|
-
* characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. -
|
|
7112
|
-
* `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
|
|
7113
|
-
* JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.
|
|
7114
|
-
*/
|
|
7115
|
-
orderBy?:
|
|
7116
|
-
string;
|
|
7117
|
-
/** Size of the page, can be limited by a server. */
|
|
7118
|
-
pageSize?:
|
|
7119
|
-
number;
|
|
7120
|
-
/** Page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls. */
|
|
7121
|
-
pageToken?:
|
|
7122
|
-
string;
|
|
7948
|
+
/** OAuth 2.0 token for the current user. */
|
|
7949
|
+
oauth_token?:
|
|
7950
|
+
string;
|
|
7123
7951
|
/**
|
|
7124
7952
|
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
7125
7953
|
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
@@ -7134,18 +7962,17 @@ declare namespace gapi.client {
|
|
|
7134
7962
|
/** 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. */
|
|
7135
7963
|
quotaUser?:
|
|
7136
7964
|
string;
|
|
7137
|
-
/** The type of jobs. Will use `DlpJobType.INSPECT` if not set. */
|
|
7138
|
-
type?:
|
|
7139
|
-
string;
|
|
7140
7965
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7141
7966
|
upload_protocol?:
|
|
7142
7967
|
string;
|
|
7143
7968
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7144
7969
|
uploadType?:
|
|
7145
7970
|
string;
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7971
|
+
/** Request body */
|
|
7972
|
+
resource:
|
|
7973
|
+
GooglePrivacyDlpV2ReidentifyContentRequest;
|
|
7974
|
+
}): Request<GooglePrivacyDlpV2ReidentifyContentResponse>;
|
|
7975
|
+
reidentify(request: {
|
|
7149
7976
|
/** V1 error format. */
|
|
7150
7977
|
"$.xgafv"?:
|
|
7151
7978
|
string;
|
|
@@ -7164,12 +7991,17 @@ declare namespace gapi.client {
|
|
|
7164
7991
|
/** 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. */
|
|
7165
7992
|
key?:
|
|
7166
7993
|
string;
|
|
7167
|
-
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
7168
|
-
name:
|
|
7169
|
-
string;
|
|
7170
7994
|
/** OAuth 2.0 token for the current user. */
|
|
7171
7995
|
oauth_token?:
|
|
7172
7996
|
string;
|
|
7997
|
+
/**
|
|
7998
|
+
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
7999
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
8000
|
+
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
8001
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
8002
|
+
*/
|
|
8003
|
+
parent:
|
|
8004
|
+
string;
|
|
7173
8005
|
/** Returns response with indentations and line breaks. */
|
|
7174
8006
|
prettyPrint?:
|
|
7175
8007
|
boolean;
|
|
@@ -7182,11 +8014,15 @@ declare namespace gapi.client {
|
|
|
7182
8014
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7183
8015
|
uploadType?:
|
|
7184
8016
|
string;
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
8017
|
+
},
|
|
8018
|
+
body: GooglePrivacyDlpV2ReidentifyContentRequest): Request<GooglePrivacyDlpV2ReidentifyContentResponse>;
|
|
8019
|
+
}
|
|
8020
|
+
interface DeidentifyTemplatesResource {
|
|
8021
|
+
/**
|
|
8022
|
+
* Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid
|
|
8023
|
+
* to learn more.
|
|
8024
|
+
*/
|
|
8025
|
+
create(request: {
|
|
7190
8026
|
/** V1 error format. */
|
|
7191
8027
|
"$.xgafv"?:
|
|
7192
8028
|
string;
|
|
@@ -7205,12 +8041,18 @@ declare namespace gapi.client {
|
|
|
7205
8041
|
/** 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. */
|
|
7206
8042
|
key?:
|
|
7207
8043
|
string;
|
|
7208
|
-
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
7209
|
-
name:
|
|
7210
|
-
string;
|
|
7211
8044
|
/** OAuth 2.0 token for the current user. */
|
|
7212
8045
|
oauth_token?:
|
|
7213
8046
|
string;
|
|
8047
|
+
/**
|
|
8048
|
+
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
8049
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
8050
|
+
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
8051
|
+
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
8052
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
8053
|
+
*/
|
|
8054
|
+
parent:
|
|
8055
|
+
string;
|
|
7214
8056
|
/** Returns response with indentations and line breaks. */
|
|
7215
8057
|
prettyPrint?:
|
|
7216
8058
|
boolean;
|
|
@@ -7223,16 +8065,11 @@ declare namespace gapi.client {
|
|
|
7223
8065
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7224
8066
|
uploadType?:
|
|
7225
8067
|
string;
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
* De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
|
|
7232
|
-
* 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
|
|
7233
|
-
* change over time as detectors are updated.
|
|
7234
|
-
*/
|
|
7235
|
-
deidentify(request: {
|
|
8068
|
+
/** Request body */
|
|
8069
|
+
resource:
|
|
8070
|
+
GooglePrivacyDlpV2CreateDeidentifyTemplateRequest;
|
|
8071
|
+
}): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
8072
|
+
create(request: {
|
|
7236
8073
|
/** V1 error format. */
|
|
7237
8074
|
"$.xgafv"?:
|
|
7238
8075
|
string;
|
|
@@ -7255,10 +8092,11 @@ declare namespace gapi.client {
|
|
|
7255
8092
|
oauth_token?:
|
|
7256
8093
|
string;
|
|
7257
8094
|
/**
|
|
7258
|
-
* Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
7259
|
-
* Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
7260
|
-
*
|
|
7261
|
-
* parent
|
|
8095
|
+
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
8096
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
8097
|
+
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
8098
|
+
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
8099
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
7262
8100
|
*/
|
|
7263
8101
|
parent:
|
|
7264
8102
|
string;
|
|
@@ -7274,11 +8112,10 @@ declare namespace gapi.client {
|
|
|
7274
8112
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7275
8113
|
uploadType?:
|
|
7276
8114
|
string;
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
|
|
7281
|
-
deidentify(request: {
|
|
8115
|
+
},
|
|
8116
|
+
body: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
8117
|
+
/** Deletes a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. */
|
|
8118
|
+
delete(request?: {
|
|
7282
8119
|
/** V1 error format. */
|
|
7283
8120
|
"$.xgafv"?:
|
|
7284
8121
|
string;
|
|
@@ -7297,16 +8134,14 @@ declare namespace gapi.client {
|
|
|
7297
8134
|
/** 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. */
|
|
7298
8135
|
key?:
|
|
7299
8136
|
string;
|
|
7300
|
-
/** OAuth 2.0 token for the current user. */
|
|
7301
|
-
oauth_token?:
|
|
7302
|
-
string;
|
|
7303
8137
|
/**
|
|
7304
|
-
*
|
|
7305
|
-
*
|
|
7306
|
-
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
7307
|
-
* parent=projects/example-project/locations/europe-west3
|
|
8138
|
+
* Required. Resource name of the organization and deidentify template to be deleted, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
8139
|
+
* projects/project-id/deidentifyTemplates/432452342.
|
|
7308
8140
|
*/
|
|
7309
|
-
|
|
8141
|
+
name:
|
|
8142
|
+
string;
|
|
8143
|
+
/** OAuth 2.0 token for the current user. */
|
|
8144
|
+
oauth_token?:
|
|
7310
8145
|
string;
|
|
7311
8146
|
/** Returns response with indentations and line breaks. */
|
|
7312
8147
|
prettyPrint?:
|
|
@@ -7320,14 +8155,9 @@ declare namespace gapi.client {
|
|
|
7320
8155
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7321
8156
|
uploadType?:
|
|
7322
8157
|
string;
|
|
7323
|
-
}
|
|
7324
|
-
|
|
7325
|
-
|
|
7326
|
-
* Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. When no InfoTypes or CustomInfoTypes are specified in this
|
|
7327
|
-
* request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. For how to guides, see
|
|
7328
|
-
* https://cloud.google.com/dlp/docs/inspecting-images and https://cloud.google.com/dlp/docs/inspecting-text,
|
|
7329
|
-
*/
|
|
7330
|
-
inspect(request: {
|
|
8158
|
+
}): Request<{}>;
|
|
8159
|
+
/** Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. */
|
|
8160
|
+
get(request?: {
|
|
7331
8161
|
/** V1 error format. */
|
|
7332
8162
|
"$.xgafv"?:
|
|
7333
8163
|
string;
|
|
@@ -7346,16 +8176,14 @@ declare namespace gapi.client {
|
|
|
7346
8176
|
/** 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. */
|
|
7347
8177
|
key?:
|
|
7348
8178
|
string;
|
|
7349
|
-
/** OAuth 2.0 token for the current user. */
|
|
7350
|
-
oauth_token?:
|
|
7351
|
-
string;
|
|
7352
8179
|
/**
|
|
7353
|
-
*
|
|
7354
|
-
*
|
|
7355
|
-
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
7356
|
-
* parent=projects/example-project/locations/europe-west3
|
|
8180
|
+
* Required. Resource name of the organization and deidentify template to be read, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
8181
|
+
* projects/project-id/deidentifyTemplates/432452342.
|
|
7357
8182
|
*/
|
|
7358
|
-
|
|
8183
|
+
name:
|
|
8184
|
+
string;
|
|
8185
|
+
/** OAuth 2.0 token for the current user. */
|
|
8186
|
+
oauth_token?:
|
|
7359
8187
|
string;
|
|
7360
8188
|
/** Returns response with indentations and line breaks. */
|
|
7361
8189
|
prettyPrint?:
|
|
@@ -7369,11 +8197,9 @@ declare namespace gapi.client {
|
|
|
7369
8197
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7370
8198
|
uploadType?:
|
|
7371
8199
|
string;
|
|
7372
|
-
|
|
7373
|
-
|
|
7374
|
-
|
|
7375
|
-
}): Request<GooglePrivacyDlpV2InspectContentResponse>;
|
|
7376
|
-
inspect(request: {
|
|
8200
|
+
}): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
8201
|
+
/** Lists DeidentifyTemplates. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. */
|
|
8202
|
+
list(request?: {
|
|
7377
8203
|
/** V1 error format. */
|
|
7378
8204
|
"$.xgafv"?:
|
|
7379
8205
|
string;
|
|
@@ -7392,14 +8218,31 @@ declare namespace gapi.client {
|
|
|
7392
8218
|
/** 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. */
|
|
7393
8219
|
key?:
|
|
7394
8220
|
string;
|
|
8221
|
+
/** Deprecated. This field has no effect. */
|
|
8222
|
+
locationId?:
|
|
8223
|
+
string;
|
|
7395
8224
|
/** OAuth 2.0 token for the current user. */
|
|
7396
8225
|
oauth_token?:
|
|
7397
8226
|
string;
|
|
7398
8227
|
/**
|
|
7399
|
-
*
|
|
7400
|
-
*
|
|
7401
|
-
*
|
|
7402
|
-
|
|
8228
|
+
* Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters
|
|
8229
|
+
* 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`:
|
|
8230
|
+
* 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.
|
|
8231
|
+
*/
|
|
8232
|
+
orderBy?:
|
|
8233
|
+
string;
|
|
8234
|
+
/** Size of the page, can be limited by the server. If zero server returns a page of max size 100. */
|
|
8235
|
+
pageSize?:
|
|
8236
|
+
number;
|
|
8237
|
+
/** Page token to continue retrieval. Comes from previous call to `ListDeidentifyTemplates`. */
|
|
8238
|
+
pageToken?:
|
|
8239
|
+
string;
|
|
8240
|
+
/**
|
|
8241
|
+
* Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have [specified a processing
|
|
8242
|
+
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
8243
|
+
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
8244
|
+
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
8245
|
+
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
7403
8246
|
*/
|
|
7404
8247
|
parent:
|
|
7405
8248
|
string;
|
|
@@ -7415,10 +8258,9 @@ declare namespace gapi.client {
|
|
|
7415
8258
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7416
8259
|
uploadType?:
|
|
7417
8260
|
string;
|
|
7418
|
-
}
|
|
7419
|
-
|
|
7420
|
-
|
|
7421
|
-
reidentify(request: {
|
|
8261
|
+
}): Request<GooglePrivacyDlpV2ListDeidentifyTemplatesResponse>;
|
|
8262
|
+
/** Updates the DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. */
|
|
8263
|
+
patch(request: {
|
|
7422
8264
|
/** V1 error format. */
|
|
7423
8265
|
"$.xgafv"?:
|
|
7424
8266
|
string;
|
|
@@ -7437,16 +8279,14 @@ declare namespace gapi.client {
|
|
|
7437
8279
|
/** 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. */
|
|
7438
8280
|
key?:
|
|
7439
8281
|
string;
|
|
7440
|
-
/** OAuth 2.0 token for the current user. */
|
|
7441
|
-
oauth_token?:
|
|
7442
|
-
string;
|
|
7443
8282
|
/**
|
|
7444
|
-
* Required.
|
|
7445
|
-
*
|
|
7446
|
-
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
7447
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
8283
|
+
* Required. Resource name of organization and deidentify template to be updated, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
8284
|
+
* projects/project-id/deidentifyTemplates/432452342.
|
|
7448
8285
|
*/
|
|
7449
|
-
|
|
8286
|
+
name:
|
|
8287
|
+
string;
|
|
8288
|
+
/** OAuth 2.0 token for the current user. */
|
|
8289
|
+
oauth_token?:
|
|
7450
8290
|
string;
|
|
7451
8291
|
/** Returns response with indentations and line breaks. */
|
|
7452
8292
|
prettyPrint?:
|
|
@@ -7462,9 +8302,9 @@ declare namespace gapi.client {
|
|
|
7462
8302
|
string;
|
|
7463
8303
|
/** Request body */
|
|
7464
8304
|
resource:
|
|
7465
|
-
|
|
7466
|
-
}): Request<
|
|
7467
|
-
|
|
8305
|
+
GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest;
|
|
8306
|
+
}): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
8307
|
+
patch(request: {
|
|
7468
8308
|
/** V1 error format. */
|
|
7469
8309
|
"$.xgafv"?:
|
|
7470
8310
|
string;
|
|
@@ -7483,16 +8323,14 @@ declare namespace gapi.client {
|
|
|
7483
8323
|
/** 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. */
|
|
7484
8324
|
key?:
|
|
7485
8325
|
string;
|
|
7486
|
-
/** OAuth 2.0 token for the current user. */
|
|
7487
|
-
oauth_token?:
|
|
7488
|
-
string;
|
|
7489
8326
|
/**
|
|
7490
|
-
* Required.
|
|
7491
|
-
*
|
|
7492
|
-
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
7493
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
8327
|
+
* Required. Resource name of organization and deidentify template to be updated, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
8328
|
+
* projects/project-id/deidentifyTemplates/432452342.
|
|
7494
8329
|
*/
|
|
7495
|
-
|
|
8330
|
+
name:
|
|
8331
|
+
string;
|
|
8332
|
+
/** OAuth 2.0 token for the current user. */
|
|
8333
|
+
oauth_token?:
|
|
7496
8334
|
string;
|
|
7497
8335
|
/** Returns response with indentations and line breaks. */
|
|
7498
8336
|
prettyPrint?:
|
|
@@ -7507,13 +8345,10 @@ declare namespace gapi.client {
|
|
|
7507
8345
|
uploadType?:
|
|
7508
8346
|
string;
|
|
7509
8347
|
},
|
|
7510
|
-
body:
|
|
8348
|
+
body: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
7511
8349
|
}
|
|
7512
|
-
interface
|
|
7513
|
-
/**
|
|
7514
|
-
* Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid
|
|
7515
|
-
* to learn more.
|
|
7516
|
-
*/
|
|
8350
|
+
interface DiscoveryConfigsResource {
|
|
8351
|
+
/** Creates a config for Discovery to scan and profile storage. */
|
|
7517
8352
|
create(request: {
|
|
7518
8353
|
/** V1 error format. */
|
|
7519
8354
|
"$.xgafv"?:
|
|
@@ -7537,11 +8372,8 @@ declare namespace gapi.client {
|
|
|
7537
8372
|
oauth_token?:
|
|
7538
8373
|
string;
|
|
7539
8374
|
/**
|
|
7540
|
-
* Required. Parent resource name. The format of this value
|
|
7541
|
-
*
|
|
7542
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
7543
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
7544
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
8375
|
+
* Required. Parent resource name. The format of this value is as follows: `projects/`PROJECT_ID`/locations/`LOCATION_ID The following example `parent` string specifies a parent
|
|
8376
|
+
* project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
7545
8377
|
*/
|
|
7546
8378
|
parent:
|
|
7547
8379
|
string;
|
|
@@ -7559,8 +8391,8 @@ declare namespace gapi.client {
|
|
|
7559
8391
|
string;
|
|
7560
8392
|
/** Request body */
|
|
7561
8393
|
resource:
|
|
7562
|
-
|
|
7563
|
-
}): Request<
|
|
8394
|
+
GooglePrivacyDlpV2CreateDiscoveryConfigRequest;
|
|
8395
|
+
}): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
7564
8396
|
create(request: {
|
|
7565
8397
|
/** V1 error format. */
|
|
7566
8398
|
"$.xgafv"?:
|
|
@@ -7584,11 +8416,8 @@ declare namespace gapi.client {
|
|
|
7584
8416
|
oauth_token?:
|
|
7585
8417
|
string;
|
|
7586
8418
|
/**
|
|
7587
|
-
* Required. Parent resource name. The format of this value
|
|
7588
|
-
*
|
|
7589
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
7590
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
7591
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
8419
|
+
* Required. Parent resource name. The format of this value is as follows: `projects/`PROJECT_ID`/locations/`LOCATION_ID The following example `parent` string specifies a parent
|
|
8420
|
+
* project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
7592
8421
|
*/
|
|
7593
8422
|
parent:
|
|
7594
8423
|
string;
|
|
@@ -7605,8 +8434,8 @@ declare namespace gapi.client {
|
|
|
7605
8434
|
uploadType?:
|
|
7606
8435
|
string;
|
|
7607
8436
|
},
|
|
7608
|
-
body:
|
|
7609
|
-
/** Deletes a
|
|
8437
|
+
body: GooglePrivacyDlpV2CreateDiscoveryConfigRequest): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
8438
|
+
/** Deletes a Discovery configuration. */
|
|
7610
8439
|
delete(request?: {
|
|
7611
8440
|
/** V1 error format. */
|
|
7612
8441
|
"$.xgafv"?:
|
|
@@ -7626,10 +8455,7 @@ declare namespace gapi.client {
|
|
|
7626
8455
|
/** 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. */
|
|
7627
8456
|
key?:
|
|
7628
8457
|
string;
|
|
7629
|
-
/**
|
|
7630
|
-
* Required. Resource name of the organization and deidentify template to be deleted, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
7631
|
-
* projects/project-id/deidentifyTemplates/432452342.
|
|
7632
|
-
*/
|
|
8458
|
+
/** Required. Resource name of the project and the config, for example `projects/dlp-test-project/discoveryConfigs/53234423`. */
|
|
7633
8459
|
name:
|
|
7634
8460
|
string;
|
|
7635
8461
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -7648,7 +8474,7 @@ declare namespace gapi.client {
|
|
|
7648
8474
|
uploadType?:
|
|
7649
8475
|
string;
|
|
7650
8476
|
}): Request<{}>;
|
|
7651
|
-
/** Gets a
|
|
8477
|
+
/** Gets a Discovery configuration. */
|
|
7652
8478
|
get(request?: {
|
|
7653
8479
|
/** V1 error format. */
|
|
7654
8480
|
"$.xgafv"?:
|
|
@@ -7668,10 +8494,7 @@ declare namespace gapi.client {
|
|
|
7668
8494
|
/** 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. */
|
|
7669
8495
|
key?:
|
|
7670
8496
|
string;
|
|
7671
|
-
/**
|
|
7672
|
-
* Required. Resource name of the organization and deidentify template to be read, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
7673
|
-
* projects/project-id/deidentifyTemplates/432452342.
|
|
7674
|
-
*/
|
|
8497
|
+
/** Required. Resource name of the project and the configuration, for example `projects/dlp-test-project/discoveryConfigs/53234423`. */
|
|
7675
8498
|
name:
|
|
7676
8499
|
string;
|
|
7677
8500
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -7689,8 +8512,8 @@ declare namespace gapi.client {
|
|
|
7689
8512
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7690
8513
|
uploadType?:
|
|
7691
8514
|
string;
|
|
7692
|
-
}): Request<
|
|
7693
|
-
/** Lists
|
|
8515
|
+
}): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
8516
|
+
/** Lists Discovery configurations. */
|
|
7694
8517
|
list(request?: {
|
|
7695
8518
|
/** V1 error format. */
|
|
7696
8519
|
"$.xgafv"?:
|
|
@@ -7710,31 +8533,25 @@ declare namespace gapi.client {
|
|
|
7710
8533
|
/** 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. */
|
|
7711
8534
|
key?:
|
|
7712
8535
|
string;
|
|
7713
|
-
/** Deprecated. This field has no effect. */
|
|
7714
|
-
locationId?:
|
|
7715
|
-
string;
|
|
7716
8536
|
/** OAuth 2.0 token for the current user. */
|
|
7717
8537
|
oauth_token?:
|
|
7718
8538
|
string;
|
|
7719
8539
|
/**
|
|
7720
|
-
* Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space
|
|
7721
|
-
* are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `
|
|
7722
|
-
*
|
|
8540
|
+
* Comma separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space
|
|
8541
|
+
* 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. -
|
|
8542
|
+
* `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status.
|
|
7723
8543
|
*/
|
|
7724
8544
|
orderBy?:
|
|
7725
8545
|
string;
|
|
7726
|
-
/** Size of the page, can be limited by
|
|
8546
|
+
/** Size of the page, can be limited by a server. */
|
|
7727
8547
|
pageSize?:
|
|
7728
8548
|
number;
|
|
7729
|
-
/** Page token to continue retrieval. Comes from previous call to `
|
|
8549
|
+
/** Page token to continue retrieval. Comes from previous call to ListDiscoveryConfigs. `order_by` field must not change for subsequent calls. */
|
|
7730
8550
|
pageToken?:
|
|
7731
8551
|
string;
|
|
7732
8552
|
/**
|
|
7733
|
-
* Required. Parent resource name. The format of this value
|
|
7734
|
-
*
|
|
7735
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
7736
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
7737
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
8553
|
+
* Required. Parent resource name. The format of this value is as follows: `projects/`PROJECT_ID`/locations/`LOCATION_ID The following example `parent` string specifies a parent
|
|
8554
|
+
* project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
7738
8555
|
*/
|
|
7739
8556
|
parent:
|
|
7740
8557
|
string;
|
|
@@ -7750,8 +8567,8 @@ declare namespace gapi.client {
|
|
|
7750
8567
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7751
8568
|
uploadType?:
|
|
7752
8569
|
string;
|
|
7753
|
-
}): Request<
|
|
7754
|
-
/** Updates
|
|
8570
|
+
}): Request<GooglePrivacyDlpV2ListDiscoveryConfigsResponse>;
|
|
8571
|
+
/** Updates a Discovery configuration. */
|
|
7755
8572
|
patch(request: {
|
|
7756
8573
|
/** V1 error format. */
|
|
7757
8574
|
"$.xgafv"?:
|
|
@@ -7771,10 +8588,7 @@ declare namespace gapi.client {
|
|
|
7771
8588
|
/** 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. */
|
|
7772
8589
|
key?:
|
|
7773
8590
|
string;
|
|
7774
|
-
/**
|
|
7775
|
-
* Required. Resource name of organization and deidentify template to be updated, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
7776
|
-
* projects/project-id/deidentifyTemplates/432452342.
|
|
7777
|
-
*/
|
|
8591
|
+
/** Required. Resource name of the project and the configuration, for example `projects/dlp-test-project/discoveryConfigs/53234423`. */
|
|
7778
8592
|
name:
|
|
7779
8593
|
string;
|
|
7780
8594
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -7794,8 +8608,8 @@ declare namespace gapi.client {
|
|
|
7794
8608
|
string;
|
|
7795
8609
|
/** Request body */
|
|
7796
8610
|
resource:
|
|
7797
|
-
|
|
7798
|
-
}): Request<
|
|
8611
|
+
GooglePrivacyDlpV2UpdateDiscoveryConfigRequest;
|
|
8612
|
+
}): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
7799
8613
|
patch(request: {
|
|
7800
8614
|
/** V1 error format. */
|
|
7801
8615
|
"$.xgafv"?:
|
|
@@ -7815,10 +8629,7 @@ declare namespace gapi.client {
|
|
|
7815
8629
|
/** 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. */
|
|
7816
8630
|
key?:
|
|
7817
8631
|
string;
|
|
7818
|
-
/**
|
|
7819
|
-
* Required. Resource name of organization and deidentify template to be updated, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
7820
|
-
* projects/project-id/deidentifyTemplates/432452342.
|
|
7821
|
-
*/
|
|
8632
|
+
/** Required. Resource name of the project and the configuration, for example `projects/dlp-test-project/discoveryConfigs/53234423`. */
|
|
7822
8633
|
name:
|
|
7823
8634
|
string;
|
|
7824
8635
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -7837,7 +8648,7 @@ declare namespace gapi.client {
|
|
|
7837
8648
|
uploadType?:
|
|
7838
8649
|
string;
|
|
7839
8650
|
},
|
|
7840
|
-
body:
|
|
8651
|
+
body: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
7841
8652
|
}
|
|
7842
8653
|
interface DlpJobsResource {
|
|
7843
8654
|
/**
|
|
@@ -9592,6 +10403,8 @@ declare namespace gapi.client {
|
|
|
9592
10403
|
ContentResource;
|
|
9593
10404
|
deidentifyTemplates:
|
|
9594
10405
|
DeidentifyTemplatesResource;
|
|
10406
|
+
discoveryConfigs:
|
|
10407
|
+
DiscoveryConfigsResource;
|
|
9595
10408
|
dlpJobs:
|
|
9596
10409
|
DlpJobsResource;
|
|
9597
10410
|
image:
|