Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

class dlp {
constructor(client?: CredentialsClient, baseUrl?: string);
async infoTypesList(opts?: InfoTypesListOptions): Promise<GooglePrivacyDlpV2ListInfoTypesResponse>;
async locationsInfoTypesList(parent: string, opts?: LocationsInfoTypesListOptions): Promise<GooglePrivacyDlpV2ListInfoTypesResponse>;
async organizationsDeidentifyTemplatesCreate(parent: string, req: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest): Promise<GooglePrivacyDlpV2DeidentifyTemplate>;
async organizationsDeidentifyTemplatesDelete(name: string): Promise<GoogleProtobufEmpty>;
async organizationsDeidentifyTemplatesGet(name: string): Promise<GooglePrivacyDlpV2DeidentifyTemplate>;
async organizationsDeidentifyTemplatesList(parent: string, opts?: OrganizationsDeidentifyTemplatesListOptions): Promise<GooglePrivacyDlpV2ListDeidentifyTemplatesResponse>;
async organizationsDeidentifyTemplatesPatch(name: string, req: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest): Promise<GooglePrivacyDlpV2DeidentifyTemplate>;
async organizationsInspectTemplatesCreate(parent: string, req: GooglePrivacyDlpV2CreateInspectTemplateRequest): Promise<GooglePrivacyDlpV2InspectTemplate>;
async organizationsInspectTemplatesDelete(name: string): Promise<GoogleProtobufEmpty>;
async organizationsInspectTemplatesGet(name: string): Promise<GooglePrivacyDlpV2InspectTemplate>;
async organizationsInspectTemplatesList(parent: string, opts?: OrganizationsInspectTemplatesListOptions): Promise<GooglePrivacyDlpV2ListInspectTemplatesResponse>;
async organizationsInspectTemplatesPatch(name: string, req: GooglePrivacyDlpV2UpdateInspectTemplateRequest): Promise<GooglePrivacyDlpV2InspectTemplate>;
async organizationsLocationsColumnDataProfilesGet(name: string): Promise<GooglePrivacyDlpV2ColumnDataProfile>;
async organizationsLocationsColumnDataProfilesList(parent: string, opts?: OrganizationsLocationsColumnDataProfilesListOptions): Promise<GooglePrivacyDlpV2ListColumnDataProfilesResponse>;
async organizationsLocationsConnectionsSearch(parent: string, opts?: OrganizationsLocationsConnectionsSearchOptions): Promise<GooglePrivacyDlpV2SearchConnectionsResponse>;
async organizationsLocationsDeidentifyTemplatesCreate(parent: string, req: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest): Promise<GooglePrivacyDlpV2DeidentifyTemplate>;
async organizationsLocationsDeidentifyTemplatesDelete(name: string): Promise<GoogleProtobufEmpty>;
async organizationsLocationsDeidentifyTemplatesGet(name: string): Promise<GooglePrivacyDlpV2DeidentifyTemplate>;
async organizationsLocationsDeidentifyTemplatesList(parent: string, opts?: OrganizationsLocationsDeidentifyTemplatesListOptions): Promise<GooglePrivacyDlpV2ListDeidentifyTemplatesResponse>;
async organizationsLocationsDeidentifyTemplatesPatch(name: string, req: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest): Promise<GooglePrivacyDlpV2DeidentifyTemplate>;
async organizationsLocationsDiscoveryConfigsCreate(parent: string, req: GooglePrivacyDlpV2CreateDiscoveryConfigRequest): Promise<GooglePrivacyDlpV2DiscoveryConfig>;
async organizationsLocationsDiscoveryConfigsDelete(name: string): Promise<GoogleProtobufEmpty>;
async organizationsLocationsDiscoveryConfigsGet(name: string): Promise<GooglePrivacyDlpV2DiscoveryConfig>;
async organizationsLocationsDiscoveryConfigsList(parent: string, opts?: OrganizationsLocationsDiscoveryConfigsListOptions): Promise<GooglePrivacyDlpV2ListDiscoveryConfigsResponse>;
async organizationsLocationsDiscoveryConfigsPatch(name: string, req: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest): Promise<GooglePrivacyDlpV2DiscoveryConfig>;
async organizationsLocationsDlpJobsList(parent: string, opts?: OrganizationsLocationsDlpJobsListOptions): Promise<GooglePrivacyDlpV2ListDlpJobsResponse>;
async organizationsLocationsInspectTemplatesCreate(parent: string, req: GooglePrivacyDlpV2CreateInspectTemplateRequest): Promise<GooglePrivacyDlpV2InspectTemplate>;
async organizationsLocationsInspectTemplatesDelete(name: string): Promise<GoogleProtobufEmpty>;
async organizationsLocationsInspectTemplatesGet(name: string): Promise<GooglePrivacyDlpV2InspectTemplate>;
async organizationsLocationsInspectTemplatesList(parent: string, opts?: OrganizationsLocationsInspectTemplatesListOptions): Promise<GooglePrivacyDlpV2ListInspectTemplatesResponse>;
async organizationsLocationsInspectTemplatesPatch(name: string, req: GooglePrivacyDlpV2UpdateInspectTemplateRequest): Promise<GooglePrivacyDlpV2InspectTemplate>;
async organizationsLocationsJobTriggersCreate(parent: string, req: GooglePrivacyDlpV2CreateJobTriggerRequest): Promise<GooglePrivacyDlpV2JobTrigger>;
async organizationsLocationsJobTriggersDelete(name: string): Promise<GoogleProtobufEmpty>;
async organizationsLocationsJobTriggersGet(name: string): Promise<GooglePrivacyDlpV2JobTrigger>;
async organizationsLocationsJobTriggersList(parent: string, opts?: OrganizationsLocationsJobTriggersListOptions): Promise<GooglePrivacyDlpV2ListJobTriggersResponse>;
async organizationsLocationsJobTriggersPatch(name: string, req: GooglePrivacyDlpV2UpdateJobTriggerRequest): Promise<GooglePrivacyDlpV2JobTrigger>;
async organizationsLocationsProjectDataProfilesGet(name: string): Promise<GooglePrivacyDlpV2ProjectDataProfile>;
async organizationsLocationsProjectDataProfilesList(parent: string, opts?: OrganizationsLocationsProjectDataProfilesListOptions): Promise<GooglePrivacyDlpV2ListProjectDataProfilesResponse>;
async organizationsLocationsStoredInfoTypesCreate(parent: string, req: GooglePrivacyDlpV2CreateStoredInfoTypeRequest): Promise<GooglePrivacyDlpV2StoredInfoType>;
async organizationsLocationsStoredInfoTypesDelete(name: string): Promise<GoogleProtobufEmpty>;
async organizationsLocationsStoredInfoTypesGet(name: string): Promise<GooglePrivacyDlpV2StoredInfoType>;
async organizationsLocationsStoredInfoTypesList(parent: string, opts?: OrganizationsLocationsStoredInfoTypesListOptions): Promise<GooglePrivacyDlpV2ListStoredInfoTypesResponse>;
async organizationsLocationsStoredInfoTypesPatch(name: string, req: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest): Promise<GooglePrivacyDlpV2StoredInfoType>;
async organizationsLocationsTableDataProfilesDelete(name: string): Promise<GoogleProtobufEmpty>;
async organizationsLocationsTableDataProfilesGet(name: string): Promise<GooglePrivacyDlpV2TableDataProfile>;
async organizationsLocationsTableDataProfilesList(parent: string, opts?: OrganizationsLocationsTableDataProfilesListOptions): Promise<GooglePrivacyDlpV2ListTableDataProfilesResponse>;
async organizationsStoredInfoTypesCreate(parent: string, req: GooglePrivacyDlpV2CreateStoredInfoTypeRequest): Promise<GooglePrivacyDlpV2StoredInfoType>;
async organizationsStoredInfoTypesDelete(name: string): Promise<GoogleProtobufEmpty>;
async organizationsStoredInfoTypesGet(name: string): Promise<GooglePrivacyDlpV2StoredInfoType>;
async organizationsStoredInfoTypesList(parent: string, opts?: OrganizationsStoredInfoTypesListOptions): Promise<GooglePrivacyDlpV2ListStoredInfoTypesResponse>;
async organizationsStoredInfoTypesPatch(name: string, req: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest): Promise<GooglePrivacyDlpV2StoredInfoType>;
async projectsContentDeidentify(parent: string, req: GooglePrivacyDlpV2DeidentifyContentRequest): Promise<GooglePrivacyDlpV2DeidentifyContentResponse>;
async projectsContentInspect(parent: string, req: GooglePrivacyDlpV2InspectContentRequest): Promise<GooglePrivacyDlpV2InspectContentResponse>;
async projectsContentReidentify(parent: string, req: GooglePrivacyDlpV2ReidentifyContentRequest): Promise<GooglePrivacyDlpV2ReidentifyContentResponse>;
async projectsDeidentifyTemplatesCreate(parent: string, req: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest): Promise<GooglePrivacyDlpV2DeidentifyTemplate>;
async projectsDeidentifyTemplatesDelete(name: string): Promise<GoogleProtobufEmpty>;
async projectsDeidentifyTemplatesGet(name: string): Promise<GooglePrivacyDlpV2DeidentifyTemplate>;
async projectsDeidentifyTemplatesList(parent: string, opts?: ProjectsDeidentifyTemplatesListOptions): Promise<GooglePrivacyDlpV2ListDeidentifyTemplatesResponse>;
async projectsDeidentifyTemplatesPatch(name: string, req: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest): Promise<GooglePrivacyDlpV2DeidentifyTemplate>;
async projectsDlpJobsCancel(name: string, req: GooglePrivacyDlpV2CancelDlpJobRequest): Promise<GoogleProtobufEmpty>;
async projectsDlpJobsCreate(parent: string, req: GooglePrivacyDlpV2CreateDlpJobRequest): Promise<GooglePrivacyDlpV2DlpJob>;
async projectsDlpJobsDelete(name: string): Promise<GoogleProtobufEmpty>;
async projectsDlpJobsGet(name: string): Promise<GooglePrivacyDlpV2DlpJob>;
async projectsDlpJobsList(parent: string, opts?: ProjectsDlpJobsListOptions): Promise<GooglePrivacyDlpV2ListDlpJobsResponse>;
async projectsImageRedact(parent: string, req: GooglePrivacyDlpV2RedactImageRequest): Promise<GooglePrivacyDlpV2RedactImageResponse>;
async projectsInspectTemplatesCreate(parent: string, req: GooglePrivacyDlpV2CreateInspectTemplateRequest): Promise<GooglePrivacyDlpV2InspectTemplate>;
async projectsInspectTemplatesDelete(name: string): Promise<GoogleProtobufEmpty>;
async projectsInspectTemplatesGet(name: string): Promise<GooglePrivacyDlpV2InspectTemplate>;
async projectsInspectTemplatesList(parent: string, opts?: ProjectsInspectTemplatesListOptions): Promise<GooglePrivacyDlpV2ListInspectTemplatesResponse>;
async projectsInspectTemplatesPatch(name: string, req: GooglePrivacyDlpV2UpdateInspectTemplateRequest): Promise<GooglePrivacyDlpV2InspectTemplate>;
async projectsJobTriggersActivate(name: string, req: GooglePrivacyDlpV2ActivateJobTriggerRequest): Promise<GooglePrivacyDlpV2DlpJob>;
async projectsJobTriggersCreate(parent: string, req: GooglePrivacyDlpV2CreateJobTriggerRequest): Promise<GooglePrivacyDlpV2JobTrigger>;
async projectsJobTriggersDelete(name: string): Promise<GoogleProtobufEmpty>;
async projectsJobTriggersGet(name: string): Promise<GooglePrivacyDlpV2JobTrigger>;
async projectsJobTriggersList(parent: string, opts?: ProjectsJobTriggersListOptions): Promise<GooglePrivacyDlpV2ListJobTriggersResponse>;
async projectsJobTriggersPatch(name: string, req: GooglePrivacyDlpV2UpdateJobTriggerRequest): Promise<GooglePrivacyDlpV2JobTrigger>;
async projectsLocationsColumnDataProfilesGet(name: string): Promise<GooglePrivacyDlpV2ColumnDataProfile>;
async projectsLocationsColumnDataProfilesList(parent: string, opts?: ProjectsLocationsColumnDataProfilesListOptions): Promise<GooglePrivacyDlpV2ListColumnDataProfilesResponse>;
async projectsLocationsConnectionsCreate(parent: string, req: GooglePrivacyDlpV2CreateConnectionRequest): Promise<GooglePrivacyDlpV2Connection>;
async projectsLocationsConnectionsDelete(name: string): Promise<GoogleProtobufEmpty>;
async projectsLocationsConnectionsGet(name: string): Promise<GooglePrivacyDlpV2Connection>;
async projectsLocationsConnectionsList(parent: string, opts?: ProjectsLocationsConnectionsListOptions): Promise<GooglePrivacyDlpV2ListConnectionsResponse>;
async projectsLocationsConnectionsPatch(name: string, req: GooglePrivacyDlpV2UpdateConnectionRequest): Promise<GooglePrivacyDlpV2Connection>;
async projectsLocationsConnectionsSearch(parent: string, opts?: ProjectsLocationsConnectionsSearchOptions): Promise<GooglePrivacyDlpV2SearchConnectionsResponse>;
async projectsLocationsContentDeidentify(parent: string, req: GooglePrivacyDlpV2DeidentifyContentRequest): Promise<GooglePrivacyDlpV2DeidentifyContentResponse>;
async projectsLocationsContentInspect(parent: string, req: GooglePrivacyDlpV2InspectContentRequest): Promise<GooglePrivacyDlpV2InspectContentResponse>;
async projectsLocationsContentReidentify(parent: string, req: GooglePrivacyDlpV2ReidentifyContentRequest): Promise<GooglePrivacyDlpV2ReidentifyContentResponse>;
async projectsLocationsDeidentifyTemplatesCreate(parent: string, req: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest): Promise<GooglePrivacyDlpV2DeidentifyTemplate>;
async projectsLocationsDeidentifyTemplatesDelete(name: string): Promise<GoogleProtobufEmpty>;
async projectsLocationsDeidentifyTemplatesGet(name: string): Promise<GooglePrivacyDlpV2DeidentifyTemplate>;
async projectsLocationsDeidentifyTemplatesList(parent: string, opts?: ProjectsLocationsDeidentifyTemplatesListOptions): Promise<GooglePrivacyDlpV2ListDeidentifyTemplatesResponse>;
async projectsLocationsDeidentifyTemplatesPatch(name: string, req: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest): Promise<GooglePrivacyDlpV2DeidentifyTemplate>;
async projectsLocationsDiscoveryConfigsCreate(parent: string, req: GooglePrivacyDlpV2CreateDiscoveryConfigRequest): Promise<GooglePrivacyDlpV2DiscoveryConfig>;
async projectsLocationsDiscoveryConfigsDelete(name: string): Promise<GoogleProtobufEmpty>;
async projectsLocationsDiscoveryConfigsGet(name: string): Promise<GooglePrivacyDlpV2DiscoveryConfig>;
async projectsLocationsDiscoveryConfigsList(parent: string, opts?: ProjectsLocationsDiscoveryConfigsListOptions): Promise<GooglePrivacyDlpV2ListDiscoveryConfigsResponse>;
async projectsLocationsDiscoveryConfigsPatch(name: string, req: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest): Promise<GooglePrivacyDlpV2DiscoveryConfig>;
async projectsLocationsDlpJobsCancel(name: string, req: GooglePrivacyDlpV2CancelDlpJobRequest): Promise<GoogleProtobufEmpty>;
async projectsLocationsDlpJobsCreate(parent: string, req: GooglePrivacyDlpV2CreateDlpJobRequest): Promise<GooglePrivacyDlpV2DlpJob>;
async projectsLocationsDlpJobsDelete(name: string): Promise<GoogleProtobufEmpty>;
async projectsLocationsDlpJobsFinish(name: string, req: GooglePrivacyDlpV2FinishDlpJobRequest): Promise<GoogleProtobufEmpty>;
async projectsLocationsDlpJobsGet(name: string): Promise<GooglePrivacyDlpV2DlpJob>;
async projectsLocationsDlpJobsHybridInspect(name: string, req: GooglePrivacyDlpV2HybridInspectDlpJobRequest): Promise<GooglePrivacyDlpV2HybridInspectResponse>;
async projectsLocationsDlpJobsList(parent: string, opts?: ProjectsLocationsDlpJobsListOptions): Promise<GooglePrivacyDlpV2ListDlpJobsResponse>;
async projectsLocationsImageRedact(parent: string, req: GooglePrivacyDlpV2RedactImageRequest): Promise<GooglePrivacyDlpV2RedactImageResponse>;
async projectsLocationsInspectTemplatesCreate(parent: string, req: GooglePrivacyDlpV2CreateInspectTemplateRequest): Promise<GooglePrivacyDlpV2InspectTemplate>;
async projectsLocationsInspectTemplatesDelete(name: string): Promise<GoogleProtobufEmpty>;
async projectsLocationsInspectTemplatesGet(name: string): Promise<GooglePrivacyDlpV2InspectTemplate>;
async projectsLocationsInspectTemplatesList(parent: string, opts?: ProjectsLocationsInspectTemplatesListOptions): Promise<GooglePrivacyDlpV2ListInspectTemplatesResponse>;
async projectsLocationsInspectTemplatesPatch(name: string, req: GooglePrivacyDlpV2UpdateInspectTemplateRequest): Promise<GooglePrivacyDlpV2InspectTemplate>;
async projectsLocationsJobTriggersActivate(name: string, req: GooglePrivacyDlpV2ActivateJobTriggerRequest): Promise<GooglePrivacyDlpV2DlpJob>;
async projectsLocationsJobTriggersCreate(parent: string, req: GooglePrivacyDlpV2CreateJobTriggerRequest): Promise<GooglePrivacyDlpV2JobTrigger>;
async projectsLocationsJobTriggersDelete(name: string): Promise<GoogleProtobufEmpty>;
async projectsLocationsJobTriggersGet(name: string): Promise<GooglePrivacyDlpV2JobTrigger>;
async projectsLocationsJobTriggersHybridInspect(name: string, req: GooglePrivacyDlpV2HybridInspectJobTriggerRequest): Promise<GooglePrivacyDlpV2HybridInspectResponse>;
async projectsLocationsJobTriggersList(parent: string, opts?: ProjectsLocationsJobTriggersListOptions): Promise<GooglePrivacyDlpV2ListJobTriggersResponse>;
async projectsLocationsJobTriggersPatch(name: string, req: GooglePrivacyDlpV2UpdateJobTriggerRequest): Promise<GooglePrivacyDlpV2JobTrigger>;
async projectsLocationsProjectDataProfilesGet(name: string): Promise<GooglePrivacyDlpV2ProjectDataProfile>;
async projectsLocationsProjectDataProfilesList(parent: string, opts?: ProjectsLocationsProjectDataProfilesListOptions): Promise<GooglePrivacyDlpV2ListProjectDataProfilesResponse>;
async projectsLocationsStoredInfoTypesCreate(parent: string, req: GooglePrivacyDlpV2CreateStoredInfoTypeRequest): Promise<GooglePrivacyDlpV2StoredInfoType>;
async projectsLocationsStoredInfoTypesDelete(name: string): Promise<GoogleProtobufEmpty>;
async projectsLocationsStoredInfoTypesGet(name: string): Promise<GooglePrivacyDlpV2StoredInfoType>;
async projectsLocationsStoredInfoTypesList(parent: string, opts?: ProjectsLocationsStoredInfoTypesListOptions): Promise<GooglePrivacyDlpV2ListStoredInfoTypesResponse>;
async projectsLocationsStoredInfoTypesPatch(name: string, req: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest): Promise<GooglePrivacyDlpV2StoredInfoType>;
async projectsLocationsTableDataProfilesDelete(name: string): Promise<GoogleProtobufEmpty>;
async projectsLocationsTableDataProfilesGet(name: string): Promise<GooglePrivacyDlpV2TableDataProfile>;
async projectsLocationsTableDataProfilesList(parent: string, opts?: ProjectsLocationsTableDataProfilesListOptions): Promise<GooglePrivacyDlpV2ListTableDataProfilesResponse>;
async projectsStoredInfoTypesCreate(parent: string, req: GooglePrivacyDlpV2CreateStoredInfoTypeRequest): Promise<GooglePrivacyDlpV2StoredInfoType>;
async projectsStoredInfoTypesDelete(name: string): Promise<GoogleProtobufEmpty>;
async projectsStoredInfoTypesGet(name: string): Promise<GooglePrivacyDlpV2StoredInfoType>;
async projectsStoredInfoTypesList(parent: string, opts?: ProjectsStoredInfoTypesListOptions): Promise<GooglePrivacyDlpV2ListStoredInfoTypesResponse>;
async projectsStoredInfoTypesPatch(name: string, req: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest): Promise<GooglePrivacyDlpV2StoredInfoType>;
}

