Method: projects.locations.inspectTemplates.get

Gets an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.

HTTP request

GET https://dlp.googleapis.com/v2/{name=projects/*/locations/*/inspectTemplates/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

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

Authorization requires the following IAM permission on the specified resource name:

  • dlp.inspectTemplates.get

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of InspectTemplate.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.