public class DLP.Organizations.Locations.JobTriggers extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DLP.Organizations.Locations.JobTriggers.Create |
class |
DLP.Organizations.Locations.JobTriggers.Delete |
class |
DLP.Organizations.Locations.JobTriggers.Get |
class |
DLP.Organizations.Locations.JobTriggers.List |
class |
DLP.Organizations.Locations.JobTriggers.Patch |
| Constructor and Description |
|---|
JobTriggers() |
| Modifier and Type | Method and Description |
|---|---|
DLP.Organizations.Locations.JobTriggers.Create |
create(String parent,
GooglePrivacyDlpV2CreateJobTriggerRequest content)
Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a
set schedule.
|
DLP.Organizations.Locations.JobTriggers.Delete |
delete(String name)
Deletes a job trigger.
|
DLP.Organizations.Locations.JobTriggers.Get |
get(String name)
Gets a job trigger.
|
DLP.Organizations.Locations.JobTriggers.List |
list(String parent)
Lists job triggers.
|
DLP.Organizations.Locations.JobTriggers.Patch |
patch(String name,
GooglePrivacyDlpV2UpdateJobTriggerRequest content)
Updates a job trigger.
|
public DLP.Organizations.Locations.JobTriggers.Create create(String parent, GooglePrivacyDlpV2CreateJobTriggerRequest 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 GooglePrivacyDlpV2CreateJobTriggerRequestIOExceptionpublic DLP.Organizations.Locations.JobTriggers.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-
project/jobTriggers/53234423`.IOExceptionpublic DLP.Organizations.Locations.JobTriggers.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-
project/jobTriggers/53234423`.IOExceptionpublic DLP.Organizations.Locations.JobTriggers.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-west3IOExceptionpublic DLP.Organizations.Locations.JobTriggers.Patch patch(String name, GooglePrivacyDlpV2UpdateJobTriggerRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-
project/jobTriggers/53234423`.content - the GooglePrivacyDlpV2UpdateJobTriggerRequestIOExceptionCopyright © 2011–2020 Google. All rights reserved.