§Constructors

§
new dlp(client?: CredentialsClient, baseUrl?: string)
[src]

§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.

§
locationsInfoTypesList(parent: string, opts?: LocationsInfoTypesListOptions): Promise<GooglePrivacyDlpV2ListInfoTypesResponse>
[src]

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.

@param parent

The parent resource name. The format of this value is as follows: locations/ LOCATION_ID

§
organizationsDeidentifyTemplatesCreate(parent: string, req: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest): Promise<GooglePrivacyDlpV2DeidentifyTemplate>
[src]

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.

@param parent

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

§
organizationsDeidentifyTemplatesDelete(name: string): Promise<GoogleProtobufEmpty>
[src]
@param name

Required. Resource name of the organization and deidentify template to be deleted, for example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.

§
organizationsDeidentifyTemplatesGet(name: string): Promise<GooglePrivacyDlpV2DeidentifyTemplate>
[src]
@param name

Required. Resource name of the organization and deidentify template to be read, for example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.

§
organizationsDeidentifyTemplatesList(parent: string, opts?: OrganizationsDeidentifyTemplatesListOptions): Promise<GooglePrivacyDlpV2ListDeidentifyTemplatesResponse>
[src]
@param parent

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

§
organizationsDeidentifyTemplatesPatch(name: string, req: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest): Promise<GooglePrivacyDlpV2DeidentifyTemplate>
[src]
@param name

