Google Cloud Agent Registry V1 Client - Class SearchMcpServersResponse (0.2.0)

Reference documentation and code samples for the Google Cloud Agent Registry V1 Client class SearchMcpServersResponse.

Message for response to searching MCP Servers

Generated from protobuf message google.cloud.agentregistry.v1.SearchMcpServersResponse

Namespace

Google \ Cloud \ AgentRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ mcp_servers array<McpServer>

A list of McpServers that match the search_string.

↳ next_page_token string

If there are more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

getMcpServers

A list of McpServers that match the search_string.

Returns
Type Description
Google\Protobuf\RepeatedField<McpServer>

setMcpServers

A list of McpServers that match the search_string.

Parameter
Name Description
var array<McpServer>
Returns
Type Description
$this

getNextPageToken

If there are more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

Returns
Type Description
string

setNextPageToken

If there are more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

Parameter
Name Description
var string
Returns
Type Description
$this