public sealed class SearchMcpServersResponse : IPageResponse<McpServer>, IEnumerable<McpServer>, IEnumerable, IMessage<SearchMcpServersResponse>, IEquatable<SearchMcpServersResponse>, IDeepCloneable<SearchMcpServersResponse>, IBufferMessage, IMessageReference documentation and code samples for the Agent Registry v1 API class SearchMcpServersResponse.
Message for response to searching MCP Servers
Implements
IPageResponseMcpServer, IEnumerableMcpServer, IEnumerable, IMessageSearchMcpServersResponse, IEquatableSearchMcpServersResponse, IDeepCloneableSearchMcpServersResponse, IBufferMessage, IMessageNamespace
Google.Cloud.AgentRegistry.V1Assembly
Google.Cloud.AgentRegistry.V1.dll
Constructors
SearchMcpServersResponse()
public SearchMcpServersResponse()SearchMcpServersResponse(SearchMcpServersResponse)
public SearchMcpServersResponse(SearchMcpServersResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
SearchMcpServersResponse |
Properties
McpServers
public RepeatedField<McpServer> McpServers { get; }A list of McpServers that match the search_string.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldMcpServer |
|
NextPageToken
public string NextPageToken { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Methods
GetEnumerator()
public IEnumerator<McpServer> GetEnumerator()Returns an enumerator that iterates through the resources in this response.
| Returns | |
|---|---|
| Type | Description |
IEnumeratorMcpServer |
|