Skip to content

Commit

Permalink
feat(dlp): update the API
Browse files Browse the repository at this point in the history
#### dlp:v2

The following keys were added:
- schemas.GooglePrivacyDlpV2DataSourceType.description
- schemas.GooglePrivacyDlpV2DataSourceType.id
- schemas.GooglePrivacyDlpV2DataSourceType.properties.dataSource.description
- schemas.GooglePrivacyDlpV2DataSourceType.properties.dataSource.readOnly
- schemas.GooglePrivacyDlpV2DataSourceType.properties.dataSource.type
- schemas.GooglePrivacyDlpV2DataSourceType.type
- schemas.GooglePrivacyDlpV2TableDataProfile.properties.dataSourceType.$ref
- schemas.GooglePrivacyDlpV2TableDataProfile.properties.dataSourceType.description

The following keys were changed:
- resources.projects.resources.locations.resources.dlpJobs.methods.finish.parameters.name.description
  • Loading branch information
yoshi-automation authored and bcoe committed Feb 2, 2024
1 parent d50a81a commit c32baf0
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 3 deletions.
20 changes: 18 additions & 2 deletions discovery/dlp-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2838,7 +2838,7 @@
],
"parameters": {
"name": {
"description": "Required. The name of the DlpJob resource to be cancelled.",
"description": "Required. The name of the DlpJob resource to be finished.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/dlpJobs/[^/]+$",
"required": true,
Expand Down Expand Up @@ -3714,7 +3714,7 @@
}
}
},
"revision": "20231210",
"revision": "20240128",
"rootUrl": "https://dlp.googleapis.com/",
"schemas": {
"GooglePrivacyDlpV2Action": {
Expand Down Expand Up @@ -5171,6 +5171,18 @@
},
"type": "object"
},
"GooglePrivacyDlpV2DataSourceType": {
"description": "Message used to identify the type of resource being profiled.",
"id": "GooglePrivacyDlpV2DataSourceType",
"properties": {
"dataSource": {
"description": "Output only. An identifying string to the type of resource being profiled. Current values: google/bigquery/table, google/project",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GooglePrivacyDlpV2DatastoreKey": {
"description": "Record key for a finding in Cloud Datastore.",
"id": "GooglePrivacyDlpV2DatastoreKey",
Expand Down Expand Up @@ -8847,6 +8859,10 @@
"$ref": "GooglePrivacyDlpV2DataRiskLevel",
"description": "The data risk level of this table."
},
"dataSourceType": {
"$ref": "GooglePrivacyDlpV2DataSourceType",
"description": "The resource type that was profiled."
},
"datasetId": {
"description": "The BigQuery dataset ID.",
"type": "string"
Expand Down
15 changes: 14 additions & 1 deletion src/apis/dlp/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1117,6 +1117,15 @@ export namespace dlp_v2 {
*/
score?: string | null;
}
/**
* Message used to identify the type of resource being profiled.
*/
export interface Schema$GooglePrivacyDlpV2DataSourceType {
/**
* Output only. An identifying string to the type of resource being profiled. Current values: google/bigquery/table, google/project
*/
dataSource?: string | null;
}
/**
* Record key for a finding in Cloud Datastore.
*/
Expand Down Expand Up @@ -3643,6 +3652,10 @@ export namespace dlp_v2 {
* The Google Cloud project ID that owns the BigQuery dataset.
*/
datasetProjectId?: string | null;
/**
* The resource type that was profiled.
*/
dataSourceType?: Schema$GooglePrivacyDlpV2DataSourceType;
/**
* How the table is encrypted.
*/
Expand Down Expand Up @@ -13758,7 +13771,7 @@ export namespace dlp_v2 {
export interface Params$Resource$Projects$Locations$Dlpjobs$Finish
extends StandardParameters {
/**
* Required. The name of the DlpJob resource to be cancelled.
* Required. The name of the DlpJob resource to be finished.
*/
name?: string;

Expand Down

0 comments on commit c32baf0

Please sign in to comment.