Agent Registry V1 API - Module Google::Cloud::AgentRegistry::V1::AgentRegistry::Paths (v0.1.0)

Reference documentation and code samples for the Agent Registry V1 API module Google::Cloud::AgentRegistry::V1::AgentRegistry::Paths.

Path helper methods for the AgentRegistry API.

Methods

#agent_path

def agent_path(project:, location:, agent:) -> ::String

Create a fully-qualified Agent resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/agents/{agent}

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

#binding_path

def binding_path(project:, location:, binding:) -> ::String

Create a fully-qualified Binding resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/bindings/{binding}

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

#endpoint_path

def endpoint_path(project:, location:, endpoint:) -> ::String

Create a fully-qualified Endpoint resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/endpoints/{endpoint}

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

#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:, mcp_server:) -> ::String

Create a fully-qualified McpServer resource 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)

#service_path

def service_path(project:, location:, service:) -> ::String

Create a fully-qualified Service resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/services/{service}

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