Model Armor v1 API - Class SdpFinding.Types.SdpFindingLocation (1.0.0-beta07)

public sealed class SdpFinding.Types.SdpFindingLocation : IMessage<SdpFinding.Types.SdpFindingLocation>, IEquatable<SdpFinding.Types.SdpFindingLocation>, IDeepCloneable<SdpFinding.Types.SdpFindingLocation>, IBufferMessage, IMessage

Reference documentation and code samples for the Model Armor v1 API class SdpFinding.Types.SdpFindingLocation.

Location of this Sensitive Data Protection Finding within input content.

Inheritance

object > SdpFinding.Types.SdpFindingLocation

Namespace

Google.Cloud.ModelArmor.V1

Assembly

Google.Cloud.ModelArmor.V1.dll

Constructors

SdpFindingLocation()

public SdpFindingLocation()

SdpFindingLocation(SdpFindingLocation)

public SdpFindingLocation(SdpFinding.Types.SdpFindingLocation other)
Parameter
Name Description
other SdpFindingTypesSdpFindingLocation

Properties

ByteRange

public RangeInfo ByteRange { get; set; }

Zero-based byte offsets delimiting the finding. These are relative to the finding's containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content. Note: Omitted if content is an image.

Property Value
Type Description
RangeInfo

CodepointRange

public RangeInfo CodepointRange { get; set; }

Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text. Note: Omitted if content is an image.

Property Value
Type Description
RangeInfo

ContentLocations

public RepeatedField<SdpContentLocation> ContentLocations { get; }

List of nested objects pointing to the precise location of the finding within an image, file or record.

For example, a single finding might be detected in two separate bounding boxes within an image (e.g., if it wraps across a line or is partially obscured). In such cases, content_locations would contain two SdpContentLocation entries, each with an image_finding_location pointing to a different bounding box.

Property Value
Type Description
RepeatedFieldSdpContentLocation