Google Cloud Data Loss Prevention v2 API - Class Location (4.5.0)

public sealed class Location : IMessage<Location>, IEquatable<Location>, IDeepCloneable<Location>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class Location.

Specifies the location of the finding.

Inheritance

Object > Location

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

Location()

public Location()

Location(Location)

public Location(Location other)
Parameter
NameDescription
otherLocation

Properties

ByteRange

public Range 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. Omitted if content is an image.

Property Value
TypeDescription
Range

CodepointRange

public Range CodepointRange { get; set; }

Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text.

Property Value
TypeDescription
Range

Container

public Container Container { get; set; }

Information about the container where this finding occurred, if available.

Property Value
TypeDescription
Container

ContentLocations

public RepeatedField<ContentLocation> ContentLocations { get; }

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

Property Value
TypeDescription
RepeatedField<ContentLocation>