Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DlpJobsResource

The "dlpJobs" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.DlpJobsResource
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.LocationsResource.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.LocationsResource.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.LocationsResource.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.LocationsResource.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: 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.LocationsResource.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.LocationsResource.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.LocationsResource.DlpJobsResource.DeleteRequest

Finish(GooglePrivacyDlpV2FinishDlpJobRequest, string)

Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled actions that have not yet run.

Declaration
public virtual ProjectsResource.LocationsResource.DlpJobsResource.FinishRequest Finish(GooglePrivacyDlpV2FinishDlpJobRequest body, string name)
Parameters
Type Name Description
GooglePrivacyDlpV2FinishDlpJobRequest body

The body of the request.

string name

Required. The name of the DlpJob resource to be finished.

Returns
Type Description
ProjectsResource.LocationsResource.DlpJobsResource.FinishRequest

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.LocationsResource.DlpJobsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the DlpJob resource.

Returns
Type Description
ProjectsResource.LocationsResource.DlpJobsResource.GetRequest

HybridInspect(GooglePrivacyDlpV2HybridInspectDlpJobRequest, string)

Inspect hybrid content and store findings to a job. To review the findings, inspect the job. Inspection will occur asynchronously.

Declaration
public virtual ProjectsResource.LocationsResource.DlpJobsResource.HybridInspectRequest HybridInspect(GooglePrivacyDlpV2HybridInspectDlpJobRequest body, string name)
Parameters
Type Name Description
GooglePrivacyDlpV2HybridInspectDlpJobRequest body

The body of the request.

string name

Required. Resource name of the job to execute a hybrid inspect on, for example projects/dlp-test-project/dlpJob/53234423.

Returns
Type Description
ProjectsResource.LocationsResource.DlpJobsResource.HybridInspectRequest

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.LocationsResource.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: 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.LocationsResource.DlpJobsResource.ListRequest
In this article
Back to top Generated by DocFX