Required. Resource name of organization and deidentify template to be updated, for example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.

§
organizationsInspectTemplatesCreate(parent: string, req: GooglePrivacyDlpV2CreateInspectTemplateRequest): Promise<GooglePrivacyDlpV2InspectTemplate>
[src]

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.

@param parent

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

§
organizationsInspectTemplatesDelete(name: string): Promise<GoogleProtobufEmpty>
[src]
@param name

Required. Resource name of the organization and inspectTemplate to be deleted, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.

§
organizationsInspectTemplatesGet(name: string): Promise<GooglePrivacyDlpV2InspectTemplate>
[src]
@param name

Required. Resource name of the organization and inspectTemplate to be read, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.

§
organizationsInspectTemplatesList(parent: string, opts?: OrganizationsInspectTemplatesListOptions): Promise<GooglePrivacyDlpV2ListInspectTemplatesResponse>
[src]
@param parent

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

§
organizationsInspectTemplatesPatch(name: string, req: GooglePrivacyDlpV2UpdateInspectTemplateRequest): Promise<GooglePrivacyDlpV2InspectTemplate>
[src]
@param name

Required. Resource name of organization and inspectTemplate to be updated, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.

§
organizationsLocationsColumnDataProfilesGet(name: string): Promise<GooglePrivacyDlpV2ColumnDataProfile>
[src]

