Cloud AutoML V1beta1 Client - Class ExamplePayload (1.5.4)

Reference documentation and code samples for the Cloud AutoML V1beta1 Client class ExamplePayload.

Example data used for training or prediction.

Generated from protobuf message google.cloud.automl.v1beta1.ExamplePayload

Namespace

Google \ Cloud \ AutoMl \ V1beta1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ image
↳ text_snippet
↳ document
↳ row
Google\Cloud\AutoMl\V1beta1\Row

Example relational table row.

getImage

Example image.

Returns
Type
Description

hasImage

setImage

Example image.

Parameter
Name
Description
Returns
Type
Description
$this

getTextSnippet

Example text.

Returns
Type
Description

hasTextSnippet

setTextSnippet

Example text.

Parameter
Name
Description
Returns
Type
Description
$this

getDocument

Example document.

Returns
Type
Description

hasDocument

setDocument

Example document.

Parameter
Name
Description
Returns
Type
Description
$this

getRow

Example relational table row.

Returns
Type
Description

hasRow

setRow

Example relational table row.

Parameter
Name
Description
Returns
Type
Description
$this

getPayload

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: