Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ListAssistantsRequest.
Request message for the AssistantService.ListAssistants method.
Generated from protobuf message google.cloud.discoveryengine.v1.ListAssistantsRequest
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent resource name. Format: |
↳ page_size |
int
Maximum number of Assistants to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000. |
↳ page_token |
string
A page token ListAssistantsResponse.next_page_token, received from a previous AssistantService.ListAssistants call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAssistants must match the call that provided the page token. |
getParent
Required. The parent resource name.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent resource name.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPageSize
Maximum number of Assistants to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.
| Returns | |
|---|---|
| Type | Description |
int |
|
setPageSize
Maximum number of Assistants to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPageToken
A page token ListAssistantsResponse.next_page_token, received from a previous AssistantService.ListAssistants call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListAssistants must match the call that provided the page token.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPageToken
A page token ListAssistantsResponse.next_page_token, received from a previous AssistantService.ListAssistants call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListAssistants must match the call that provided the page token.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
parent |
string
Required. The parent resource name.
Format:
|
| Returns | |
|---|---|
| Type | Description |
ListAssistantsRequest |
|