Agent Registry V1 API - Class Google::Cloud::AgentRegistry::V1::AgentRegistry::Rest::ServiceStub (v0.1.0)

Reference documentation and code samples for the Agent Registry V1 API class Google::Cloud::AgentRegistry::V1::AgentRegistry::Rest::ServiceStub.

REST service stub for the AgentRegistry service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#create_binding

def create_binding(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_binding REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_service

def create_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_service REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_binding

def delete_binding(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_binding REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_service

def delete_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_service REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#fetch_available_bindings

def fetch_available_bindings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::FetchAvailableBindingsResponse

Baseline implementation for the fetch_available_bindings REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_agent

def get_agent(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::Agent

Baseline implementation for the get_agent REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_binding

def get_binding(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::Binding

Baseline implementation for the get_binding REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_endpoint

def get_endpoint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::Endpoint

Baseline implementation for the get_endpoint REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_mcp_server

def get_mcp_server(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::McpServer

Baseline implementation for the get_mcp_server REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_service

def get_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::Service

Baseline implementation for the get_service REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_agents

def list_agents(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::ListAgentsResponse

Baseline implementation for the list_agents REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_bindings

def list_bindings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::ListBindingsResponse

Baseline implementation for the list_bindings REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_endpoints

def list_endpoints(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::ListEndpointsResponse

Baseline implementation for the list_endpoints REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_mcp_servers

def list_mcp_servers(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::ListMcpServersResponse

Baseline implementation for the list_mcp_servers REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_services

def list_services(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::ListServicesResponse

Baseline implementation for the list_services REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#search_agents

def search_agents(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::SearchAgentsResponse

Baseline implementation for the search_agents REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#search_mcp_servers

def search_mcp_servers(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::SearchMcpServersResponse

Baseline implementation for the search_mcp_servers REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_binding

def update_binding(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_binding REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_service

def update_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_service REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)