Google Cloud Datalabeling V1beta1 Client - Class TextPayload (0.3.1)

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
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