@maxim_mazurok/gapi.client.dlp-v2 0.0.20240324 → 0.0.20240414
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 +445 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://dlp.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240414
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -47,6 +47,7 @@ declare namespace gapi.client {
|
|
|
47
47
|
interface GooglePrivacyDlpV2ActivateJobTriggerRequest {}
|
|
48
48
|
interface GooglePrivacyDlpV2AllInfoTypes {}
|
|
49
49
|
interface GooglePrivacyDlpV2AllOtherBigQueryTables {}
|
|
50
|
+
interface GooglePrivacyDlpV2AllOtherDatabaseResources {}
|
|
50
51
|
interface GooglePrivacyDlpV2AllText {}
|
|
51
52
|
interface GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails {
|
|
52
53
|
/** Categorical stats result */
|
|
@@ -207,6 +208,29 @@ declare namespace gapi.client {
|
|
|
207
208
|
/** Common characters to not transform when masking. Useful to avoid removing punctuation. */
|
|
208
209
|
commonCharactersToIgnore?: string;
|
|
209
210
|
}
|
|
211
|
+
interface GooglePrivacyDlpV2CloudSqlDiscoveryTarget {
|
|
212
|
+
/** In addition to matching the filter, these conditions must be true before a profile is generated. */
|
|
213
|
+
conditions?: GooglePrivacyDlpV2DiscoveryCloudSqlConditions;
|
|
214
|
+
/** Disable profiling for database resources that match this filter. */
|
|
215
|
+
disabled?: any;
|
|
216
|
+
/** Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table. */
|
|
217
|
+
filter?: GooglePrivacyDlpV2DiscoveryCloudSqlFilter;
|
|
218
|
+
/** 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. */
|
|
219
|
+
generationCadence?: GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence;
|
|
220
|
+
}
|
|
221
|
+
interface GooglePrivacyDlpV2CloudSqlIamCredential {}
|
|
222
|
+
interface GooglePrivacyDlpV2CloudSqlProperties {
|
|
223
|
+
/** Built-in IAM authentication (must be configured in Cloud SQL). */
|
|
224
|
+
cloudSqlIam?: any;
|
|
225
|
+
/** Optional. Immutable. The Cloud SQL instance for which the connection is defined. Only one connection per instance is allowed. This can only be set at creation time, and cannot be updated. It is an error to use a connection_name from different project or region than the one that holds the connection. For example, a Connection resource for Cloud SQL connection_name "project-id:us-central1:sql-instance" must be created under the parent "projects/project-id/locations/us-central1" */
|
|
226
|
+
connectionName?: string;
|
|
227
|
+
/** Required. The database engine used by the Cloud SQL instance that this connection configures. */
|
|
228
|
+
databaseEngine?: string;
|
|
229
|
+
/** Required. DLP will limit its connections to max_connections. Must be 2 or greater. */
|
|
230
|
+
maxConnections?: number;
|
|
231
|
+
/** A username and password stored in Secret Manager. */
|
|
232
|
+
usernamePassword?: GooglePrivacyDlpV2SecretManagerCredential;
|
|
233
|
+
}
|
|
210
234
|
interface GooglePrivacyDlpV2CloudStorageFileSet {
|
|
211
235
|
/** The url, in the format `gs:///`. Trailing wildcard in the path is allowed. */
|
|
212
236
|
url?: string;
|
|
@@ -299,6 +323,16 @@ declare namespace gapi.client {
|
|
|
299
323
|
/** A collection of conditions. */
|
|
300
324
|
conditions?: GooglePrivacyDlpV2Condition[];
|
|
301
325
|
}
|
|
326
|
+
interface GooglePrivacyDlpV2Connection {
|
|
327
|
+
/** Connect to a Cloud SQL instance. */
|
|
328
|
+
cloudSql?: GooglePrivacyDlpV2CloudSqlProperties;
|
|
329
|
+
/** Output only. Set if status == ERROR, to provide additional details. Will store the last 10 errors sorted with the most recent first. */
|
|
330
|
+
errors?: GooglePrivacyDlpV2Error[];
|
|
331
|
+
/** Output only. Name of the connection: projects/{project}/locations/{location}/connections/{name}. */
|
|
332
|
+
name?: string;
|
|
333
|
+
/** Required. The connection's state in its lifecycle. */
|
|
334
|
+
state?: string;
|
|
335
|
+
}
|
|
302
336
|
interface GooglePrivacyDlpV2Container {
|
|
303
337
|
/** A string representation of the full container name. Examples: - BigQuery: 'Project:DataSetId.TableId' - Cloud Storage: 'gs://Bucket/folders/filename.txt' */
|
|
304
338
|
fullPath?: string;
|
|
@@ -339,6 +373,10 @@ declare namespace gapi.client {
|
|
|
339
373
|
/** Location within a row or record of a database table. */
|
|
340
374
|
recordLocation?: GooglePrivacyDlpV2RecordLocation;
|
|
341
375
|
}
|
|
376
|
+
interface GooglePrivacyDlpV2CreateConnectionRequest {
|
|
377
|
+
/** Required. The connection resource. */
|
|
378
|
+
connection?: GooglePrivacyDlpV2Connection;
|
|
379
|
+
}
|
|
342
380
|
interface GooglePrivacyDlpV2CreateDeidentifyTemplateRequest {
|
|
343
381
|
/** Required. The DeidentifyTemplate to create. */
|
|
344
382
|
deidentifyTemplate?: GooglePrivacyDlpV2DeidentifyTemplate;
|
|
@@ -441,6 +479,30 @@ declare namespace gapi.client {
|
|
|
441
479
|
/** Message for detecting output from deidentification transformations that support reversing. */
|
|
442
480
|
surrogateType?: any;
|
|
443
481
|
}
|
|
482
|
+
interface GooglePrivacyDlpV2DatabaseResourceCollection {
|
|
483
|
+
/** A collection of regular expressions to match a database resource against. */
|
|
484
|
+
includeRegexes?: GooglePrivacyDlpV2DatabaseResourceRegexes;
|
|
485
|
+
}
|
|
486
|
+
interface GooglePrivacyDlpV2DatabaseResourceReference {
|
|
487
|
+
/** Required. The instance where this resource is located. For example: Cloud SQL's instance id. */
|
|
488
|
+
instance?: string;
|
|
489
|
+
/** Required. If within a project-level config, then this must match the config's project id. */
|
|
490
|
+
projectId?: string;
|
|
491
|
+
}
|
|
492
|
+
interface GooglePrivacyDlpV2DatabaseResourceRegex {
|
|
493
|
+
/** Regex to test the database name against. If empty, all databases match. */
|
|
494
|
+
databaseRegex?: string;
|
|
495
|
+
/** Regex to test the database resource's name against. An example of a database resource name is a table's name. Other database resource names like view names could be included in the future. If empty, all database resources match. */
|
|
496
|
+
databaseResourceNameRegex?: string;
|
|
497
|
+
/** Regex to test the instance name against. If empty, all instances match. */
|
|
498
|
+
instanceRegex?: string;
|
|
499
|
+
/** For organizations, if unset, will match all projects. Has no effect for Data Profile configurations created within a project. */
|
|
500
|
+
projectIdRegex?: string;
|
|
501
|
+
}
|
|
502
|
+
interface GooglePrivacyDlpV2DatabaseResourceRegexes {
|
|
503
|
+
/** A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB. */
|
|
504
|
+
patterns?: GooglePrivacyDlpV2DatabaseResourceRegex[];
|
|
505
|
+
}
|
|
444
506
|
interface GooglePrivacyDlpV2DataProfileAction {
|
|
445
507
|
/** Export data profiles into a provided location. */
|
|
446
508
|
exportData?: GooglePrivacyDlpV2Export;
|
|
@@ -654,6 +716,26 @@ declare namespace gapi.client {
|
|
|
654
716
|
/** 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 tables in that collection must be profiled. Must specify a project ID. */
|
|
655
717
|
tables?: GooglePrivacyDlpV2BigQueryTableCollection;
|
|
656
718
|
}
|
|
719
|
+
interface GooglePrivacyDlpV2DiscoveryCloudSqlConditions {
|
|
720
|
+
/** Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified. */
|
|
721
|
+
databaseEngines?: string[];
|
|
722
|
+
/** Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES]. */
|
|
723
|
+
types?: string[];
|
|
724
|
+
}
|
|
725
|
+
interface GooglePrivacyDlpV2DiscoveryCloudSqlFilter {
|
|
726
|
+
/** A specific set of database resources for this filter to apply to. */
|
|
727
|
+
collection?: GooglePrivacyDlpV2DatabaseResourceCollection;
|
|
728
|
+
/** The database resource to scan. Targets including this can only include one target (the target with this database resource reference). */
|
|
729
|
+
databaseResourceReference?: GooglePrivacyDlpV2DatabaseResourceReference;
|
|
730
|
+
/** Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically. */
|
|
731
|
+
others?: any;
|
|
732
|
+
}
|
|
733
|
+
interface GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence {
|
|
734
|
+
/** Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables have changes. Defaults to never. */
|
|
735
|
+
refreshFrequency?: string;
|
|
736
|
+
/** When to reprofile if the schema has changed. */
|
|
737
|
+
schemaModifiedCadence?: GooglePrivacyDlpV2SchemaModifiedCadence;
|
|
738
|
+
}
|
|
657
739
|
interface GooglePrivacyDlpV2DiscoveryConfig {
|
|
658
740
|
/** Actions to execute at the completion of scanning. */
|
|
659
741
|
actions?: GooglePrivacyDlpV2DataProfileAction[];
|
|
@@ -705,6 +787,8 @@ declare namespace gapi.client {
|
|
|
705
787
|
interface GooglePrivacyDlpV2DiscoveryTarget {
|
|
706
788
|
/** BigQuery target for Discovery. The first target to match a table will be the one applied. */
|
|
707
789
|
bigQueryTarget?: GooglePrivacyDlpV2BigQueryDiscoveryTarget;
|
|
790
|
+
/** Cloud SQL target for Discovery. The first target to match a table will be the one applied. */
|
|
791
|
+
cloudSqlTarget?: GooglePrivacyDlpV2CloudSqlDiscoveryTarget;
|
|
708
792
|
}
|
|
709
793
|
interface GooglePrivacyDlpV2DlpJob {
|
|
710
794
|
/** Events that should occur after the job has completed. */
|
|
@@ -1224,6 +1308,12 @@ declare namespace gapi.client {
|
|
|
1224
1308
|
/** The next page token. */
|
|
1225
1309
|
nextPageToken?: string;
|
|
1226
1310
|
}
|
|
1311
|
+
interface GooglePrivacyDlpV2ListConnectionsResponse {
|
|
1312
|
+
/** List of connections. */
|
|
1313
|
+
connections?: GooglePrivacyDlpV2Connection[];
|
|
1314
|
+
/** Token to retrieve the next page of results. An empty value means there are no more results. */
|
|
1315
|
+
nextPageToken?: string;
|
|
1316
|
+
}
|
|
1227
1317
|
interface GooglePrivacyDlpV2ListDeidentifyTemplatesResponse {
|
|
1228
1318
|
/** List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest. */
|
|
1229
1319
|
deidentifyTemplates?: GooglePrivacyDlpV2DeidentifyTemplate[];
|
|
@@ -1614,6 +1704,24 @@ declare namespace gapi.client {
|
|
|
1614
1704
|
/** With this option a job is started on a regular periodic basis. For example: every day (86400 seconds). A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs. This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days. */
|
|
1615
1705
|
recurrencePeriodDuration?: string;
|
|
1616
1706
|
}
|
|
1707
|
+
interface GooglePrivacyDlpV2SchemaModifiedCadence {
|
|
1708
|
+
/** Frequency to regenerate data profiles when the schema is modified. Defaults to monthly. */
|
|
1709
|
+
frequency?: string;
|
|
1710
|
+
/** The types of schema modifications to consider. Defaults to NEW_COLUMNS. */
|
|
1711
|
+
types?: string[];
|
|
1712
|
+
}
|
|
1713
|
+
interface GooglePrivacyDlpV2SearchConnectionsResponse {
|
|
1714
|
+
/** List of connections that match the search query. Note that only a subset of the fields will be populated, and only "name" is guaranteed to be set. For full details of a Connection, call GetConnection with the name. */
|
|
1715
|
+
connections?: GooglePrivacyDlpV2Connection[];
|
|
1716
|
+
/** Token to retrieve the next page of results. An empty value means there are no more results. */
|
|
1717
|
+
nextPageToken?: string;
|
|
1718
|
+
}
|
|
1719
|
+
interface GooglePrivacyDlpV2SecretManagerCredential {
|
|
1720
|
+
/** Required. The name of the Secret Manager resource that stores the password, in the form "projects/project-id/secrets/secret-name/versions/version". */
|
|
1721
|
+
passwordSecretVersionName?: string;
|
|
1722
|
+
/** Required. The username. */
|
|
1723
|
+
username?: string;
|
|
1724
|
+
}
|
|
1617
1725
|
interface GooglePrivacyDlpV2SelectedInfoTypes {
|
|
1618
1726
|
/** Required. InfoTypes to apply the transformation to. Required. Provided InfoType must be unique within the ImageTransformations message. */
|
|
1619
1727
|
infoTypes?: GooglePrivacyDlpV2InfoType[];
|
|
@@ -1781,7 +1889,7 @@ declare namespace gapi.client {
|
|
|
1781
1889
|
partToExtract?: string;
|
|
1782
1890
|
}
|
|
1783
1891
|
interface GooglePrivacyDlpV2TimespanConfig {
|
|
1784
|
-
/** When the job is started by a JobTrigger we will automatically figure out a valid start_time to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan end_time used in the last run of the JobTrigger. */
|
|
1892
|
+
/** When the job is started by a JobTrigger we will automatically figure out a valid start_time to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan end_time used in the last run of the JobTrigger. *For BigQuery* Inspect jobs triggered by automatic population will scan data that is at least three hours old when the job starts. This is because streaming buffer rows are not read during inspection and reading up to the current timestamp will result in skipped rows. See the [known issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#recently-streamed-data) related to this operation. */
|
|
1785
1893
|
enableAutoPopulationOfTimespanConfig?: boolean;
|
|
1786
1894
|
/** Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied. */
|
|
1787
1895
|
endTime?: string;
|
|
@@ -1886,6 +1994,12 @@ declare namespace gapi.client {
|
|
|
1886
1994
|
/** Required. A 128/192/256 bit key. */
|
|
1887
1995
|
key?: string;
|
|
1888
1996
|
}
|
|
1997
|
+
interface GooglePrivacyDlpV2UpdateConnectionRequest {
|
|
1998
|
+
/** Required. The connection with new values for the relevant fields. */
|
|
1999
|
+
connection?: GooglePrivacyDlpV2Connection;
|
|
2000
|
+
/** Optional. Mask to control which fields get updated. */
|
|
2001
|
+
updateMask?: string;
|
|
2002
|
+
}
|
|
1889
2003
|
interface GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest {
|
|
1890
2004
|
/** New DeidentifyTemplate value. */
|
|
1891
2005
|
deidentifyTemplate?: GooglePrivacyDlpV2DeidentifyTemplate;
|
|
@@ -2528,6 +2642,41 @@ declare namespace gapi.client {
|
|
|
2528
2642
|
uploadType?: string;
|
|
2529
2643
|
}): Request<GooglePrivacyDlpV2ListColumnDataProfilesResponse>;
|
|
2530
2644
|
}
|
|
2645
|
+
interface ConnectionsResource {
|
|
2646
|
+
/** Searches for Connections in a parent. */
|
|
2647
|
+
search(request?: {
|
|
2648
|
+
/** V1 error format. */
|
|
2649
|
+
'$.xgafv'?: string;
|
|
2650
|
+
/** OAuth access token. */
|
|
2651
|
+
access_token?: string;
|
|
2652
|
+
/** Data format for response. */
|
|
2653
|
+
alt?: string;
|
|
2654
|
+
/** JSONP */
|
|
2655
|
+
callback?: string;
|
|
2656
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2657
|
+
fields?: string;
|
|
2658
|
+
/** Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR */
|
|
2659
|
+
filter?: string;
|
|
2660
|
+
/** 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. */
|
|
2661
|
+
key?: string;
|
|
2662
|
+
/** OAuth 2.0 token for the current user. */
|
|
2663
|
+
oauth_token?: string;
|
|
2664
|
+
/** Optional. Number of results per page, max 1000. */
|
|
2665
|
+
pageSize?: number;
|
|
2666
|
+
/** Optional. Page token from a previous page to return the next set of results. If set, all other request fields must match the original request. */
|
|
2667
|
+
pageToken?: string;
|
|
2668
|
+
/** Required. Parent name, typically an organization, without location. For example: "organizations/12345678". */
|
|
2669
|
+
parent: string;
|
|
2670
|
+
/** Returns response with indentations and line breaks. */
|
|
2671
|
+
prettyPrint?: boolean;
|
|
2672
|
+
/** 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. */
|
|
2673
|
+
quotaUser?: string;
|
|
2674
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2675
|
+
upload_protocol?: string;
|
|
2676
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2677
|
+
uploadType?: string;
|
|
2678
|
+
}): Request<GooglePrivacyDlpV2SearchConnectionsResponse>;
|
|
2679
|
+
}
|
|
2531
2680
|
interface DeidentifyTemplatesResource {
|
|
2532
2681
|
/** Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more. */
|
|
2533
2682
|
create(request: {
|
|
@@ -3671,6 +3820,33 @@ declare namespace gapi.client {
|
|
|
3671
3820
|
): Request<GooglePrivacyDlpV2StoredInfoType>;
|
|
3672
3821
|
}
|
|
3673
3822
|
interface TableDataProfilesResource {
|
|
3823
|
+
/** Delete a TableDataProfile. Will not prevent the profile from being regenerated if the table is still included in a discovery configuration. */
|
|
3824
|
+
delete(request?: {
|
|
3825
|
+
/** V1 error format. */
|
|
3826
|
+
'$.xgafv'?: string;
|
|
3827
|
+
/** OAuth access token. */
|
|
3828
|
+
access_token?: string;
|
|
3829
|
+
/** Data format for response. */
|
|
3830
|
+
alt?: string;
|
|
3831
|
+
/** JSONP */
|
|
3832
|
+
callback?: string;
|
|
3833
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3834
|
+
fields?: string;
|
|
3835
|
+
/** 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. */
|
|
3836
|
+
key?: string;
|
|
3837
|
+
/** Required. Resource name of the table data profile. */
|
|
3838
|
+
name: string;
|
|
3839
|
+
/** OAuth 2.0 token for the current user. */
|
|
3840
|
+
oauth_token?: string;
|
|
3841
|
+
/** Returns response with indentations and line breaks. */
|
|
3842
|
+
prettyPrint?: boolean;
|
|
3843
|
+
/** 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. */
|
|
3844
|
+
quotaUser?: string;
|
|
3845
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3846
|
+
upload_protocol?: string;
|
|
3847
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3848
|
+
uploadType?: string;
|
|
3849
|
+
}): Request<{}>;
|
|
3674
3850
|
/** Gets a table data profile. */
|
|
3675
3851
|
get(request?: {
|
|
3676
3852
|
/** V1 error format. */
|
|
@@ -3736,6 +3912,7 @@ declare namespace gapi.client {
|
|
|
3736
3912
|
}
|
|
3737
3913
|
interface LocationsResource {
|
|
3738
3914
|
columnDataProfiles: ColumnDataProfilesResource;
|
|
3915
|
+
connections: ConnectionsResource;
|
|
3739
3916
|
deidentifyTemplates: DeidentifyTemplatesResource;
|
|
3740
3917
|
discoveryConfigs: DiscoveryConfigsResource;
|
|
3741
3918
|
dlpJobs: DlpJobsResource;
|
|
@@ -5152,6 +5329,244 @@ declare namespace gapi.client {
|
|
|
5152
5329
|
uploadType?: string;
|
|
5153
5330
|
}): Request<GooglePrivacyDlpV2ListColumnDataProfilesResponse>;
|
|
5154
5331
|
}
|
|
5332
|
+
interface ConnectionsResource {
|
|
5333
|
+
/** Create a Connection to an external data source. */
|
|
5334
|
+
create(request: {
|
|
5335
|
+
/** V1 error format. */
|
|
5336
|
+
'$.xgafv'?: string;
|
|
5337
|
+
/** OAuth access token. */
|
|
5338
|
+
access_token?: string;
|
|
5339
|
+
/** Data format for response. */
|
|
5340
|
+
alt?: string;
|
|
5341
|
+
/** JSONP */
|
|
5342
|
+
callback?: string;
|
|
5343
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5344
|
+
fields?: string;
|
|
5345
|
+
/** 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. */
|
|
5346
|
+
key?: string;
|
|
5347
|
+
/** OAuth 2.0 token for the current user. */
|
|
5348
|
+
oauth_token?: string;
|
|
5349
|
+
/** Required. Parent resource name in the format: "projects/{project}/locations/{location}". */
|
|
5350
|
+
parent: string;
|
|
5351
|
+
/** Returns response with indentations and line breaks. */
|
|
5352
|
+
prettyPrint?: boolean;
|
|
5353
|
+
/** 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. */
|
|
5354
|
+
quotaUser?: string;
|
|
5355
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5356
|
+
upload_protocol?: string;
|
|
5357
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5358
|
+
uploadType?: string;
|
|
5359
|
+
/** Request body */
|
|
5360
|
+
resource: GooglePrivacyDlpV2CreateConnectionRequest;
|
|
5361
|
+
}): Request<GooglePrivacyDlpV2Connection>;
|
|
5362
|
+
create(
|
|
5363
|
+
request: {
|
|
5364
|
+
/** V1 error format. */
|
|
5365
|
+
'$.xgafv'?: string;
|
|
5366
|
+
/** OAuth access token. */
|
|
5367
|
+
access_token?: string;
|
|
5368
|
+
/** Data format for response. */
|
|
5369
|
+
alt?: string;
|
|
5370
|
+
/** JSONP */
|
|
5371
|
+
callback?: string;
|
|
5372
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5373
|
+
fields?: string;
|
|
5374
|
+
/** 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. */
|
|
5375
|
+
key?: string;
|
|
5376
|
+
/** OAuth 2.0 token for the current user. */
|
|
5377
|
+
oauth_token?: string;
|
|
5378
|
+
/** Required. Parent resource name in the format: "projects/{project}/locations/{location}". */
|
|
5379
|
+
parent: string;
|
|
5380
|
+
/** Returns response with indentations and line breaks. */
|
|
5381
|
+
prettyPrint?: boolean;
|
|
5382
|
+
/** 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. */
|
|
5383
|
+
quotaUser?: string;
|
|
5384
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5385
|
+
upload_protocol?: string;
|
|
5386
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5387
|
+
uploadType?: string;
|
|
5388
|
+
},
|
|
5389
|
+
body: GooglePrivacyDlpV2CreateConnectionRequest
|
|
5390
|
+
): Request<GooglePrivacyDlpV2Connection>;
|
|
5391
|
+
/** Delete a Connection. */
|
|
5392
|
+
delete(request?: {
|
|
5393
|
+
/** V1 error format. */
|
|
5394
|
+
'$.xgafv'?: string;
|
|
5395
|
+
/** OAuth access token. */
|
|
5396
|
+
access_token?: string;
|
|
5397
|
+
/** Data format for response. */
|
|
5398
|
+
alt?: string;
|
|
5399
|
+
/** JSONP */
|
|
5400
|
+
callback?: string;
|
|
5401
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5402
|
+
fields?: string;
|
|
5403
|
+
/** 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. */
|
|
5404
|
+
key?: string;
|
|
5405
|
+
/** Required. Resource name of the Connection to be deleted, in the format: "projects/{project}/locations/{location}/connections/{connection}". */
|
|
5406
|
+
name: string;
|
|
5407
|
+
/** OAuth 2.0 token for the current user. */
|
|
5408
|
+
oauth_token?: string;
|
|
5409
|
+
/** Returns response with indentations and line breaks. */
|
|
5410
|
+
prettyPrint?: boolean;
|
|
5411
|
+
/** 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. */
|
|
5412
|
+
quotaUser?: string;
|
|
5413
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5414
|
+
upload_protocol?: string;
|
|
5415
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5416
|
+
uploadType?: string;
|
|
5417
|
+
}): Request<{}>;
|
|
5418
|
+
/** Get a Connection by name. */
|
|
5419
|
+
get(request?: {
|
|
5420
|
+
/** V1 error format. */
|
|
5421
|
+
'$.xgafv'?: string;
|
|
5422
|
+
/** OAuth access token. */
|
|
5423
|
+
access_token?: string;
|
|
5424
|
+
/** Data format for response. */
|
|
5425
|
+
alt?: string;
|
|
5426
|
+
/** JSONP */
|
|
5427
|
+
callback?: string;
|
|
5428
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5429
|
+
fields?: string;
|
|
5430
|
+
/** 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. */
|
|
5431
|
+
key?: string;
|
|
5432
|
+
/** Required. Resource name in the format: "projects/{project}/locations/{location}/connections/{connection}". */
|
|
5433
|
+
name: string;
|
|
5434
|
+
/** OAuth 2.0 token for the current user. */
|
|
5435
|
+
oauth_token?: string;
|
|
5436
|
+
/** Returns response with indentations and line breaks. */
|
|
5437
|
+
prettyPrint?: boolean;
|
|
5438
|
+
/** 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. */
|
|
5439
|
+
quotaUser?: string;
|
|
5440
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5441
|
+
upload_protocol?: string;
|
|
5442
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5443
|
+
uploadType?: string;
|
|
5444
|
+
}): Request<GooglePrivacyDlpV2Connection>;
|
|
5445
|
+
/** Lists Connections in a parent. */
|
|
5446
|
+
list(request?: {
|
|
5447
|
+
/** V1 error format. */
|
|
5448
|
+
'$.xgafv'?: string;
|
|
5449
|
+
/** OAuth access token. */
|
|
5450
|
+
access_token?: string;
|
|
5451
|
+
/** Data format for response. */
|
|
5452
|
+
alt?: string;
|
|
5453
|
+
/** JSONP */
|
|
5454
|
+
callback?: string;
|
|
5455
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5456
|
+
fields?: string;
|
|
5457
|
+
/** Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR */
|
|
5458
|
+
filter?: string;
|
|
5459
|
+
/** 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. */
|
|
5460
|
+
key?: string;
|
|
5461
|
+
/** OAuth 2.0 token for the current user. */
|
|
5462
|
+
oauth_token?: string;
|
|
5463
|
+
/** Optional. Number of results per page, max 1000. */
|
|
5464
|
+
pageSize?: number;
|
|
5465
|
+
/** Optional. Page token from a previous page to return the next set of results. If set, all other request fields must match the original request. */
|
|
5466
|
+
pageToken?: string;
|
|
5467
|
+
/** Required. Parent name, for example: "projects/project-id/locations/global". */
|
|
5468
|
+
parent: string;
|
|
5469
|
+
/** Returns response with indentations and line breaks. */
|
|
5470
|
+
prettyPrint?: boolean;
|
|
5471
|
+
/** 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. */
|
|
5472
|
+
quotaUser?: string;
|
|
5473
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5474
|
+
upload_protocol?: string;
|
|
5475
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5476
|
+
uploadType?: string;
|
|
5477
|
+
}): Request<GooglePrivacyDlpV2ListConnectionsResponse>;
|
|
5478
|
+
/** Update a Connection. */
|
|
5479
|
+
patch(request: {
|
|
5480
|
+
/** V1 error format. */
|
|
5481
|
+
'$.xgafv'?: string;
|
|
5482
|
+
/** OAuth access token. */
|
|
5483
|
+
access_token?: string;
|
|
5484
|
+
/** Data format for response. */
|
|
5485
|
+
alt?: string;
|
|
5486
|
+
/** JSONP */
|
|
5487
|
+
callback?: string;
|
|
5488
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5489
|
+
fields?: string;
|
|
5490
|
+
/** 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. */
|
|
5491
|
+
key?: string;
|
|
5492
|
+
/** Required. Resource name in the format: "projects/{project}/locations/{location}/connections/{connection}". */
|
|
5493
|
+
name: string;
|
|
5494
|
+
/** OAuth 2.0 token for the current user. */
|
|
5495
|
+
oauth_token?: string;
|
|
5496
|
+
/** Returns response with indentations and line breaks. */
|
|
5497
|
+
prettyPrint?: boolean;
|
|
5498
|
+
/** 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. */
|
|
5499
|
+
quotaUser?: string;
|
|
5500
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5501
|
+
upload_protocol?: string;
|
|
5502
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5503
|
+
uploadType?: string;
|
|
5504
|
+
/** Request body */
|
|
5505
|
+
resource: GooglePrivacyDlpV2UpdateConnectionRequest;
|
|
5506
|
+
}): Request<GooglePrivacyDlpV2Connection>;
|
|
5507
|
+
patch(
|
|
5508
|
+
request: {
|
|
5509
|
+
/** V1 error format. */
|
|
5510
|
+
'$.xgafv'?: string;
|
|
5511
|
+
/** OAuth access token. */
|
|
5512
|
+
access_token?: string;
|
|
5513
|
+
/** Data format for response. */
|
|
5514
|
+
alt?: string;
|
|
5515
|
+
/** JSONP */
|
|
5516
|
+
callback?: string;
|
|
5517
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5518
|
+
fields?: string;
|
|
5519
|
+
/** 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. */
|
|
5520
|
+
key?: string;
|
|
5521
|
+
/** Required. Resource name in the format: "projects/{project}/locations/{location}/connections/{connection}". */
|
|
5522
|
+
name: string;
|
|
5523
|
+
/** OAuth 2.0 token for the current user. */
|
|
5524
|
+
oauth_token?: string;
|
|
5525
|
+
/** Returns response with indentations and line breaks. */
|
|
5526
|
+
prettyPrint?: boolean;
|
|
5527
|
+
/** 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. */
|
|
5528
|
+
quotaUser?: string;
|
|
5529
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5530
|
+
upload_protocol?: string;
|
|
5531
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5532
|
+
uploadType?: string;
|
|
5533
|
+
},
|
|
5534
|
+
body: GooglePrivacyDlpV2UpdateConnectionRequest
|
|
5535
|
+
): Request<GooglePrivacyDlpV2Connection>;
|
|
5536
|
+
/** Searches for Connections in a parent. */
|
|
5537
|
+
search(request?: {
|
|
5538
|
+
/** V1 error format. */
|
|
5539
|
+
'$.xgafv'?: string;
|
|
5540
|
+
/** OAuth access token. */
|
|
5541
|
+
access_token?: string;
|
|
5542
|
+
/** Data format for response. */
|
|
5543
|
+
alt?: string;
|
|
5544
|
+
/** JSONP */
|
|
5545
|
+
callback?: string;
|
|
5546
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5547
|
+
fields?: string;
|
|
5548
|
+
/** Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR */
|
|
5549
|
+
filter?: string;
|
|
5550
|
+
/** 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. */
|
|
5551
|
+
key?: string;
|
|
5552
|
+
/** OAuth 2.0 token for the current user. */
|
|
5553
|
+
oauth_token?: string;
|
|
5554
|
+
/** Optional. Number of results per page, max 1000. */
|
|
5555
|
+
pageSize?: number;
|
|
5556
|
+
/** Optional. Page token from a previous page to return the next set of results. If set, all other request fields must match the original request. */
|
|
5557
|
+
pageToken?: string;
|
|
5558
|
+
/** Required. Parent name, typically an organization, without location. For example: "organizations/12345678". */
|
|
5559
|
+
parent: string;
|
|
5560
|
+
/** Returns response with indentations and line breaks. */
|
|
5561
|
+
prettyPrint?: boolean;
|
|
5562
|
+
/** 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. */
|
|
5563
|
+
quotaUser?: string;
|
|
5564
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5565
|
+
upload_protocol?: string;
|
|
5566
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5567
|
+
uploadType?: string;
|
|
5568
|
+
}): Request<GooglePrivacyDlpV2SearchConnectionsResponse>;
|
|
5569
|
+
}
|
|
5155
5570
|
interface ContentResource {
|
|
5156
5571
|
/** De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/sensitive-data-protection/docs/deidentify-sensitive-data to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. */
|
|
5157
5572
|
deidentify(request: {
|
|
@@ -6933,6 +7348,33 @@ declare namespace gapi.client {
|
|
|
6933
7348
|
): Request<GooglePrivacyDlpV2StoredInfoType>;
|
|
6934
7349
|
}
|
|
6935
7350
|
interface TableDataProfilesResource {
|
|
7351
|
+
/** Delete a TableDataProfile. Will not prevent the profile from being regenerated if the table is still included in a discovery configuration. */
|
|
7352
|
+
delete(request?: {
|
|
7353
|
+
/** V1 error format. */
|
|
7354
|
+
'$.xgafv'?: string;
|
|
7355
|
+
/** OAuth access token. */
|
|
7356
|
+
access_token?: string;
|
|
7357
|
+
/** Data format for response. */
|
|
7358
|
+
alt?: string;
|
|
7359
|
+
/** JSONP */
|
|
7360
|
+
callback?: string;
|
|
7361
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7362
|
+
fields?: string;
|
|
7363
|
+
/** 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. */
|
|
7364
|
+
key?: string;
|
|
7365
|
+
/** Required. Resource name of the table data profile. */
|
|
7366
|
+
name: string;
|
|
7367
|
+
/** OAuth 2.0 token for the current user. */
|
|
7368
|
+
oauth_token?: string;
|
|
7369
|
+
/** Returns response with indentations and line breaks. */
|
|
7370
|
+
prettyPrint?: boolean;
|
|
7371
|
+
/** 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. */
|
|
7372
|
+
quotaUser?: string;
|
|
7373
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7374
|
+
upload_protocol?: string;
|
|
7375
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7376
|
+
uploadType?: string;
|
|
7377
|
+
}): Request<{}>;
|
|
6936
7378
|
/** Gets a table data profile. */
|
|
6937
7379
|
get(request?: {
|
|
6938
7380
|
/** V1 error format. */
|
|
@@ -6998,6 +7440,7 @@ declare namespace gapi.client {
|
|
|
6998
7440
|
}
|
|
6999
7441
|
interface LocationsResource {
|
|
7000
7442
|
columnDataProfiles: ColumnDataProfilesResource;
|
|
7443
|
+
connections: ConnectionsResource;
|
|
7001
7444
|
content: ContentResource;
|
|
7002
7445
|
deidentifyTemplates: DeidentifyTemplatesResource;
|
|
7003
7446
|
discoveryConfigs: DiscoveryConfigsResource;
|