TextSpan

Represents an output piece of text.

JSON representation
{
  "content": string,
  "beginOffset": number,
}
Fields
content

string

The content of the output text.

beginOffset

number

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

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Google Cloud Natural Language API