Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1 Client class UserMessage.
A message from the user that is interacting with the system.
Generated from protobuf message google.cloud.geminidataanalytics.v1.UserMessage
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ text |
string
Text should use this field instead of blob. |
getText
Text should use this field instead of blob.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasText
setText
Text should use this field instead of blob.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getKind
| Returns | |
|---|---|
| Type | Description |
string |
|