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.
Namespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
Location()
public Location()
Location(Location)
public Location(Location other)
Parameter | |
---|---|
Name | Description |
other | Location |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Range |
Container
public Container Container { get; set; }
Information about the container where this finding occurred, if available.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RepeatedFieldContentLocation |