public sealed class ImageTransformation : IMessage<ImageTransformations.Types.ImageTransformation>, IEquatable<ImageTransformations.Types.ImageTransformation>, IDeepCloneable<ImageTransformations.Types.ImageTransformation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class ImageTransformations.Types.ImageTransformation.
Configuration for determining how redaction of images should occur.
Implements
IMessage<ImageTransformations.Types.ImageTransformation>, IEquatable<ImageTransformations.Types.ImageTransformation>, IDeepCloneable<ImageTransformations.Types.ImageTransformation>, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
ImageTransformation()
public ImageTransformation()
ImageTransformation(ImageTransformations.Types.ImageTransformation)
public ImageTransformation(ImageTransformations.Types.ImageTransformation other)
Parameter | |
---|---|
Name | Description |
other | ImageTransformations.Types.ImageTransformation |
Properties
AllInfoTypes
public ImageTransformations.Types.ImageTransformation.Types.AllInfoTypes AllInfoTypes { get; set; }
Apply transformation to all findings not specified in other ImageTransformation's selected_info_types. Only one instance is allowed within the ImageTransformations message.
Property Value | |
---|---|
Type | Description |
ImageTransformations.Types.ImageTransformation.Types.AllInfoTypes |
AllText
public ImageTransformations.Types.ImageTransformation.Types.AllText AllText { get; set; }
Apply transformation to all text that doesn't match an infoType. Only one instance is allowed within the ImageTransformations message.
Property Value | |
---|---|
Type | Description |
ImageTransformations.Types.ImageTransformation.Types.AllText |
RedactionColor
public Color RedactionColor { get; set; }
The color to use when redacting content from an image. If not specified, the default is black.
Property Value | |
---|---|
Type | Description |
Color |
SelectedInfoTypes
public ImageTransformations.Types.ImageTransformation.Types.SelectedInfoTypes SelectedInfoTypes { get; set; }
Apply transformation to the selected info_types.
Property Value | |
---|---|
Type | Description |
ImageTransformations.Types.ImageTransformation.Types.SelectedInfoTypes |
TargetCase
public ImageTransformations.Types.ImageTransformation.TargetOneofCase TargetCase { get; }
Property Value | |
---|---|
Type | Description |
ImageTransformations.Types.ImageTransformation.TargetOneofCase |