Google Cloud Datalabeling V1beta1 Client - Class TextPayload (0.5.6)

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class TextPayload.

Container of information about a piece of text.

Generated from protobuf message google.cloud.datalabeling.v1beta1.TextPayload

Namespace

Google \ Cloud \ DataLabeling \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ text_content string

Text content.

getTextContent

Text content.

Returns
Type Description
string

setTextContent

Text content.

Parameter
Name Description
var string
Returns
Type Description
$this