Service Client: Google::Cloud::Agentregistry::V1::AgentregistryService::AgentRegistryClient
Client stub representing the remote AgentRegistry gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to agentregistry.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Agentregistry::V1::AgentregistryService - Compiled Protocol Buffers messages for google/cloud/agentregistry/v1/agentregistry_service.proto
SYNOPSIS
use Google::Cloud::Agentregistry::V1::AgentregistryService;
my $msg = Google::Cloud::Agentregistry::V1::AgentregistryService::ListAgentsRequest->new({
parent => $parent,
page_size => $page_size,
page_token => $page_token,
filter => $filter,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Agentregistry::V1::AgentregistryService::ListAgentsRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/agentregistry/v1/agentregistry_service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Agentregistry::V1::AgentregistryService::ListAgentsRequest
Message for requesting list of Agents
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListAgentsRequest
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filtering results
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Hint for how to order the results
Google::Cloud::Agentregistry::V1::AgentregistryService::ListAgentsResponse
Message for response to listing Agents
Inherits from Protobuf::Message.
Accessors
$msg->agents()/$msg->agents($value)Type:
Message(Google::Cloud::Agentregistry::V1::Agent::Agent)The list of Agents.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Cloud::Agentregistry::V1::AgentregistryService::SearchAgentsRequest
Message for searching Agents
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for SearchAgentsRequest. Format: `projects/{project}/locations/{location}`.
$msg->search_string()/$msg->search_string($value)Type:
StringOptional. Search criteria used to select the Agents to return. If no search criteria is specified then all accessible Agents will be returned.
Search expressions can be used to restrict results based upon searchable fields, where the operators can be used along with the suffix wildcard symbol `*`. See [instructions](https://docs.cloud.google.com/agent-registry/search-agents-and-tools) for more details.
Allowed operators: `=`, `:`, `NOT`, `AND`, `OR`, and `()`.
Searchable fields:
| Field | `=` | `:` | `*` | Keyword Search | |--------------------|-----|-----|-----|----------------| | agentId | Yes | Yes | Yes | Included | | name | No | Yes | Yes | Included | | displayName | No | Yes | Yes | Included | | description | No | Yes | No | Included | | skills | No | Yes | No | Included | | skills.id | No | Yes | No | Included | | skills.name | No | Yes | No | Included | | skills.description | No | Yes | No | Included | | skills.tags | No | Yes | No | Included | | skills.examples | No | Yes | No | Included |
Examples:
* `agentId="urn:agent:projects-123:projects:123:locations:us-central1:aiplatform:reasoningEngines:1234"` to find the agent with the specified agent ID. * `name:important` to find agents whose name contains `important` as a word. * `displayName:works*` to find agents whose display name contains words that start with `works`. * `skills.tags:test` to find agents whose skills tags contain `test`. * `planner OR booking` to find agents whose metadata contains the words `planner` or `booking`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of search results to return per page. The page size is capped at `100`, even if a larger value is specified. A negative value will result in an `INVALID_ARGUMENT` error. If unspecified or set to `0`, a default value of `20` will be used. The server may return fewer results than requested.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. If present, retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of all other method parameters, must be identical to those in the previous call.
Google::Cloud::Agentregistry::V1::AgentregistryService::SearchAgentsResponse
Message for response to searching Agents
Inherits from Protobuf::Message.
Accessors
$msg->agents()/$msg->agents($value)Type:
Message(Google::Cloud::Agentregistry::V1::Agent::Agent)A list of Agents that match the `search_string`.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringIf there are more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
Google::Cloud::Agentregistry::V1::AgentregistryService::GetAgentRequest
Message for getting a Agent
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource
Google::Cloud::Agentregistry::V1::AgentregistryService::GetAiApplicationAgentRequest
Message for getting an Agent under an AI Application.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource. Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}/agents/{agent}`
Google::Cloud::Agentregistry::V1::AgentregistryService::ListAiApplicationAgentsRequest
Message for requesting list of Agents under an AI Application.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value (AI Application) for ListAiApplicationAgentsRequest. Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
Google::Cloud::Agentregistry::V1::AgentregistryService::ListAiApplicationAgentsResponse
Message for response to listing Agents under an AI Application.
Inherits from Protobuf::Message.
Accessors
$msg->agents()/$msg->agents($value)Type:
Message(Google::Cloud::Agentregistry::V1::Agent::Agent)The list of Agents.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Cloud::Agentregistry::V1::AgentregistryService::ListEndpointsRequest
Message for requesting list of Endpoints
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project and location to list endpoints in. Expected format: `projects/{project}/locations/{location}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. A query string used to filter the list of endpoints returned. The filter expression must follow AIP-160 syntax.
Filtering is supported on the `name`, `display_name`, `description`, `version`, and `interfaces` fields.
Some examples:
* `name = "projects/p1/locations/l1/endpoints/e1"` * `display_name = "my-endpoint"` * `description = "my-endpoint-description"` * `version = "v1"` * `interfaces.transport = "HTTP_JSON"`
Google::Cloud::Agentregistry::V1::AgentregistryService::ListEndpointsResponse
Message for response to listing Endpoints
Inherits from Protobuf::Message.
Accessors
$msg->endpoints()/$msg->endpoints($value)Type:
Message(Google::Cloud::Agentregistry::V1::Endpoint::Endpoint)The list of Endpoint resources matching the parent and filter criteria in the request. Each Endpoint resource follows the format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return. Used in [page_token][google.cloud.agentregistry.v1main.ListEndpointsRequest.page_token].
Google::Cloud::Agentregistry::V1::AgentregistryService::GetEndpointRequest
Message for getting a Endpoint
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the endpoint to retrieve. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
Google::Cloud::Agentregistry::V1::AgentregistryService::GetAiApplicationEndpointRequest
Message for getting an Endpoint under an AI Application.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource. Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}/endpoints/{endpoint}`
Google::Cloud::Agentregistry::V1::AgentregistryService::ListAiApplicationEndpointsRequest
Message for requesting list of Endpoints under an AI Application.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value (AI Application) for ListAiApplicationEndpointsRequest. Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
Google::Cloud::Agentregistry::V1::AgentregistryService::ListAiApplicationEndpointsResponse
Message for response to listing Endpoints under an AI Application.
Inherits from Protobuf::Message.
Accessors
$msg->endpoints()/$msg->endpoints($value)Type:
Message(Google::Cloud::Agentregistry::V1::Endpoint::Endpoint)The list of Endpoints.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Cloud::Agentregistry::V1::AgentregistryService::ListMcpServersRequest
Message for requesting list of McpServers
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListMcpServersRequest. Format: `projects/{project}/locations/{location}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filtering results
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Hint for how to order the results
Google::Cloud::Agentregistry::V1::AgentregistryService::ListMcpServersResponse
Message for response to listing McpServers
Inherits from Protobuf::Message.
Accessors
$msg->mcp_servers()/$msg->mcp_servers($value)Type:
Message(Google::Cloud::Agentregistry::V1::McpServer::McpServer)The list of McpServers.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Cloud::Agentregistry::V1::AgentregistryService::SearchMcpServersRequest
Message for searching MCP Servers
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for SearchMcpServersRequest. Format: `projects/{project}/locations/{location}`.
$msg->search_string()/$msg->search_string($value)Type:
StringOptional. Search criteria used to select the MCP Servers to return. If no search criteria is specified then all accessible MCP Servers will be returned.
Search expressions can be used to restrict results based upon searchable fields, where the operators can be used along with the suffix wildcard symbol `*`. See [instructions](https://docs.cloud.google.com/agent-registry/search-agents-and-tools) for more details.
Allowed operators: `=`, `:`, `NOT`, `AND`, `OR`, and `()`.
Searchable fields:
| Field | `=` | `:` | `*` | Keyword Search | |--------------------|-----|-----|-----|----------------| | mcpServerId | Yes | Yes | Yes | Included | | name | No | Yes | Yes | Included | | displayName | No | Yes | Yes | Included |
Examples:
* `mcpServerId="urn:mcp:projects-123:projects:123:locations:us-central1:agentregistry:services:service-id"` to find the MCP Server with the specified MCP Server ID. * `name:important` to find MCP Servers whose name contains `important` as a word. * `displayName:works*` to find MCP Servers whose display name contains words that start with `works`. * `planner OR booking` to find MCP Servers whose metadata contains the words `planner` or `booking`. * `mcpServerId:service-id AND (displayName:planner OR displayName:booking)` to find MCP Servers whose MCP Server ID contains `service-id` and whose display name contains `planner` or `booking`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of search results to return per page. The page size is capped at `100`, even if a larger value is specified. A negative value will result in an `INVALID_ARGUMENT` error. If unspecified or set to `0`, a default value of `20` will be used. The server may return fewer results than requested.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. If present, retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of all other method parameters, must be identical to those in the previous call.
Google::Cloud::Agentregistry::V1::AgentregistryService::SearchMcpServersResponse
Message for response to searching MCP Servers
Inherits from Protobuf::Message.
Accessors
$msg->mcp_servers()/$msg->mcp_servers($value)Type:
Message(Google::Cloud::Agentregistry::V1::McpServer::McpServer)A list of McpServers that match the `search_string`.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringIf there are more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
Google::Cloud::Agentregistry::V1::AgentregistryService::GetMcpServerRequest
Message for getting a McpServer
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource
Google::Cloud::Agentregistry::V1::AgentregistryService::GetAiApplicationMcpServerRequest
Message for getting an McpServer under an AI Application.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource. Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}/mcpServers/{mcp_server}`
Google::Cloud::Agentregistry::V1::AgentregistryService::ListAiApplicationMcpServersRequest
Message for requesting list of McpServers under an AI Application.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value (AI Application) for ListAiApplicationMcpServersRequest. Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
Google::Cloud::Agentregistry::V1::AgentregistryService::ListAiApplicationMcpServersResponse
Message for response to listing McpServers under an AI Application.
Inherits from Protobuf::Message.
Accessors
$msg->mcp_servers()/$msg->mcp_servers($value)Type:
Message(Google::Cloud::Agentregistry::V1::McpServer::McpServer)The list of McpServers.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Cloud::Agentregistry::V1::AgentregistryService::ListServicesRequest
Message for requesting list of Services
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project and location to list services in. Expected format: `projects/{project}/locations/{location}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. A query string used to filter the list of services returned. The filter expression must follow AIP-160 syntax.
Filtering is supported on the `name`, `display_name`, `description`, and `labels` fields.
Some examples:
* `name = "projects/p1/locations/l1/services/s1"` * `display_name = "my-service"` * `description : "myservice description"` * `labels.env = "prod"`
Google::Cloud::Agentregistry::V1::AgentregistryService::ListServicesResponse
Message for response to listing Services
Inherits from Protobuf::Message.
Accessors
$msg->services()/$msg->services($value)Type:
Message(Google::Cloud::Agentregistry::V1::Service::Service)The list of Service resources matching the parent and filter criteria in the request. Each Service resource follows the format: `projects/{project}/locations/{location}/services/{service}`.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return. Used in [page_token][google.cloud.agentregistry.v1main.ListServicesRequest.page_token].
Google::Cloud::Agentregistry::V1::AgentregistryService::GetServiceRequest
Message for getting a Service
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the Service. Format: `projects/{project}/locations/{location}/services/{service}`.
Google::Cloud::Agentregistry::V1::AgentregistryService::CreateServiceRequest
Message for creating a Service
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project and location to create the Service in. Expected format: `projects/{project}/locations/{location}`.
$msg->service_id()/$msg->service_id($value)Type:
StringRequired. The ID to use for the service, which will become the final component of the service's resource name.
This value should be 4-63 characters, and valid characters are `/[a-z][0-9]-/`.
$msg->service()/$msg->service($value)Type:
Message(Google::Cloud::Agentregistry::V1::Service::Service)Required. The Service resource that is being created. Format: `projects/{project}/locations/{location}/services/{service}`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Agentregistry::V1::AgentregistryService::FetchAvailableBindingsRequest
Message for fetching available Bindings.
Inherits from Protobuf::Message.
Accessors
$msg->source_identifier()/$msg->source_identifier($value)Type:
StringThe identifier of the source Agent. Format:
* `urn:agent:{publisher}:{namespace}:{name}`
$msg->target_identifier()/$msg->target_identifier($value)Type:
StringOptional. The identifier of the target Agent, MCP Server, or Endpoint. Format:
* `urn:agent:{publisher}:{namespace}:{name}` * `urn:mcp:{publisher}:{namespace}:{name}` * `urn:endpoint:{publisher}:{namespace}:{name}`
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent, in the format `projects/{project}/locations/{location}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. Page size is 500 if unspecified and is capped at `500` even if a larger value is given.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
Google::Cloud::Agentregistry::V1::AgentregistryService::FetchAvailableBindingsResponse
Message for response to fetching available Bindings.
Inherits from Protobuf::Message.
Accessors
$msg->bindings()/$msg->bindings($value)Type:
Message(Google::Cloud::Agentregistry::V1::Binding::Binding)The list of Bindings.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Cloud::Agentregistry::V1::AgentregistryService::UpdateServiceRequest
Message for updating a Service
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Field mask is used to specify the fields to be overwritten in the Service resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten.
$msg->service()/$msg->service($value)Type:
Message(Google::Cloud::Agentregistry::V1::Service::Service)Required. The Service resource that is being updated. Format: `projects/{project}/locations/{location}/services/{service}`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Agentregistry::V1::AgentregistryService::DeleteServiceRequest
Message for deleting a Service
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the Service. Format: `projects/{project}/locations/{location}/services/{service}`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Agentregistry::V1::AgentregistryService::OperationMetadata
Represents the metadata of the long-running operation.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation was created.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation finished running.
$msg->target()/$msg->target($value)Type:
StringOutput only. Server-defined resource path for the target of the operation.
$msg->verb()/$msg->verb($value)Type:
StringOutput only. Name of the verb executed by the operation.
$msg->status_message()/$msg->status_message($value)Type:
StringOutput only. Human-readable status of the operation, if any.
$msg->requested_cancellation()/$msg->requested_cancellation($value)Type:
BoolOutput only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have [google.longrunning.Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to `Code.CANCELLED`.
$msg->api_version()/$msg->api_version($value)Type:
StringOutput only. API version used to start the operation.
Google::Cloud::Agentregistry::V1::AgentregistryService::ListBindingsRequest
Message for requesting a list of Bindings.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project and location to list bindings in. Expected format: `projects/{project}/locations/{location}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. Page size is 500 if unspecified and is capped at `500` even if a larger value is given.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. A query string used to filter the list of bindings returned. The filter expression must follow AIP-160 syntax.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Hint for how to order the results
Google::Cloud::Agentregistry::V1::AgentregistryService::ListBindingsResponse
Message for response to listing Bindings
Inherits from Protobuf::Message.
Accessors
$msg->bindings()/$msg->bindings($value)Type:
Message(Google::Cloud::Agentregistry::V1::Binding::Binding)The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: `projects/{project}/locations/{location}/bindings/{binding}`.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return. Used in [page_token][google.cloud.agentregistry.v1main.ListBindingsRequest.page_token].
Google::Cloud::Agentregistry::V1::AgentregistryService::GetBindingRequest
Message for getting a Binding
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the Binding. Format: `projects/{project}/locations/{location}/bindings/{binding}`.
Google::Cloud::Agentregistry::V1::AgentregistryService::CreateBindingRequest
Message for creating a Binding
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project and location to create the Binding in. Expected format: `projects/{project}/locations/{location}`.
$msg->binding_id()/$msg->binding_id($value)Type:
StringRequired. The ID to use for the binding, which will become the final component of the binding's resource name.
This value should be 4-63 characters, and must conform to RFC-1034. Specifically, it must match the regular expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
$msg->binding()/$msg->binding($value)Type:
Message(Google::Cloud::Agentregistry::V1::Binding::Binding)Required. The Binding resource that is being created.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Agentregistry::V1::AgentregistryService::UpdateBindingRequest
Message for updating a Binding
Inherits from Protobuf::Message.
Accessors
$msg->binding()/$msg->binding($value)Type:
Message(Google::Cloud::Agentregistry::V1::Binding::Binding)Required. The Binding resource that is being updated.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Field mask is used to specify the fields to be overwritten in the Binding resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Agentregistry::V1::AgentregistryService::DeleteBindingRequest
Message for deleting a Binding
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the Binding. Format: `projects/{project}/locations/{location}/bindings/{binding}`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Agentregistry::V1::AgentregistryService::CreateSkillRequest
=========================================================================
# Skills Messages
Message requesting creation of a logical Skill container.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project and location location to bootstrap.
$msg->skill_id()/$msg->skill_id($value)Type:
StringRequired. Custom, user-defined unique container identifier. Must be unique within the parent project and location. This value should be 4-64 characters, and valid characters are `/[a-z][0-9]-/`.
$msg->skill()/$msg->skill($value)Type:
Message(Google::Cloud::Agentregistry::V1::Skill::Skill)Required. Skill container body config.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. Signed UUID request idempotency token.
Google::Cloud::Agentregistry::V1::AgentregistryService::GetSkillRequest
Message requesting details of a Skill.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Target resource container name.
Google::Cloud::Agentregistry::V1::AgentregistryService::UpdateSkillRequest
Message requesting a metadata update of a Skill.
Inherits from Protobuf::Message.
Accessors
$msg->skill()/$msg->skill($value)Type:
Message(Google::Cloud::Agentregistry::V1::Skill::Skill)Required. Mutable Skill container config fields to write.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Standard update target mask mapping relative fields.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. Signed UUID request idempotency token.
Google::Cloud::Agentregistry::V1::AgentregistryService::DeleteSkillRequest
Message requesting deletion of a Skill.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Target Skill container name to remove.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. Signed UUID request idempotency token.
$msg->force()/$msg->force($value)Type:
BoolOptional. If set to true, any child SkillRevisions under this Skill will also be deleted. Otherwise, the request will only succeed if the Skill has no child SkillRevisions.
Google::Cloud::Agentregistry::V1::AgentregistryService::ListSkillsRequest
Requesting a list of Skills inside a location.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListSkillsRequest
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Use this field to specify filter criteria on list results. Filter expressions can be used to restrict results based upon filterable fields, where equality operators can be used. See [instructions](https://docs.cloud.google.com/agent-registry/search-agents-and-tools) for more details.
Allowed operators: `=`, `<`, `>`, `NOT`, `AND`, `OR`, and `()`.
| Field | `=` | `<`, `>` | |--------------|-----|----------| | state | Yes | No | | targetState | Yes | No | | createTime | Yes | Yes | | updateTime | Yes | Yes |
Examples:
* `state=ACTIVE` to restrict results to skills in the `ACTIVE` state.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Hint for how to order the results
Google::Cloud::Agentregistry::V1::AgentregistryService::ListSkillsResponse
Response structure listing logical Skills.
Inherits from Protobuf::Message.
Accessors
$msg->skills()/$msg->skills($value)Type:
Message(Google::Cloud::Agentregistry::V1::Skill::Skill)Returned container list.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringPage continuation continuation token.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnreachable locations or failures.
Google::Cloud::Agentregistry::V1::AgentregistryService::SearchSkillsRequest
Requesting a deep search of Skills.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for SearchSkillsRequest. Format: `projects/{project}/locations/{location}`.
$msg->search_type()/$msg->search_type($value)Type:
Enum(Google::Cloud::Agentregistry::V1::SearchType)Optional. The type of search.
$msg->search_string()/$msg->search_string($value)Type:
StringOptional. Search criteria used to select the Skills to return. If no search criteria is specified then all accessible Skills will be returned.
Search expressions can be used to restrict results based upon searchable fields, where the operators can be used along with the suffix wildcard symbol `*`. See [instructions](https://docs.cloud.google.com/agent-registry/search-agents-and-tools) for more details.
Allowed operators: `=`, `:`, `NOT`, `AND`, `OR`, and `()`.
Searchable fields:
| Field | `=` | `:` | `*` | Keyword Search | |---------------------------|-----|-----|-----|----------------| | skillId | Yes | Yes | Yes | Included | | name | No | Yes | Yes | Included | | displayName | No | Yes | Yes | Included | | description | No | Yes | No | Included | | frontmatter.name | No | Yes | No | Included | | frontmatter.description | No | Yes | No | Included | | frontmatter.compatibility | No | Yes | No | Included | | frontmatter.license | No | Yes | No | Included |
Examples:
* `skillId="urn:skill:projects-1234:locations:global:private-important-skill"` to find the skill with the specified skill ID. * `name:important` to find skills whose name contains `important` as a word. * `displayName:works*` to find skills whose display name contains words that start with `works`.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Use this field to specify additional filter criteria on search results. Filter expressions can be used to restrict results based upon filterable fields, where equality operators can be used. See [instructions](https://docs.cloud.google.com/agent-registry/search-agents-and-tools) for more details.
Allowed operators: `=`, `<`, `>`, `NOT`, `AND`, `OR`, and `()`.
| Field | `=` | `<`, `>` | |--------------|-----|----------| | state | Yes | No | | targetState | Yes | No | | createTime | Yes | Yes | | updateTime | Yes | Yes |
Examples:
* `state=ACTIVE` to restrict results to skills in the `ACTIVE` state.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of search results to return per page. The page size is capped at `100`, even if a larger value is specified. A negative value will result in an `INVALID_ARGUMENT` error. If unspecified or set to `0`, a default value of `20` will be used. The server may return fewer results than requested.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. If present, retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of all other method parameters, must be identical to those in the previous call.
Google::Cloud::Agentregistry::V1::AgentregistryService::SearchSkillsResponse
Response listing searched Skills.
Inherits from Protobuf::Message.
Accessors
$msg->skills()/$msg->skills($value)Type:
Message(Google::Cloud::Agentregistry::V1::Skill::Skill)Matched Skills list.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringQuery page offset continuation token.
Google::Cloud::Agentregistry::V1::AgentregistryService::CreateSkillRevisionRequest
Requesting creation of a new SkillRevision snapshot.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent logical container name.
$msg->skill_revision()/$msg->skill_revision($value)Type:
Message(Google::Cloud::Agentregistry::V1::Skill::SkillRevision)Required. Immutable SkillRevision snapshot definition schema.
$msg->skill_revision_id()/$msg->skill_revision_id($value)Type:
StringOptional. Custom, user-defined unique revision identifier. Format: 4-63 characters, matching regex `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. Signed UUID request idempotency token.
Google::Cloud::Agentregistry::V1::AgentregistryService::GetSkillRevisionRequest
Requesting details of a Revision.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Target revision name.
Google::Cloud::Agentregistry::V1::AgentregistryService::DeleteSkillRevisionRequest
Requesting deletion of a specific Revision.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Target revision name to remove.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. Signed UUID request idempotency token.
Google::Cloud::Agentregistry::V1::AgentregistryService::ListSkillRevisionsRequest
Requesting a list of Revisions under a Skill.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent logical container name to query.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Page limit size.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. Page offset token.
Google::Cloud::Agentregistry::V1::AgentregistryService::ListSkillRevisionsResponse
Response listing Revisions.
Inherits from Protobuf::Message.
Accessors
$msg->skill_revisions()/$msg->skill_revisions($value)Type:
Message(Google::Cloud::Agentregistry::V1::Skill::SkillRevision)Returned version snapshot list.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringPage offset continuation token.
Google::Cloud::Agentregistry::V1::AgentregistryService::GetPublisherRequest
Requesting details of a specific Publisher.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Target publisher resource name. Format: `projects/{project}/locations/{location}/publishers/{publisher}`
Google::Cloud::Agentregistry::V1::AgentregistryService::ListPublishersRequest
Requesting a list of Publishers.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent location to query. Format: `projects/{project}/locations/{location}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Page limit size.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. Page offset token.
Google::Cloud::Agentregistry::V1::AgentregistryService::ListPublishersResponse
Response listing Publishers.
Inherits from Protobuf::Message.
Accessors
$msg->publishers()/$msg->publishers($value)Type:
Message(Google::Cloud::Agentregistry::V1::Skill::Publisher)The returned list of Publishers.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringPage offset continuation token.
Google::Cloud::Agentregistry::V1::AgentregistryService::GetAiApplicationRequest
Message for getting an AI Application.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Target AI Application resource name. Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}`
Google::Cloud::Agentregistry::V1::AgentregistryService::ListAiApplicationsRequest
Message for requesting a list of AiApplications.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent project and location to query. Format: `projects/{project}/locations/{location}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filtering results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Hint for how to order the results.
Google::Cloud::Agentregistry::V1::AgentregistryService::ListAiApplicationsResponse
Message for response to listing AiApplications.
Inherits from Protobuf::Message.
Accessors
$msg->ai_applications()/$msg->ai_applications($value)Type:
Message(Google::Cloud::Agentregistry::V1::AiApplication::AiApplication)The list of AiApplications.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnordered list. Locations that could not be reached.
Google::Cloud::Agentregistry::V1::AgentregistryService::ListFindingsRequest
Message for requesting list of Findings.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListFindingsRequest. Format: `projects/{project}/locations/{location}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filtering results
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Hint for how to order the results
Google::Cloud::Agentregistry::V1::AgentregistryService::ListFindingsResponse
Message for response to listing Findings.
Inherits from Protobuf::Message.
Accessors
$msg->findings()/$msg->findings($value)Type:
Message(Google::Cloud::Agentregistry::V1::Finding::Finding)The list of Findings.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Cloud::Agentregistry::V1::AgentregistryService::GetFindingRequest
Message for getting a Finding.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the Finding to retrieve. Format: `projects/{project}/locations/{location}/findings/{finding}`.
Google::Cloud::Agentregistry::V1::AgentregistryService::GetSkillEncryptionSpecRequest
Message for requesting a SkillEncryptionSpec.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the SkillEncryptionSpec to retrieve. Format: `projects/{project}/locations/{location}/skillEncryptionSpec`.
Google::Cloud::Agentregistry::V1::AgentregistryService::UpdateSkillEncryptionSpecRequest
Message for updating a SkillEncryptionSpec.
Inherits from Protobuf::Message.
Accessors
$msg->skill_encryption_spec()/$msg->skill_encryption_spec($value)Type:
Message(Google::Cloud::Agentregistry::V1::SkillEncryptionSpec::SkillEncryptionSpec)Required. The SkillEncryptionSpec to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Field mask is used to specify the fields to be overwritten in the SkillEncryptionSpec resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Agentregistry::V1::AgentregistryService::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.