target.apidocs.com.google.api.services.dlp.v2.DLP.Projects.Locations.DeidentifyTemplates.html Maven / Gradle / Ivy
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.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
DLP.Projects.Locations.DeidentifyTemplates.Create
class
DLP.Projects.Locations.DeidentifyTemplates.Delete
class
DLP.Projects.Locations.DeidentifyTemplates.Get
class
DLP.Projects.Locations.DeidentifyTemplates.List
class
DLP.Projects.Locations.DeidentifyTemplates.Patch
-
Constructor Summary
Constructors
Constructor and Description
DeidentifyTemplates()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
DLP.Projects.Locations.DeidentifyTemplates.Create
create(String parent,
GooglePrivacyDlpV2CreateDeidentifyTemplateRequest content)
Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying
content, images, and storage.
DLP.Projects.Locations.DeidentifyTemplates.Delete
delete(String name)
Deletes a DeidentifyTemplate.
DLP.Projects.Locations.DeidentifyTemplates.Get
get(String name)
Gets a DeidentifyTemplate.
DLP.Projects.Locations.DeidentifyTemplates.List
list(String parent)
Lists DeidentifyTemplates.
DLP.Projects.Locations.DeidentifyTemplates.Patch
patch(String name,
GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest content)
Updates the DeidentifyTemplate.
-
-
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
-
patch
public DLP.Projects.Locations.DeidentifyTemplates.Patch patch(String name,
GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest content)
throws IOException
Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data-
protection/docs/creating-templates-deid to learn more.
Create a request for the method "deidentifyTemplates.patch".
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 organization and deidentify template to be updated, for example
`organizations/433245324/deidentifyTemplates/432452342` or projects/project-
id/deidentifyTemplates/432452342.
content
- the GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy