public class DLP.Projects.DlpJobs extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DLP.Projects.DlpJobs.Cancel |
class |
DLP.Projects.DlpJobs.Create |
class |
DLP.Projects.DlpJobs.Delete |
class |
DLP.Projects.DlpJobs.Get |
class |
DLP.Projects.DlpJobs.List |
| Constructor and Description |
|---|
DlpJobs() |
| Modifier and Type | Method and Description |
|---|---|
DLP.Projects.DlpJobs.Cancel |
cancel(String name,
GooglePrivacyDlpV2CancelDlpJobRequest content)
Starts asynchronous cancellation on a long-running DlpJob.
|
DLP.Projects.DlpJobs.Create |
create(String parent,
GooglePrivacyDlpV2CreateDlpJobRequest content)
Creates a new job to inspect storage or calculate risk metrics.
|
DLP.Projects.DlpJobs.Delete |
delete(String name)
Deletes a long-running DlpJob.
|
DLP.Projects.DlpJobs.Get |
get(String name)
Gets the latest state of a long-running DlpJob.
|
DLP.Projects.DlpJobs.List |
list(String parent)
Lists DlpJobs that match the specified filter in the request.
|
public DLP.Projects.DlpJobs.Cancel cancel(String name, GooglePrivacyDlpV2CancelDlpJobRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the DlpJob resource to be cancelled.content - the GooglePrivacyDlpV2CancelDlpJobRequestIOExceptionpublic DLP.Projects.DlpJobs.Create create(String parent, GooglePrivacyDlpV2CreateDlpJobRequest 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 GooglePrivacyDlpV2CreateDlpJobRequestIOExceptionpublic DLP.Projects.DlpJobs.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the DlpJob resource to be deleted.IOExceptionpublic DLP.Projects.DlpJobs.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the DlpJob resource.IOExceptionpublic DLP.Projects.DlpJobs.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 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-west3IOExceptionCopyright © 2011–2020 Google. All rights reserved.