Gets a column data profile.

@param name

Required. Resource name, for example organizations/12345/locations/us/columnDataProfiles/53234423.

§
organizationsLocationsColumnDataProfilesList(parent: string, opts?: OrganizationsLocationsColumnDataProfilesListOptions): Promise<GooglePrivacyDlpV2ListColumnDataProfilesResponse>
[src]

Lists column data profiles for an organization.

@param parent

Required. Resource name of the organization or project, for example organizations/433245324/locations/europe or projects/project-id/locations/asia.

§
organizationsLocationsConnectionsSearch(parent: string, opts?: OrganizationsLocationsConnectionsSearchOptions): Promise<GooglePrivacyDlpV2SearchConnectionsResponse>
[src]

Searches for Connections in a parent.

@param parent

Required. Parent name, typically an organization, without location. For example: "organizations/12345678".

§
organizationsLocationsDeidentifyTemplatesCreate(parent: string, req: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest): Promise<GooglePrivacyDlpV2DeidentifyTemplate>
[src]

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.

@param parent

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

§
organizationsLocationsDeidentifyTemplatesDelete(name: string): Promise<GoogleProtobufEmpty>
[src]
@param name

Required. Resource name of the organization and deidentify template to be deleted, for example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.

§
organizationsLocationsDeidentifyTemplatesGet(name: string): Promise<GooglePrivacyDlpV2DeidentifyTemplate>
[src]
@param name

Required. Resource name of the organization and deidentify template to be read, for example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.

§
organizationsLocationsDeidentifyTemplatesList(parent: string, opts?: OrganizationsLocationsDeidentifyTemplatesListOptions): Promise<GooglePrivacyDlpV2ListDeidentifyTemplatesResponse>
[src]
@param parent

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

§
organizationsLocationsDeidentifyTemplatesPatch(name: string, req: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest): Promise<GooglePrivacyDlpV2DeidentifyTemplate>
[src]
@param name

Required. Resource name of organization and deidentify template to be updated, for example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.

§
organizationsLocationsDiscoveryConfigsCreate(parent: string, req: GooglePrivacyDlpV2CreateDiscoveryConfigRequest): Promise<GooglePrivacyDlpV2DiscoveryConfig>
[src]

