All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.dlp.v2.DLP.Projects.JobTriggers.html Maven / Gradle / Ivy

There is a newer version: v2-rev20250105-2.0.0
Show newest version






DLP.Projects.JobTriggers (Sensitive Data Protection (DLP) v2-rev20240609-2.0.0)












com.google.api.services.dlp.v2

Class DLP.Projects.JobTriggers

  • Enclosing class:
    DLP.Projects


    public class DLP.Projects.JobTriggers
    extends Object
    The "jobTriggers" collection of methods.
    • Constructor Detail

      • JobTriggers

        public JobTriggers()
    • 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