Class ProjectsResource.JobTriggersResource
The "jobTriggers" collection of methods.
Inherited Members
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
|
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: |
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
|
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
|
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: |
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
|
Returns
Type | Description |
---|---|
ProjectsResource.JobTriggersResource.PatchRequest |