Google Cloud Data Loss Prevention v2 API - Class CreateDlpJobRequest (4.5.0)

public sealed class CreateDlpJobRequest : IMessage<CreateDlpJobRequest>, IEquatable<CreateDlpJobRequest>, IDeepCloneable<CreateDlpJobRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class CreateDlpJobRequest.

Request message for CreateDlpJobRequest. Used to initiate long running jobs such as calculating risk metrics or inspecting Google Cloud Storage.

Inheritance

Object > CreateDlpJobRequest

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

CreateDlpJobRequest()

public CreateDlpJobRequest()

CreateDlpJobRequest(CreateDlpJobRequest)

public CreateDlpJobRequest(CreateDlpJobRequest other)
Parameter
NameDescription
otherCreateDlpJobRequest

Properties

InspectJob

public InspectJobConfig InspectJob { get; set; }

An inspection job scans a storage repository for InfoTypes.

Property Value
TypeDescription
InspectJobConfig

JobCase

public CreateDlpJobRequest.JobOneofCase JobCase { get; }
Property Value
TypeDescription
CreateDlpJobRequest.JobOneofCase

JobId

public string JobId { get; set; }

The job id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.

Property Value
TypeDescription
String

LocationId

public string LocationId { get; set; }

Deprecated. This field has no effect.

Property Value
TypeDescription
String

Parent

public string Parent { get; set; }

Required. Parent resource name.

The format of this value varies depending on whether you have specified a processing location:

  • Projects scope, location specified:<br/> projects/<var>PROJECT_ID</var>/locations/<var>LOCATION_ID</var>
  • Projects scope, no location specified (defaults to global):<br/> projects/<var>PROJECT_ID</var>

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

Property Value
TypeDescription
String

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProjectName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
TypeDescription
IResourceName

RiskJob

public RiskAnalysisJobConfig RiskJob { get; set; }

A risk analysis job calculates re-identification risk metrics for a BigQuery table.

Property Value
TypeDescription
RiskAnalysisJobConfig