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

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

Message for response to listing McpTools

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

Namespace

Google \ Cloud \ ApiRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ mcp_tools array<McpTool>

The list of McpTool

↳ 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.

getMcpTools

The list of McpTool

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMcpTools

The list of McpTool

Parameter
Name Description
var array<McpTool>
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