Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class SendMessageRequest.
Request message for SendMessage and SendStreamingMessage.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.SendMessageRequest
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ message |
A2AMessage
Required. The message to send to the agent. |
↳ configuration |
SendMessageConfiguration
Optional. Configuration for the send request. |
↳ metadata |
Google\Protobuf\Struct
Optional. Optional metadata for the request. |
↳ tenant |
string
Optional. Optional tenant, provided as a path parameter. |
getMessage
Required. The message to send to the agent.
| Returns | |
|---|---|
| Type | Description |
A2AMessage|null |
|
hasMessage
clearMessage
setMessage
Required. The message to send to the agent.
| Parameter | |
|---|---|
| Name | Description |
var |
A2AMessage
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConfiguration
Optional. Configuration for the send request.
| Returns | |
|---|---|
| Type | Description |
SendMessageConfiguration|null |
|
hasConfiguration
clearConfiguration
setConfiguration
Optional. Configuration for the send request.
| Parameter | |
|---|---|
| Name | Description |
var |
SendMessageConfiguration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMetadata
Optional. Optional metadata for the request.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Struct|null |
|
hasMetadata
clearMetadata
setMetadata
Optional. Optional metadata for the request.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Struct
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTenant
Optional. Optional tenant, provided as a path parameter.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTenant
Optional. Optional tenant, provided as a path parameter.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
tenant |
string
Optional. Optional tenant, provided as a path parameter. |
message |
A2AMessage
Required. The message to send to the agent. |
| Returns | |
|---|---|
| Type | Description |
SendMessageRequest |
|