Interface DeidentifyContentRequestOrBuilder (3.55.0)

public interface DeidentifyContentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeidentifyConfig()

public abstract DeidentifyConfig getDeidentifyConfig()

Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.

.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;

Returns
Type Description
DeidentifyConfig

The deidentifyConfig.

getDeidentifyConfigOrBuilder()

public abstract DeidentifyConfigOrBuilder getDeidentifyConfigOrBuilder()

Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.

.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;

Returns
Type Description
DeidentifyConfigOrBuilder

getDeidentifyTemplateName()

public abstract String getDeidentifyTemplateName()

Template to use. Any configuration directly specified in deidentify_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.

string deidentify_template_name = 6;

Returns
Type Description
String

The deidentifyTemplateName.

getDeidentifyTemplateNameBytes()

public abstract ByteString getDeidentifyTemplateNameBytes()

Template to use. Any configuration directly specified in deidentify_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.

string deidentify_template_name = 6;

Returns
Type Description
ByteString

The bytes for deidentifyTemplateName.

getInspectConfig()

public abstract InspectConfig getInspectConfig()

Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.

.google.privacy.dlp.v2.InspectConfig inspect_config = 3;

Returns
Type Description
InspectConfig

The inspectConfig.

getInspectConfigOrBuilder()

public abstract InspectConfigOrBuilder getInspectConfigOrBuilder()

Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.

.google.privacy.dlp.v2.InspectConfig inspect_config = 3;

Returns
Type Description
InspectConfigOrBuilder

getInspectTemplateName()

public abstract String getInspectTemplateName()

Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.

string inspect_template_name = 5;

Returns
Type Description
String

The inspectTemplateName.

getInspectTemplateNameBytes()

public abstract ByteString getInspectTemplateNameBytes()

Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.

string inspect_template_name = 5;

Returns
Type Description
ByteString

The bytes for inspectTemplateName.

getItem()

public abstract ContentItem getItem()

The item to de-identify. Will be treated as text.

This value must be of type Table if your deidentify_config is a RecordTransformations object.

.google.privacy.dlp.v2.ContentItem item = 4;

Returns
Type Description
ContentItem

The item.

getItemOrBuilder()

public abstract ContentItemOrBuilder getItemOrBuilder()

The item to de-identify. Will be treated as text.

This value must be of type Table if your deidentify_config is a RecordTransformations object.

.google.privacy.dlp.v2.ContentItem item = 4;

Returns
Type Description
ContentItemOrBuilder

getLocationId()

public abstract String getLocationId()

Deprecated. This field has no effect.

string location_id = 7;

Returns
Type Description
String

The locationId.

getLocationIdBytes()

public abstract ByteString getLocationIdBytes()

Deprecated. This field has no effect.

string location_id = 7;

Returns
Type Description
ByteString

The bytes for locationId.

getParent()

public abstract String getParent()

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

string parent = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

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

string parent = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasDeidentifyConfig()

public abstract boolean hasDeidentifyConfig()

Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.

.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2;

Returns
Type Description
boolean

Whether the deidentifyConfig field is set.

hasInspectConfig()

public abstract boolean hasInspectConfig()

Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.

.google.privacy.dlp.v2.InspectConfig inspect_config = 3;

Returns
Type Description
boolean

Whether the inspectConfig field is set.

hasItem()

public abstract boolean hasItem()

The item to de-identify. Will be treated as text.

This value must be of type Table if your deidentify_config is a RecordTransformations object.

.google.privacy.dlp.v2.ContentItem item = 4;

Returns
Type Description
boolean

Whether the item field is set.