Class ProjectsResource.DlpJobsResource
The "dlpJobs" collection of methods.
Inherited Members
Namespace: Google.Apis.DLP.v2
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class ProjectsResource.DlpJobsResource
Constructors
DlpJobsResource(IClientService)
Constructs a new resource.
Declaration
public DlpJobsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Cancel(GooglePrivacyDlpV2CancelDlpJobRequest, string)
Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Declaration
public virtual ProjectsResource.DlpJobsResource.CancelRequest Cancel(GooglePrivacyDlpV2CancelDlpJobRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| GooglePrivacyDlpV2CancelDlpJobRequest | body | The body of the request. |
| string | name | Required. The name of the DlpJob resource to be cancelled. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.DlpJobsResource.CancelRequest |
Create(GooglePrivacyDlpV2CreateDlpJobRequest, string)
Creates a new job to inspect storage or calculate risk metrics. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
Declaration
public virtual ProjectsResource.DlpJobsResource.CreateRequest Create(GooglePrivacyDlpV2CreateDlpJobRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GooglePrivacyDlpV2CreateDlpJobRequest | 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.DlpJobsResource.CreateRequest |
Delete(string)
Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be canceled if possible. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Declaration
public virtual ProjectsResource.DlpJobsResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The name of the DlpJob resource to be deleted. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.DlpJobsResource.DeleteRequest |
Get(string)
Gets the latest state of a long-running DlpJob. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Declaration
public virtual ProjectsResource.DlpJobsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The name of the DlpJob resource. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.DlpJobsResource.GetRequest |
List(string)
Lists DlpJobs that match the specified filter in the request. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Declaration
public virtual ProjectsResource.DlpJobsResource.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.DlpJobsResource.ListRequest |