public class DLP.Projects.DeidentifyTemplates extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DLP.Projects.DeidentifyTemplates.Create |
class |
DLP.Projects.DeidentifyTemplates.Delete |
class |
DLP.Projects.DeidentifyTemplates.Get |
class |
DLP.Projects.DeidentifyTemplates.List |
class |
DLP.Projects.DeidentifyTemplates.Patch |
| Constructor and Description |
|---|
DeidentifyTemplates() |
| Modifier and Type | Method and Description |
|---|---|
DLP.Projects.DeidentifyTemplates.Create |
create(String parent,
GooglePrivacyDlpV2CreateDeidentifyTemplateRequest content)
Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying
content, images, and storage.
|
DLP.Projects.DeidentifyTemplates.Delete |
delete(String name)
Deletes a DeidentifyTemplate.
|
DLP.Projects.DeidentifyTemplates.Get |
get(String name)
Gets a DeidentifyTemplate.
|
DLP.Projects.DeidentifyTemplates.List |
list(String parent)
Lists DeidentifyTemplates.
|
DLP.Projects.DeidentifyTemplates.Patch |
patch(String name,
GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest content)
Updates the DeidentifyTemplate.
|
public DLP.Projects.DeidentifyTemplates.Create create(String parent, GooglePrivacyDlpV2CreateDeidentifyTemplateRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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/dlp/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-west3content - the GooglePrivacyDlpV2CreateDeidentifyTemplateRequestIOExceptionpublic DLP.Projects.DeidentifyTemplates.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.IOExceptionpublic DLP.Projects.DeidentifyTemplates.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.IOExceptionpublic DLP.Projects.DeidentifyTemplates.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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/dlp/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-west3IOExceptionpublic DLP.Projects.DeidentifyTemplates.Patch patch(String name, GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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 GooglePrivacyDlpV2UpdateDeidentifyTemplateRequestIOExceptionCopyright © 2011–2020 Google. All rights reserved.