Reference documentation and code samples for the Google Apps Chat V1 Client class SearchSpacesResponse.
Response with a list of spaces corresponding to the search spaces request.
Generated from protobuf message google.chat.v1.SearchSpacesResponse
Namespace
Google \ Apps \ Chat \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ spaces |
array<Google\Apps\Chat\V1\Space>
A page of the requested spaces. |
↳ next_page_token |
string
A token that can be used to retrieve the next page. If this field is empty, there are no subsequent pages. |
↳ total_size |
int
The total number of spaces that match the query, across all pages. If the result is over 10,000 spaces, this value is an estimate. |
getSpaces
A page of the requested spaces.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSpaces
A page of the requested spaces.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Apps\Chat\V1\Space>
|
Returns | |
---|---|
Type | Description |
$this |
getNextPageToken
A token that can be used to retrieve the next page. If this field is empty, there are no subsequent pages.
Returns | |
---|---|
Type | Description |
string |
setNextPageToken
A token that can be used to retrieve the next page. If this field is empty, there are no subsequent pages.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getTotalSize
The total number of spaces that match the query, across all pages. If the result is over 10,000 spaces, this value is an estimate.
Returns | |
---|---|
Type | Description |
int |
setTotalSize
The total number of spaces that match the query, across all pages. If the result is over 10,000 spaces, this value is an estimate.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |