public class DLP.Projects.Content extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DLP.Projects.Content.Deidentify |
class |
DLP.Projects.Content.Inspect |
class |
DLP.Projects.Content.Reidentify |
| Constructor and Description |
|---|
Content() |
| Modifier and Type | Method and Description |
|---|---|
DLP.Projects.Content.Deidentify |
deidentify(String parent,
GooglePrivacyDlpV2DeidentifyContentRequest content)
De-identifies potentially sensitive info from a ContentItem.
|
DLP.Projects.Content.Inspect |
inspect(String parent,
GooglePrivacyDlpV2InspectContentRequest content)
Finds potentially sensitive info in content.
|
DLP.Projects.Content.Reidentify |
reidentify(String parent,
GooglePrivacyDlpV2ReidentifyContentRequest content)
Re-identifies content that has been de-identified.
|
public DLP.Projects.Content.Deidentify deidentify(String parent, GooglePrivacyDlpV2DeidentifyContentRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Parent resource name. The format of this value varies depending on 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 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 GooglePrivacyDlpV2DeidentifyContentRequestIOExceptionpublic DLP.Projects.Content.Inspect inspect(String parent, GooglePrivacyDlpV2InspectContentRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Parent resource name. The format of this value varies depending on 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 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 GooglePrivacyDlpV2InspectContentRequestIOExceptionpublic DLP.Projects.Content.Reidentify reidentify(String parent, GooglePrivacyDlpV2ReidentifyContentRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. Parent resource name. The format of this value varies depending on 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 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 GooglePrivacyDlpV2ReidentifyContentRequestIOExceptionCopyright © 2011–2020 Google. All rights reserved.