Creates a config for discovery to scan and profile storage.

@param parent

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

§
organizationsLocationsDiscoveryConfigsDelete(name: string): Promise<GoogleProtobufEmpty>
[src]

Deletes a discovery configuration.

@param name

Required. Resource name of the project and the config, for example projects/dlp-test-project/discoveryConfigs/53234423.

§
organizationsLocationsDiscoveryConfigsGet(name: string): Promise<GooglePrivacyDlpV2DiscoveryConfig>
[src]

Gets a discovery configuration.

@param name

Required. Resource name of the project and the configuration, for example projects/dlp-test-project/discoveryConfigs/53234423.

§
organizationsLocationsDiscoveryConfigsList(parent: string, opts?: OrganizationsLocationsDiscoveryConfigsListOptions): Promise<GooglePrivacyDlpV2ListDiscoveryConfigsResponse>
[src]

Lists discovery configurations.

@param parent

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

§
organizationsLocationsDiscoveryConfigsPatch(name: string, req: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest): Promise<GooglePrivacyDlpV2DiscoveryConfig>
[src]

Updates a discovery configuration.

@param name

Required. Resource name of the project and the configuration, for example projects/dlp-test-project/discoveryConfigs/53234423.

§
organizationsLocationsDlpJobsList(parent: string, opts?: OrganizationsLocationsDlpJobsListOptions): Promise<GooglePrivacyDlpV2ListDlpJobsResponse>
[src]
@param parent

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

§
organizationsLocationsInspectTemplatesCreate(parent: string, req: GooglePrivacyDlpV2CreateInspectTemplateRequest): Promise<GooglePrivacyDlpV2InspectTemplate>
[src]

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.

@param parent

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

§
organizationsLocationsInspectTemplatesDelete(name: string): Promise<GoogleProtobufEmpty>
[src]
@param name

Required. Resource name of the organization and inspectTemplate to be deleted, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.

§
organizationsLocationsInspectTemplatesGet(name: string): Promise<GooglePrivacyDlpV2InspectTemplate>
[src]
@param name

Required. Resource name of the organization and inspectTemplate to be read, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.

§
organizationsLocationsInspectTemplatesList(parent: string, opts?: OrganizationsLocationsInspectTemplatesListOptions): Promise<GooglePrivacyDlpV2ListInspectTemplatesResponse>
[src]
@param parent

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

§
organizationsLocationsInspectTemplatesPatch(name: string, req: GooglePrivacyDlpV2UpdateInspectTemplateRequest): Promise<GooglePrivacyDlpV2InspectTemplate>
[src]
@param name

Required. Resource name of organization and inspectTemplate to be updated, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.

§
organizationsLocationsJobTriggersCreate(parent: string, req: GooglePrivacyDlpV2CreateJobTriggerRequest): Promise<GooglePrivacyDlpV2JobTrigger>
[src]

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.

@param parent

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

§
organizationsLocationsJobTriggersDelete(name: string): Promise<GoogleProtobufEmpty>
[src]
@param name

Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423.

§
organizationsLocationsJobTriggersGet(name: string): Promise<GooglePrivacyDlpV2JobTrigger>
[src]
@param name

Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423.

§
organizationsLocationsJobTriggersList(parent: string, opts?: OrganizationsLocationsJobTriggersListOptions): Promise<GooglePrivacyDlpV2ListJobTriggersResponse>
[src]
@param parent

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

§
organizationsLocationsJobTriggersPatch(name: string, req: GooglePrivacyDlpV2UpdateJobTriggerRequest): Promise<GooglePrivacyDlpV2JobTrigger>
[src]
@param name

Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423.

§
organizationsLocationsProjectDataProfilesGet(name: string): Promise<GooglePrivacyDlpV2ProjectDataProfile>
[src]

Gets a project data profile.

@param name

Required. Resource name, for example organizations/12345/locations/us/projectDataProfiles/53234423.

§
organizationsLocationsProjectDataProfilesList(parent: string, opts?: OrganizationsLocationsProjectDataProfilesListOptions): Promise<GooglePrivacyDlpV2ListProjectDataProfilesResponse>
[src]

Lists project data profiles for an organization.

@param parent

Required. organizations/{org_id}/locations/{loc_id}

§
organizationsLocationsStoredInfoTypesCreate(parent: string, req: GooglePrivacyDlpV2CreateStoredInfoTypeRequest): Promise<GooglePrivacyDlpV2StoredInfoType>
[src]

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.

@param parent

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

§
organizationsLocationsStoredInfoTypesDelete(name: string): Promise<GoogleProtobufEmpty>
[src]
@param name

Required. Resource name of the organization and storedInfoType to be deleted, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

§
organizationsLocationsStoredInfoTypesGet(name: string): Promise<GooglePrivacyDlpV2StoredInfoType>
[src]
@param name

Required. Resource name of the organization and storedInfoType to be read, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

§
organizationsLocationsStoredInfoTypesList(parent: string, opts?: OrganizationsLocationsStoredInfoTypesListOptions): Promise<GooglePrivacyDlpV2ListStoredInfoTypesResponse>
[src]
@param parent

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

§
organizationsLocationsStoredInfoTypesPatch(name: string, req: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest): Promise<GooglePrivacyDlpV2StoredInfoType>
[src]

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.

@param name

Required. Resource name of organization and storedInfoType to be updated, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

§
organizationsLocationsTableDataProfilesDelete(name: string): Promise<GoogleProtobufEmpty>
[src]

Delete a TableDataProfile. Will not prevent the profile from being regenerated if the table is still included in a discovery configuration.

@param name

Required. Resource name of the table data profile.

§
organizationsLocationsTableDataProfilesGet(name: string): Promise<GooglePrivacyDlpV2TableDataProfile>
[src]

Gets a table data profile.

@param name

Required. Resource name, for example organizations/12345/locations/us/tableDataProfiles/53234423.

§
organizationsLocationsTableDataProfilesList(parent: string, opts?: OrganizationsLocationsTableDataProfilesListOptions): Promise<GooglePrivacyDlpV2ListTableDataProfilesResponse>
[src]

Lists table data profiles for an organization.

@param parent

Required. Resource name of the organization or project, for example organizations/433245324/locations/europe or projects/project-id/locations/asia.

§
organizationsStoredInfoTypesCreate(parent: string, req: GooglePrivacyDlpV2CreateStoredInfoTypeRequest): Promise<GooglePrivacyDlpV2StoredInfoType>
[src]

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.

