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::OperationBaseline implementation for the create_binding REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::CreateBindingRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_service
def create_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the create_service REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::CreateServiceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_binding
def delete_binding(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_binding REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::DeleteBindingRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_service
def delete_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_service REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::DeleteServiceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#fetch_available_bindings
def fetch_available_bindings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::FetchAvailableBindingsResponseBaseline implementation for the fetch_available_bindings REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::FetchAvailableBindingsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AgentRegistry::V1::FetchAvailableBindingsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AgentRegistry::V1::FetchAvailableBindingsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_agent
def get_agent(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::AgentBaseline implementation for the get_agent REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::GetAgentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AgentRegistry::V1::Agent)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AgentRegistry::V1::Agent) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_binding
def get_binding(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::BindingBaseline implementation for the get_binding REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::GetBindingRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AgentRegistry::V1::Binding)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AgentRegistry::V1::Binding) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_endpoint
def get_endpoint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::EndpointBaseline implementation for the get_endpoint REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::GetEndpointRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AgentRegistry::V1::Endpoint)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AgentRegistry::V1::Endpoint) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_mcp_server
def get_mcp_server(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::McpServerBaseline implementation for the get_mcp_server REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::GetMcpServerRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AgentRegistry::V1::McpServer)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AgentRegistry::V1::McpServer) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_service
def get_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::ServiceBaseline implementation for the get_service REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::GetServiceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AgentRegistry::V1::Service)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AgentRegistry::V1::Service) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_agents
def list_agents(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::ListAgentsResponseBaseline implementation for the list_agents REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::ListAgentsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AgentRegistry::V1::ListAgentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AgentRegistry::V1::ListAgentsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_bindings
def list_bindings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::ListBindingsResponseBaseline implementation for the list_bindings REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::ListBindingsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AgentRegistry::V1::ListBindingsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AgentRegistry::V1::ListBindingsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_endpoints
def list_endpoints(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::ListEndpointsResponseBaseline implementation for the list_endpoints REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::ListEndpointsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AgentRegistry::V1::ListEndpointsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AgentRegistry::V1::ListEndpointsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_mcp_servers
def list_mcp_servers(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::ListMcpServersResponseBaseline implementation for the list_mcp_servers REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::ListMcpServersRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AgentRegistry::V1::ListMcpServersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AgentRegistry::V1::ListMcpServersResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_services
def list_services(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::ListServicesResponseBaseline implementation for the list_services REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::ListServicesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AgentRegistry::V1::ListServicesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AgentRegistry::V1::ListServicesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#search_agents
def search_agents(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::SearchAgentsResponseBaseline implementation for the search_agents REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::SearchAgentsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AgentRegistry::V1::SearchAgentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AgentRegistry::V1::SearchAgentsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#search_mcp_servers
def search_mcp_servers(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AgentRegistry::V1::SearchMcpServersResponseBaseline implementation for the search_mcp_servers REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::SearchMcpServersRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AgentRegistry::V1::SearchMcpServersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AgentRegistry::V1::SearchMcpServersResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)
#update_binding
def update_binding(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the update_binding REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::UpdateBindingRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_service
def update_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the update_service REST call
- request_pb (::Google::Cloud::AgentRegistry::V1::UpdateServiceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)