- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class DataProfileJobConfig.Builder extends GeneratedMessageV3.Builder<DataProfileJobConfig.Builder> implements DataProfileJobConfigOrBuilder
Configuration for setting up a job to scan resources for profile generation. Only one data profile configuration may exist per organization, folder, or project.
The generated data profiles are retained according to the data retention policy.
Protobuf type google.privacy.dlp.v2.DataProfileJobConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataProfileJobConfig.BuilderImplements
DataProfileJobConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDataProfileActions(Iterable<? extends DataProfileAction> values)
public DataProfileJobConfig.Builder addAllDataProfileActions(Iterable<? extends DataProfileAction> values)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.DataProfileAction> |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
addAllInspectTemplates(Iterable<String> values)
public DataProfileJobConfig.Builder addAllInspectTemplates(Iterable<String> values)
Detection logic for profile generation.
Not all template features are used by profiles. FindingLimits, include_quote and exclude_info_types have no impact on data profiling.
Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including "global"). Each region is scanned using the applicable template. If no region-specific template is specified, but a "global" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned.
For more information, see https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
repeated string inspect_templates = 7;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The inspectTemplates to add. |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder | This builder for chaining. |
addDataProfileActions(DataProfileAction value)
public DataProfileJobConfig.Builder addDataProfileActions(DataProfileAction value)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;
Parameter | |
---|---|
Name | Description |
value | DataProfileAction |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
addDataProfileActions(DataProfileAction.Builder builderForValue)
public DataProfileJobConfig.Builder addDataProfileActions(DataProfileAction.Builder builderForValue)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;
Parameter | |
---|---|
Name | Description |
builderForValue | DataProfileAction.Builder |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
addDataProfileActions(int index, DataProfileAction value)
public DataProfileJobConfig.Builder addDataProfileActions(int index, DataProfileAction value)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;
Parameters | |
---|---|
Name | Description |
index | int |
value | DataProfileAction |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
addDataProfileActions(int index, DataProfileAction.Builder builderForValue)
public DataProfileJobConfig.Builder addDataProfileActions(int index, DataProfileAction.Builder builderForValue)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | DataProfileAction.Builder |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
addDataProfileActionsBuilder()
public DataProfileAction.Builder addDataProfileActionsBuilder()
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;
Returns | |
---|---|
Type | Description |
DataProfileAction.Builder |
addDataProfileActionsBuilder(int index)
public DataProfileAction.Builder addDataProfileActionsBuilder(int index)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
DataProfileAction.Builder |
addInspectTemplates(String value)
public DataProfileJobConfig.Builder addInspectTemplates(String value)
Detection logic for profile generation.
Not all template features are used by profiles. FindingLimits, include_quote and exclude_info_types have no impact on data profiling.
Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including "global"). Each region is scanned using the applicable template. If no region-specific template is specified, but a "global" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned.
For more information, see https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
repeated string inspect_templates = 7;
Parameter | |
---|---|
Name | Description |
value | String The inspectTemplates to add. |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder | This builder for chaining. |
addInspectTemplatesBytes(ByteString value)
public DataProfileJobConfig.Builder addInspectTemplatesBytes(ByteString value)
Detection logic for profile generation.
Not all template features are used by profiles. FindingLimits, include_quote and exclude_info_types have no impact on data profiling.
Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including "global"). Each region is scanned using the applicable template. If no region-specific template is specified, but a "global" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned.
For more information, see https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
repeated string inspect_templates = 7;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the inspectTemplates to add. |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataProfileJobConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
build()
public DataProfileJobConfig build()
Returns | |
---|---|
Type | Description |
DataProfileJobConfig |
buildPartial()
public DataProfileJobConfig buildPartial()
Returns | |
---|---|
Type | Description |
DataProfileJobConfig |
clear()
public DataProfileJobConfig.Builder clear()
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
clearDataProfileActions()
public DataProfileJobConfig.Builder clearDataProfileActions()
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public DataProfileJobConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
clearInspectTemplates()
public DataProfileJobConfig.Builder clearInspectTemplates()
Detection logic for profile generation.
Not all template features are used by profiles. FindingLimits, include_quote and exclude_info_types have no impact on data profiling.
Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including "global"). Each region is scanned using the applicable template. If no region-specific template is specified, but a "global" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned.
For more information, see https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
repeated string inspect_templates = 7;
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder | This builder for chaining. |
clearLocation()
public DataProfileJobConfig.Builder clearLocation()
The data to scan.
.google.privacy.dlp.v2.DataProfileLocation location = 1;
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DataProfileJobConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
clearProjectId()
public DataProfileJobConfig.Builder clearProjectId()
The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be enabled.
string project_id = 5;
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder | This builder for chaining. |
clone()
public DataProfileJobConfig.Builder clone()
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
getDataProfileActions(int index)
public DataProfileAction getDataProfileActions(int index)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
DataProfileAction |
getDataProfileActionsBuilder(int index)
public DataProfileAction.Builder getDataProfileActionsBuilder(int index)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
DataProfileAction.Builder |
getDataProfileActionsBuilderList()
public List<DataProfileAction.Builder> getDataProfileActionsBuilderList()
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;
Returns | |
---|---|
Type | Description |
List<Builder> |
getDataProfileActionsCount()
public int getDataProfileActionsCount()
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;
Returns | |
---|---|
Type | Description |
int |
getDataProfileActionsList()
public List<DataProfileAction> getDataProfileActionsList()
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;
Returns | |
---|---|
Type | Description |
List<DataProfileAction> |
getDataProfileActionsOrBuilder(int index)
public DataProfileActionOrBuilder getDataProfileActionsOrBuilder(int index)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
DataProfileActionOrBuilder |
getDataProfileActionsOrBuilderList()
public List<? extends DataProfileActionOrBuilder> getDataProfileActionsOrBuilderList()
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;
Returns | |
---|---|
Type | Description |
List<? extends com.google.privacy.dlp.v2.DataProfileActionOrBuilder> |
getDefaultInstanceForType()
public DataProfileJobConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DataProfileJobConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInspectTemplates(int index)
public String getInspectTemplates(int index)
Detection logic for profile generation.
Not all template features are used by profiles. FindingLimits, include_quote and exclude_info_types have no impact on data profiling.
Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including "global"). Each region is scanned using the applicable template. If no region-specific template is specified, but a "global" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned.
For more information, see https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
repeated string inspect_templates = 7;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The inspectTemplates at the given index. |
getInspectTemplatesBytes(int index)
public ByteString getInspectTemplatesBytes(int index)
Detection logic for profile generation.
Not all template features are used by profiles. FindingLimits, include_quote and exclude_info_types have no impact on data profiling.
Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including "global"). Each region is scanned using the applicable template. If no region-specific template is specified, but a "global" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned.
For more information, see https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
repeated string inspect_templates = 7;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the inspectTemplates at the given index. |
getInspectTemplatesCount()
public int getInspectTemplatesCount()
Detection logic for profile generation.
Not all template features are used by profiles. FindingLimits, include_quote and exclude_info_types have no impact on data profiling.
Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including "global"). Each region is scanned using the applicable template. If no region-specific template is specified, but a "global" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned.
For more information, see https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
repeated string inspect_templates = 7;
Returns | |
---|---|
Type | Description |
int | The count of inspectTemplates. |
getInspectTemplatesList()
public ProtocolStringList getInspectTemplatesList()
Detection logic for profile generation.
Not all template features are used by profiles. FindingLimits, include_quote and exclude_info_types have no impact on data profiling.
Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including "global"). Each region is scanned using the applicable template. If no region-specific template is specified, but a "global" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned.
For more information, see https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
repeated string inspect_templates = 7;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the inspectTemplates. |
getLocation()
public DataProfileLocation getLocation()
The data to scan.
.google.privacy.dlp.v2.DataProfileLocation location = 1;
Returns | |
---|---|
Type | Description |
DataProfileLocation | The location. |
getLocationBuilder()
public DataProfileLocation.Builder getLocationBuilder()
The data to scan.
.google.privacy.dlp.v2.DataProfileLocation location = 1;
Returns | |
---|---|
Type | Description |
DataProfileLocation.Builder |
getLocationOrBuilder()
public DataProfileLocationOrBuilder getLocationOrBuilder()
The data to scan.
.google.privacy.dlp.v2.DataProfileLocation location = 1;
Returns | |
---|---|
Type | Description |
DataProfileLocationOrBuilder |
getProjectId()
public String getProjectId()
The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be enabled.
string project_id = 5;
Returns | |
---|---|
Type | Description |
String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be enabled.
string project_id = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for projectId. |
hasLocation()
public boolean hasLocation()
The data to scan.
.google.privacy.dlp.v2.DataProfileLocation location = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the location field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DataProfileJobConfig other)
public DataProfileJobConfig.Builder mergeFrom(DataProfileJobConfig other)
Parameter | |
---|---|
Name | Description |
other | DataProfileJobConfig |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataProfileJobConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DataProfileJobConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
mergeLocation(DataProfileLocation value)
public DataProfileJobConfig.Builder mergeLocation(DataProfileLocation value)
The data to scan.
.google.privacy.dlp.v2.DataProfileLocation location = 1;
Parameter | |
---|---|
Name | Description |
value | DataProfileLocation |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataProfileJobConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
removeDataProfileActions(int index)
public DataProfileJobConfig.Builder removeDataProfileActions(int index)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
setDataProfileActions(int index, DataProfileAction value)
public DataProfileJobConfig.Builder setDataProfileActions(int index, DataProfileAction value)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;
Parameters | |
---|---|
Name | Description |
index | int |
value | DataProfileAction |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
setDataProfileActions(int index, DataProfileAction.Builder builderForValue)
public DataProfileJobConfig.Builder setDataProfileActions(int index, DataProfileAction.Builder builderForValue)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | DataProfileAction.Builder |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DataProfileJobConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
setInspectTemplates(int index, String value)
public DataProfileJobConfig.Builder setInspectTemplates(int index, String value)
Detection logic for profile generation.
Not all template features are used by profiles. FindingLimits, include_quote and exclude_info_types have no impact on data profiling.
Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including "global"). Each region is scanned using the applicable template. If no region-specific template is specified, but a "global" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned.
For more information, see https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
repeated string inspect_templates = 7;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The inspectTemplates to set. |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder | This builder for chaining. |
setLocation(DataProfileLocation value)
public DataProfileJobConfig.Builder setLocation(DataProfileLocation value)
The data to scan.
.google.privacy.dlp.v2.DataProfileLocation location = 1;
Parameter | |
---|---|
Name | Description |
value | DataProfileLocation |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
setLocation(DataProfileLocation.Builder builderForValue)
public DataProfileJobConfig.Builder setLocation(DataProfileLocation.Builder builderForValue)
The data to scan.
.google.privacy.dlp.v2.DataProfileLocation location = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | DataProfileLocation.Builder |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
setProjectId(String value)
public DataProfileJobConfig.Builder setProjectId(String value)
The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be enabled.
string project_id = 5;
Parameter | |
---|---|
Name | Description |
value | String The projectId to set. |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder | This builder for chaining. |
setProjectIdBytes(ByteString value)
public DataProfileJobConfig.Builder setProjectIdBytes(ByteString value)
The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be enabled.
string project_id = 5;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for projectId to set. |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataProfileJobConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DataProfileJobConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataProfileJobConfig.Builder |