Google Cloud Datalabeling V1beta1 Client - Class TextPayload (0.1.14)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ text_content string

Text content.

getTextContent

Text content.

Returns
TypeDescription
string

setTextContent

Text content.

Parameter
NameDescription
var string
Returns
TypeDescription
$this