Reference documentation and code samples for the Cloud PubSub V1 Client class UnstructuredInference.
Configuration for making inferences using arbitrary JSON payloads.
Generated from protobuf message google.pubsub.v1.AIInference.UnstructuredInference
Namespace
Google \ Cloud \ PubSub \ V1 \ AIInferenceMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parameters |
Google\Protobuf\Struct
Optional. A parameters object to be included in each inference request. The parameters object is combined with the data field of the Pub/Sub message to form the inference request. |
getParameters
Optional. A parameters object to be included in each inference request.
The parameters object is combined with the data field of the Pub/Sub message to form the inference request.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Struct|null |
|
hasParameters
clearParameters
setParameters
Optional. A parameters object to be included in each inference request.
The parameters object is combined with the data field of the Pub/Sub message to form the inference request.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Struct
|
| Returns | |
|---|---|
| Type | Description |
$this |
|