Google Cloud Api Registry V1 Client - Class ListMcpServersResponse (0.1.0)

Reference documentation and code samples for the Google Cloud Api Registry V1 Client class ListMcpServersResponse.

Message for response to listing McpServers

Generated from protobuf message google.cloud.apiregistry.v1.ListMcpServersResponse

Namespace

Google \ Cloud \ ApiRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ mcp_servers array<McpServer>

The list of McpServer

↳ next_page_token string

A token identifying a page of results the server should return.

↳ unreachable array

Unordered list. Locations that could not be reached.

getMcpServers

The list of McpServer

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMcpServers

The list of McpServer

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

getUnreachable

Unordered list. Locations that could not be reached.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnreachable

Unordered list. Locations that could not be reached.

Parameter
Name Description
var string[]
Returns
Type Description
$this