Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class SendMessageConfiguration.
Configuration of a send message request.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.SendMessageConfiguration
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ accepted_output_modes |
string[]
Optional. The output modes that the agent is expected to respond with. |
↳ push_notification |
PushNotificationConfig
Optional. A configuration of a webhook that can be used to receive updates. |
↳ history_length |
int
Optional. The maximum number of messages to include in the history. If 0, the history will be unlimited. |
↳ blocking |
bool
Optional. If true, the message will be blocking until the task is completed. If false, the task will be returned immediately. |
getAcceptedOutputModes
Optional. The output modes that the agent is expected to respond with.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setAcceptedOutputModes
Optional. The output modes that the agent is expected to respond with.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPushNotification
Optional. A configuration of a webhook that can be used to receive updates.
| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig|null |
|
hasPushNotification
clearPushNotification
setPushNotification
Optional. A configuration of a webhook that can be used to receive updates.
| Parameter | |
|---|---|
| Name | Description |
var |
PushNotificationConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getHistoryLength
Optional. The maximum number of messages to include in the history. If 0, the history will be unlimited.
| Returns | |
|---|---|
| Type | Description |
int |
|
setHistoryLength
Optional. The maximum number of messages to include in the history. If 0, the history will be unlimited.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBlocking
Optional. If true, the message will be blocking until the task is completed. If false, the task will be returned immediately.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setBlocking
Optional. If true, the message will be blocking until the task is completed. If false, the task will be returned immediately.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|