public class DLP.Projects.Locations.Image extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DLP.Projects.Locations.Image.Redact |
| Constructor and Description |
|---|
Image() |
| Modifier and Type | Method and Description |
|---|---|
DLP.Projects.Locations.Image.Redact |
redact(String parent,
GooglePrivacyDlpV2RedactImageRequest content)
Redacts potentially sensitive info from an image.
|
public DLP.Projects.Locations.Image.Redact redact(String parent, GooglePrivacyDlpV2RedactImageRequest 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 GooglePrivacyDlpV2RedactImageRequestIOExceptionCopyright © 2011–2020 Google. All rights reserved.