Show / Hide Table of Contents

Class TextSpan

Represents a text span in the input document.

Inheritance
object
TextSpan
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudNaturalLanguage.v2.Data
Assembly: Google.Apis.CloudNaturalLanguage.v2.dll
Syntax
public class TextSpan : IDirectResponseSchema

Properties

BeginOffset

The API calculates the beginning offset of the content in the original document according to the EncodingType specified in the API request.

Declaration
[JsonProperty("beginOffset")]
public virtual int? BeginOffset { get; set; }
Property Value
Type Description
int?

Content

The content of the text span, which is a substring of the document.

Declaration
[JsonProperty("content")]
public virtual string Content { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX