Google Cloud Datalabeling V1beta1 Client - Class TextMetadata (0.5.5)

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

Metadata for the text.

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

Namespace

Google \ Cloud \ DataLabeling \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ language_code string

The language of this text, as a BCP-47. Default value is en-US.

getLanguageCode

The language of this text, as a BCP-47.

Default value is en-US.

Returns
Type Description
string

setLanguageCode

The language of this text, as a BCP-47.

Default value is en-US.

Parameter
Name Description
var string
Returns
Type Description
$this