Reference documentation and code samples for the Google Cloud Agent Registry V1 Client class ListMcpServersResponse.
Message for response to listing McpServers
Generated from protobuf message google.cloud.agentregistry.v1.ListMcpServersResponse
Namespace
Google \ Cloud \ AgentRegistry \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ mcp_servers |
array<McpServer>
The list of McpServers. |
↳ next_page_token |
string
A token identifying a page of results the server should return. |
getMcpServers
The list of McpServers.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<McpServer> |
|
setMcpServers
The list of McpServers.
| Parameter | |
|---|---|
| Name | Description |
var |
array<McpServer>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNextPageToken
A token identifying a page of results the server should return.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNextPageToken
A token identifying a page of results the server should return.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|