Class TextSpan
Represents an output piece of text.
Inheritance
System.Object
TextSpan
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudNaturalLanguage.v1beta1.Data
Assembly: Google.Apis.CloudNaturalLanguage.v1beta1.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 |
---|---|
System.Nullable<System.Int32> |
Content
The content of the output text.
Declaration
[JsonProperty("content")]
public virtual string Content { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Implements
Google.Apis.Requests.IDirectResponseSchema