Reference documentation and code samples for the Google Analytics Data V1alpha Client class ChatResponse.
Response message for the Chat method.
Generated from protobuf message google.analytics.data.v1alpha.ChatResponse
Namespace
Google \ Analytics \ Data \ V1alphaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ session_id |
string
The unique identifier for this chat session. Provide this ID in subsequent requests to maintain conversational context. |
↳ blocks |
array<ResponseBlock>
The response blocks that make up the chat response. This can include text, tables, and lists. |
↳ property_quota |
PropertyChatQuota
This Analytics Property's quota state including this request. |
getSessionId
The unique identifier for this chat session. Provide this ID in subsequent requests to maintain conversational context.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSessionId
The unique identifier for this chat session. Provide this ID in subsequent requests to maintain conversational context.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBlocks
The response blocks that make up the chat response. This can include text, tables, and lists.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<ResponseBlock> |
|
setBlocks
The response blocks that make up the chat response. This can include text, tables, and lists.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ResponseBlock>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPropertyQuota
This Analytics Property's quota state including this request.
| Returns | |
|---|---|
| Type | Description |
PropertyChatQuota|null |
|
hasPropertyQuota
clearPropertyQuota
setPropertyQuota
This Analytics Property's quota state including this request.
| Parameter | |
|---|---|
| Name | Description |
var |
PropertyChatQuota
|
| Returns | |
|---|---|
| Type | Description |
$this |
|