All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.dlp.v2.DLP.Projects.Locations.DeidentifyTemplates.html Maven / Gradle / Ivy

There is a newer version: v2-rev20250105-2.0.0
Show newest version






DLP.Projects.Locations.DeidentifyTemplates (Sensitive Data Protection (DLP) v2-rev20240609-2.0.0)












com.google.api.services.dlp.v2

Class DLP.Projects.Locations.DeidentifyTemplates

  • java.lang.Object
    • com.google.api.services.dlp.v2.DLP.Projects.Locations.DeidentifyTemplates
  • Enclosing class:
    DLP.Projects.Locations


    public class DLP.Projects.Locations.DeidentifyTemplates
    extends Object
    The "deidentifyTemplates" collection of methods.
    • Constructor Detail

      • DeidentifyTemplates

        public DeidentifyTemplates()
    • Method Detail

      • create

        public DLP.Projects.Locations.DeidentifyTemplates.Create create(String parent,
                                                                        GooglePrivacyDlpV2CreateDeidentifyTemplateRequest content)
                                                                 throws IOException
        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. Create a request for the method "deidentifyTemplates.create". This request holds the parameters needed by the dlp server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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](https://cloud.google.com/sensitive-data-protection/docs/specifying-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
        content - the GooglePrivacyDlpV2CreateDeidentifyTemplateRequest
        Returns:
        the request
        Throws:
        IOException
      • delete

        public DLP.Projects.Locations.DeidentifyTemplates.Delete delete(String name)
                                                                 throws IOException
        Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data- protection/docs/creating-templates-deid to learn more. Create a request for the method "deidentifyTemplates.delete". This request holds the parameters needed by the dlp server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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.
        Returns:
        the request
        Throws:
        IOException
      • get

        public DLP.Projects.Locations.DeidentifyTemplates.Get get(String name)
                                                           throws IOException
        Gets a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating- templates-deid to learn more. Create a request for the method "deidentifyTemplates.get". This request holds the parameters needed by the dlp server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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.
        Returns:
        the request
        Throws:
        IOException
      • list

        public DLP.Projects.Locations.DeidentifyTemplates.List list(String parent)
                                                             throws IOException
        Lists DeidentifyTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating- templates-deid to learn more. Create a request for the method "deidentifyTemplates.list". This request holds the parameters needed by the dlp server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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](https://cloud.google.com/sensitive-data-protection/docs/specifying-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
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy