Reference documentation and code samples for the Google Cloud Api Registry V1 Client class GetMcpServerRequest.
Message for getting a McpServer
Generated from protobuf message google.cloud.apiregistry.v1.GetMcpServerRequest
Namespace
Google \ Cloud \ ApiRegistry \ V1Methods
__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} |
getName
Required. Name of the resource Format: projects/{project}/locations/{location}/mcpServers/{mcp_server}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. Name of the resource Format: projects/{project}/locations/{location}/mcpServers/{mcp_server}
| 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} Please see CloudApiRegistryClient::mcpServerName() for help formatting this field. |
| Returns | |
|---|---|
| Type | Description |
GetMcpServerRequest |
|