Cloud PubSub V1 Client - Class UnstructuredInference (2.19.1)

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 \ AIInference

Methods

__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

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
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: