Cloud API Registry V1BETA API - Module Google::Cloud::ApiRegistry::V1beta::CloudApiRegistry::Paths (v0.1.0)

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.

Methods

#location_path

def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.

The resource will be in the following format:

projects/{project}/locations/{location}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#mcp_server_path

def mcp_server_path(project:, location:, api_namespace:, mcp_server:) -> ::String
def mcp_server_path(project:, location:, mcp_server:) -> ::String

Create a fully-qualified McpServer resource string.

Overloads
def mcp_server_path(project:, location:, api_namespace:, mcp_server:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/apiNamespaces/{api_namespace}/mcpServers/{mcp_server}

Parameters
  • project (String)
  • location (String)
  • api_namespace (String)
  • mcp_server (String)
def mcp_server_path(project:, location:, mcp_server:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/mcpServers/{mcp_server}

Parameters
  • project (String)
  • location (String)
  • mcp_server (String)
Returns
  • (::String)
Raises
  • (::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:) -> ::String

Create a fully-qualified McpTool resource string.

Overloads
def mcp_tool_path(project:, location:, api_namespace:, mcp_server:, mcp_tool:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/apiNamespaces/{api_namespace}/mcpServers/{mcp_server}/mcpTools/{mcp_tool}

Parameters
  • project (String)
  • location (String)
  • api_namespace (String)
  • mcp_server (String)
  • mcp_tool (String)
def mcp_tool_path(project:, location:, mcp_server:, mcp_tool:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/mcpServers/{mcp_server}/mcpTools/{mcp_tool}

Parameters
  • project (String)
  • location (String)
  • mcp_server (String)
  • mcp_tool (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)