Reference documentation and code samples for the Cloud AutoML V1 Client class ExamplePayload.
Example data used for training or prediction.
Generated from protobuf message google.cloud.automl.v1.ExamplePayload
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ image
↳ text_snippet
↳ document
getImage
Example image.
hasImage
setImage
Example image.
Returns
Type
Description
$this
getTextSnippet
Example text.
hasTextSnippet
setTextSnippet
Example text.
Returns
Type
Description
$this
getDocument
Example document.
hasDocument
setDocument
Example document.
Returns
Type
Description
$this
getPayload
Returns
Type
Description
string