Sensitive Data Protection (DLP) (dlp:v2)

2026-06-14

5 new methods

Additions

    Methods
  • dlp.projects.locations.contentPolicies.patch

      Flat Path : v2/projects/{projectsId}/locations/{locationsId}/contentPolicies/{contentPoliciesId}

      Description : Update a ContentPolicy.

      Path : v2/{+name}

      Parameters :

        name

          Description : Required. Resource name in the format: `projects/{project}/locations/{location}/contentPolicies/{content_policy}`.

          Location : path

          Required : Yes

          Type : string

          Pattern : ^projects/[^/]+/locations/[^/]+/contentPolicies/[^/]+$

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

      HTTP Method : PATCH

      Parameter Order : name

  • dlp.projects.locations.contentPolicies.get

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

      HTTP Method : GET

      Parameter Order : name

      Description : Get a ContentPolicy.

      Flat Path : v2/projects/{projectsId}/locations/{locationsId}/contentPolicies/{contentPoliciesId}

      Path : v2/{+name}

      Parameters :

        name

          Description : Required. Resource name in the format: `projects/{project}/locations/{location}/contentPolicies/{content_policy}`.

          Pattern : ^projects/[^/]+/locations/[^/]+/contentPolicies/[^/]+$

          Location : path

          Required : Yes

          Type : string

  • dlp.projects.locations.contentPolicies.delete

      HTTP Method : DELETE

      Parameter Order : name

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

      Path : v2/{+name}

      Parameters :

        name

          Description : Required. Resource name of the ContentPolicy to be deleted, in the format: `projects/{project}/locations/{location}/contentPolicies/{content_policy}`.

          Location : path

          Required : Yes

          Type : string

          Pattern : ^projects/[^/]+/locations/[^/]+/contentPolicies/[^/]+$

      Description : Delete a ContentPolicy.

      Flat Path : v2/projects/{projectsId}/locations/{locationsId}/contentPolicies/{contentPoliciesId}

  • dlp.projects.locations.contentPolicies.create

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

      HTTP Method : POST

      Parameter Order : parent

      Description : Create a ContentPolicy.

      Flat Path : v2/projects/{projectsId}/locations/{locationsId}/contentPolicies

      Path : v2/{+parent}/contentPolicies

      Parameters :

        parent

          Description : Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization): + Projects scope: `projects/{project_id}/locations/{location_id}` + Organizations scope: `organizations/{org_id}/locations/{location_id}`

          Location : path

          Required : Yes

          Type : string

          Pattern : ^projects/[^/]+/locations/[^/]+$

  • dlp.projects.locations.contentPolicies.list

      HTTP Method : GET

      Parameter Order : parent

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

      Path : v2/{+parent}/contentPolicies

      Parameters :

        parent

          Location : path

          Required : Yes

          Type : string

          Pattern : ^projects/[^/]+/locations/[^/]+$

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

        pageSize

          Location : query

          Type : integer

          Description : Optional. Number of results per page, max 1000.

          Format : int32

        pageToken

          Location : query

          Type : string

          Description : Optional. Page token from a previous page to return the next set of results. If set, all other request fields must match the original request.

      Description : Lists ContentPolicies in a parent.

      Flat Path : v2/projects/{projectsId}/locations/{locationsId}/contentPolicies