Class ProjectsResource.LocationsResource.JobTriggersResource
The "jobTriggers" collection of methods.
Inherited Members
Namespace: Google.Apis.DLP.v2
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class ProjectsResource.LocationsResource.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.LocationsResource.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.LocationsResource.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.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: |
Returns
Type | Description |
---|---|
ProjectsResource.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 ProjectsResource.LocationsResource.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.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 ProjectsResource.LocationsResource.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.LocationsResource.JobTriggersResource.GetRequest |
HybridInspect(GooglePrivacyDlpV2HybridInspectJobTriggerRequest, string)
Inspect hybrid content and store findings to a trigger. The inspection will be processed asynchronously. To review the findings monitor the jobs within the trigger.
Declaration
public virtual ProjectsResource.LocationsResource.JobTriggersResource.HybridInspectRequest HybridInspect(GooglePrivacyDlpV2HybridInspectJobTriggerRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GooglePrivacyDlpV2HybridInspectJobTriggerRequest | body | The body of the request. |
string | name | Required. Resource name of the trigger to execute a hybrid inspect on, for example
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobTriggersResource.HybridInspectRequest |
List(string)
Lists job triggers. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Declaration
public virtual ProjectsResource.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: |
Returns
Type | Description |
---|---|
ProjectsResource.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 ProjectsResource.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
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobTriggersResource.PatchRequest |