Class InspectContentRequest (2.0.2)

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

Request to search for potentially sensitive info in a ContentItem.

Attributes

NameDescription
parent str
Parent resource name. - Format:projects/[PROJECT-ID] - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
inspect_config .dlp.InspectConfig
Configuration for the inspector. What specified here will override the template referenced by the inspect_template_name argument.
item .dlp.ContentItem
The item to inspect.
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.
location_id str
Deprecated. This field has no effect.