Google Cloud Data Loss Prevention v2 API - Class ImageTransformations.Types.ImageTransformation (4.4.0)

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.

Inheritance

Object > ImageTransformations.Types.ImageTransformation

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

ImageTransformation()

public ImageTransformation()

ImageTransformation(ImageTransformations.Types.ImageTransformation)

public ImageTransformation(ImageTransformations.Types.ImageTransformation other)
Parameter
NameDescription
otherImageTransformations.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
TypeDescription
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
TypeDescription
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
TypeDescription
Color

SelectedInfoTypes

public ImageTransformations.Types.ImageTransformation.Types.SelectedInfoTypes SelectedInfoTypes { get; set; }

Apply transformation to the selected info_types.

Property Value
TypeDescription
ImageTransformations.Types.ImageTransformation.Types.SelectedInfoTypes

TargetCase

public ImageTransformations.Types.ImageTransformation.TargetOneofCase TargetCase { get; }
Property Value
TypeDescription
ImageTransformations.Types.ImageTransformation.TargetOneofCase