Class DeidentifyContentRequest (3.2.4)

DeidentifyContentRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request to de-identify a list of items. .. attribute:: parent

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: 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

    :type: str

Attributes

NameDescription
deidentify_config google.cloud.dlp_v2.types.DeidentifyConfig
Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify_template_name argument.
inspect_config google.cloud.dlp_v2.types.InspectConfig
Configuration for the inspector. Items specified here will override the template referenced by the inspect_template_name argument.
item google.cloud.dlp_v2.types.ContentItem
The item to de-identify. Will be treated as text.
inspect_template_name str
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.
deidentify_template_name str
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.
location_id str
Deprecated. This field has no effect.