@maxim_mazurok/gapi.client.dlp-v2 0.0.20231001 → 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 +1610 -794
- 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?:
|
|
@@ -124,7 +141,7 @@ declare namespace gapi.client {
|
|
|
124
141
|
interface GooglePrivacyDlpV2BigQueryOptions {
|
|
125
142
|
/**
|
|
126
143
|
* References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings. When inspecting a table, we recommend that you
|
|
127
|
-
* inspect all columns. Otherwise, findings might be
|
|
144
|
+
* inspect all columns. Otherwise, findings might be affected because hints from excluded columns will not be used.
|
|
128
145
|
*/
|
|
129
146
|
excludedFields?:
|
|
130
147
|
GooglePrivacyDlpV2FieldId[];
|
|
@@ -135,7 +152,7 @@ declare namespace gapi.client {
|
|
|
135
152
|
identifyingFields?:
|
|
136
153
|
GooglePrivacyDlpV2FieldId[];
|
|
137
154
|
/**
|
|
138
|
-
* Limit scanning only to these fields. When inspecting a table, we recommend that you inspect all columns. Otherwise, findings might be
|
|
155
|
+
* Limit scanning only to these fields. When inspecting a table, we recommend that you inspect all columns. Otherwise, findings might be affected because hints from excluded columns
|
|
139
156
|
* will not be used.
|
|
140
157
|
*/
|
|
141
158
|
includedFields?:
|
|
@@ -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?:
|
|
@@ -1043,7 +1211,7 @@ declare namespace gapi.client {
|
|
|
1043
1211
|
/** Detailed error codes and messages. */
|
|
1044
1212
|
details?:
|
|
1045
1213
|
GoogleRpcStatus;
|
|
1046
|
-
/** The times the error occurred. List includes the oldest timestamp
|
|
1214
|
+
/** The times the error occurred. List includes the oldest timestamp and the last 9 timestamps. */
|
|
1047
1215
|
timestamps?:
|
|
1048
1216
|
string[];
|
|
1049
1217
|
}
|
|
@@ -1421,7 +1589,7 @@ declare namespace gapi.client {
|
|
|
1421
1589
|
*/
|
|
1422
1590
|
infoType?:
|
|
1423
1591
|
GooglePrivacyDlpV2InfoType;
|
|
1424
|
-
/** Only returns findings equal or above this threshold. This field is required or else the configuration fails. */
|
|
1592
|
+
/** Only returns findings equal to or above this threshold. This field is required or else the configuration fails. */
|
|
1425
1593
|
minLikelihood?:
|
|
1426
1594
|
string;
|
|
1427
1595
|
}
|
|
@@ -1494,12 +1662,15 @@ declare namespace gapi.client {
|
|
|
1494
1662
|
*/
|
|
1495
1663
|
limits?:
|
|
1496
1664
|
GooglePrivacyDlpV2FindingLimits;
|
|
1497
|
-
/**
|
|
1665
|
+
/**
|
|
1666
|
+
* Only returns findings equal to or above this threshold. The default is POSSIBLE. In general, the highest likelihood setting yields the fewest findings in results and the lowest
|
|
1667
|
+
* chance of a false positive. For more information, see [Match likelihood](https://cloud.google.com/dlp/docs/likelihood).
|
|
1668
|
+
*/
|
|
1498
1669
|
minLikelihood?:
|
|
1499
1670
|
string;
|
|
1500
1671
|
/**
|
|
1501
|
-
*
|
|
1502
|
-
* uses the InspectConfig min_likelihood.
|
|
1672
|
+
* Minimum likelihood per infotype. For each infotype, a user can specify a minimum likelihood. The system only returns a finding if its likelihood is above this threshold. If this
|
|
1673
|
+
* field is not set, the system uses the InspectConfig min_likelihood.
|
|
1503
1674
|
*/
|
|
1504
1675
|
minLikelihoodPerInfoType?:
|
|
1505
1676
|
GooglePrivacyDlpV2InfoTypeLikelihood[];
|
|
@@ -1850,6 +2021,14 @@ declare namespace gapi.client {
|
|
|
1850
2021
|
nextPageToken?:
|
|
1851
2022
|
string;
|
|
1852
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
|
+
}
|
|
1853
2032
|
interface GooglePrivacyDlpV2ListDlpJobsResponse {
|
|
1854
2033
|
/** A list of DlpJobs that matches the specified filter in the request. */
|
|
1855
2034
|
jobs?:
|
|
@@ -1931,6 +2110,25 @@ declare namespace gapi.client {
|
|
|
1931
2110
|
quantileValues?:
|
|
1932
2111
|
GooglePrivacyDlpV2Value[];
|
|
1933
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
|
+
}
|
|
1934
2132
|
interface GooglePrivacyDlpV2OtherInfoTypeSummary {
|
|
1935
2133
|
/** Approximate percentage of non-null rows that contained data detected by this infotype. */
|
|
1936
2134
|
estimatedPrevalence?:
|
|
@@ -2809,6 +3007,14 @@ declare namespace gapi.client {
|
|
|
2809
3007
|
updateMask?:
|
|
2810
3008
|
string;
|
|
2811
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
|
+
}
|
|
2812
3018
|
interface GooglePrivacyDlpV2UpdateInspectTemplateRequest {
|
|
2813
3019
|
/** New InspectTemplate value. */
|
|
2814
3020
|
inspectTemplate?:
|
|
@@ -4016,90 +4222,8 @@ declare namespace gapi.client {
|
|
|
4016
4222
|
},
|
|
4017
4223
|
body: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
4018
4224
|
}
|
|
4019
|
-
interface
|
|
4020
|
-
/**
|
|
4021
|
-
* 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
|
|
4022
|
-
* learn more.
|
|
4023
|
-
*/
|
|
4024
|
-
list(request?: {
|
|
4025
|
-
/** V1 error format. */
|
|
4026
|
-
"$.xgafv"?:
|
|
4027
|
-
string;
|
|
4028
|
-
/** OAuth access token. */
|
|
4029
|
-
access_token?:
|
|
4030
|
-
string;
|
|
4031
|
-
/** Data format for response. */
|
|
4032
|
-
alt?:
|
|
4033
|
-
string;
|
|
4034
|
-
/** JSONP */
|
|
4035
|
-
callback?:
|
|
4036
|
-
string;
|
|
4037
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
4038
|
-
fields?:
|
|
4039
|
-
string;
|
|
4040
|
-
/**
|
|
4041
|
-
* 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
|
|
4042
|
-
* of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect jobs: - `state` -
|
|
4043
|
-
* PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` -
|
|
4044
|
-
* Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` -
|
|
4045
|
-
* 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 `=`
|
|
4046
|
-
* or `!=`. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage
|
|
4047
|
-
* 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.
|
|
4048
|
-
*/
|
|
4049
|
-
filter?:
|
|
4050
|
-
string;
|
|
4051
|
-
/** 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. */
|
|
4052
|
-
key?:
|
|
4053
|
-
string;
|
|
4054
|
-
/** Deprecated. This field has no effect. */
|
|
4055
|
-
locationId?:
|
|
4056
|
-
string;
|
|
4057
|
-
/** OAuth 2.0 token for the current user. */
|
|
4058
|
-
oauth_token?:
|
|
4059
|
-
string;
|
|
4060
|
-
/**
|
|
4061
|
-
* 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
|
|
4062
|
-
* 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`:
|
|
4063
|
-
* corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`
|
|
4064
|
-
*/
|
|
4065
|
-
orderBy?:
|
|
4066
|
-
string;
|
|
4067
|
-
/** The standard list page size. */
|
|
4068
|
-
pageSize?:
|
|
4069
|
-
number;
|
|
4070
|
-
/** The standard list page token. */
|
|
4071
|
-
pageToken?:
|
|
4072
|
-
string;
|
|
4073
|
-
/**
|
|
4074
|
-
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
4075
|
-
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
4076
|
-
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
4077
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4078
|
-
*/
|
|
4079
|
-
parent:
|
|
4080
|
-
string;
|
|
4081
|
-
/** Returns response with indentations and line breaks. */
|
|
4082
|
-
prettyPrint?:
|
|
4083
|
-
boolean;
|
|
4084
|
-
/** 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. */
|
|
4085
|
-
quotaUser?:
|
|
4086
|
-
string;
|
|
4087
|
-
/** The type of job. Defaults to `DlpJobType.INSPECT` */
|
|
4088
|
-
type?:
|
|
4089
|
-
string;
|
|
4090
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4091
|
-
upload_protocol?:
|
|
4092
|
-
string;
|
|
4093
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4094
|
-
uploadType?:
|
|
4095
|
-
string;
|
|
4096
|
-
}): Request<GooglePrivacyDlpV2ListDlpJobsResponse>;
|
|
4097
|
-
}
|
|
4098
|
-
interface InspectTemplatesResource {
|
|
4099
|
-
/**
|
|
4100
|
-
* 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
|
|
4101
|
-
* more.
|
|
4102
|
-
*/
|
|
4225
|
+
interface DiscoveryConfigsResource {
|
|
4226
|
+
/** Creates a config for Discovery to scan and profile storage. */
|
|
4103
4227
|
create(request: {
|
|
4104
4228
|
/** V1 error format. */
|
|
4105
4229
|
"$.xgafv"?:
|
|
@@ -4123,11 +4247,8 @@ declare namespace gapi.client {
|
|
|
4123
4247
|
oauth_token?:
|
|
4124
4248
|
string;
|
|
4125
4249
|
/**
|
|
4126
|
-
* Required. Parent resource name. The format of this value
|
|
4127
|
-
*
|
|
4128
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
4129
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
4130
|
-
* 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
|
|
4131
4252
|
*/
|
|
4132
4253
|
parent:
|
|
4133
4254
|
string;
|
|
@@ -4145,8 +4266,8 @@ declare namespace gapi.client {
|
|
|
4145
4266
|
string;
|
|
4146
4267
|
/** Request body */
|
|
4147
4268
|
resource:
|
|
4148
|
-
|
|
4149
|
-
}): Request<
|
|
4269
|
+
GooglePrivacyDlpV2CreateDiscoveryConfigRequest;
|
|
4270
|
+
}): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
4150
4271
|
create(request: {
|
|
4151
4272
|
/** V1 error format. */
|
|
4152
4273
|
"$.xgafv"?:
|
|
@@ -4170,11 +4291,8 @@ declare namespace gapi.client {
|
|
|
4170
4291
|
oauth_token?:
|
|
4171
4292
|
string;
|
|
4172
4293
|
/**
|
|
4173
|
-
* Required. Parent resource name. The format of this value
|
|
4174
|
-
*
|
|
4175
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
4176
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
4177
|
-
* 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
|
|
4178
4296
|
*/
|
|
4179
4297
|
parent:
|
|
4180
4298
|
string;
|
|
@@ -4191,8 +4309,8 @@ declare namespace gapi.client {
|
|
|
4191
4309
|
uploadType?:
|
|
4192
4310
|
string;
|
|
4193
4311
|
},
|
|
4194
|
-
body:
|
|
4195
|
-
/** Deletes
|
|
4312
|
+
body: GooglePrivacyDlpV2CreateDiscoveryConfigRequest): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
4313
|
+
/** Deletes a Discovery configuration. */
|
|
4196
4314
|
delete(request?: {
|
|
4197
4315
|
/** V1 error format. */
|
|
4198
4316
|
"$.xgafv"?:
|
|
@@ -4212,10 +4330,7 @@ declare namespace gapi.client {
|
|
|
4212
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. */
|
|
4213
4331
|
key?:
|
|
4214
4332
|
string;
|
|
4215
|
-
/**
|
|
4216
|
-
* Required. Resource name of the organization and inspectTemplate to be deleted, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
4217
|
-
* projects/project-id/inspectTemplates/432452342.
|
|
4218
|
-
*/
|
|
4333
|
+
/** Required. Resource name of the project and the config, for example `projects/dlp-test-project/discoveryConfigs/53234423`. */
|
|
4219
4334
|
name:
|
|
4220
4335
|
string;
|
|
4221
4336
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4234,7 +4349,7 @@ declare namespace gapi.client {
|
|
|
4234
4349
|
uploadType?:
|
|
4235
4350
|
string;
|
|
4236
4351
|
}): Request<{}>;
|
|
4237
|
-
/** Gets
|
|
4352
|
+
/** Gets a Discovery configuration. */
|
|
4238
4353
|
get(request?: {
|
|
4239
4354
|
/** V1 error format. */
|
|
4240
4355
|
"$.xgafv"?:
|
|
@@ -4254,10 +4369,7 @@ declare namespace gapi.client {
|
|
|
4254
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. */
|
|
4255
4370
|
key?:
|
|
4256
4371
|
string;
|
|
4257
|
-
/**
|
|
4258
|
-
* Required. Resource name of the organization and inspectTemplate to be read, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
4259
|
-
* projects/project-id/inspectTemplates/432452342.
|
|
4260
|
-
*/
|
|
4372
|
+
/** Required. Resource name of the project and the configuration, for example `projects/dlp-test-project/discoveryConfigs/53234423`. */
|
|
4261
4373
|
name:
|
|
4262
4374
|
string;
|
|
4263
4375
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4275,8 +4387,8 @@ declare namespace gapi.client {
|
|
|
4275
4387
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4276
4388
|
uploadType?:
|
|
4277
4389
|
string;
|
|
4278
|
-
}): Request<
|
|
4279
|
-
/** Lists
|
|
4390
|
+
}): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
4391
|
+
/** Lists Discovery configurations. */
|
|
4280
4392
|
list(request?: {
|
|
4281
4393
|
/** V1 error format. */
|
|
4282
4394
|
"$.xgafv"?:
|
|
@@ -4296,31 +4408,25 @@ declare namespace gapi.client {
|
|
|
4296
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. */
|
|
4297
4409
|
key?:
|
|
4298
4410
|
string;
|
|
4299
|
-
/** Deprecated. This field has no effect. */
|
|
4300
|
-
locationId?:
|
|
4301
|
-
string;
|
|
4302
4411
|
/** OAuth 2.0 token for the current user. */
|
|
4303
4412
|
oauth_token?:
|
|
4304
4413
|
string;
|
|
4305
4414
|
/**
|
|
4306
|
-
* 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
|
|
4307
|
-
* are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `
|
|
4308
|
-
*
|
|
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.
|
|
4309
4418
|
*/
|
|
4310
4419
|
orderBy?:
|
|
4311
4420
|
string;
|
|
4312
|
-
/** Size of the page, can be limited by
|
|
4421
|
+
/** Size of the page, can be limited by a server. */
|
|
4313
4422
|
pageSize?:
|
|
4314
4423
|
number;
|
|
4315
|
-
/** 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. */
|
|
4316
4425
|
pageToken?:
|
|
4317
4426
|
string;
|
|
4318
4427
|
/**
|
|
4319
|
-
* Required. Parent resource name. The format of this value
|
|
4320
|
-
*
|
|
4321
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
4322
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
4323
|
-
* 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
|
|
4324
4430
|
*/
|
|
4325
4431
|
parent:
|
|
4326
4432
|
string;
|
|
@@ -4336,8 +4442,8 @@ declare namespace gapi.client {
|
|
|
4336
4442
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4337
4443
|
uploadType?:
|
|
4338
4444
|
string;
|
|
4339
|
-
}): Request<
|
|
4340
|
-
/** Updates
|
|
4445
|
+
}): Request<GooglePrivacyDlpV2ListDiscoveryConfigsResponse>;
|
|
4446
|
+
/** Updates a Discovery configuration. */
|
|
4341
4447
|
patch(request: {
|
|
4342
4448
|
/** V1 error format. */
|
|
4343
4449
|
"$.xgafv"?:
|
|
@@ -4357,10 +4463,7 @@ declare namespace gapi.client {
|
|
|
4357
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. */
|
|
4358
4464
|
key?:
|
|
4359
4465
|
string;
|
|
4360
|
-
/**
|
|
4361
|
-
* Required. Resource name of organization and inspectTemplate to be updated, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
4362
|
-
* projects/project-id/inspectTemplates/432452342.
|
|
4363
|
-
*/
|
|
4466
|
+
/** Required. Resource name of the project and the configuration, for example `projects/dlp-test-project/discoveryConfigs/53234423`. */
|
|
4364
4467
|
name:
|
|
4365
4468
|
string;
|
|
4366
4469
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4380,8 +4483,8 @@ declare namespace gapi.client {
|
|
|
4380
4483
|
string;
|
|
4381
4484
|
/** Request body */
|
|
4382
4485
|
resource:
|
|
4383
|
-
|
|
4384
|
-
}): Request<
|
|
4486
|
+
GooglePrivacyDlpV2UpdateDiscoveryConfigRequest;
|
|
4487
|
+
}): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
4385
4488
|
patch(request: {
|
|
4386
4489
|
/** V1 error format. */
|
|
4387
4490
|
"$.xgafv"?:
|
|
@@ -4401,10 +4504,7 @@ declare namespace gapi.client {
|
|
|
4401
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. */
|
|
4402
4505
|
key?:
|
|
4403
4506
|
string;
|
|
4404
|
-
/**
|
|
4405
|
-
* Required. Resource name of organization and inspectTemplate to be updated, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
4406
|
-
* projects/project-id/inspectTemplates/432452342.
|
|
4407
|
-
*/
|
|
4507
|
+
/** Required. Resource name of the project and the configuration, for example `projects/dlp-test-project/discoveryConfigs/53234423`. */
|
|
4408
4508
|
name:
|
|
4409
4509
|
string;
|
|
4410
4510
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4423,14 +4523,14 @@ declare namespace gapi.client {
|
|
|
4423
4523
|
uploadType?:
|
|
4424
4524
|
string;
|
|
4425
4525
|
},
|
|
4426
|
-
body:
|
|
4526
|
+
body: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
4427
4527
|
}
|
|
4428
|
-
interface
|
|
4528
|
+
interface DlpJobsResource {
|
|
4429
4529
|
/**
|
|
4430
|
-
*
|
|
4431
|
-
* 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.
|
|
4432
4532
|
*/
|
|
4433
|
-
|
|
4533
|
+
list(request?: {
|
|
4434
4534
|
/** V1 error format. */
|
|
4435
4535
|
"$.xgafv"?:
|
|
4436
4536
|
string;
|
|
@@ -4446,19 +4546,99 @@ declare namespace gapi.client {
|
|
|
4446
4546
|
/** Selector specifying which fields to include in a partial response. */
|
|
4447
4547
|
fields?:
|
|
4448
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;
|
|
4449
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. */
|
|
4450
4561
|
key?:
|
|
4451
4562
|
string;
|
|
4563
|
+
/** Deprecated. This field has no effect. */
|
|
4564
|
+
locationId?:
|
|
4565
|
+
string;
|
|
4452
4566
|
/** OAuth 2.0 token for the current user. */
|
|
4453
4567
|
oauth_token?:
|
|
4454
4568
|
string;
|
|
4455
4569
|
/**
|
|
4456
|
-
*
|
|
4457
|
-
*
|
|
4458
|
-
*
|
|
4459
|
-
* 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`
|
|
4460
4573
|
*/
|
|
4461
|
-
|
|
4574
|
+
orderBy?:
|
|
4575
|
+
string;
|
|
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:
|
|
4462
4642
|
string;
|
|
4463
4643
|
/** Returns response with indentations and line breaks. */
|
|
4464
4644
|
prettyPrint?:
|
|
@@ -4474,8 +4654,8 @@ declare namespace gapi.client {
|
|
|
4474
4654
|
string;
|
|
4475
4655
|
/** Request body */
|
|
4476
4656
|
resource:
|
|
4477
|
-
|
|
4478
|
-
}): Request<
|
|
4657
|
+
GooglePrivacyDlpV2CreateInspectTemplateRequest;
|
|
4658
|
+
}): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
4479
4659
|
create(request: {
|
|
4480
4660
|
/** V1 error format. */
|
|
4481
4661
|
"$.xgafv"?:
|
|
@@ -4499,9 +4679,10 @@ declare namespace gapi.client {
|
|
|
4499
4679
|
oauth_token?:
|
|
4500
4680
|
string;
|
|
4501
4681
|
/**
|
|
4502
|
-
* 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
|
|
4503
4683
|
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
4504
|
-
* 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
|
|
4505
4686
|
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4506
4687
|
*/
|
|
4507
4688
|
parent:
|
|
@@ -4519,8 +4700,8 @@ declare namespace gapi.client {
|
|
|
4519
4700
|
uploadType?:
|
|
4520
4701
|
string;
|
|
4521
4702
|
},
|
|
4522
|
-
body:
|
|
4523
|
-
/** Deletes
|
|
4703
|
+
body: GooglePrivacyDlpV2CreateInspectTemplateRequest): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
4704
|
+
/** Deletes an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. */
|
|
4524
4705
|
delete(request?: {
|
|
4525
4706
|
/** V1 error format. */
|
|
4526
4707
|
"$.xgafv"?:
|
|
@@ -4540,7 +4721,10 @@ declare namespace gapi.client {
|
|
|
4540
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. */
|
|
4541
4722
|
key?:
|
|
4542
4723
|
string;
|
|
4543
|
-
/**
|
|
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
|
+
*/
|
|
4544
4728
|
name:
|
|
4545
4729
|
string;
|
|
4546
4730
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4559,7 +4743,7 @@ declare namespace gapi.client {
|
|
|
4559
4743
|
uploadType?:
|
|
4560
4744
|
string;
|
|
4561
4745
|
}): Request<{}>;
|
|
4562
|
-
/** Gets
|
|
4746
|
+
/** Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. */
|
|
4563
4747
|
get(request?: {
|
|
4564
4748
|
/** V1 error format. */
|
|
4565
4749
|
"$.xgafv"?:
|
|
@@ -4579,7 +4763,10 @@ declare namespace gapi.client {
|
|
|
4579
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. */
|
|
4580
4764
|
key?:
|
|
4581
4765
|
string;
|
|
4582
|
-
/**
|
|
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
|
+
*/
|
|
4583
4770
|
name:
|
|
4584
4771
|
string;
|
|
4585
4772
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4597,8 +4784,8 @@ declare namespace gapi.client {
|
|
|
4597
4784
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4598
4785
|
uploadType?:
|
|
4599
4786
|
string;
|
|
4600
|
-
}): Request<
|
|
4601
|
-
/** Lists
|
|
4787
|
+
}): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
4788
|
+
/** Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more. */
|
|
4602
4789
|
list(request?: {
|
|
4603
4790
|
/** V1 error format. */
|
|
4604
4791
|
"$.xgafv"?:
|
|
@@ -4615,16 +4802,6 @@ declare namespace gapi.client {
|
|
|
4615
4802
|
/** Selector specifying which fields to include in a partial response. */
|
|
4616
4803
|
fields?:
|
|
4617
4804
|
string;
|
|
4618
|
-
/**
|
|
4619
|
-
* 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
|
|
4620
|
-
* of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect triggers: - `status` -
|
|
4621
|
-
* HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds
|
|
4622
|
-
* are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. Examples: *
|
|
4623
|
-
* inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state =
|
|
4624
|
-
* 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.
|
|
4625
|
-
*/
|
|
4626
|
-
filter?:
|
|
4627
|
-
string;
|
|
4628
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. */
|
|
4629
4806
|
key?:
|
|
4630
4807
|
string;
|
|
@@ -4635,23 +4812,23 @@ declare namespace gapi.client {
|
|
|
4635
4812
|
oauth_token?:
|
|
4636
4813
|
string;
|
|
4637
4814
|
/**
|
|
4638
|
-
* Comma separated list of
|
|
4639
|
-
*
|
|
4640
|
-
*
|
|
4641
|
-
* 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.
|
|
4642
4818
|
*/
|
|
4643
4819
|
orderBy?:
|
|
4644
4820
|
string;
|
|
4645
|
-
/** 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. */
|
|
4646
4822
|
pageSize?:
|
|
4647
4823
|
number;
|
|
4648
|
-
/** Page token to continue retrieval. Comes from previous call to
|
|
4824
|
+
/** Page token to continue retrieval. Comes from previous call to `ListInspectTemplates`. */
|
|
4649
4825
|
pageToken?:
|
|
4650
4826
|
string;
|
|
4651
4827
|
/**
|
|
4652
|
-
* 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
|
|
4653
4829
|
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
4654
|
-
* 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
|
|
4655
4832
|
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4656
4833
|
*/
|
|
4657
4834
|
parent:
|
|
@@ -4662,17 +4839,14 @@ declare namespace gapi.client {
|
|
|
4662
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. */
|
|
4663
4840
|
quotaUser?:
|
|
4664
4841
|
string;
|
|
4665
|
-
/** The type of jobs. Will use `DlpJobType.INSPECT` if not set. */
|
|
4666
|
-
type?:
|
|
4667
|
-
string;
|
|
4668
4842
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4669
4843
|
upload_protocol?:
|
|
4670
4844
|
string;
|
|
4671
4845
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4672
4846
|
uploadType?:
|
|
4673
4847
|
string;
|
|
4674
|
-
}): Request<
|
|
4675
|
-
/** Updates
|
|
4848
|
+
}): Request<GooglePrivacyDlpV2ListInspectTemplatesResponse>;
|
|
4849
|
+
/** Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. */
|
|
4676
4850
|
patch(request: {
|
|
4677
4851
|
/** V1 error format. */
|
|
4678
4852
|
"$.xgafv"?:
|
|
@@ -4692,7 +4866,10 @@ declare namespace gapi.client {
|
|
|
4692
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. */
|
|
4693
4867
|
key?:
|
|
4694
4868
|
string;
|
|
4695
|
-
/**
|
|
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
|
+
*/
|
|
4696
4873
|
name:
|
|
4697
4874
|
string;
|
|
4698
4875
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4712,8 +4889,8 @@ declare namespace gapi.client {
|
|
|
4712
4889
|
string;
|
|
4713
4890
|
/** Request body */
|
|
4714
4891
|
resource:
|
|
4715
|
-
|
|
4716
|
-
}): Request<
|
|
4892
|
+
GooglePrivacyDlpV2UpdateInspectTemplateRequest;
|
|
4893
|
+
}): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
4717
4894
|
patch(request: {
|
|
4718
4895
|
/** V1 error format. */
|
|
4719
4896
|
"$.xgafv"?:
|
|
@@ -4733,7 +4910,10 @@ declare namespace gapi.client {
|
|
|
4733
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. */
|
|
4734
4911
|
key?:
|
|
4735
4912
|
string;
|
|
4736
|
-
/**
|
|
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
|
+
*/
|
|
4737
4917
|
name:
|
|
4738
4918
|
string;
|
|
4739
4919
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4752,10 +4932,13 @@ declare namespace gapi.client {
|
|
|
4752
4932
|
uploadType?:
|
|
4753
4933
|
string;
|
|
4754
4934
|
},
|
|
4755
|
-
body:
|
|
4935
|
+
body: GooglePrivacyDlpV2UpdateInspectTemplateRequest): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
4756
4936
|
}
|
|
4757
|
-
interface
|
|
4758
|
-
/**
|
|
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
|
+
*/
|
|
4759
4942
|
create(request: {
|
|
4760
4943
|
/** V1 error format. */
|
|
4761
4944
|
"$.xgafv"?:
|
|
@@ -4779,10 +4962,9 @@ declare namespace gapi.client {
|
|
|
4779
4962
|
oauth_token?:
|
|
4780
4963
|
string;
|
|
4781
4964
|
/**
|
|
4782
|
-
* 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
|
|
4783
4966
|
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
4784
|
-
* location specified (defaults to global): `projects/`PROJECT_ID
|
|
4785
|
-
* 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
|
|
4786
4968
|
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4787
4969
|
*/
|
|
4788
4970
|
parent:
|
|
@@ -4801,8 +4983,8 @@ declare namespace gapi.client {
|
|
|
4801
4983
|
string;
|
|
4802
4984
|
/** Request body */
|
|
4803
4985
|
resource:
|
|
4804
|
-
|
|
4805
|
-
}): Request<
|
|
4986
|
+
GooglePrivacyDlpV2CreateJobTriggerRequest;
|
|
4987
|
+
}): Request<GooglePrivacyDlpV2JobTrigger>;
|
|
4806
4988
|
create(request: {
|
|
4807
4989
|
/** V1 error format. */
|
|
4808
4990
|
"$.xgafv"?:
|
|
@@ -4826,10 +5008,9 @@ declare namespace gapi.client {
|
|
|
4826
5008
|
oauth_token?:
|
|
4827
5009
|
string;
|
|
4828
5010
|
/**
|
|
4829
|
-
* 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
|
|
4830
5012
|
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
4831
|
-
* location specified (defaults to global): `projects/`PROJECT_ID
|
|
4832
|
-
* 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
|
|
4833
5014
|
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
4834
5015
|
*/
|
|
4835
5016
|
parent:
|
|
@@ -4847,8 +5028,8 @@ declare namespace gapi.client {
|
|
|
4847
5028
|
uploadType?:
|
|
4848
5029
|
string;
|
|
4849
5030
|
},
|
|
4850
|
-
body:
|
|
4851
|
-
/** 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. */
|
|
4852
5033
|
delete(request?: {
|
|
4853
5034
|
/** V1 error format. */
|
|
4854
5035
|
"$.xgafv"?:
|
|
@@ -4868,10 +5049,7 @@ declare namespace gapi.client {
|
|
|
4868
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. */
|
|
4869
5050
|
key?:
|
|
4870
5051
|
string;
|
|
4871
|
-
/**
|
|
4872
|
-
* Required. Resource name of the organization and storedInfoType to be deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
|
|
4873
|
-
* projects/project-id/storedInfoTypes/432452342.
|
|
4874
|
-
*/
|
|
5052
|
+
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
4875
5053
|
name:
|
|
4876
5054
|
string;
|
|
4877
5055
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4890,7 +5068,7 @@ declare namespace gapi.client {
|
|
|
4890
5068
|
uploadType?:
|
|
4891
5069
|
string;
|
|
4892
5070
|
}): Request<{}>;
|
|
4893
|
-
/** Gets a
|
|
5071
|
+
/** Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. */
|
|
4894
5072
|
get(request?: {
|
|
4895
5073
|
/** V1 error format. */
|
|
4896
5074
|
"$.xgafv"?:
|
|
@@ -4910,10 +5088,7 @@ declare namespace gapi.client {
|
|
|
4910
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. */
|
|
4911
5089
|
key?:
|
|
4912
5090
|
string;
|
|
4913
|
-
/**
|
|
4914
|
-
* Required. Resource name of the organization and storedInfoType to be read, for example `organizations/433245324/storedInfoTypes/432452342` or
|
|
4915
|
-
* projects/project-id/storedInfoTypes/432452342.
|
|
4916
|
-
*/
|
|
5091
|
+
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
4917
5092
|
name:
|
|
4918
5093
|
string;
|
|
4919
5094
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4931,8 +5106,8 @@ declare namespace gapi.client {
|
|
|
4931
5106
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4932
5107
|
uploadType?:
|
|
4933
5108
|
string;
|
|
4934
|
-
}): Request<
|
|
4935
|
-
/** Lists
|
|
5109
|
+
}): Request<GooglePrivacyDlpV2JobTrigger>;
|
|
5110
|
+
/** Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. */
|
|
4936
5111
|
list(request?: {
|
|
4937
5112
|
/** V1 error format. */
|
|
4938
5113
|
"$.xgafv"?:
|
|
@@ -4949,6 +5124,16 @@ declare namespace gapi.client {
|
|
|
4949
5124
|
/** Selector specifying which fields to include in a partial response. */
|
|
4950
5125
|
fields?:
|
|
4951
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;
|
|
4952
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. */
|
|
4953
5138
|
key?:
|
|
4954
5139
|
string;
|
|
@@ -4959,20 +5144,21 @@ declare namespace gapi.client {
|
|
|
4959
5144
|
oauth_token?:
|
|
4960
5145
|
string;
|
|
4961
5146
|
/**
|
|
4962
|
-
* 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
|
|
4963
|
-
* are insignificant. Example: `name asc,
|
|
4964
|
-
*
|
|
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.
|
|
4965
5151
|
*/
|
|
4966
5152
|
orderBy?:
|
|
4967
5153
|
string;
|
|
4968
|
-
/** Size of the page, can be limited by
|
|
5154
|
+
/** Size of the page, can be limited by a server. */
|
|
4969
5155
|
pageSize?:
|
|
4970
5156
|
number;
|
|
4971
|
-
/** 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. */
|
|
4972
5158
|
pageToken?:
|
|
4973
5159
|
string;
|
|
4974
5160
|
/**
|
|
4975
|
-
* 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
|
|
4976
5162
|
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
4977
5163
|
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
4978
5164
|
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
@@ -4985,17 +5171,17 @@ declare namespace gapi.client {
|
|
|
4985
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. */
|
|
4986
5172
|
quotaUser?:
|
|
4987
5173
|
string;
|
|
5174
|
+
/** The type of jobs. Will use `DlpJobType.INSPECT` if not set. */
|
|
5175
|
+
type?:
|
|
5176
|
+
string;
|
|
4988
5177
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4989
5178
|
upload_protocol?:
|
|
4990
5179
|
string;
|
|
4991
5180
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4992
5181
|
uploadType?:
|
|
4993
5182
|
string;
|
|
4994
|
-
}): Request<
|
|
4995
|
-
/**
|
|
4996
|
-
* Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See
|
|
4997
|
-
* https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
|
|
4998
|
-
*/
|
|
5183
|
+
}): Request<GooglePrivacyDlpV2ListJobTriggersResponse>;
|
|
5184
|
+
/** Updates a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. */
|
|
4999
5185
|
patch(request: {
|
|
5000
5186
|
/** V1 error format. */
|
|
5001
5187
|
"$.xgafv"?:
|
|
@@ -5015,10 +5201,7 @@ declare namespace gapi.client {
|
|
|
5015
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. */
|
|
5016
5202
|
key?:
|
|
5017
5203
|
string;
|
|
5018
|
-
/**
|
|
5019
|
-
* Required. Resource name of organization and storedInfoType to be updated, for example `organizations/433245324/storedInfoTypes/432452342` or
|
|
5020
|
-
* projects/project-id/storedInfoTypes/432452342.
|
|
5021
|
-
*/
|
|
5204
|
+
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
5022
5205
|
name:
|
|
5023
5206
|
string;
|
|
5024
5207
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -5038,8 +5221,8 @@ declare namespace gapi.client {
|
|
|
5038
5221
|
string;
|
|
5039
5222
|
/** Request body */
|
|
5040
5223
|
resource:
|
|
5041
|
-
|
|
5042
|
-
}): Request<
|
|
5224
|
+
GooglePrivacyDlpV2UpdateJobTriggerRequest;
|
|
5225
|
+
}): Request<GooglePrivacyDlpV2JobTrigger>;
|
|
5043
5226
|
patch(request: {
|
|
5044
5227
|
/** V1 error format. */
|
|
5045
5228
|
"$.xgafv"?:
|
|
@@ -5059,10 +5242,7 @@ declare namespace gapi.client {
|
|
|
5059
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. */
|
|
5060
5243
|
key?:
|
|
5061
5244
|
string;
|
|
5062
|
-
/**
|
|
5063
|
-
* Required. Resource name of organization and storedInfoType to be updated, for example `organizations/433245324/storedInfoTypes/432452342` or
|
|
5064
|
-
* projects/project-id/storedInfoTypes/432452342.
|
|
5065
|
-
*/
|
|
5245
|
+
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
5066
5246
|
name:
|
|
5067
5247
|
string;
|
|
5068
5248
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -5081,19 +5261,7 @@ declare namespace gapi.client {
|
|
|
5081
5261
|
uploadType?:
|
|
5082
5262
|
string;
|
|
5083
5263
|
},
|
|
5084
|
-
body:
|
|
5085
|
-
}
|
|
5086
|
-
interface LocationsResource {
|
|
5087
|
-
deidentifyTemplates:
|
|
5088
|
-
DeidentifyTemplatesResource;
|
|
5089
|
-
dlpJobs:
|
|
5090
|
-
DlpJobsResource;
|
|
5091
|
-
inspectTemplates:
|
|
5092
|
-
InspectTemplatesResource;
|
|
5093
|
-
jobTriggers:
|
|
5094
|
-
JobTriggersResource;
|
|
5095
|
-
storedInfoTypes:
|
|
5096
|
-
StoredInfoTypesResource;
|
|
5264
|
+
body: GooglePrivacyDlpV2UpdateJobTriggerRequest): Request<GooglePrivacyDlpV2JobTrigger>;
|
|
5097
5265
|
}
|
|
5098
5266
|
interface StoredInfoTypesResource {
|
|
5099
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. */
|
|
@@ -5424,23 +5592,461 @@ declare namespace gapi.client {
|
|
|
5424
5592
|
},
|
|
5425
5593
|
body: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest): Request<GooglePrivacyDlpV2StoredInfoType>;
|
|
5426
5594
|
}
|
|
5427
|
-
interface
|
|
5595
|
+
interface LocationsResource {
|
|
5428
5596
|
deidentifyTemplates:
|
|
5429
5597
|
DeidentifyTemplatesResource;
|
|
5598
|
+
discoveryConfigs:
|
|
5599
|
+
DiscoveryConfigsResource;
|
|
5600
|
+
dlpJobs:
|
|
5601
|
+
DlpJobsResource;
|
|
5430
5602
|
inspectTemplates:
|
|
5431
5603
|
InspectTemplatesResource;
|
|
5432
|
-
|
|
5433
|
-
|
|
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;
|
|
5434
5945
|
storedInfoTypes:
|
|
5435
5946
|
StoredInfoTypesResource;
|
|
5436
5947
|
}
|
|
5437
5948
|
interface ContentResource {
|
|
5438
5949
|
/**
|
|
5439
|
-
* 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
|
|
5440
|
-
* 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
|
|
5441
|
-
* 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,
|
|
5442
6048
|
*/
|
|
5443
|
-
|
|
6049
|
+
inspect(request: {
|
|
5444
6050
|
/** V1 error format. */
|
|
5445
6051
|
"$.xgafv"?:
|
|
5446
6052
|
string;
|
|
@@ -5484,9 +6090,9 @@ declare namespace gapi.client {
|
|
|
5484
6090
|
string;
|
|
5485
6091
|
/** Request body */
|
|
5486
6092
|
resource:
|
|
5487
|
-
|
|
5488
|
-
}): Request<
|
|
5489
|
-
|
|
6093
|
+
GooglePrivacyDlpV2InspectContentRequest;
|
|
6094
|
+
}): Request<GooglePrivacyDlpV2InspectContentResponse>;
|
|
6095
|
+
inspect(request: {
|
|
5490
6096
|
/** V1 error format. */
|
|
5491
6097
|
"$.xgafv"?:
|
|
5492
6098
|
string;
|
|
@@ -5514,7 +6120,239 @@ declare namespace gapi.client {
|
|
|
5514
6120
|
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
5515
6121
|
* parent=projects/example-project/locations/europe-west3
|
|
5516
6122
|
*/
|
|
5517
|
-
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?:
|
|
5518
6356
|
string;
|
|
5519
6357
|
/** Returns response with indentations and line breaks. */
|
|
5520
6358
|
prettyPrint?:
|
|
@@ -5528,14 +6366,9 @@ declare namespace gapi.client {
|
|
|
5528
6366
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5529
6367
|
uploadType?:
|
|
5530
6368
|
string;
|
|
5531
|
-
}
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
* 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
|
|
5535
|
-
* 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
|
|
5536
|
-
* https://cloud.google.com/dlp/docs/inspecting-images and https://cloud.google.com/dlp/docs/inspecting-text,
|
|
5537
|
-
*/
|
|
5538
|
-
inspect(request: {
|
|
6369
|
+
}): Request<{}>;
|
|
6370
|
+
/** Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. */
|
|
6371
|
+
get(request?: {
|
|
5539
6372
|
/** V1 error format. */
|
|
5540
6373
|
"$.xgafv"?:
|
|
5541
6374
|
string;
|
|
@@ -5554,16 +6387,14 @@ declare namespace gapi.client {
|
|
|
5554
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. */
|
|
5555
6388
|
key?:
|
|
5556
6389
|
string;
|
|
5557
|
-
/** OAuth 2.0 token for the current user. */
|
|
5558
|
-
oauth_token?:
|
|
5559
|
-
string;
|
|
5560
6390
|
/**
|
|
5561
|
-
*
|
|
5562
|
-
*
|
|
5563
|
-
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
5564
|
-
* 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.
|
|
5565
6393
|
*/
|
|
5566
|
-
|
|
6394
|
+
name:
|
|
6395
|
+
string;
|
|
6396
|
+
/** OAuth 2.0 token for the current user. */
|
|
6397
|
+
oauth_token?:
|
|
5567
6398
|
string;
|
|
5568
6399
|
/** Returns response with indentations and line breaks. */
|
|
5569
6400
|
prettyPrint?:
|
|
@@ -5577,11 +6408,9 @@ declare namespace gapi.client {
|
|
|
5577
6408
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5578
6409
|
uploadType?:
|
|
5579
6410
|
string;
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
}): Request<GooglePrivacyDlpV2InspectContentResponse>;
|
|
5584
|
-
inspect(request: {
|
|
6411
|
+
}): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
6412
|
+
/** Lists DeidentifyTemplates. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. */
|
|
6413
|
+
list(request?: {
|
|
5585
6414
|
/** V1 error format. */
|
|
5586
6415
|
"$.xgafv"?:
|
|
5587
6416
|
string;
|
|
@@ -5600,14 +6429,31 @@ declare namespace gapi.client {
|
|
|
5600
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. */
|
|
5601
6430
|
key?:
|
|
5602
6431
|
string;
|
|
6432
|
+
/** Deprecated. This field has no effect. */
|
|
6433
|
+
locationId?:
|
|
6434
|
+
string;
|
|
5603
6435
|
/** OAuth 2.0 token for the current user. */
|
|
5604
6436
|
oauth_token?:
|
|
5605
6437
|
string;
|
|
5606
6438
|
/**
|
|
5607
|
-
*
|
|
5608
|
-
*
|
|
5609
|
-
*
|
|
5610
|
-
|
|
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
|
|
5611
6457
|
*/
|
|
5612
6458
|
parent:
|
|
5613
6459
|
string;
|
|
@@ -5623,10 +6469,9 @@ declare namespace gapi.client {
|
|
|
5623
6469
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5624
6470
|
uploadType?:
|
|
5625
6471
|
string;
|
|
5626
|
-
}
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
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: {
|
|
5630
6475
|
/** V1 error format. */
|
|
5631
6476
|
"$.xgafv"?:
|
|
5632
6477
|
string;
|
|
@@ -5645,16 +6490,14 @@ declare namespace gapi.client {
|
|
|
5645
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. */
|
|
5646
6491
|
key?:
|
|
5647
6492
|
string;
|
|
5648
|
-
/** OAuth 2.0 token for the current user. */
|
|
5649
|
-
oauth_token?:
|
|
5650
|
-
string;
|
|
5651
6493
|
/**
|
|
5652
|
-
* Required.
|
|
5653
|
-
*
|
|
5654
|
-
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
5655
|
-
* 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.
|
|
5656
6496
|
*/
|
|
5657
|
-
|
|
6497
|
+
name:
|
|
6498
|
+
string;
|
|
6499
|
+
/** OAuth 2.0 token for the current user. */
|
|
6500
|
+
oauth_token?:
|
|
5658
6501
|
string;
|
|
5659
6502
|
/** Returns response with indentations and line breaks. */
|
|
5660
6503
|
prettyPrint?:
|
|
@@ -5670,9 +6513,9 @@ declare namespace gapi.client {
|
|
|
5670
6513
|
string;
|
|
5671
6514
|
/** Request body */
|
|
5672
6515
|
resource:
|
|
5673
|
-
|
|
5674
|
-
}): Request<
|
|
5675
|
-
|
|
6516
|
+
GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest;
|
|
6517
|
+
}): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
6518
|
+
patch(request: {
|
|
5676
6519
|
/** V1 error format. */
|
|
5677
6520
|
"$.xgafv"?:
|
|
5678
6521
|
string;
|
|
@@ -5691,16 +6534,14 @@ declare namespace gapi.client {
|
|
|
5691
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. */
|
|
5692
6535
|
key?:
|
|
5693
6536
|
string;
|
|
5694
|
-
/** OAuth 2.0 token for the current user. */
|
|
5695
|
-
oauth_token?:
|
|
5696
|
-
string;
|
|
5697
6537
|
/**
|
|
5698
|
-
* Required.
|
|
5699
|
-
*
|
|
5700
|
-
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
5701
|
-
* 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.
|
|
5702
6540
|
*/
|
|
5703
|
-
|
|
6541
|
+
name:
|
|
6542
|
+
string;
|
|
6543
|
+
/** OAuth 2.0 token for the current user. */
|
|
6544
|
+
oauth_token?:
|
|
5704
6545
|
string;
|
|
5705
6546
|
/** Returns response with indentations and line breaks. */
|
|
5706
6547
|
prettyPrint?:
|
|
@@ -5715,14 +6556,14 @@ declare namespace gapi.client {
|
|
|
5715
6556
|
uploadType?:
|
|
5716
6557
|
string;
|
|
5717
6558
|
},
|
|
5718
|
-
body:
|
|
6559
|
+
body: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
5719
6560
|
}
|
|
5720
|
-
interface
|
|
6561
|
+
interface DlpJobsResource {
|
|
5721
6562
|
/**
|
|
5722
|
-
*
|
|
5723
|
-
* 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.
|
|
5724
6565
|
*/
|
|
5725
|
-
|
|
6566
|
+
cancel(request: {
|
|
5726
6567
|
/** V1 error format. */
|
|
5727
6568
|
"$.xgafv"?:
|
|
5728
6569
|
string;
|
|
@@ -5741,18 +6582,12 @@ declare namespace gapi.client {
|
|
|
5741
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. */
|
|
5742
6583
|
key?:
|
|
5743
6584
|
string;
|
|
6585
|
+
/** Required. The name of the DlpJob resource to be cancelled. */
|
|
6586
|
+
name:
|
|
6587
|
+
string;
|
|
5744
6588
|
/** OAuth 2.0 token for the current user. */
|
|
5745
6589
|
oauth_token?:
|
|
5746
6590
|
string;
|
|
5747
|
-
/**
|
|
5748
|
-
* 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
|
|
5749
|
-
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
5750
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
5751
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
5752
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
5753
|
-
*/
|
|
5754
|
-
parent:
|
|
5755
|
-
string;
|
|
5756
6591
|
/** Returns response with indentations and line breaks. */
|
|
5757
6592
|
prettyPrint?:
|
|
5758
6593
|
boolean;
|
|
@@ -5767,9 +6602,9 @@ declare namespace gapi.client {
|
|
|
5767
6602
|
string;
|
|
5768
6603
|
/** Request body */
|
|
5769
6604
|
resource:
|
|
5770
|
-
|
|
5771
|
-
}): Request<
|
|
5772
|
-
|
|
6605
|
+
GooglePrivacyDlpV2CancelDlpJobRequest;
|
|
6606
|
+
}): Request<{}>;
|
|
6607
|
+
cancel(request: {
|
|
5773
6608
|
/** V1 error format. */
|
|
5774
6609
|
"$.xgafv"?:
|
|
5775
6610
|
string;
|
|
@@ -5788,18 +6623,12 @@ declare namespace gapi.client {
|
|
|
5788
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. */
|
|
5789
6624
|
key?:
|
|
5790
6625
|
string;
|
|
6626
|
+
/** Required. The name of the DlpJob resource to be cancelled. */
|
|
6627
|
+
name:
|
|
6628
|
+
string;
|
|
5791
6629
|
/** OAuth 2.0 token for the current user. */
|
|
5792
6630
|
oauth_token?:
|
|
5793
6631
|
string;
|
|
5794
|
-
/**
|
|
5795
|
-
* 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
|
|
5796
|
-
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
5797
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
5798
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
5799
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
5800
|
-
*/
|
|
5801
|
-
parent:
|
|
5802
|
-
string;
|
|
5803
6632
|
/** Returns response with indentations and line breaks. */
|
|
5804
6633
|
prettyPrint?:
|
|
5805
6634
|
boolean;
|
|
@@ -5813,9 +6642,13 @@ declare namespace gapi.client {
|
|
|
5813
6642
|
uploadType?:
|
|
5814
6643
|
string;
|
|
5815
6644
|
},
|
|
5816
|
-
body:
|
|
5817
|
-
/**
|
|
5818
|
-
|
|
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: {
|
|
5819
6652
|
/** V1 error format. */
|
|
5820
6653
|
"$.xgafv"?:
|
|
5821
6654
|
string;
|
|
@@ -5834,15 +6667,17 @@ declare namespace gapi.client {
|
|
|
5834
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. */
|
|
5835
6668
|
key?:
|
|
5836
6669
|
string;
|
|
5837
|
-
/**
|
|
5838
|
-
* Required. Resource name of the organization and deidentify template to be deleted, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
5839
|
-
* projects/project-id/deidentifyTemplates/432452342.
|
|
5840
|
-
*/
|
|
5841
|
-
name:
|
|
5842
|
-
string;
|
|
5843
6670
|
/** OAuth 2.0 token for the current user. */
|
|
5844
6671
|
oauth_token?:
|
|
5845
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;
|
|
5846
6681
|
/** Returns response with indentations and line breaks. */
|
|
5847
6682
|
prettyPrint?:
|
|
5848
6683
|
boolean;
|
|
@@ -5855,9 +6690,11 @@ declare namespace gapi.client {
|
|
|
5855
6690
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5856
6691
|
uploadType?:
|
|
5857
6692
|
string;
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
|
|
6693
|
+
/** Request body */
|
|
6694
|
+
resource:
|
|
6695
|
+
GooglePrivacyDlpV2CreateDlpJobRequest;
|
|
6696
|
+
}): Request<GooglePrivacyDlpV2DlpJob>;
|
|
6697
|
+
create(request: {
|
|
5861
6698
|
/** V1 error format. */
|
|
5862
6699
|
"$.xgafv"?:
|
|
5863
6700
|
string;
|
|
@@ -5876,15 +6713,17 @@ declare namespace gapi.client {
|
|
|
5876
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. */
|
|
5877
6714
|
key?:
|
|
5878
6715
|
string;
|
|
5879
|
-
/**
|
|
5880
|
-
* Required. Resource name of the organization and deidentify template to be read, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
5881
|
-
* projects/project-id/deidentifyTemplates/432452342.
|
|
5882
|
-
*/
|
|
5883
|
-
name:
|
|
5884
|
-
string;
|
|
5885
6716
|
/** OAuth 2.0 token for the current user. */
|
|
5886
6717
|
oauth_token?:
|
|
5887
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;
|
|
5888
6727
|
/** Returns response with indentations and line breaks. */
|
|
5889
6728
|
prettyPrint?:
|
|
5890
6729
|
boolean;
|
|
@@ -5897,9 +6736,13 @@ declare namespace gapi.client {
|
|
|
5897
6736
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5898
6737
|
uploadType?:
|
|
5899
6738
|
string;
|
|
5900
|
-
}
|
|
5901
|
-
|
|
5902
|
-
|
|
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?: {
|
|
5903
6746
|
/** V1 error format. */
|
|
5904
6747
|
"$.xgafv"?:
|
|
5905
6748
|
string;
|
|
@@ -5918,34 +6761,12 @@ declare namespace gapi.client {
|
|
|
5918
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. */
|
|
5919
6762
|
key?:
|
|
5920
6763
|
string;
|
|
5921
|
-
/**
|
|
5922
|
-
|
|
6764
|
+
/** Required. The name of the DlpJob resource to be deleted. */
|
|
6765
|
+
name:
|
|
5923
6766
|
string;
|
|
5924
6767
|
/** OAuth 2.0 token for the current user. */
|
|
5925
6768
|
oauth_token?:
|
|
5926
6769
|
string;
|
|
5927
|
-
/**
|
|
5928
|
-
* 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
|
|
5929
|
-
* 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`:
|
|
5930
|
-
* 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.
|
|
5931
|
-
*/
|
|
5932
|
-
orderBy?:
|
|
5933
|
-
string;
|
|
5934
|
-
/** Size of the page, can be limited by the server. If zero server returns a page of max size 100. */
|
|
5935
|
-
pageSize?:
|
|
5936
|
-
number;
|
|
5937
|
-
/** Page token to continue retrieval. Comes from previous call to `ListDeidentifyTemplates`. */
|
|
5938
|
-
pageToken?:
|
|
5939
|
-
string;
|
|
5940
|
-
/**
|
|
5941
|
-
* 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
|
|
5942
|
-
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
5943
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
5944
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
5945
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
5946
|
-
*/
|
|
5947
|
-
parent:
|
|
5948
|
-
string;
|
|
5949
6770
|
/** Returns response with indentations and line breaks. */
|
|
5950
6771
|
prettyPrint?:
|
|
5951
6772
|
boolean;
|
|
@@ -5958,9 +6779,9 @@ declare namespace gapi.client {
|
|
|
5958
6779
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5959
6780
|
uploadType?:
|
|
5960
6781
|
string;
|
|
5961
|
-
}): Request<
|
|
5962
|
-
/**
|
|
5963
|
-
|
|
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?: {
|
|
5964
6785
|
/** V1 error format. */
|
|
5965
6786
|
"$.xgafv"?:
|
|
5966
6787
|
string;
|
|
@@ -5979,10 +6800,7 @@ declare namespace gapi.client {
|
|
|
5979
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. */
|
|
5980
6801
|
key?:
|
|
5981
6802
|
string;
|
|
5982
|
-
/**
|
|
5983
|
-
* Required. Resource name of organization and deidentify template to be updated, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
5984
|
-
* projects/project-id/deidentifyTemplates/432452342.
|
|
5985
|
-
*/
|
|
6803
|
+
/** Required. The name of the DlpJob resource. */
|
|
5986
6804
|
name:
|
|
5987
6805
|
string;
|
|
5988
6806
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -6000,11 +6818,12 @@ declare namespace gapi.client {
|
|
|
6000
6818
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6001
6819
|
uploadType?:
|
|
6002
6820
|
string;
|
|
6003
|
-
|
|
6004
|
-
|
|
6005
|
-
|
|
6006
|
-
|
|
6007
|
-
|
|
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?: {
|
|
6008
6827
|
/** V1 error format. */
|
|
6009
6828
|
"$.xgafv"?:
|
|
6010
6829
|
string;
|
|
@@ -6020,39 +6839,71 @@ declare namespace gapi.client {
|
|
|
6020
6839
|
/** Selector specifying which fields to include in a partial response. */
|
|
6021
6840
|
fields?:
|
|
6022
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;
|
|
6023
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. */
|
|
6024
6854
|
key?:
|
|
6025
6855
|
string;
|
|
6026
|
-
/**
|
|
6027
|
-
|
|
6028
|
-
* projects/project-id/deidentifyTemplates/432452342.
|
|
6029
|
-
*/
|
|
6030
|
-
name:
|
|
6856
|
+
/** Deprecated. This field has no effect. */
|
|
6857
|
+
locationId?:
|
|
6031
6858
|
string;
|
|
6032
6859
|
/** OAuth 2.0 token for the current user. */
|
|
6033
6860
|
oauth_token?:
|
|
6034
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;
|
|
6035
6883
|
/** Returns response with indentations and line breaks. */
|
|
6036
6884
|
prettyPrint?:
|
|
6037
6885
|
boolean;
|
|
6038
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. */
|
|
6039
6887
|
quotaUser?:
|
|
6040
6888
|
string;
|
|
6889
|
+
/** The type of job. Defaults to `DlpJobType.INSPECT` */
|
|
6890
|
+
type?:
|
|
6891
|
+
string;
|
|
6041
6892
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6042
6893
|
upload_protocol?:
|
|
6043
6894
|
string;
|
|
6044
6895
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6045
6896
|
uploadType?:
|
|
6046
6897
|
string;
|
|
6047
|
-
}
|
|
6048
|
-
body: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
6898
|
+
}): Request<GooglePrivacyDlpV2ListDlpJobsResponse>;
|
|
6049
6899
|
}
|
|
6050
|
-
interface
|
|
6900
|
+
interface ImageResource {
|
|
6051
6901
|
/**
|
|
6052
|
-
*
|
|
6053
|
-
* 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.
|
|
6054
6905
|
*/
|
|
6055
|
-
|
|
6906
|
+
redact(request: {
|
|
6056
6907
|
/** V1 error format. */
|
|
6057
6908
|
"$.xgafv"?:
|
|
6058
6909
|
string;
|
|
@@ -6071,12 +6922,17 @@ declare namespace gapi.client {
|
|
|
6071
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. */
|
|
6072
6923
|
key?:
|
|
6073
6924
|
string;
|
|
6074
|
-
/** Required. The name of the DlpJob resource to be cancelled. */
|
|
6075
|
-
name:
|
|
6076
|
-
string;
|
|
6077
6925
|
/** OAuth 2.0 token for the current user. */
|
|
6078
6926
|
oauth_token?:
|
|
6079
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;
|
|
6080
6936
|
/** Returns response with indentations and line breaks. */
|
|
6081
6937
|
prettyPrint?:
|
|
6082
6938
|
boolean;
|
|
@@ -6091,9 +6947,9 @@ declare namespace gapi.client {
|
|
|
6091
6947
|
string;
|
|
6092
6948
|
/** Request body */
|
|
6093
6949
|
resource:
|
|
6094
|
-
|
|
6095
|
-
}): Request<
|
|
6096
|
-
|
|
6950
|
+
GooglePrivacyDlpV2RedactImageRequest;
|
|
6951
|
+
}): Request<GooglePrivacyDlpV2RedactImageResponse>;
|
|
6952
|
+
redact(request: {
|
|
6097
6953
|
/** V1 error format. */
|
|
6098
6954
|
"$.xgafv"?:
|
|
6099
6955
|
string;
|
|
@@ -6112,12 +6968,17 @@ declare namespace gapi.client {
|
|
|
6112
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. */
|
|
6113
6969
|
key?:
|
|
6114
6970
|
string;
|
|
6115
|
-
/** Required. The name of the DlpJob resource to be cancelled. */
|
|
6116
|
-
name:
|
|
6117
|
-
string;
|
|
6118
6971
|
/** OAuth 2.0 token for the current user. */
|
|
6119
6972
|
oauth_token?:
|
|
6120
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;
|
|
6121
6982
|
/** Returns response with indentations and line breaks. */
|
|
6122
6983
|
prettyPrint?:
|
|
6123
6984
|
boolean;
|
|
@@ -6131,11 +6992,12 @@ declare namespace gapi.client {
|
|
|
6131
6992
|
uploadType?:
|
|
6132
6993
|
string;
|
|
6133
6994
|
},
|
|
6134
|
-
body:
|
|
6995
|
+
body: GooglePrivacyDlpV2RedactImageRequest): Request<GooglePrivacyDlpV2RedactImageResponse>;
|
|
6996
|
+
}
|
|
6997
|
+
interface InspectTemplatesResource {
|
|
6135
6998
|
/**
|
|
6136
|
-
* Creates
|
|
6137
|
-
*
|
|
6138
|
-
* 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.
|
|
6139
7001
|
*/
|
|
6140
7002
|
create(request: {
|
|
6141
7003
|
/** V1 error format. */
|
|
@@ -6160,9 +7022,10 @@ declare namespace gapi.client {
|
|
|
6160
7022
|
oauth_token?:
|
|
6161
7023
|
string;
|
|
6162
7024
|
/**
|
|
6163
|
-
* 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
|
|
6164
7026
|
* 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
|
|
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
|
|
6166
7029
|
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6167
7030
|
*/
|
|
6168
7031
|
parent:
|
|
@@ -6181,8 +7044,8 @@ declare namespace gapi.client {
|
|
|
6181
7044
|
string;
|
|
6182
7045
|
/** Request body */
|
|
6183
7046
|
resource:
|
|
6184
|
-
|
|
6185
|
-
}): Request<
|
|
7047
|
+
GooglePrivacyDlpV2CreateInspectTemplateRequest;
|
|
7048
|
+
}): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
6186
7049
|
create(request: {
|
|
6187
7050
|
/** V1 error format. */
|
|
6188
7051
|
"$.xgafv"?:
|
|
@@ -6206,9 +7069,10 @@ declare namespace gapi.client {
|
|
|
6206
7069
|
oauth_token?:
|
|
6207
7070
|
string;
|
|
6208
7071
|
/**
|
|
6209
|
-
* 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
|
|
6210
7073
|
* 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
|
|
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
|
|
6212
7076
|
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6213
7077
|
*/
|
|
6214
7078
|
parent:
|
|
@@ -6226,11 +7090,8 @@ declare namespace gapi.client {
|
|
|
6226
7090
|
uploadType?:
|
|
6227
7091
|
string;
|
|
6228
7092
|
},
|
|
6229
|
-
body:
|
|
6230
|
-
/**
|
|
6231
|
-
* 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
|
|
6232
|
-
* https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
|
|
6233
|
-
*/
|
|
7093
|
+
body: GooglePrivacyDlpV2CreateInspectTemplateRequest): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
7094
|
+
/** Deletes an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. */
|
|
6234
7095
|
delete(request?: {
|
|
6235
7096
|
/** V1 error format. */
|
|
6236
7097
|
"$.xgafv"?:
|
|
@@ -6250,7 +7111,10 @@ declare namespace gapi.client {
|
|
|
6250
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. */
|
|
6251
7112
|
key?:
|
|
6252
7113
|
string;
|
|
6253
|
-
/**
|
|
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
|
+
*/
|
|
6254
7118
|
name:
|
|
6255
7119
|
string;
|
|
6256
7120
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -6269,7 +7133,7 @@ declare namespace gapi.client {
|
|
|
6269
7133
|
uploadType?:
|
|
6270
7134
|
string;
|
|
6271
7135
|
}): Request<{}>;
|
|
6272
|
-
/** Gets
|
|
7136
|
+
/** Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. */
|
|
6273
7137
|
get(request?: {
|
|
6274
7138
|
/** V1 error format. */
|
|
6275
7139
|
"$.xgafv"?:
|
|
@@ -6289,7 +7153,10 @@ declare namespace gapi.client {
|
|
|
6289
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. */
|
|
6290
7154
|
key?:
|
|
6291
7155
|
string;
|
|
6292
|
-
/**
|
|
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
|
+
*/
|
|
6293
7160
|
name:
|
|
6294
7161
|
string;
|
|
6295
7162
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -6307,11 +7174,8 @@ declare namespace gapi.client {
|
|
|
6307
7174
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6308
7175
|
uploadType?:
|
|
6309
7176
|
string;
|
|
6310
|
-
}): Request<
|
|
6311
|
-
/**
|
|
6312
|
-
* 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
|
|
6313
|
-
* learn more.
|
|
6314
|
-
*/
|
|
7177
|
+
}): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
7178
|
+
/** Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more. */
|
|
6315
7179
|
list(request?: {
|
|
6316
7180
|
/** V1 error format. */
|
|
6317
7181
|
"$.xgafv"?:
|
|
@@ -6328,17 +7192,6 @@ declare namespace gapi.client {
|
|
|
6328
7192
|
/** Selector specifying which fields to include in a partial response. */
|
|
6329
7193
|
fields?:
|
|
6330
7194
|
string;
|
|
6331
|
-
/**
|
|
6332
|
-
* 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
|
|
6333
|
-
* of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect jobs: - `state` -
|
|
6334
|
-
* PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` -
|
|
6335
|
-
* Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` -
|
|
6336
|
-
* 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 `=`
|
|
6337
|
-
* or `!=`. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage
|
|
6338
|
-
* 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.
|
|
6339
|
-
*/
|
|
6340
|
-
filter?:
|
|
6341
|
-
string;
|
|
6342
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. */
|
|
6343
7196
|
key?:
|
|
6344
7197
|
string;
|
|
@@ -6350,21 +7203,22 @@ declare namespace gapi.client {
|
|
|
6350
7203
|
string;
|
|
6351
7204
|
/**
|
|
6352
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
|
|
6353
|
-
* are insignificant. Example: `name asc,
|
|
6354
|
-
* 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.
|
|
6355
7208
|
*/
|
|
6356
7209
|
orderBy?:
|
|
6357
7210
|
string;
|
|
6358
|
-
/**
|
|
7211
|
+
/** Size of the page, can be limited by the server. If zero server returns a page of max size 100. */
|
|
6359
7212
|
pageSize?:
|
|
6360
7213
|
number;
|
|
6361
|
-
/**
|
|
7214
|
+
/** Page token to continue retrieval. Comes from previous call to `ListInspectTemplates`. */
|
|
6362
7215
|
pageToken?:
|
|
6363
7216
|
string;
|
|
6364
7217
|
/**
|
|
6365
|
-
* 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
|
|
6366
7219
|
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
6367
|
-
* 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
|
|
6368
7222
|
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6369
7223
|
*/
|
|
6370
7224
|
parent:
|
|
@@ -6375,24 +7229,15 @@ declare namespace gapi.client {
|
|
|
6375
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. */
|
|
6376
7230
|
quotaUser?:
|
|
6377
7231
|
string;
|
|
6378
|
-
/** The type of job. Defaults to `DlpJobType.INSPECT` */
|
|
6379
|
-
type?:
|
|
6380
|
-
string;
|
|
6381
7232
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6382
7233
|
upload_protocol?:
|
|
6383
7234
|
string;
|
|
6384
7235
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6385
7236
|
uploadType?:
|
|
6386
7237
|
string;
|
|
6387
|
-
}): Request<
|
|
6388
|
-
|
|
6389
|
-
|
|
6390
|
-
/**
|
|
6391
|
-
* Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See
|
|
6392
|
-
* 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
|
|
6393
|
-
* choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
|
|
6394
|
-
*/
|
|
6395
|
-
redact(request: {
|
|
7238
|
+
}): Request<GooglePrivacyDlpV2ListInspectTemplatesResponse>;
|
|
7239
|
+
/** Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. */
|
|
7240
|
+
patch(request: {
|
|
6396
7241
|
/** V1 error format. */
|
|
6397
7242
|
"$.xgafv"?:
|
|
6398
7243
|
string;
|
|
@@ -6411,16 +7256,14 @@ declare namespace gapi.client {
|
|
|
6411
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. */
|
|
6412
7257
|
key?:
|
|
6413
7258
|
string;
|
|
6414
|
-
/** OAuth 2.0 token for the current user. */
|
|
6415
|
-
oauth_token?:
|
|
6416
|
-
string;
|
|
6417
7259
|
/**
|
|
6418
|
-
*
|
|
6419
|
-
*
|
|
6420
|
-
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
6421
|
-
* 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.
|
|
6422
7262
|
*/
|
|
6423
|
-
|
|
7263
|
+
name:
|
|
7264
|
+
string;
|
|
7265
|
+
/** OAuth 2.0 token for the current user. */
|
|
7266
|
+
oauth_token?:
|
|
6424
7267
|
string;
|
|
6425
7268
|
/** Returns response with indentations and line breaks. */
|
|
6426
7269
|
prettyPrint?:
|
|
@@ -6436,9 +7279,9 @@ declare namespace gapi.client {
|
|
|
6436
7279
|
string;
|
|
6437
7280
|
/** Request body */
|
|
6438
7281
|
resource:
|
|
6439
|
-
|
|
6440
|
-
}): Request<
|
|
6441
|
-
|
|
7282
|
+
GooglePrivacyDlpV2UpdateInspectTemplateRequest;
|
|
7283
|
+
}): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
7284
|
+
patch(request: {
|
|
6442
7285
|
/** V1 error format. */
|
|
6443
7286
|
"$.xgafv"?:
|
|
6444
7287
|
string;
|
|
@@ -6457,16 +7300,14 @@ declare namespace gapi.client {
|
|
|
6457
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. */
|
|
6458
7301
|
key?:
|
|
6459
7302
|
string;
|
|
6460
|
-
/** OAuth 2.0 token for the current user. */
|
|
6461
|
-
oauth_token?:
|
|
6462
|
-
string;
|
|
6463
7303
|
/**
|
|
6464
|
-
*
|
|
6465
|
-
*
|
|
6466
|
-
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
6467
|
-
* 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.
|
|
6468
7306
|
*/
|
|
6469
|
-
|
|
7307
|
+
name:
|
|
7308
|
+
string;
|
|
7309
|
+
/** OAuth 2.0 token for the current user. */
|
|
7310
|
+
oauth_token?:
|
|
6470
7311
|
string;
|
|
6471
7312
|
/** Returns response with indentations and line breaks. */
|
|
6472
7313
|
prettyPrint?:
|
|
@@ -6481,14 +7322,11 @@ declare namespace gapi.client {
|
|
|
6481
7322
|
uploadType?:
|
|
6482
7323
|
string;
|
|
6483
7324
|
},
|
|
6484
|
-
body:
|
|
7325
|
+
body: GooglePrivacyDlpV2UpdateInspectTemplateRequest): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
6485
7326
|
}
|
|
6486
|
-
interface
|
|
6487
|
-
/**
|
|
6488
|
-
|
|
6489
|
-
* more.
|
|
6490
|
-
*/
|
|
6491
|
-
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: {
|
|
6492
7330
|
/** V1 error format. */
|
|
6493
7331
|
"$.xgafv"?:
|
|
6494
7332
|
string;
|
|
@@ -6507,18 +7345,12 @@ declare namespace gapi.client {
|
|
|
6507
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. */
|
|
6508
7346
|
key?:
|
|
6509
7347
|
string;
|
|
7348
|
+
/** Required. Resource name of the trigger to activate, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
7349
|
+
name:
|
|
7350
|
+
string;
|
|
6510
7351
|
/** OAuth 2.0 token for the current user. */
|
|
6511
7352
|
oauth_token?:
|
|
6512
7353
|
string;
|
|
6513
|
-
/**
|
|
6514
|
-
* 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
|
|
6515
|
-
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
6516
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
6517
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
6518
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6519
|
-
*/
|
|
6520
|
-
parent:
|
|
6521
|
-
string;
|
|
6522
7354
|
/** Returns response with indentations and line breaks. */
|
|
6523
7355
|
prettyPrint?:
|
|
6524
7356
|
boolean;
|
|
@@ -6533,9 +7365,9 @@ declare namespace gapi.client {
|
|
|
6533
7365
|
string;
|
|
6534
7366
|
/** Request body */
|
|
6535
7367
|
resource:
|
|
6536
|
-
|
|
6537
|
-
}): Request<
|
|
6538
|
-
|
|
7368
|
+
GooglePrivacyDlpV2ActivateJobTriggerRequest;
|
|
7369
|
+
}): Request<GooglePrivacyDlpV2DlpJob>;
|
|
7370
|
+
activate(request: {
|
|
6539
7371
|
/** V1 error format. */
|
|
6540
7372
|
"$.xgafv"?:
|
|
6541
7373
|
string;
|
|
@@ -6554,18 +7386,12 @@ declare namespace gapi.client {
|
|
|
6554
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. */
|
|
6555
7387
|
key?:
|
|
6556
7388
|
string;
|
|
7389
|
+
/** Required. Resource name of the trigger to activate, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
7390
|
+
name:
|
|
7391
|
+
string;
|
|
6557
7392
|
/** OAuth 2.0 token for the current user. */
|
|
6558
7393
|
oauth_token?:
|
|
6559
7394
|
string;
|
|
6560
|
-
/**
|
|
6561
|
-
* 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
|
|
6562
|
-
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
6563
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
6564
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
6565
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6566
|
-
*/
|
|
6567
|
-
parent:
|
|
6568
|
-
string;
|
|
6569
7395
|
/** Returns response with indentations and line breaks. */
|
|
6570
7396
|
prettyPrint?:
|
|
6571
7397
|
boolean;
|
|
@@ -6579,9 +7405,12 @@ declare namespace gapi.client {
|
|
|
6579
7405
|
uploadType?:
|
|
6580
7406
|
string;
|
|
6581
7407
|
},
|
|
6582
|
-
body:
|
|
6583
|
-
/**
|
|
6584
|
-
|
|
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: {
|
|
6585
7414
|
/** V1 error format. */
|
|
6586
7415
|
"$.xgafv"?:
|
|
6587
7416
|
string;
|
|
@@ -6597,18 +7426,20 @@ declare namespace gapi.client {
|
|
|
6597
7426
|
/** Selector specifying which fields to include in a partial response. */
|
|
6598
7427
|
fields?:
|
|
6599
7428
|
string;
|
|
6600
|
-
/** 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. */
|
|
6601
|
-
key?:
|
|
6602
|
-
string;
|
|
6603
|
-
/**
|
|
6604
|
-
* Required. Resource name of the organization and inspectTemplate to be deleted, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
6605
|
-
* projects/project-id/inspectTemplates/432452342.
|
|
6606
|
-
*/
|
|
6607
|
-
name:
|
|
6608
|
-
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;
|
|
6609
7432
|
/** OAuth 2.0 token for the current user. */
|
|
6610
7433
|
oauth_token?:
|
|
6611
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;
|
|
6612
7443
|
/** Returns response with indentations and line breaks. */
|
|
6613
7444
|
prettyPrint?:
|
|
6614
7445
|
boolean;
|
|
@@ -6621,9 +7452,11 @@ declare namespace gapi.client {
|
|
|
6621
7452
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6622
7453
|
uploadType?:
|
|
6623
7454
|
string;
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
7455
|
+
/** Request body */
|
|
7456
|
+
resource:
|
|
7457
|
+
GooglePrivacyDlpV2CreateJobTriggerRequest;
|
|
7458
|
+
}): Request<GooglePrivacyDlpV2JobTrigger>;
|
|
7459
|
+
create(request: {
|
|
6627
7460
|
/** V1 error format. */
|
|
6628
7461
|
"$.xgafv"?:
|
|
6629
7462
|
string;
|
|
@@ -6642,15 +7475,17 @@ declare namespace gapi.client {
|
|
|
6642
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. */
|
|
6643
7476
|
key?:
|
|
6644
7477
|
string;
|
|
6645
|
-
/**
|
|
6646
|
-
* Required. Resource name of the organization and inspectTemplate to be read, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
6647
|
-
* projects/project-id/inspectTemplates/432452342.
|
|
6648
|
-
*/
|
|
6649
|
-
name:
|
|
6650
|
-
string;
|
|
6651
7478
|
/** OAuth 2.0 token for the current user. */
|
|
6652
7479
|
oauth_token?:
|
|
6653
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;
|
|
6654
7489
|
/** Returns response with indentations and line breaks. */
|
|
6655
7490
|
prettyPrint?:
|
|
6656
7491
|
boolean;
|
|
@@ -6663,9 +7498,10 @@ declare namespace gapi.client {
|
|
|
6663
7498
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6664
7499
|
uploadType?:
|
|
6665
7500
|
string;
|
|
6666
|
-
}
|
|
6667
|
-
|
|
6668
|
-
|
|
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?: {
|
|
6669
7505
|
/** V1 error format. */
|
|
6670
7506
|
"$.xgafv"?:
|
|
6671
7507
|
string;
|
|
@@ -6684,34 +7520,12 @@ declare namespace gapi.client {
|
|
|
6684
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. */
|
|
6685
7521
|
key?:
|
|
6686
7522
|
string;
|
|
6687
|
-
/**
|
|
6688
|
-
|
|
7523
|
+
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
7524
|
+
name:
|
|
6689
7525
|
string;
|
|
6690
7526
|
/** OAuth 2.0 token for the current user. */
|
|
6691
7527
|
oauth_token?:
|
|
6692
7528
|
string;
|
|
6693
|
-
/**
|
|
6694
|
-
* 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
|
|
6695
|
-
* 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`:
|
|
6696
|
-
* 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.
|
|
6697
|
-
*/
|
|
6698
|
-
orderBy?:
|
|
6699
|
-
string;
|
|
6700
|
-
/** Size of the page, can be limited by the server. If zero server returns a page of max size 100. */
|
|
6701
|
-
pageSize?:
|
|
6702
|
-
number;
|
|
6703
|
-
/** Page token to continue retrieval. Comes from previous call to `ListInspectTemplates`. */
|
|
6704
|
-
pageToken?:
|
|
6705
|
-
string;
|
|
6706
|
-
/**
|
|
6707
|
-
* 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
|
|
6708
|
-
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
6709
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
6710
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
6711
|
-
* specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3
|
|
6712
|
-
*/
|
|
6713
|
-
parent:
|
|
6714
|
-
string;
|
|
6715
7529
|
/** Returns response with indentations and line breaks. */
|
|
6716
7530
|
prettyPrint?:
|
|
6717
7531
|
boolean;
|
|
@@ -6724,9 +7538,9 @@ declare namespace gapi.client {
|
|
|
6724
7538
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6725
7539
|
uploadType?:
|
|
6726
7540
|
string;
|
|
6727
|
-
}): Request<
|
|
6728
|
-
/**
|
|
6729
|
-
|
|
7541
|
+
}): Request<{}>;
|
|
7542
|
+
/** Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. */
|
|
7543
|
+
get(request?: {
|
|
6730
7544
|
/** V1 error format. */
|
|
6731
7545
|
"$.xgafv"?:
|
|
6732
7546
|
string;
|
|
@@ -6745,10 +7559,7 @@ declare namespace gapi.client {
|
|
|
6745
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. */
|
|
6746
7560
|
key?:
|
|
6747
7561
|
string;
|
|
6748
|
-
/**
|
|
6749
|
-
* Required. Resource name of organization and inspectTemplate to be updated, for example `organizations/433245324/inspectTemplates/432452342` or
|
|
6750
|
-
* projects/project-id/inspectTemplates/432452342.
|
|
6751
|
-
*/
|
|
7562
|
+
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
6752
7563
|
name:
|
|
6753
7564
|
string;
|
|
6754
7565
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -6766,11 +7577,9 @@ declare namespace gapi.client {
|
|
|
6766
7577
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6767
7578
|
uploadType?:
|
|
6768
7579
|
string;
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
}): Request<GooglePrivacyDlpV2InspectTemplate>;
|
|
6773
|
-
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?: {
|
|
6774
7583
|
/** V1 error format. */
|
|
6775
7584
|
"$.xgafv"?:
|
|
6776
7585
|
string;
|
|
@@ -6786,36 +7595,65 @@ declare namespace gapi.client {
|
|
|
6786
7595
|
/** Selector specifying which fields to include in a partial response. */
|
|
6787
7596
|
fields?:
|
|
6788
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;
|
|
6789
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. */
|
|
6790
7609
|
key?:
|
|
6791
7610
|
string;
|
|
6792
|
-
/**
|
|
6793
|
-
|
|
6794
|
-
* projects/project-id/inspectTemplates/432452342.
|
|
6795
|
-
*/
|
|
6796
|
-
name:
|
|
7611
|
+
/** Deprecated. This field has no effect. */
|
|
7612
|
+
locationId?:
|
|
6797
7613
|
string;
|
|
6798
7614
|
/** OAuth 2.0 token for the current user. */
|
|
6799
7615
|
oauth_token?:
|
|
6800
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;
|
|
6801
7639
|
/** Returns response with indentations and line breaks. */
|
|
6802
7640
|
prettyPrint?:
|
|
6803
7641
|
boolean;
|
|
6804
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. */
|
|
6805
7643
|
quotaUser?:
|
|
6806
7644
|
string;
|
|
7645
|
+
/** The type of jobs. Will use `DlpJobType.INSPECT` if not set. */
|
|
7646
|
+
type?:
|
|
7647
|
+
string;
|
|
6807
7648
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6808
7649
|
upload_protocol?:
|
|
6809
7650
|
string;
|
|
6810
7651
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6811
7652
|
uploadType?:
|
|
6812
7653
|
string;
|
|
6813
|
-
}
|
|
6814
|
-
|
|
6815
|
-
|
|
6816
|
-
interface JobTriggersResource {
|
|
6817
|
-
/** Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur. */
|
|
6818
|
-
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: {
|
|
6819
7657
|
/** V1 error format. */
|
|
6820
7658
|
"$.xgafv"?:
|
|
6821
7659
|
string;
|
|
@@ -6834,7 +7672,7 @@ declare namespace gapi.client {
|
|
|
6834
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. */
|
|
6835
7673
|
key?:
|
|
6836
7674
|
string;
|
|
6837
|
-
/** Required. Resource name of the
|
|
7675
|
+
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
6838
7676
|
name:
|
|
6839
7677
|
string;
|
|
6840
7678
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -6854,9 +7692,9 @@ declare namespace gapi.client {
|
|
|
6854
7692
|
string;
|
|
6855
7693
|
/** Request body */
|
|
6856
7694
|
resource:
|
|
6857
|
-
|
|
6858
|
-
}): Request<
|
|
6859
|
-
|
|
7695
|
+
GooglePrivacyDlpV2UpdateJobTriggerRequest;
|
|
7696
|
+
}): Request<GooglePrivacyDlpV2JobTrigger>;
|
|
7697
|
+
patch(request: {
|
|
6860
7698
|
/** V1 error format. */
|
|
6861
7699
|
"$.xgafv"?:
|
|
6862
7700
|
string;
|
|
@@ -6875,7 +7713,7 @@ declare namespace gapi.client {
|
|
|
6875
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. */
|
|
6876
7714
|
key?:
|
|
6877
7715
|
string;
|
|
6878
|
-
/** Required. Resource name of the
|
|
7716
|
+
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
6879
7717
|
name:
|
|
6880
7718
|
string;
|
|
6881
7719
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -6894,12 +7732,15 @@ declare namespace gapi.client {
|
|
|
6894
7732
|
uploadType?:
|
|
6895
7733
|
string;
|
|
6896
7734
|
},
|
|
6897
|
-
body:
|
|
7735
|
+
body: GooglePrivacyDlpV2UpdateJobTriggerRequest): Request<GooglePrivacyDlpV2JobTrigger>;
|
|
7736
|
+
}
|
|
7737
|
+
interface ContentResource {
|
|
6898
7738
|
/**
|
|
6899
|
-
*
|
|
6900
|
-
* 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.
|
|
6901
7742
|
*/
|
|
6902
|
-
|
|
7743
|
+
deidentify(request: {
|
|
6903
7744
|
/** V1 error format. */
|
|
6904
7745
|
"$.xgafv"?:
|
|
6905
7746
|
string;
|
|
@@ -6922,10 +7763,10 @@ declare namespace gapi.client {
|
|
|
6922
7763
|
oauth_token?:
|
|
6923
7764
|
string;
|
|
6924
7765
|
/**
|
|
6925
|
-
*
|
|
6926
|
-
*
|
|
6927
|
-
*
|
|
6928
|
-
*
|
|
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
|
|
6929
7770
|
*/
|
|
6930
7771
|
parent:
|
|
6931
7772
|
string;
|
|
@@ -6943,9 +7784,9 @@ declare namespace gapi.client {
|
|
|
6943
7784
|
string;
|
|
6944
7785
|
/** Request body */
|
|
6945
7786
|
resource:
|
|
6946
|
-
|
|
6947
|
-
}): Request<
|
|
6948
|
-
|
|
7787
|
+
GooglePrivacyDlpV2DeidentifyContentRequest;
|
|
7788
|
+
}): Request<GooglePrivacyDlpV2DeidentifyContentResponse>;
|
|
7789
|
+
deidentify(request: {
|
|
6949
7790
|
/** V1 error format. */
|
|
6950
7791
|
"$.xgafv"?:
|
|
6951
7792
|
string;
|
|
@@ -6968,10 +7809,10 @@ declare namespace gapi.client {
|
|
|
6968
7809
|
oauth_token?:
|
|
6969
7810
|
string;
|
|
6970
7811
|
/**
|
|
6971
|
-
*
|
|
6972
|
-
*
|
|
6973
|
-
*
|
|
6974
|
-
*
|
|
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
|
|
6975
7816
|
*/
|
|
6976
7817
|
parent:
|
|
6977
7818
|
string;
|
|
@@ -6988,9 +7829,13 @@ declare namespace gapi.client {
|
|
|
6988
7829
|
uploadType?:
|
|
6989
7830
|
string;
|
|
6990
7831
|
},
|
|
6991
|
-
body:
|
|
6992
|
-
/**
|
|
6993
|
-
|
|
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: {
|
|
6994
7839
|
/** V1 error format. */
|
|
6995
7840
|
"$.xgafv"?:
|
|
6996
7841
|
string;
|
|
@@ -7009,12 +7854,17 @@ declare namespace gapi.client {
|
|
|
7009
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. */
|
|
7010
7855
|
key?:
|
|
7011
7856
|
string;
|
|
7012
|
-
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
7013
|
-
name:
|
|
7014
|
-
string;
|
|
7015
7857
|
/** OAuth 2.0 token for the current user. */
|
|
7016
7858
|
oauth_token?:
|
|
7017
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;
|
|
7018
7868
|
/** Returns response with indentations and line breaks. */
|
|
7019
7869
|
prettyPrint?:
|
|
7020
7870
|
boolean;
|
|
@@ -7027,9 +7877,11 @@ declare namespace gapi.client {
|
|
|
7027
7877
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7028
7878
|
uploadType?:
|
|
7029
7879
|
string;
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7880
|
+
/** Request body */
|
|
7881
|
+
resource:
|
|
7882
|
+
GooglePrivacyDlpV2InspectContentRequest;
|
|
7883
|
+
}): Request<GooglePrivacyDlpV2InspectContentResponse>;
|
|
7884
|
+
inspect(request: {
|
|
7033
7885
|
/** V1 error format. */
|
|
7034
7886
|
"$.xgafv"?:
|
|
7035
7887
|
string;
|
|
@@ -7048,12 +7900,17 @@ declare namespace gapi.client {
|
|
|
7048
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. */
|
|
7049
7901
|
key?:
|
|
7050
7902
|
string;
|
|
7051
|
-
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
7052
|
-
name:
|
|
7053
|
-
string;
|
|
7054
7903
|
/** OAuth 2.0 token for the current user. */
|
|
7055
7904
|
oauth_token?:
|
|
7056
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;
|
|
7057
7914
|
/** Returns response with indentations and line breaks. */
|
|
7058
7915
|
prettyPrint?:
|
|
7059
7916
|
boolean;
|
|
@@ -7066,9 +7923,10 @@ declare namespace gapi.client {
|
|
|
7066
7923
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7067
7924
|
uploadType?:
|
|
7068
7925
|
string;
|
|
7069
|
-
}
|
|
7070
|
-
|
|
7071
|
-
|
|
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: {
|
|
7072
7930
|
/** V1 error format. */
|
|
7073
7931
|
"$.xgafv"?:
|
|
7074
7932
|
string;
|
|
@@ -7084,39 +7942,12 @@ declare namespace gapi.client {
|
|
|
7084
7942
|
/** Selector specifying which fields to include in a partial response. */
|
|
7085
7943
|
fields?:
|
|
7086
7944
|
string;
|
|
7087
|
-
/**
|
|
7088
|
-
* 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
|
|
7089
|
-
* of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect triggers: - `status` -
|
|
7090
|
-
* HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds
|
|
7091
|
-
* are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. Examples: *
|
|
7092
|
-
* inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state =
|
|
7093
|
-
* 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.
|
|
7094
|
-
*/
|
|
7095
|
-
filter?:
|
|
7096
|
-
string;
|
|
7097
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. */
|
|
7098
7946
|
key?:
|
|
7099
7947
|
string;
|
|
7100
|
-
/**
|
|
7101
|
-
|
|
7102
|
-
string;
|
|
7103
|
-
/** OAuth 2.0 token for the current user. */
|
|
7104
|
-
oauth_token?:
|
|
7105
|
-
string;
|
|
7106
|
-
/**
|
|
7107
|
-
* 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
|
|
7108
|
-
* characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. -
|
|
7109
|
-
* `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
|
|
7110
|
-
* JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.
|
|
7111
|
-
*/
|
|
7112
|
-
orderBy?:
|
|
7113
|
-
string;
|
|
7114
|
-
/** Size of the page, can be limited by a server. */
|
|
7115
|
-
pageSize?:
|
|
7116
|
-
number;
|
|
7117
|
-
/** Page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls. */
|
|
7118
|
-
pageToken?:
|
|
7119
|
-
string;
|
|
7948
|
+
/** OAuth 2.0 token for the current user. */
|
|
7949
|
+
oauth_token?:
|
|
7950
|
+
string;
|
|
7120
7951
|
/**
|
|
7121
7952
|
* Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
7122
7953
|
* location](https://cloud.google.com/dlp/docs/specifying-location): + Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
@@ -7131,18 +7962,17 @@ declare namespace gapi.client {
|
|
|
7131
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. */
|
|
7132
7963
|
quotaUser?:
|
|
7133
7964
|
string;
|
|
7134
|
-
/** The type of jobs. Will use `DlpJobType.INSPECT` if not set. */
|
|
7135
|
-
type?:
|
|
7136
|
-
string;
|
|
7137
7965
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7138
7966
|
upload_protocol?:
|
|
7139
7967
|
string;
|
|
7140
7968
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7141
7969
|
uploadType?:
|
|
7142
7970
|
string;
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7971
|
+
/** Request body */
|
|
7972
|
+
resource:
|
|
7973
|
+
GooglePrivacyDlpV2ReidentifyContentRequest;
|
|
7974
|
+
}): Request<GooglePrivacyDlpV2ReidentifyContentResponse>;
|
|
7975
|
+
reidentify(request: {
|
|
7146
7976
|
/** V1 error format. */
|
|
7147
7977
|
"$.xgafv"?:
|
|
7148
7978
|
string;
|
|
@@ -7161,12 +7991,17 @@ declare namespace gapi.client {
|
|
|
7161
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. */
|
|
7162
7992
|
key?:
|
|
7163
7993
|
string;
|
|
7164
|
-
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
7165
|
-
name:
|
|
7166
|
-
string;
|
|
7167
7994
|
/** OAuth 2.0 token for the current user. */
|
|
7168
7995
|
oauth_token?:
|
|
7169
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;
|
|
7170
8005
|
/** Returns response with indentations and line breaks. */
|
|
7171
8006
|
prettyPrint?:
|
|
7172
8007
|
boolean;
|
|
@@ -7179,11 +8014,15 @@ declare namespace gapi.client {
|
|
|
7179
8014
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7180
8015
|
uploadType?:
|
|
7181
8016
|
string;
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
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: {
|
|
7187
8026
|
/** V1 error format. */
|
|
7188
8027
|
"$.xgafv"?:
|
|
7189
8028
|
string;
|
|
@@ -7202,12 +8041,18 @@ declare namespace gapi.client {
|
|
|
7202
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. */
|
|
7203
8042
|
key?:
|
|
7204
8043
|
string;
|
|
7205
|
-
/** Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`. */
|
|
7206
|
-
name:
|
|
7207
|
-
string;
|
|
7208
8044
|
/** OAuth 2.0 token for the current user. */
|
|
7209
8045
|
oauth_token?:
|
|
7210
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;
|
|
7211
8056
|
/** Returns response with indentations and line breaks. */
|
|
7212
8057
|
prettyPrint?:
|
|
7213
8058
|
boolean;
|
|
@@ -7220,16 +8065,11 @@ declare namespace gapi.client {
|
|
|
7220
8065
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7221
8066
|
uploadType?:
|
|
7222
8067
|
string;
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
* 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
|
|
7229
|
-
* 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
|
|
7230
|
-
* change over time as detectors are updated.
|
|
7231
|
-
*/
|
|
7232
|
-
deidentify(request: {
|
|
8068
|
+
/** Request body */
|
|
8069
|
+
resource:
|
|
8070
|
+
GooglePrivacyDlpV2CreateDeidentifyTemplateRequest;
|
|
8071
|
+
}): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
8072
|
+
create(request: {
|
|
7233
8073
|
/** V1 error format. */
|
|
7234
8074
|
"$.xgafv"?:
|
|
7235
8075
|
string;
|
|
@@ -7252,10 +8092,11 @@ declare namespace gapi.client {
|
|
|
7252
8092
|
oauth_token?:
|
|
7253
8093
|
string;
|
|
7254
8094
|
/**
|
|
7255
|
-
* Parent resource name. The format of this value varies depending on whether you have [specified a processing
|
|
7256
|
-
* Projects scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
|
|
7257
|
-
*
|
|
7258
|
-
* 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
|
|
7259
8100
|
*/
|
|
7260
8101
|
parent:
|
|
7261
8102
|
string;
|
|
@@ -7271,11 +8112,10 @@ declare namespace gapi.client {
|
|
|
7271
8112
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7272
8113
|
uploadType?:
|
|
7273
8114
|
string;
|
|
7274
|
-
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
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?: {
|
|
7279
8119
|
/** V1 error format. */
|
|
7280
8120
|
"$.xgafv"?:
|
|
7281
8121
|
string;
|
|
@@ -7294,16 +8134,14 @@ declare namespace gapi.client {
|
|
|
7294
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. */
|
|
7295
8135
|
key?:
|
|
7296
8136
|
string;
|
|
7297
|
-
/** OAuth 2.0 token for the current user. */
|
|
7298
|
-
oauth_token?:
|
|
7299
|
-
string;
|
|
7300
8137
|
/**
|
|
7301
|
-
*
|
|
7302
|
-
*
|
|
7303
|
-
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
7304
|
-
* 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.
|
|
7305
8140
|
*/
|
|
7306
|
-
|
|
8141
|
+
name:
|
|
8142
|
+
string;
|
|
8143
|
+
/** OAuth 2.0 token for the current user. */
|
|
8144
|
+
oauth_token?:
|
|
7307
8145
|
string;
|
|
7308
8146
|
/** Returns response with indentations and line breaks. */
|
|
7309
8147
|
prettyPrint?:
|
|
@@ -7317,14 +8155,9 @@ declare namespace gapi.client {
|
|
|
7317
8155
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7318
8156
|
uploadType?:
|
|
7319
8157
|
string;
|
|
7320
|
-
}
|
|
7321
|
-
|
|
7322
|
-
|
|
7323
|
-
* 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
|
|
7324
|
-
* 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
|
|
7325
|
-
* https://cloud.google.com/dlp/docs/inspecting-images and https://cloud.google.com/dlp/docs/inspecting-text,
|
|
7326
|
-
*/
|
|
7327
|
-
inspect(request: {
|
|
8158
|
+
}): Request<{}>;
|
|
8159
|
+
/** Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. */
|
|
8160
|
+
get(request?: {
|
|
7328
8161
|
/** V1 error format. */
|
|
7329
8162
|
"$.xgafv"?:
|
|
7330
8163
|
string;
|
|
@@ -7343,16 +8176,14 @@ declare namespace gapi.client {
|
|
|
7343
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. */
|
|
7344
8177
|
key?:
|
|
7345
8178
|
string;
|
|
7346
|
-
/** OAuth 2.0 token for the current user. */
|
|
7347
|
-
oauth_token?:
|
|
7348
|
-
string;
|
|
7349
8179
|
/**
|
|
7350
|
-
*
|
|
7351
|
-
*
|
|
7352
|
-
* following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data:
|
|
7353
|
-
* 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.
|
|
7354
8182
|
*/
|
|
7355
|
-
|
|
8183
|
+
name:
|
|
8184
|
+
string;
|
|
8185
|
+
/** OAuth 2.0 token for the current user. */
|
|
8186
|
+
oauth_token?:
|
|
7356
8187
|
string;
|
|
7357
8188
|
/** Returns response with indentations and line breaks. */
|
|
7358
8189
|
prettyPrint?:
|
|
@@ -7366,11 +8197,9 @@ declare namespace gapi.client {
|
|
|
7366
8197
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7367
8198
|
uploadType?:
|
|
7368
8199
|
string;
|
|
7369
|
-
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
}): Request<GooglePrivacyDlpV2InspectContentResponse>;
|
|
7373
|
-
inspect(request: {
|
|
8200
|
+
}): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
8201
|
+
/** Lists DeidentifyTemplates. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. */
|
|
8202
|
+
list(request?: {
|
|
7374
8203
|
/** V1 error format. */
|
|
7375
8204
|
"$.xgafv"?:
|
|
7376
8205
|
string;
|
|
@@ -7389,14 +8218,31 @@ declare namespace gapi.client {
|
|
|
7389
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. */
|
|
7390
8219
|
key?:
|
|
7391
8220
|
string;
|
|
8221
|
+
/** Deprecated. This field has no effect. */
|
|
8222
|
+
locationId?:
|
|
8223
|
+
string;
|
|
7392
8224
|
/** OAuth 2.0 token for the current user. */
|
|
7393
8225
|
oauth_token?:
|
|
7394
8226
|
string;
|
|
7395
8227
|
/**
|
|
7396
|
-
*
|
|
7397
|
-
*
|
|
7398
|
-
*
|
|
7399
|
-
|
|
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
|
|
7400
8246
|
*/
|
|
7401
8247
|
parent:
|
|
7402
8248
|
string;
|
|
@@ -7412,10 +8258,9 @@ declare namespace gapi.client {
|
|
|
7412
8258
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7413
8259
|
uploadType?:
|
|
7414
8260
|
string;
|
|
7415
|
-
}
|
|
7416
|
-
|
|
7417
|
-
|
|
7418
|
-
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: {
|
|
7419
8264
|
/** V1 error format. */
|
|
7420
8265
|
"$.xgafv"?:
|
|
7421
8266
|
string;
|
|
@@ -7434,16 +8279,14 @@ declare namespace gapi.client {
|
|
|
7434
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. */
|
|
7435
8280
|
key?:
|
|
7436
8281
|
string;
|
|
7437
|
-
/** OAuth 2.0 token for the current user. */
|
|
7438
|
-
oauth_token?:
|
|
7439
|
-
string;
|
|
7440
8282
|
/**
|
|
7441
|
-
* Required.
|
|
7442
|
-
*
|
|
7443
|
-
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
7444
|
-
* 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.
|
|
7445
8285
|
*/
|
|
7446
|
-
|
|
8286
|
+
name:
|
|
8287
|
+
string;
|
|
8288
|
+
/** OAuth 2.0 token for the current user. */
|
|
8289
|
+
oauth_token?:
|
|
7447
8290
|
string;
|
|
7448
8291
|
/** Returns response with indentations and line breaks. */
|
|
7449
8292
|
prettyPrint?:
|
|
@@ -7459,9 +8302,9 @@ declare namespace gapi.client {
|
|
|
7459
8302
|
string;
|
|
7460
8303
|
/** Request body */
|
|
7461
8304
|
resource:
|
|
7462
|
-
|
|
7463
|
-
}): Request<
|
|
7464
|
-
|
|
8305
|
+
GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest;
|
|
8306
|
+
}): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
8307
|
+
patch(request: {
|
|
7465
8308
|
/** V1 error format. */
|
|
7466
8309
|
"$.xgafv"?:
|
|
7467
8310
|
string;
|
|
@@ -7480,16 +8323,14 @@ declare namespace gapi.client {
|
|
|
7480
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. */
|
|
7481
8324
|
key?:
|
|
7482
8325
|
string;
|
|
7483
|
-
/** OAuth 2.0 token for the current user. */
|
|
7484
|
-
oauth_token?:
|
|
7485
|
-
string;
|
|
7486
8326
|
/**
|
|
7487
|
-
* Required.
|
|
7488
|
-
*
|
|
7489
|
-
* location specified (defaults to global): `projects/`PROJECT_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
7490
|
-
* 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.
|
|
7491
8329
|
*/
|
|
7492
|
-
|
|
8330
|
+
name:
|
|
8331
|
+
string;
|
|
8332
|
+
/** OAuth 2.0 token for the current user. */
|
|
8333
|
+
oauth_token?:
|
|
7493
8334
|
string;
|
|
7494
8335
|
/** Returns response with indentations and line breaks. */
|
|
7495
8336
|
prettyPrint?:
|
|
@@ -7504,13 +8345,10 @@ declare namespace gapi.client {
|
|
|
7504
8345
|
uploadType?:
|
|
7505
8346
|
string;
|
|
7506
8347
|
},
|
|
7507
|
-
body:
|
|
8348
|
+
body: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest): Request<GooglePrivacyDlpV2DeidentifyTemplate>;
|
|
7508
8349
|
}
|
|
7509
|
-
interface
|
|
7510
|
-
/**
|
|
7511
|
-
* 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
|
|
7512
|
-
* to learn more.
|
|
7513
|
-
*/
|
|
8350
|
+
interface DiscoveryConfigsResource {
|
|
8351
|
+
/** Creates a config for Discovery to scan and profile storage. */
|
|
7514
8352
|
create(request: {
|
|
7515
8353
|
/** V1 error format. */
|
|
7516
8354
|
"$.xgafv"?:
|
|
@@ -7534,11 +8372,8 @@ declare namespace gapi.client {
|
|
|
7534
8372
|
oauth_token?:
|
|
7535
8373
|
string;
|
|
7536
8374
|
/**
|
|
7537
|
-
* Required. Parent resource name. The format of this value
|
|
7538
|
-
*
|
|
7539
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
7540
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
7541
|
-
* 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
|
|
7542
8377
|
*/
|
|
7543
8378
|
parent:
|
|
7544
8379
|
string;
|
|
@@ -7556,8 +8391,8 @@ declare namespace gapi.client {
|
|
|
7556
8391
|
string;
|
|
7557
8392
|
/** Request body */
|
|
7558
8393
|
resource:
|
|
7559
|
-
|
|
7560
|
-
}): Request<
|
|
8394
|
+
GooglePrivacyDlpV2CreateDiscoveryConfigRequest;
|
|
8395
|
+
}): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
7561
8396
|
create(request: {
|
|
7562
8397
|
/** V1 error format. */
|
|
7563
8398
|
"$.xgafv"?:
|
|
@@ -7581,11 +8416,8 @@ declare namespace gapi.client {
|
|
|
7581
8416
|
oauth_token?:
|
|
7582
8417
|
string;
|
|
7583
8418
|
/**
|
|
7584
|
-
* Required. Parent resource name. The format of this value
|
|
7585
|
-
*
|
|
7586
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
7587
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
7588
|
-
* 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
|
|
7589
8421
|
*/
|
|
7590
8422
|
parent:
|
|
7591
8423
|
string;
|
|
@@ -7602,8 +8434,8 @@ declare namespace gapi.client {
|
|
|
7602
8434
|
uploadType?:
|
|
7603
8435
|
string;
|
|
7604
8436
|
},
|
|
7605
|
-
body:
|
|
7606
|
-
/** Deletes a
|
|
8437
|
+
body: GooglePrivacyDlpV2CreateDiscoveryConfigRequest): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
8438
|
+
/** Deletes a Discovery configuration. */
|
|
7607
8439
|
delete(request?: {
|
|
7608
8440
|
/** V1 error format. */
|
|
7609
8441
|
"$.xgafv"?:
|
|
@@ -7623,10 +8455,7 @@ declare namespace gapi.client {
|
|
|
7623
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. */
|
|
7624
8456
|
key?:
|
|
7625
8457
|
string;
|
|
7626
|
-
/**
|
|
7627
|
-
* Required. Resource name of the organization and deidentify template to be deleted, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
7628
|
-
* projects/project-id/deidentifyTemplates/432452342.
|
|
7629
|
-
*/
|
|
8458
|
+
/** Required. Resource name of the project and the config, for example `projects/dlp-test-project/discoveryConfigs/53234423`. */
|
|
7630
8459
|
name:
|
|
7631
8460
|
string;
|
|
7632
8461
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -7645,7 +8474,7 @@ declare namespace gapi.client {
|
|
|
7645
8474
|
uploadType?:
|
|
7646
8475
|
string;
|
|
7647
8476
|
}): Request<{}>;
|
|
7648
|
-
/** Gets a
|
|
8477
|
+
/** Gets a Discovery configuration. */
|
|
7649
8478
|
get(request?: {
|
|
7650
8479
|
/** V1 error format. */
|
|
7651
8480
|
"$.xgafv"?:
|
|
@@ -7665,10 +8494,7 @@ declare namespace gapi.client {
|
|
|
7665
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. */
|
|
7666
8495
|
key?:
|
|
7667
8496
|
string;
|
|
7668
|
-
/**
|
|
7669
|
-
* Required. Resource name of the organization and deidentify template to be read, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
7670
|
-
* projects/project-id/deidentifyTemplates/432452342.
|
|
7671
|
-
*/
|
|
8497
|
+
/** Required. Resource name of the project and the configuration, for example `projects/dlp-test-project/discoveryConfigs/53234423`. */
|
|
7672
8498
|
name:
|
|
7673
8499
|
string;
|
|
7674
8500
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -7686,8 +8512,8 @@ declare namespace gapi.client {
|
|
|
7686
8512
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7687
8513
|
uploadType?:
|
|
7688
8514
|
string;
|
|
7689
|
-
}): Request<
|
|
7690
|
-
/** Lists
|
|
8515
|
+
}): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
8516
|
+
/** Lists Discovery configurations. */
|
|
7691
8517
|
list(request?: {
|
|
7692
8518
|
/** V1 error format. */
|
|
7693
8519
|
"$.xgafv"?:
|
|
@@ -7707,31 +8533,25 @@ declare namespace gapi.client {
|
|
|
7707
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. */
|
|
7708
8534
|
key?:
|
|
7709
8535
|
string;
|
|
7710
|
-
/** Deprecated. This field has no effect. */
|
|
7711
|
-
locationId?:
|
|
7712
|
-
string;
|
|
7713
8536
|
/** OAuth 2.0 token for the current user. */
|
|
7714
8537
|
oauth_token?:
|
|
7715
8538
|
string;
|
|
7716
8539
|
/**
|
|
7717
|
-
* 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
|
|
7718
|
-
* are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `
|
|
7719
|
-
*
|
|
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.
|
|
7720
8543
|
*/
|
|
7721
8544
|
orderBy?:
|
|
7722
8545
|
string;
|
|
7723
|
-
/** Size of the page, can be limited by
|
|
8546
|
+
/** Size of the page, can be limited by a server. */
|
|
7724
8547
|
pageSize?:
|
|
7725
8548
|
number;
|
|
7726
|
-
/** 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. */
|
|
7727
8550
|
pageToken?:
|
|
7728
8551
|
string;
|
|
7729
8552
|
/**
|
|
7730
|
-
* Required. Parent resource name. The format of this value
|
|
7731
|
-
*
|
|
7732
|
-
* location specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope,
|
|
7733
|
-
* no location specified (defaults to global): `organizations/`ORG_ID The following example `parent` string specifies a parent project with the identifier `example-project`, and
|
|
7734
|
-
* 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
|
|
7735
8555
|
*/
|
|
7736
8556
|
parent:
|
|
7737
8557
|
string;
|
|
@@ -7747,8 +8567,8 @@ declare namespace gapi.client {
|
|
|
7747
8567
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7748
8568
|
uploadType?:
|
|
7749
8569
|
string;
|
|
7750
|
-
}): Request<
|
|
7751
|
-
/** Updates
|
|
8570
|
+
}): Request<GooglePrivacyDlpV2ListDiscoveryConfigsResponse>;
|
|
8571
|
+
/** Updates a Discovery configuration. */
|
|
7752
8572
|
patch(request: {
|
|
7753
8573
|
/** V1 error format. */
|
|
7754
8574
|
"$.xgafv"?:
|
|
@@ -7768,10 +8588,7 @@ declare namespace gapi.client {
|
|
|
7768
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. */
|
|
7769
8589
|
key?:
|
|
7770
8590
|
string;
|
|
7771
|
-
/**
|
|
7772
|
-
* Required. Resource name of organization and deidentify template to be updated, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
7773
|
-
* projects/project-id/deidentifyTemplates/432452342.
|
|
7774
|
-
*/
|
|
8591
|
+
/** Required. Resource name of the project and the configuration, for example `projects/dlp-test-project/discoveryConfigs/53234423`. */
|
|
7775
8592
|
name:
|
|
7776
8593
|
string;
|
|
7777
8594
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -7791,8 +8608,8 @@ declare namespace gapi.client {
|
|
|
7791
8608
|
string;
|
|
7792
8609
|
/** Request body */
|
|
7793
8610
|
resource:
|
|
7794
|
-
|
|
7795
|
-
}): Request<
|
|
8611
|
+
GooglePrivacyDlpV2UpdateDiscoveryConfigRequest;
|
|
8612
|
+
}): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
7796
8613
|
patch(request: {
|
|
7797
8614
|
/** V1 error format. */
|
|
7798
8615
|
"$.xgafv"?:
|
|
@@ -7812,10 +8629,7 @@ declare namespace gapi.client {
|
|
|
7812
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. */
|
|
7813
8630
|
key?:
|
|
7814
8631
|
string;
|
|
7815
|
-
/**
|
|
7816
|
-
* Required. Resource name of organization and deidentify template to be updated, for example `organizations/433245324/deidentifyTemplates/432452342` or
|
|
7817
|
-
* projects/project-id/deidentifyTemplates/432452342.
|
|
7818
|
-
*/
|
|
8632
|
+
/** Required. Resource name of the project and the configuration, for example `projects/dlp-test-project/discoveryConfigs/53234423`. */
|
|
7819
8633
|
name:
|
|
7820
8634
|
string;
|
|
7821
8635
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -7834,7 +8648,7 @@ declare namespace gapi.client {
|
|
|
7834
8648
|
uploadType?:
|
|
7835
8649
|
string;
|
|
7836
8650
|
},
|
|
7837
|
-
body:
|
|
8651
|
+
body: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest): Request<GooglePrivacyDlpV2DiscoveryConfig>;
|
|
7838
8652
|
}
|
|
7839
8653
|
interface DlpJobsResource {
|
|
7840
8654
|
/**
|
|
@@ -9589,6 +10403,8 @@ declare namespace gapi.client {
|
|
|
9589
10403
|
ContentResource;
|
|
9590
10404
|
deidentifyTemplates:
|
|
9591
10405
|
DeidentifyTemplatesResource;
|
|
10406
|
+
discoveryConfigs:
|
|
10407
|
+
DiscoveryConfigsResource;
|
|
9592
10408
|
dlpJobs:
|
|
9593
10409
|
DlpJobsResource;
|
|
9594
10410
|
image:
|