Show / Hide Table of Contents

Class OrganizationsResource.LocationsResource.JobTriggersResource

The "jobTriggers" collection of methods.

Inheritance
object
OrganizationsResource.LocationsResource.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 OrganizationsResource.LocationsResource.JobTriggersResource

Constructors

JobTriggersResource(IClientService)

Constructs a new resource.

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

Methods

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 OrganizationsResource.LocationsResource.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
OrganizationsResource.LocationsResource.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 OrganizationsResource.LocationsResource.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
OrganizationsResource.LocationsResource.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 OrganizationsResource.LocationsResource.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
OrganizationsResource.LocationsResource.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 OrganizationsResource.LocationsResource.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
OrganizationsResource.LocationsResource.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 OrganizationsResource.LocationsResource.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
OrganizationsResource.LocationsResource.JobTriggersResource.PatchRequest
In this article
Back to top Generated by DocFX