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.
Included In
Methods
#agent_path
def agent_path(project:, location:, agent:) -> ::StringCreate a fully-qualified Agent resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/agents/{agent}
- project (String)
- location (String)
- agent (String)
- (::String)
- (::ArgumentError)
#binding_path
def binding_path(project:, location:, binding:) -> ::StringCreate a fully-qualified Binding resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/bindings/{binding}
- project (String)
- location (String)
- binding (String)
- (::String)
- (::ArgumentError)
#endpoint_path
def endpoint_path(project:, location:, endpoint:) -> ::StringCreate a fully-qualified Endpoint resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/endpoints/{endpoint}
- project (String)
- location (String)
- endpoint (String)
- (::String)
- (::ArgumentError)
#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:, mcp_server:) -> ::StringCreate a fully-qualified McpServer resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/mcpServers/{mcp_server}
- project (String)
- location (String)
- mcp_server (String)
- (::String)
- (::ArgumentError)
#service_path
def service_path(project:, location:, service:) -> ::StringCreate a fully-qualified Service resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/services/{service}
- project (String)
- location (String)
- service (String)
- (::String)
- (::ArgumentError)