@param parent

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

§
organizationsStoredInfoTypesDelete(name: string): Promise<GoogleProtobufEmpty>
[src]
@param name

Required. Resource name of the organization and storedInfoType to be deleted, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

§
organizationsStoredInfoTypesGet(name: string): Promise<GooglePrivacyDlpV2StoredInfoType>
[src]
@param name

Required. Resource name of the organization and storedInfoType to be read, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

§
organizationsStoredInfoTypesList(parent: string, opts?: OrganizationsStoredInfoTypesListOptions): Promise<GooglePrivacyDlpV2ListStoredInfoTypesResponse>
[src]
@param parent

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

§
organizationsStoredInfoTypesPatch(name: string, req: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest): Promise<GooglePrivacyDlpV2StoredInfoType>
[src]

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.

@param name

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.

@param parent

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

§
projectsContentInspect(parent: string, req: GooglePrivacyDlpV2InspectContentRequest): Promise<GooglePrivacyDlpV2InspectContentResponse>
[src]

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,

@param parent

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

§
@param parent

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

§
projectsDeidentifyTemplatesCreate(parent: string, req: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest): Promise<GooglePrivacyDlpV2DeidentifyTemplate>
[src]

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.

@param parent

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

§
projectsDeidentifyTemplatesDelete(name: string): Promise<GoogleProtobufEmpty>
[src]
@param name

Required. Resource name of the organization and deidentify template to be deleted, for example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.

§
projectsDeidentifyTemplatesGet(name: string): Promise<GooglePrivacyDlpV2DeidentifyTemplate>
[src]
@param name

Required. Resource name of the organization and deidentify template to be read, for example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.

§
projectsDeidentifyTemplatesList(parent: string, opts?: ProjectsDeidentifyTemplatesListOptions): Promise<GooglePrivacyDlpV2ListDeidentifyTemplatesResponse>
[src]
@param parent

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

§
projectsDeidentifyTemplatesPatch(name: string, req: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest): Promise<GooglePrivacyDlpV2DeidentifyTemplate>
[src]
@param name

Required. Resource name of organization and deidentify template to be updated, for example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.

§
projectsDlpJobsCancel(name: string, req: GooglePrivacyDlpV2CancelDlpJobRequest): Promise<GoogleProtobufEmpty>
[src]

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.

@param name

Required. The name of the DlpJob resource to be cancelled.

§
projectsDlpJobsCreate(parent: string, req: GooglePrivacyDlpV2CreateDlpJobRequest): Promise<GooglePrivacyDlpV2DlpJob>
[src]

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.

@param parent

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

§
projectsDlpJobsDelete(name: string): Promise<GoogleProtobufEmpty>
[src]

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.

@param name

Required. The name of the DlpJob resource to be deleted.

§
projectsDlpJobsGet(name: string): Promise<GooglePrivacyDlpV2DlpJob>
[src]
@param name

Required. The name of the DlpJob resource.

§
projectsDlpJobsList(parent: string, opts?: ProjectsDlpJobsListOptions): Promise<GooglePrivacyDlpV2ListDlpJobsResponse>
[src]
@param parent

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

§
projectsImageRedact(parent: string, req: GooglePrivacyDlpV2RedactImageRequest): Promise<GooglePrivacyDlpV2RedactImageResponse>
[src]

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.

@param parent

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

§
projectsInspectTemplatesCreate(parent: string, req: GooglePrivacyDlpV2CreateInspectTemplateRequest): Promise<GooglePrivacyDlpV2InspectTemplate>
[src]

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.

@param parent

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

§
projectsInspectTemplatesDelete(name: string): Promise<GoogleProtobufEmpty>
[src]
@param name

Required. Resource name of the organization and inspectTemplate to be deleted, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.

§
projectsInspectTemplatesGet(name: string): Promise<GooglePrivacyDlpV2InspectTemplate>
[src]
@param name

Required. Resource name of the organization and inspectTemplate to be read, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.

§
projectsInspectTemplatesList(parent: string, opts?: ProjectsInspectTemplatesListOptions): Promise<GooglePrivacyDlpV2ListInspectTemplatesResponse>
[src]
@param parent

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

§
projectsInspectTemplatesPatch(name: string, req: GooglePrivacyDlpV2UpdateInspectTemplateRequest): Promise<GooglePrivacyDlpV2InspectTemplate>
[src]
@param name

Required. Resource name of organization and inspectTemplate to be updated, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.

§
projectsJobTriggersActivate(name: string, req: GooglePrivacyDlpV2ActivateJobTriggerRequest): Promise<GooglePrivacyDlpV2DlpJob>
[src]

Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.

@param name

Required. Resource name of the trigger to activate, for example projects/dlp-test-project/jobTriggers/53234423.

§
projectsJobTriggersCreate(parent: string, req: GooglePrivacyDlpV2CreateJobTriggerRequest): Promise<GooglePrivacyDlpV2JobTrigger>
[src]

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.

@param parent

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

§
projectsJobTriggersDelete(name: string): Promise<GoogleProtobufEmpty>
[src]
@param name

Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423.

§
projectsJobTriggersGet(name: string): Promise<GooglePrivacyDlpV2JobTrigger>
[src]
@param name

Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423.

§
projectsJobTriggersList(parent: string, opts?: ProjectsJobTriggersListOptions): Promise<GooglePrivacyDlpV2ListJobTriggersResponse>
[src]
@param parent

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

§
projectsJobTriggersPatch(name: string, req: GooglePrivacyDlpV2UpdateJobTriggerRequest): Promise<GooglePrivacyDlpV2JobTrigger>
[src]
@param name

Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423.

§
projectsLocationsColumnDataProfilesGet(name: string): Promise<GooglePrivacyDlpV2ColumnDataProfile>
[src]

Gets a column data profile.

@param name

Required. Resource name, for example organizations/12345/locations/us/columnDataProfiles/53234423.

§
projectsLocationsColumnDataProfilesList(parent: string, opts?: ProjectsLocationsColumnDataProfilesListOptions): Promise<GooglePrivacyDlpV2ListColumnDataProfilesResponse>
[src]

Lists column data profiles for an organization.

@param parent

Required. Resource name of the organization or project, for example organizations/433245324/locations/europe or projects/project-id/locations/asia.

§
projectsLocationsConnectionsCreate(parent: string, req: GooglePrivacyDlpV2CreateConnectionRequest): Promise<GooglePrivacyDlpV2Connection>
[src]

Create a Connection to an external data source.

@param parent

Required. Parent resource name in the format: "projects/{project}/locations/{location}".

