Class GooglePrivacyDlpV2RedactImageRequest
Request to search for potentially sensitive info in an image and redact it by covering it with a colored rectangle.
Implements
Inherited Members
Namespace: Google.Apis.DLP.v2.Data
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class GooglePrivacyDlpV2RedactImageRequest : IDirectResponseSchema
Properties
ByteItem
The content must be PNG, JPEG, SVG or BMP.
Declaration
[JsonProperty("byteItem")]
public virtual GooglePrivacyDlpV2ByteContentItem ByteItem { get; set; }
Property Value
| Type | Description |
|---|---|
| GooglePrivacyDlpV2ByteContentItem |
DeidentifyTemplate
The full resource name of the de-identification template to use. Settings in the main
image_redaction_configs field override the corresponding settings in this de-identification template. The
request fails if the type of the template's deidentify_config is not image_transformations.
Declaration
[JsonProperty("deidentifyTemplate")]
public virtual string DeidentifyTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ImageRedactionConfigs
The configuration for specifying what content to redact from images.
Declaration
[JsonProperty("imageRedactionConfigs")]
public virtual IList<GooglePrivacyDlpV2ImageRedactionConfig> ImageRedactionConfigs { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GooglePrivacyDlpV2ImageRedactionConfig> |
IncludeFindings
Whether the response should include findings along with the redacted image.
Declaration
[JsonProperty("includeFindings")]
public virtual bool? IncludeFindings { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
InspectConfig
Configuration for the inspector.
Declaration
[JsonProperty("inspectConfig")]
public virtual GooglePrivacyDlpV2InspectConfig InspectConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| GooglePrivacyDlpV2InspectConfig |
InspectTemplate
The full resource name of the inspection template to use. Settings in the main inspect_config field
override the corresponding settings in this inspection template. The merge behavior is as follows: -
Singular field: The main field's value replaces the value of the corresponding field in the template. -
Repeated fields: The field values are appended to the list defined in the template. - Sub-messages and
groups: The fields are recursively merged.
Declaration
[JsonProperty("inspectTemplate")]
public virtual string InspectTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LocationId
Deprecated. This field has no effect.
Declaration
[JsonProperty("locationId")]
public virtual string LocationId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |