public class DLP.Projects.InspectTemplates extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DLP.Projects.InspectTemplates.Create |
class |
DLP.Projects.InspectTemplates.Delete |
class |
DLP.Projects.InspectTemplates.Get |
class |
DLP.Projects.InspectTemplates.List |
class |
DLP.Projects.InspectTemplates.Patch |
| Constructor and Description |
|---|
InspectTemplates() |
| Modifier and Type | Method and Description |
|---|---|
DLP.Projects.InspectTemplates.Create |
create(String parent,
GooglePrivacyDlpV2CreateInspectTemplateRequest content)
Creates an InspectTemplate for re-using frequently used configuration for inspecting content,
images, and storage.
|
DLP.Projects.InspectTemplates.Delete |
delete(String name)
Deletes an InspectTemplate.
|
DLP.Projects.InspectTemplates.Get |
get(String name)
Gets an InspectTemplate.
|
DLP.Projects.InspectTemplates.List |
list(String parent)
Lists InspectTemplates.
|
DLP.Projects.InspectTemplates.Patch |
patch(String name,
GooglePrivacyDlpV2UpdateInspectTemplateRequest content)
Updates the InspectTemplate.
|
public DLP.Projects.InspectTemplates.Create create(String parent, GooglePrivacyDlpV2CreateInspectTemplateRequest 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 GooglePrivacyDlpV2CreateInspectTemplateRequestIOExceptionpublic DLP.Projects.InspectTemplates.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Resource name of the organization and inspectTemplate to be deleted, for example
`organizations/433245324/inspectTemplates/432452342` or projects/project-
id/inspectTemplates/432452342.IOExceptionpublic DLP.Projects.InspectTemplates.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Resource name of the organization and inspectTemplate to be read, for example
`organizations/433245324/inspectTemplates/432452342` or projects/project-
id/inspectTemplates/432452342.IOExceptionpublic DLP.Projects.InspectTemplates.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.InspectTemplates.Patch patch(String name, GooglePrivacyDlpV2UpdateInspectTemplateRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Resource name of organization and inspectTemplate to be updated, for example
`organizations/433245324/inspectTemplates/432452342` or projects/project-
id/inspectTemplates/432452342.content - the GooglePrivacyDlpV2UpdateInspectTemplateRequestIOExceptionCopyright © 2011–2020 Google. All rights reserved.