§
projectsLocationsConnectionsDelete(name: string): Promise<GoogleProtobufEmpty>
[src]

Delete a Connection.

@param name

Required. Resource name of the Connection to be deleted, in the format: "projects/{project}/locations/{location}/connections/{connection}".

§
projectsLocationsConnectionsGet(name: string): Promise<GooglePrivacyDlpV2Connection>
[src]

Get a Connection by name.

@param name

Required. Resource name in the format: "projects/{project}/locations/{location}/connections/{connection}".

§
projectsLocationsConnectionsList(parent: string, opts?: ProjectsLocationsConnectionsListOptions): Promise<GooglePrivacyDlpV2ListConnectionsResponse>
[src]

Lists Connections in a parent.

@param parent

Required. Parent name, for example: "projects/project-id/locations/global".

§
projectsLocationsConnectionsPatch(name: string, req: GooglePrivacyDlpV2UpdateConnectionRequest): Promise<GooglePrivacyDlpV2Connection>
[src]

Update a Connection.

@param name

Required. Resource name in the format: "projects/{project}/locations/{location}/connections/{connection}".

§
projectsLocationsConnectionsSearch(parent: string, opts?: ProjectsLocationsConnectionsSearchOptions): Promise<GooglePrivacyDlpV2SearchConnectionsResponse>
[src]

Searches for Connections in a parent.

@param parent

Required. Parent name, typically an organization, without location. For example: "organizations/12345678".

§
projectsLocationsContentDeidentify(parent: string, req: GooglePrivacyDlpV2DeidentifyContentRequest): Promise<GooglePrivacyDlpV2DeidentifyContentResponse>
[src]

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.

@param parent

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

§
projectsLocationsContentInspect(parent: string, req: GooglePrivacyDlpV2InspectContentRequest): Promise<GooglePrivacyDlpV2InspectContentResponse>
[src]

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,

@param parent

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

§
projectsLocationsContentReidentify(parent: string, req: GooglePrivacyDlpV2ReidentifyContentRequest): Promise<GooglePrivacyDlpV2ReidentifyContentResponse>
[src]
@param parent

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

§
projectsLocationsDeidentifyTemplatesCreate(parent: string, req: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest): Promise<GooglePrivacyDlpV2DeidentifyTemplate>
[src]

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.

@param parent

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

§
projectsLocationsDeidentifyTemplatesDelete(name: string): Promise<GoogleProtobufEmpty>
[src]
@param name

Required. Resource name of the organization and deidentify template to be deleted, for example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.

§
projectsLocationsDeidentifyTemplatesGet(name: string): Promise<GooglePrivacyDlpV2DeidentifyTemplate>
[src]
@param name

Required. Resource name of the organization and deidentify template to be read, for example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.

§
projectsLocationsDeidentifyTemplatesList(parent: string, opts?: ProjectsLocationsDeidentifyTemplatesListOptions): Promise<GooglePrivacyDlpV2ListDeidentifyTemplatesResponse>
[src]
@param parent

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

§
projectsLocationsDeidentifyTemplatesPatch(name: string, req: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest): Promise<GooglePrivacyDlpV2DeidentifyTemplate>
[src]
@param name

Required. Resource name of organization and deidentify template to be updated, for example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.

§
projectsLocationsDiscoveryConfigsCreate(parent: string, req: GooglePrivacyDlpV2CreateDiscoveryConfigRequest): Promise<GooglePrivacyDlpV2DiscoveryConfig>
[src]

Creates a config for discovery to scan and profile storage.

@param parent

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

§
projectsLocationsDiscoveryConfigsDelete(name: string): Promise<GoogleProtobufEmpty>
[src]

Deletes a discovery configuration.

@param name

Required. Resource name of the project and the config, for example projects/dlp-test-project/discoveryConfigs/53234423.

§
projectsLocationsDiscoveryConfigsGet(name: string): Promise<GooglePrivacyDlpV2DiscoveryConfig>
[src]

Gets a discovery configuration.

@param name

Required. Resource name of the project and the configuration, for example projects/dlp-test-project/discoveryConfigs/53234423.

§
projectsLocationsDiscoveryConfigsList(parent: string, opts?: ProjectsLocationsDiscoveryConfigsListOptions): Promise<GooglePrivacyDlpV2ListDiscoveryConfigsResponse>
[src]

Lists discovery configurations.

@param parent

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

§
projectsLocationsDiscoveryConfigsPatch(name: string, req: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest): Promise<GooglePrivacyDlpV2DiscoveryConfig>
[src]

Updates a discovery configuration.

@param name

Required. Resource name of the project and the configuration, for example projects/dlp-test-project/discoveryConfigs/53234423.

§
projectsLocationsDlpJobsCancel(name: string, req: GooglePrivacyDlpV2CancelDlpJobRequest): Promise<GoogleProtobufEmpty>
[src]

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.

@param name

Required. The name of the DlpJob resource to be cancelled.

§
projectsLocationsDlpJobsCreate(parent: string, req: GooglePrivacyDlpV2CreateDlpJobRequest): Promise<GooglePrivacyDlpV2DlpJob>
[src]

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.

@param parent

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

§
projectsLocationsDlpJobsDelete(name: string): Promise<GoogleProtobufEmpty>
[src]

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.

@param name

Required. The name of the DlpJob resource to be deleted.

§
projectsLocationsDlpJobsFinish(name: string, req: GooglePrivacyDlpV2FinishDlpJobRequest): Promise<GoogleProtobufEmpty>
[src]

Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled actions that have not yet run.

@param name

Required. The name of the DlpJob resource to be finished.

§
projectsLocationsDlpJobsGet(name: string): Promise<GooglePrivacyDlpV2DlpJob>
[src]
@param name

Required. The name of the DlpJob resource.

§
projectsLocationsDlpJobsHybridInspect(name: string, req: GooglePrivacyDlpV2HybridInspectDlpJobRequest): Promise<GooglePrivacyDlpV2HybridInspectResponse>
[src]

Inspect hybrid content and store findings to a job. To review the findings, inspect the job. Inspection will occur asynchronously.

@param name

Required. Resource name of the job to execute a hybrid inspect on, for example projects/dlp-test-project/dlpJob/53234423.

§
projectsLocationsDlpJobsList(parent: string, opts?: ProjectsLocationsDlpJobsListOptions): Promise<GooglePrivacyDlpV2ListDlpJobsResponse>
[src]
@param parent

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

§
projectsLocationsImageRedact(parent: string, req: GooglePrivacyDlpV2RedactImageRequest): Promise<GooglePrivacyDlpV2RedactImageResponse>
[src]

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.

