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

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

Message for response to listing McpServers

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

Namespace

Google \ Cloud \ ApiRegistry \ V1beta

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

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

Locations that could not be reached.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached.

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