Google Cloud Api Registry V1 Client - Class GetMcpToolRequest (0.1.1)

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

Message for getting a McpTool

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

Namespace

Google \ Cloud \ ApiRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Required. Name of the resource Format: projects/{project}/locations/{location}/mcpServers/{mcp_server}/mcpTools/{mcp_tool}

getName

Required. Name of the resource Format: projects/{project}/locations/{location}/mcpServers/{mcp_server}/mcpTools/{mcp_tool}

Returns
Type
Description
string

setName

Required. Name of the resource Format: projects/{project}/locations/{location}/mcpServers/{mcp_server}/mcpTools/{mcp_tool}

Parameter
Name
Description
var
string
Returns
Type
Description
$this

static::build

Parameter
Name
Description
name
string

Required. Name of the resource Format: projects/{project}/locations/{location}/mcpServers/{mcp_server}/mcpTools/{mcp_tool} Please see CloudApiRegistryClient::mcpToolName() for help formatting this field.

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: