Reference documentation and code samples for the Google Analytics Data V1alpha Client class ResponseBlock.
One block of structured data in chat response.
Generated from protobuf message google.analytics.data.v1alpha.ResponseBlock
Namespace
Google \ Analytics \ Data \ V1alphaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ text |
string
A block of text. |
↳ table |
ResponseBlock\DataTable
A block of table data. |
getText
A block of text.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasText
setText
A block of text.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTable
A block of table data.
| Returns | |
|---|---|
| Type | Description |
ResponseBlock\DataTable|null |
|
hasTable
setTable
A block of table data.
| Parameter | |
|---|---|
| Name | Description |
var |
ResponseBlock\DataTable
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBlock
| Returns | |
|---|---|
| Type | Description |
string |
|