public sealed class RedactImageRequest : IMessage<RedactImageRequest>, IEquatable<RedactImageRequest>, IDeepCloneable<RedactImageRequest>, IBufferMessage, IMessageRequest to search for potentially sensitive info in an image and redact it by covering it with a colored rectangle.
Implements
IMessage<RedactImageRequest>, IEquatable<RedactImageRequest>, IDeepCloneable<RedactImageRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
RedactImageRequest()
public RedactImageRequest()RedactImageRequest(RedactImageRequest)
public RedactImageRequest(RedactImageRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RedactImageRequest |
Properties
ByteItem
public ByteContentItem ByteItem { get; set; }The content must be PNG, JPEG, SVG or BMP.
| Property Value | |
|---|---|
| Type | Description |
ByteContentItem |
|
ImageRedactionConfigs
public RepeatedField<RedactImageRequest.Types.ImageRedactionConfig> ImageRedactionConfigs { get; }The configuration for specifying what content to redact from images.
| Property Value | |
|---|---|
| Type | Description |
RepeatedField<RedactImageRequest.Types.ImageRedactionConfig> |
|
IncludeFindings
public bool IncludeFindings { get; set; }Whether the response should include findings along with the redacted image.
| Property Value | |
|---|---|
| Type | Description |
Boolean |
|
InspectConfig
public InspectConfig InspectConfig { get; set; }Configuration for the inspector.
| Property Value | |
|---|---|
| Type | Description |
InspectConfig |
|
LocationId
public string LocationId { get; set; }Deprecated. This field has no effect.
| Property Value | |
|---|---|
| Type | Description |
String |
|
Parent
public string Parent { get; set; }Parent resource name.
The format of this value varies depending on whether you have specified a processing location:
- Projects scope, location specified:<br/>
projects/<var>PROJECT_ID</var>/locations/<var>LOCATION_ID</var> - Projects scope, no location specified (defaults to global):<br/>
projects/<var>PROJECT_ID</var>
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
| Property Value | |
|---|---|
| Type | Description |
String |
|
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }LocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
LocationName |
|
ParentAsProjectName
public ProjectName ParentAsProjectName { get; set; }ProjectName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
ProjectName |
|
ParentAsResourceName
public IResourceName ParentAsResourceName { get; set; }IResourceName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
IResourceName |
|