dlp
import { dlp } from "https://googleapis.deno.dev/v1/dlp:v2.ts";
Discover and protect your sensitive data. A fully managed service designed to help you discover, classify, and protect your valuable data assets with ease.
§Methods
Returns a list of the sensitive information types that DLP API supports. See https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to learn more.
Returns a list of the sensitive information types that DLP API supports. See https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to learn more.
The parent resource name. The format of this value is as follows: locations/ LOCATION_ID
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.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
Required. Resource name of the organization and deidentify template to be deleted, for example organizations/433245324/deidentifyTemplates/432452342
or projects/project-id/deidentifyTemplates/432452342.
Gets a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
Required. Resource name of the organization and deidentify template to be read, for example organizations/433245324/deidentifyTemplates/432452342
or projects/project-id/deidentifyTemplates/432452342.
Lists DeidentifyTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
Required. Resource name of organization and deidentify template to be updated, for example organizations/433245324/deidentifyTemplates/432452342
or projects/project-id/deidentifyTemplates/432452342.
Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Required. Resource name of the organization and inspectTemplate to be deleted, for example organizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
Gets an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Required. Resource name of the organization and inspectTemplate to be read, for example organizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Updates the InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Required. Resource name of organization and inspectTemplate to be updated, for example organizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
Gets a column data profile.
Required. Resource name, for example organizations/12345/locations/us/columnDataProfiles/53234423
.
Lists column data profiles for an organization.
Required. Resource name of the organization or project, for example organizations/433245324/locations/europe
or projects/project-id/locations/asia
.
Searches for Connections in a parent.
Required. Parent name, typically an organization, without location. For example: "organizations/12345678".
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.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
Required. Resource name of the organization and deidentify template to be deleted, for example organizations/433245324/deidentifyTemplates/432452342
or projects/project-id/deidentifyTemplates/432452342.
Gets a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
Required. Resource name of the organization and deidentify template to be read, for example organizations/433245324/deidentifyTemplates/432452342
or projects/project-id/deidentifyTemplates/432452342.
Lists DeidentifyTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
Required. Resource name of organization and deidentify template to be updated, for example organizations/433245324/deidentifyTemplates/432452342
or projects/project-id/deidentifyTemplates/432452342.
Creates a config for discovery to scan and profile storage.
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 project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Deletes a discovery configuration.
Required. Resource name of the project and the config, for example projects/dlp-test-project/discoveryConfigs/53234423
.
Gets a discovery configuration.
Required. Resource name of the project and the configuration, for example projects/dlp-test-project/discoveryConfigs/53234423
.
Lists discovery configurations.
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 project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Updates a discovery configuration.
Required. Resource name of the project and the configuration, for example projects/dlp-test-project/discoveryConfigs/53234423
.
Lists DlpJobs that match the specified filter in the request. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Required. Resource name of the organization and inspectTemplate to be deleted, for example organizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
Gets an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Required. Resource name of the organization and inspectTemplate to be read, for example organizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Updates the InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Required. Resource name of organization and inspectTemplate to be updated, for example organizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Deletes a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423
.
Gets a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423
.
Lists job triggers. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Updates a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423
.
Gets a project data profile.
Required. Resource name, for example organizations/12345/locations/us/projectDataProfiles/53234423
.
Lists project data profiles for an organization.
Required. organizations/{org_id}/locations/{loc_id}
Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Deletes a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Required. Resource name of the organization and storedInfoType to be deleted, for example organizations/433245324/storedInfoTypes/432452342
or projects/project-id/storedInfoTypes/432452342.
Gets a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Required. Resource name of the organization and storedInfoType to be read, for example organizations/433245324/storedInfoTypes/432452342
or projects/project-id/storedInfoTypes/432452342.
Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Required. Resource name of organization and storedInfoType to be updated, for example organizations/433245324/storedInfoTypes/432452342
or projects/project-id/storedInfoTypes/432452342.
Delete a TableDataProfile. Will not prevent the profile from being regenerated if the table is still included in a discovery configuration.
Required. Resource name of the table data profile.
Gets a table data profile.
Required. Resource name, for example organizations/12345/locations/us/tableDataProfiles/53234423
.
Lists table data profiles for an organization.
Required. Resource name of the organization or project, for example organizations/433245324/locations/europe
or projects/project-id/locations/asia
.
Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Deletes a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Required. Resource name of the organization and storedInfoType to be deleted, for example organizations/433245324/storedInfoTypes/432452342
or projects/project-id/storedInfoTypes/432452342.
Gets a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Required. Resource name of the organization and storedInfoType to be read, for example organizations/433245324/storedInfoTypes/432452342
or projects/project-id/storedInfoTypes/432452342.
Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Required. Resource name of organization and storedInfoType to be updated, for example organizations/433245324/storedInfoTypes/432452342
or projects/project-id/storedInfoTypes/432452342.
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.
Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
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 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 https://cloud.google.com/sensitive-data-protection/docs/inspecting-images and https://cloud.google.com/sensitive-data-protection/docs/inspecting-text,
Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Re-identifies content that has been de-identified. See https://cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example to learn more.
Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
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.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
Required. Resource name of the organization and deidentify template to be deleted, for example organizations/433245324/deidentifyTemplates/432452342
or projects/project-id/deidentifyTemplates/432452342.
Gets a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
Required. Resource name of the organization and deidentify template to be read, for example organizations/433245324/deidentifyTemplates/432452342
or projects/project-id/deidentifyTemplates/432452342.
Lists DeidentifyTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
Required. Resource name of organization and deidentify template to be updated, for example organizations/433245324/deidentifyTemplates/432452342
or projects/project-id/deidentifyTemplates/432452342.
Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Required. The name of the DlpJob resource to be cancelled.
Creates a new job to inspect storage or calculate risk metrics. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis 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 may change over time as detectors are updated.
Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
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 https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Required. The name of the DlpJob resource to be deleted.
Gets the latest state of a long-running DlpJob. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Required. The name of the DlpJob resource.
Lists DlpJobs that match the specified filter in the request. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/sensitive-data-protection/docs/redacting-sensitive-data-images to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Required. Resource name of the organization and inspectTemplate to be deleted, for example organizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
Gets an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Required. Resource name of the organization and inspectTemplate to be read, for example organizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Updates the InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Required. Resource name of organization and inspectTemplate to be updated, for example organizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.
Required. Resource name of the trigger to activate, for example projects/dlp-test-project/jobTriggers/53234423
.
Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Deletes a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423
.
Gets a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423
.
Lists job triggers. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Updates a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423
.
Gets a column data profile.
Required. Resource name, for example organizations/12345/locations/us/columnDataProfiles/53234423
.
Lists column data profiles for an organization.
Required. Resource name of the organization or project, for example organizations/433245324/locations/europe
or projects/project-id/locations/asia
.
Create a Connection to an external data source.
Required. Parent resource name in the format: "projects/{project}/locations/{location}".
Delete a Connection.
Required. Resource name of the Connection to be deleted, in the format: "projects/{project}/locations/{location}/connections/{connection}".
Get a Connection by name.
Required. Resource name in the format: "projects/{project}/locations/{location}/connections/{connection}".
Lists Connections in a parent.
Required. Parent name, for example: "projects/project-id/locations/global".
Update a Connection.
Required. Resource name in the format: "projects/{project}/locations/{location}/connections/{connection}".
Searches for Connections in a parent.
Required. Parent name, typically an organization, without location. For example: "organizations/12345678".
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.
Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
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 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 https://cloud.google.com/sensitive-data-protection/docs/inspecting-images and https://cloud.google.com/sensitive-data-protection/docs/inspecting-text,
Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Re-identifies content that has been de-identified. See https://cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example to learn more.
Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
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.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
Required. Resource name of the organization and deidentify template to be deleted, for example organizations/433245324/deidentifyTemplates/432452342
or projects/project-id/deidentifyTemplates/432452342.
Gets a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
Required. Resource name of the organization and deidentify template to be read, for example organizations/433245324/deidentifyTemplates/432452342
or projects/project-id/deidentifyTemplates/432452342.
Lists DeidentifyTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
Required. Resource name of organization and deidentify template to be updated, for example organizations/433245324/deidentifyTemplates/432452342
or projects/project-id/deidentifyTemplates/432452342.
Creates a config for discovery to scan and profile storage.
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 project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Deletes a discovery configuration.
Required. Resource name of the project and the config, for example projects/dlp-test-project/discoveryConfigs/53234423
.
Gets a discovery configuration.
Required. Resource name of the project and the configuration, for example projects/dlp-test-project/discoveryConfigs/53234423
.
Lists discovery configurations.
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 project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Updates a discovery configuration.
Required. Resource name of the project and the configuration, for example projects/dlp-test-project/discoveryConfigs/53234423
.
Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Required. The name of the DlpJob resource to be cancelled.
Creates a new job to inspect storage or calculate risk metrics. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis 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 may change over time as detectors are updated.
Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
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 https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Required. The name of the DlpJob resource to be deleted.
Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled actions that have not yet run.
Required. The name of the DlpJob resource to be finished.
Gets the latest state of a long-running DlpJob. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Required. The name of the DlpJob resource.
Inspect hybrid content and store findings to a job. To review the findings, inspect the job. Inspection will occur asynchronously.
Required. Resource name of the job to execute a hybrid inspect on, for example projects/dlp-test-project/dlpJob/53234423
.
Lists DlpJobs that match the specified filter in the request. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/sensitive-data-protection/docs/redacting-sensitive-data-images to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Required. Resource name of the organization and inspectTemplate to be deleted, for example organizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
Gets an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Required. Resource name of the organization and inspectTemplate to be read, for example organizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Updates the InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Required. Resource name of organization and inspectTemplate to be updated, for example organizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.
Required. Resource name of the trigger to activate, for example projects/dlp-test-project/jobTriggers/53234423
.
Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Deletes a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423
.
Gets a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423
.
Inspect hybrid content and store findings to a trigger. The inspection will be processed asynchronously. To review the findings monitor the jobs within the trigger.
Required. Resource name of the trigger to execute a hybrid inspect on, for example projects/dlp-test-project/jobTriggers/53234423
.
Lists job triggers. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Required. Parent resource name. The format of this value varies depending on whether you have specified a processing location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Updates a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423
.
Gets a project data profile.
Required. Resource name, for example organizations/12345/locations/us/projectDataProfiles/53234423
.
Lists project data profiles for an organization.
Required. organizations/{org_id}/locations/{loc_id}
Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Deletes a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Required. Resource name of the organization and storedInfoType to be deleted, for example organizations/433245324/storedInfoTypes/432452342
or projects/project-id/storedInfoTypes/432452342.
Gets a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Required. Resource name of the organization and storedInfoType to be read, for example organizations/433245324/storedInfoTypes/432452342
or projects/project-id/storedInfoTypes/432452342.
Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Required. Resource name of organization and storedInfoType to be updated, for example organizations/433245324/storedInfoTypes/432452342
or projects/project-id/storedInfoTypes/432452342.
Delete a TableDataProfile. Will not prevent the profile from being regenerated if the table is still included in a discovery configuration.
Required. Resource name of the table data profile.
Gets a table data profile.
Required. Resource name, for example organizations/12345/locations/us/tableDataProfiles/53234423
.
Lists table data profiles for an organization.
Required. Resource name of the organization or project, for example organizations/433245324/locations/europe
or projects/project-id/locations/asia
.
Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID + Organizations scope, location specified: organizations/
ORG_ID/locations/
LOCATION_ID + Organizations scope, no location specified (defaults to global): organizations/
ORG_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Deletes a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Required. Resource name of the organization and storedInfoType to be deleted, for example organizations/433245324/storedInfoTypes/432452342
or projects/project-id/storedInfoTypes/432452342.
Gets a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Required. Resource name of the organization and storedInfoType to be read, for example organizations/433245324/storedInfoTypes/432452342
or projects/project-id/storedInfoTypes/432452342.
Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
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 location: + Projects scope, location specified: projects/
PROJECT_ID/locations/
LOCATION_ID + Projects scope, no location specified (defaults to global): projects/
PROJECT_ID The following example parent
string specifies a parent project with the identifier example-project
, and specifies the europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Required. Resource name of organization and storedInfoType to be updated, for example organizations/433245324/storedInfoTypes/432452342
or projects/project-id/storedInfoTypes/432452342.