Package com.google.privacy.dlp.v2
Interface CreateDlpJobRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateDlpJobRequest,CreateDlpJobRequest.Builder
public interface CreateDlpJobRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InspectJobConfiggetInspectJob()An inspection job scans a storage repository for InfoTypes.InspectJobConfigOrBuildergetInspectJobOrBuilder()An inspection job scans a storage repository for InfoTypes.CreateDlpJobRequest.JobCasegetJobCase()StringgetJobId()The job id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Z\d-_]+`.com.google.protobuf.ByteStringgetJobIdBytes()The job id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Z\d-_]+`.StringgetLocationId()Deprecated.com.google.protobuf.ByteStringgetLocationIdBytes()Deprecated.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.RiskAnalysisJobConfiggetRiskJob()A risk analysis job calculates re-identification risk metrics for a BigQuery table.RiskAnalysisJobConfigOrBuildergetRiskJobOrBuilder()A risk analysis job calculates re-identification risk metrics for a BigQuery table.booleanhasInspectJob()An inspection job scans a storage repository for InfoTypes.booleanhasRiskJob()A risk analysis job calculates re-identification risk metrics for a BigQuery table.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-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-west3string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. Parent resource name. The format of this value varies depending on whether you have [specified a processing location](https://cloud.google.com/dlp/docs/specifying-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-west3string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasInspectJob
boolean hasInspectJob()
An inspection job scans a storage repository for InfoTypes.
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;- Returns:
- Whether the inspectJob field is set.
-
getInspectJob
InspectJobConfig getInspectJob()
An inspection job scans a storage repository for InfoTypes.
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;- Returns:
- The inspectJob.
-
getInspectJobOrBuilder
InspectJobConfigOrBuilder getInspectJobOrBuilder()
An inspection job scans a storage repository for InfoTypes.
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;
-
hasRiskJob
boolean hasRiskJob()
A risk analysis job calculates re-identification risk metrics for a BigQuery table.
.google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;- Returns:
- Whether the riskJob field is set.
-
getRiskJob
RiskAnalysisJobConfig getRiskJob()
A risk analysis job calculates re-identification risk metrics for a BigQuery table.
.google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;- Returns:
- The riskJob.
-
getRiskJobOrBuilder
RiskAnalysisJobConfigOrBuilder getRiskJobOrBuilder()
A risk analysis job calculates re-identification risk metrics for a BigQuery table.
.google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
-
getJobId
String getJobId()
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.
string job_id = 4;- Returns:
- The jobId.
-
getJobIdBytes
com.google.protobuf.ByteString getJobIdBytes()
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.
string job_id = 4;- Returns:
- The bytes for jobId.
-
getLocationId
String getLocationId()
Deprecated. This field has no effect.
string location_id = 5;- Returns:
- The locationId.
-
getLocationIdBytes
com.google.protobuf.ByteString getLocationIdBytes()
Deprecated. This field has no effect.
string location_id = 5;- Returns:
- The bytes for locationId.
-
getJobCase
CreateDlpJobRequest.JobCase getJobCase()
-
-