Show / Hide Table of Contents

Class ProjectsResource.JobTriggersResource

The "jobTriggers" collection of methods.

Inheritance
object
ProjectsResource.JobTriggersResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DLP.v2
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class ProjectsResource.JobTriggersResource

Constructors

JobTriggersResource(IClientService)

Constructs a new resource.

Declaration
public JobTriggersResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Activate(GooglePrivacyDlpV2ActivateJobTriggerRequest, string)

Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.

Declaration
public virtual ProjectsResource.JobTriggersResource.ActivateRequest Activate(GooglePrivacyDlpV2ActivateJobTriggerRequest body, string name)
Parameters
Type Name Description
GooglePrivacyDlpV2ActivateJobTriggerRequest body

The body of the request.

string name

Required. Resource name of the trigger to activate, for example projects/dlp-test-project/jobTriggers/53234423.

Returns
Type Description
ProjectsResource.JobTriggersResource.ActivateRequest

Create(GooglePrivacyDlpV2CreateJobTriggerRequest, string)

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.

Declaration
public virtual ProjectsResource.JobTriggersResource.CreateRequest Create(GooglePrivacyDlpV2CreateJobTriggerRequest body, string parent)
Parameters
Type Name Description
GooglePrivacyDlpV2CreateJobTriggerRequest body

The body of the request.

string parent

Required. Parent resource name. The format of this value varies depending on whether you have specified a processing 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
Type Description
ProjectsResource.JobTriggersResource.CreateRequest

Delete(string)

Deletes a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.

Declaration
public virtual ProjectsResource.JobTriggersResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423.

Returns
Type Description
ProjectsResource.JobTriggersResource.DeleteRequest

Get(string)

Gets a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.

Declaration
public virtual ProjectsResource.JobTriggersResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423.

Returns
Type Description
ProjectsResource.JobTriggersResource.GetRequest

List(string)

Lists job triggers. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.

Declaration
public virtual ProjectsResource.JobTriggersResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Parent resource name. The format of this value varies depending on whether you have specified a processing 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
Type Description
ProjectsResource.JobTriggersResource.ListRequest

Patch(GooglePrivacyDlpV2UpdateJobTriggerRequest, string)

Updates a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.

Declaration
public virtual ProjectsResource.JobTriggersResource.PatchRequest Patch(GooglePrivacyDlpV2UpdateJobTriggerRequest body, string name)
Parameters
Type Name Description
GooglePrivacyDlpV2UpdateJobTriggerRequest body

The body of the request.

string name

Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423.

Returns
Type Description
ProjectsResource.JobTriggersResource.PatchRequest
In this article
Back to top Generated by DocFX