target.apidocs.com.google.api.services.dlp.v2.DLP.Projects.JobTriggers.html Maven / Gradle / Ivy
DLP.Projects.JobTriggers (Sensitive Data Protection (DLP) v2-rev20240609-2.0.0)
com.google.api.services.dlp.v2
Class DLP.Projects.JobTriggers
- java.lang.Object
-
- com.google.api.services.dlp.v2.DLP.Projects.JobTriggers
-
- Enclosing class:
- DLP.Projects
public class DLP.Projects.JobTriggers
extends Object
The "jobTriggers" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
DLP.Projects.JobTriggers.Activate
class
DLP.Projects.JobTriggers.Create
class
DLP.Projects.JobTriggers.Delete
class
DLP.Projects.JobTriggers.Get
class
DLP.Projects.JobTriggers.List
class
DLP.Projects.JobTriggers.Patch
-
Constructor Summary
Constructors
Constructor and Description
JobTriggers()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
DLP.Projects.JobTriggers.Activate
activate(String name,
GooglePrivacyDlpV2ActivateJobTriggerRequest content)
Activate a job trigger.
DLP.Projects.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.Projects.JobTriggers.Delete
delete(String name)
Deletes a job trigger.
DLP.Projects.JobTriggers.Get
get(String name)
Gets a job trigger.
DLP.Projects.JobTriggers.List
list(String parent)
Lists job triggers.
DLP.Projects.JobTriggers.Patch
patch(String name,
GooglePrivacyDlpV2UpdateJobTriggerRequest content)
Updates a job trigger.
-
-
Method Detail
-
activate
public DLP.Projects.JobTriggers.Activate activate(String name,
GooglePrivacyDlpV2ActivateJobTriggerRequest content)
throws IOException
Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the
trigger event to occur.
Create a request for the method "jobTriggers.activate".
This request holds the parameters needed by the dlp server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Resource name of the trigger to activate, for example `projects/dlp-test-
project/jobTriggers/53234423`.
content
- the GooglePrivacyDlpV2ActivateJobTriggerRequest
- Returns:
- the request
- Throws:
IOException
-
create
public DLP.Projects.JobTriggers.Create create(String parent,
GooglePrivacyDlpV2CreateJobTriggerRequest content)
throws IOException
Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a
set schedule. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers
to learn more.
Create a request for the method "jobTriggers.create".
This request holds the parameters needed by the dlp server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. Parent resource name. The format of this value varies depending on whether you have
[specified a processing location](https://cloud.google.com/sensitive-data-
protection/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-west3
content
- the GooglePrivacyDlpV2CreateJobTriggerRequest
- Returns:
- the request
- Throws:
IOException
-
delete
public DLP.Projects.JobTriggers.Delete delete(String name)
throws IOException
Deletes a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-
triggers to learn more.
Create a request for the method "jobTriggers.delete".
This request holds the parameters needed by the dlp server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-
project/jobTriggers/53234423`.
- Returns:
- the request
- Throws:
IOException
-
get
public DLP.Projects.JobTriggers.Get get(String name)
throws IOException
Gets a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-
triggers to learn more.
Create a request for the method "jobTriggers.get".
This request holds the parameters needed by the dlp server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-
project/jobTriggers/53234423`.
- Returns:
- the request
- Throws:
IOException
-
list
public DLP.Projects.JobTriggers.List list(String parent)
throws IOException
Lists job triggers. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-
triggers to learn more.
Create a request for the method "jobTriggers.list".
This request holds the parameters needed by the dlp server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. Parent resource name. The format of this value varies depending on whether you have
[specified a processing location](https://cloud.google.com/sensitive-data-
protection/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-west3
- Returns:
- the request
- Throws:
IOException
-
patch
public DLP.Projects.JobTriggers.Patch patch(String name,
GooglePrivacyDlpV2UpdateJobTriggerRequest content)
throws IOException
Updates a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-
triggers to learn more.
Create a request for the method "jobTriggers.patch".
This request holds the parameters needed by the dlp server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Resource name of the project and the triggeredJob, for example `projects/dlp-test-
project/jobTriggers/53234423`.
content
- the GooglePrivacyDlpV2UpdateJobTriggerRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy