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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ image |
Google\Cloud\AutoMl\V1beta1\Image
Example image. |
↳ text_snippet |
Google\Cloud\AutoMl\V1beta1\TextSnippet
Example text. |
↳ document |
Google\Cloud\AutoMl\V1beta1\Document
Example document. |
↳ row |
Google\Cloud\AutoMl\V1beta1\Row
Example relational table row. |
getImage
Example image.
Returns | |
---|---|
Type | Description |
Google\Cloud\AutoMl\V1beta1\Image|null |
hasImage
setImage
Example image.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AutoMl\V1beta1\Image
|
Returns | |
---|---|
Type | Description |
$this |
getTextSnippet
Example text.
Returns | |
---|---|
Type | Description |
Google\Cloud\AutoMl\V1beta1\TextSnippet|null |
hasTextSnippet
setTextSnippet
Example text.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AutoMl\V1beta1\TextSnippet
|
Returns | |
---|---|
Type | Description |
$this |
getDocument
Example document.
Returns | |
---|---|
Type | Description |
Google\Cloud\AutoMl\V1beta1\Document|null |
hasDocument
setDocument
Example document.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AutoMl\V1beta1\Document
|
Returns | |
---|---|
Type | Description |
$this |
getRow
Example relational table row.
Returns | |
---|---|
Type | Description |
Google\Cloud\AutoMl\V1beta1\Row|null |
hasRow
setRow
Example relational table row.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AutoMl\V1beta1\Row
|
Returns | |
---|---|
Type | Description |
$this |
getPayload
Returns | |
---|---|
Type | Description |
string |