@param parent

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

§
projectsLocationsInspectTemplatesCreate(parent: string, req: GooglePrivacyDlpV2CreateInspectTemplateRequest): Promise<GooglePrivacyDlpV2InspectTemplate>
[src]

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.

@param parent

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

§
projectsLocationsInspectTemplatesDelete(name: string): Promise<GoogleProtobufEmpty>
[src]
@param name

Required. Resource name of the organization and inspectTemplate to be deleted, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.

§
projectsLocationsInspectTemplatesGet(name: string): Promise<GooglePrivacyDlpV2InspectTemplate>
[src]
@param name

Required. Resource name of the organization and inspectTemplate to be read, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.

§
projectsLocationsInspectTemplatesList(parent: string, opts?: ProjectsLocationsInspectTemplatesListOptions): Promise<GooglePrivacyDlpV2ListInspectTemplatesResponse>
[src]
@param parent

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

§
projectsLocationsInspectTemplatesPatch(name: string, req: GooglePrivacyDlpV2UpdateInspectTemplateRequest): Promise<GooglePrivacyDlpV2InspectTemplate>
[src]
@param name

Required. Resource name of organization and inspectTemplate to be updated, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.

§
projectsLocationsJobTriggersActivate(name: string, req: GooglePrivacyDlpV2ActivateJobTriggerRequest): Promise<GooglePrivacyDlpV2DlpJob>
[src]

Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.

@param name

Required. Resource name of the trigger to activate, for example projects/dlp-test-project/jobTriggers/53234423.

§
projectsLocationsJobTriggersCreate(parent: string, req: GooglePrivacyDlpV2CreateJobTriggerRequest): Promise<GooglePrivacyDlpV2JobTrigger>
[src]

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.

@param parent

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

§
projectsLocationsJobTriggersDelete(name: string): Promise<GoogleProtobufEmpty>
[src]
@param name

Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423.

§
projectsLocationsJobTriggersGet(name: string): Promise<GooglePrivacyDlpV2JobTrigger>
[src]
@param name

Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423.

§
projectsLocationsJobTriggersHybridInspect(name: string, req: GooglePrivacyDlpV2HybridInspectJobTriggerRequest): Promise<GooglePrivacyDlpV2HybridInspectResponse>
[src]

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.

@param name

Required. Resource name of the trigger to execute a hybrid inspect on, for example projects/dlp-test-project/jobTriggers/53234423.

§
projectsLocationsJobTriggersList(parent: string, opts?: ProjectsLocationsJobTriggersListOptions): Promise<GooglePrivacyDlpV2ListJobTriggersResponse>
[src]
@param parent

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

§
projectsLocationsJobTriggersPatch(name: string, req: GooglePrivacyDlpV2UpdateJobTriggerRequest): Promise<GooglePrivacyDlpV2JobTrigger>
[src]
@param name

Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423.

§
projectsLocationsProjectDataProfilesGet(name: string): Promise<GooglePrivacyDlpV2ProjectDataProfile>
[src]

Gets a project data profile.

@param name

Required. Resource name, for example organizations/12345/locations/us/projectDataProfiles/53234423.

§
projectsLocationsProjectDataProfilesList(parent: string, opts?: ProjectsLocationsProjectDataProfilesListOptions): Promise<GooglePrivacyDlpV2ListProjectDataProfilesResponse>
[src]

Lists project data profiles for an organization.

@param parent

Required. organizations/{org_id}/locations/{loc_id}

§
projectsLocationsStoredInfoTypesCreate(parent: string, req: GooglePrivacyDlpV2CreateStoredInfoTypeRequest): Promise<GooglePrivacyDlpV2StoredInfoType>
[src]

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.

@param parent

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

§
projectsLocationsStoredInfoTypesDelete(name: string): Promise<GoogleProtobufEmpty>
[src]
@param name

Required. Resource name of the organization and storedInfoType to be deleted, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

§
projectsLocationsStoredInfoTypesGet(name: string): Promise<GooglePrivacyDlpV2StoredInfoType>
[src]
@param name

Required. Resource name of the organization and storedInfoType to be read, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

§
projectsLocationsStoredInfoTypesList(parent: string, opts?: ProjectsLocationsStoredInfoTypesListOptions): Promise<GooglePrivacyDlpV2ListStoredInfoTypesResponse>
[src]
@param parent

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

§
projectsLocationsStoredInfoTypesPatch(name: string, req: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest): Promise<GooglePrivacyDlpV2StoredInfoType>
[src]

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.

@param name

Required. Resource name of organization and storedInfoType to be updated, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

§
projectsLocationsTableDataProfilesDelete(name: string): Promise<GoogleProtobufEmpty>
[src]

Delete a TableDataProfile. Will not prevent the profile from being regenerated if the table is still included in a discovery configuration.

@param name

Required. Resource name of the table data profile.

§
projectsLocationsTableDataProfilesGet(name: string): Promise<GooglePrivacyDlpV2TableDataProfile>
[src]

Gets a table data profile.

@param name

Required. Resource name, for example organizations/12345/locations/us/tableDataProfiles/53234423.

§
projectsLocationsTableDataProfilesList(parent: string, opts?: ProjectsLocationsTableDataProfilesListOptions): Promise<GooglePrivacyDlpV2ListTableDataProfilesResponse>
[src]

Lists table data profiles for an organization.

@param parent

Required. Resource name of the organization or project, for example organizations/433245324/locations/europe or projects/project-id/locations/asia.

§
projectsStoredInfoTypesCreate(parent: string, req: GooglePrivacyDlpV2CreateStoredInfoTypeRequest): Promise<GooglePrivacyDlpV2StoredInfoType>
[src]

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.

@param parent

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

§
projectsStoredInfoTypesDelete(name: string): Promise<GoogleProtobufEmpty>
[src]
@param name

Required. Resource name of the organization and storedInfoType to be deleted, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

§
projectsStoredInfoTypesGet(name: string): Promise<GooglePrivacyDlpV2StoredInfoType>
[src]
@param name

Required. Resource name of the organization and storedInfoType to be read, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

§
projectsStoredInfoTypesList(parent: string, opts?: ProjectsStoredInfoTypesListOptions): Promise<GooglePrivacyDlpV2ListStoredInfoTypesResponse>
[src]
@param parent

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

§
projectsStoredInfoTypesPatch(name: string, req: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest): Promise<GooglePrivacyDlpV2StoredInfoType>
[src]

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.

@param name

Required. Resource name of organization and storedInfoType to be updated, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.