Reference documentation and code samples for the Cloud API Registry V1BETA API module Google::Cloud::ApiRegistry::V1beta::CloudApiRegistry::Paths.
Path helper methods for the CloudApiRegistry API.
Included In
Methods
#location_path
def location_path(project:, location:) -> ::StringCreate a fully-qualified Location resource string.
The resource will be in the following format:
projects/{project}/locations/{location}
- project (String)
- location (String)
- (::String)
- (::ArgumentError)
#mcp_server_path
def mcp_server_path(project:, location:, api_namespace:, mcp_server:) -> ::String
def mcp_server_path(project:, location:, mcp_server:) -> ::StringCreate a fully-qualified McpServer resource string.
def mcp_server_path(project:, location:, api_namespace:, mcp_server:) -> ::String
projects/{project}/locations/{location}/apiNamespaces/{api_namespace}/mcpServers/{mcp_server}
- project (String)
- location (String)
- api_namespace (String)
- mcp_server (String)
def mcp_server_path(project:, location:, mcp_server:) -> ::String
projects/{project}/locations/{location}/mcpServers/{mcp_server}
- project (String)
- location (String)
- mcp_server (String)
- (::String)
- (::ArgumentError)
#mcp_tool_path
def mcp_tool_path(project:, location:, api_namespace:, mcp_server:, mcp_tool:) -> ::String
def mcp_tool_path(project:, location:, mcp_server:, mcp_tool:) -> ::StringCreate a fully-qualified McpTool resource string.
def mcp_tool_path(project:, location:, api_namespace:, mcp_server:, mcp_tool:) -> ::String
projects/{project}/locations/{location}/apiNamespaces/{api_namespace}/mcpServers/{mcp_server}/mcpTools/{mcp_tool}
- project (String)
- location (String)
- api_namespace (String)
- mcp_server (String)
- mcp_tool (String)
def mcp_tool_path(project:, location:, mcp_server:, mcp_tool:) -> ::String
projects/{project}/locations/{location}/mcpServers/{mcp_server}/mcpTools/{mcp_tool}
- project (String)
- location (String)
- mcp_server (String)
- mcp_tool (String)
- (::String)
- (::ArgumentError)