Debian Codegraph @

docs/dyn/agentregistry_v1alpha.projects.locations.agents.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="agentregistry_v1alpha.html">Agent Registry API</a> . <a href="agentregistry_v1alpha.projects.html">projects</a> . <a href="agentregistry_v1alpha.projects.locations.html">locations</a> . <a href="agentregistry_v1alpha.projects.locations.agents.html">agents</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
82 <p class="firstline">Gets details of a single Agent.</p>
83 <p class="toc_element">
84 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Lists Agents in a given project and location.</p>
86 <p class="toc_element">
87 <code><a href="#list_next">list_next()</a></code></p>
88 <p class="firstline">Retrieves the next page of results.</p>
89 <p class="toc_element">
90 <code><a href="#search">search(parent, body=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Searches Agents in a given project and location.</p>
92 <p class="toc_element">
93 <code><a href="#search_next">search_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="get">get(name, x__xgafv=None)</code>
103 <pre>Gets details of a single Agent.
104
105 Args:
106 name: string, Required. Name of the resource (required)
107 x__xgafv: string, V1 error format.
108 Allowed values
109 1 - v1 error format
110 2 - v2 error format
111
112 Returns:
113 An object of the form:
114
115 { # Represents an Agent. &quot;A2A&quot; below refers to the Agent-to-Agent protocol.
116 &quot;agentId&quot;: &quot;A String&quot;, # Output only. A stable, globally unique identifier for agents.
117 &quot;attributes&quot;: { # Output only. Attributes of the Agent. Valid values: * `agentregistry.googleapis.com/system/Framework`: {&quot;framework&quot;: &quot;google-adk&quot;} - the agent framework used to develop the Agent. Example values: &quot;google-adk&quot;, &quot;langchain&quot;, &quot;custom&quot;. * `agentregistry.googleapis.com/system/RuntimeIdentity`: {&quot;principal&quot;: &quot;principal://...&quot;} - the runtime identity associated with the Agent. * `agentregistry.googleapis.com/system/RuntimeReference`: {&quot;uri&quot;: &quot;//...&quot;} - the URI of the underlying resource hosting the Agent, for example, the Reasoning Engine URI.
118 &quot;a_key&quot;: {
119 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
120 },
121 },
122 &quot;card&quot;: { # Full Agent Card payload, often obtained from the A2A Agent Card. # Output only. Full Agent Card payload, when available.
123 &quot;content&quot;: { # Output only. The content of the agent card.
124 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
125 },
126 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of agent card.
127 },
128 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time.
129 &quot;description&quot;: &quot;A String&quot;, # Output only. The description of the Agent, often obtained from the A2A Agent Card. Empty if Agent Card has no description.
130 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the agent, often obtained from the A2A Agent Card.
131 &quot;location&quot;: &quot;A String&quot;, # Output only. The location where agent is hosted. The value is defined by the hosting environment (i.e. cloud provider).
132 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of an Agent. Format: `projects/{project}/locations/{location}/agents/{agent}`.
133 &quot;protocols&quot;: [ # Output only. The connection details for the Agent.
134 { # Represents the protocol of an Agent.
135 &quot;interfaces&quot;: [ # Output only. The connection details for the Agent.
136 { # Represents the connection details for an Agent or MCP Server.
137 &quot;protocolBinding&quot;: &quot;A String&quot;, # Required. The protocol binding of the interface.
138 &quot;url&quot;: &quot;A String&quot;, # Required. The destination URL.
139 },
140 ],
141 &quot;protocolVersion&quot;: &quot;A String&quot;, # Output only. The version of the protocol, for example, the A2A Agent Card version.
142 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of the protocol.
143 },
144 ],
145 &quot;skills&quot;: [ # Output only. Skills the agent possesses, often obtained from the A2A Agent Card.
146 { # Represents the skills of an Agent.
147 &quot;description&quot;: &quot;A String&quot;, # Output only. A more detailed description of the skill.
148 &quot;examples&quot;: [ # Output only. Example prompts or scenarios this skill can handle.
149 &quot;A String&quot;,
150 ],
151 &quot;id&quot;: &quot;A String&quot;, # Output only. A unique identifier for the agent&#x27;s skill.
152 &quot;name&quot;: &quot;A String&quot;, # Output only. A human-readable name for the agent&#x27;s skill.
153 &quot;tags&quot;: [ # Output only. Keywords describing the skill.
154 &quot;A String&quot;,
155 ],
156 },
157 ],
158 &quot;uid&quot;: &quot;A String&quot;, # Output only. A universally unique identifier for the Agent.
159 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time.
160 &quot;version&quot;: &quot;A String&quot;, # Output only. The version of the Agent, often obtained from the A2A Agent Card. Empty if Agent Card has no version or agent is not an A2A Agent.
161 }</pre>
162 </div>
163
164 <div class="method">
165 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
166 <pre>Lists Agents in a given project and location.
167
168 Args:
169 parent: string, Required. Parent value for ListAgentsRequest (required)
170 filter: string, Optional. Filtering results
171 orderBy: string, Optional. Hint for how to order the results
172 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
173 pageToken: string, Optional. A token identifying a page of results the server should return.
174 x__xgafv: string, V1 error format.
175 Allowed values
176 1 - v1 error format
177 2 - v2 error format
178
179 Returns:
180 An object of the form:
181
182 { # Message for response to listing Agents
183 &quot;agents&quot;: [ # The list of Agents.
184 { # Represents an Agent. &quot;A2A&quot; below refers to the Agent-to-Agent protocol.
185 &quot;agentId&quot;: &quot;A String&quot;, # Output only. A stable, globally unique identifier for agents.
186 &quot;attributes&quot;: { # Output only. Attributes of the Agent. Valid values: * `agentregistry.googleapis.com/system/Framework`: {&quot;framework&quot;: &quot;google-adk&quot;} - the agent framework used to develop the Agent. Example values: &quot;google-adk&quot;, &quot;langchain&quot;, &quot;custom&quot;. * `agentregistry.googleapis.com/system/RuntimeIdentity`: {&quot;principal&quot;: &quot;principal://...&quot;} - the runtime identity associated with the Agent. * `agentregistry.googleapis.com/system/RuntimeReference`: {&quot;uri&quot;: &quot;//...&quot;} - the URI of the underlying resource hosting the Agent, for example, the Reasoning Engine URI.
187 &quot;a_key&quot;: {
188 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
189 },
190 },
191 &quot;card&quot;: { # Full Agent Card payload, often obtained from the A2A Agent Card. # Output only. Full Agent Card payload, when available.
192 &quot;content&quot;: { # Output only. The content of the agent card.
193 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
194 },
195 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of agent card.
196 },
197 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time.
198 &quot;description&quot;: &quot;A String&quot;, # Output only. The description of the Agent, often obtained from the A2A Agent Card. Empty if Agent Card has no description.
199 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the agent, often obtained from the A2A Agent Card.
200 &quot;location&quot;: &quot;A String&quot;, # Output only. The location where agent is hosted. The value is defined by the hosting environment (i.e. cloud provider).
201 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of an Agent. Format: `projects/{project}/locations/{location}/agents/{agent}`.
202 &quot;protocols&quot;: [ # Output only. The connection details for the Agent.
203 { # Represents the protocol of an Agent.
204 &quot;interfaces&quot;: [ # Output only. The connection details for the Agent.
205 { # Represents the connection details for an Agent or MCP Server.
206 &quot;protocolBinding&quot;: &quot;A String&quot;, # Required. The protocol binding of the interface.
207 &quot;url&quot;: &quot;A String&quot;, # Required. The destination URL.
208 },
209 ],
210 &quot;protocolVersion&quot;: &quot;A String&quot;, # Output only. The version of the protocol, for example, the A2A Agent Card version.
211 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of the protocol.
212 },
213 ],
214 &quot;skills&quot;: [ # Output only. Skills the agent possesses, often obtained from the A2A Agent Card.
215 { # Represents the skills of an Agent.
216 &quot;description&quot;: &quot;A String&quot;, # Output only. A more detailed description of the skill.
217 &quot;examples&quot;: [ # Output only. Example prompts or scenarios this skill can handle.
218 &quot;A String&quot;,
219 ],
220 &quot;id&quot;: &quot;A String&quot;, # Output only. A unique identifier for the agent&#x27;s skill.
221 &quot;name&quot;: &quot;A String&quot;, # Output only. A human-readable name for the agent&#x27;s skill.
222 &quot;tags&quot;: [ # Output only. Keywords describing the skill.
223 &quot;A String&quot;,
224 ],
225 },
226 ],
227 &quot;uid&quot;: &quot;A String&quot;, # Output only. A universally unique identifier for the Agent.
228 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time.
229 &quot;version&quot;: &quot;A String&quot;, # Output only. The version of the Agent, often obtained from the A2A Agent Card. Empty if Agent Card has no version or agent is not an A2A Agent.
230 },
231 ],
232 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
233 }</pre>
234 </div>
235
236 <div class="method">
237 <code class="details" id="list_next">list_next()</code>
238 <pre>Retrieves the next page of results.
239
240 Args:
241 previous_request: The request for the previous page. (required)
242 previous_response: The response from the request for the previous page. (required)
243
244 Returns:
245 A request object that you can call &#x27;execute()&#x27; on to request the next
246 page. Returns None if there are no more items in the collection.
247 </pre>
248 </div>
249
250 <div class="method">
251 <code class="details" id="search">search(parent, body=None, x__xgafv=None)</code>
252 <pre>Searches Agents in a given project and location.
253
254 Args:
255 parent: string, Required. Parent value for SearchAgentsRequest. Format: `projects/{project}/locations/{location}`. (required)
256 body: object, The request body.
257 The object takes the form of:
258
259 { # Message for searching Agents
260 &quot;pageSize&quot;: 42, # Optional. 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.
261 &quot;pageToken&quot;: &quot;A String&quot;, # Optional. 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.
262 &quot;searchString&quot;: &quot;A String&quot;, # Optional. 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=&quot;urn:agent:projects-123:projects:123:locations:us-central1:reasoningEngines:1234&quot;` 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`.
263 }
264
265 x__xgafv: string, V1 error format.
266 Allowed values
267 1 - v1 error format
268 2 - v2 error format
269
270 Returns:
271 An object of the form:
272
273 { # Message for response to searching Agents
274 &quot;agents&quot;: [ # A list of Agents that match the `search_string`.
275 { # Represents an Agent. &quot;A2A&quot; below refers to the Agent-to-Agent protocol.
276 &quot;agentId&quot;: &quot;A String&quot;, # Output only. A stable, globally unique identifier for agents.
277 &quot;attributes&quot;: { # Output only. Attributes of the Agent. Valid values: * `agentregistry.googleapis.com/system/Framework`: {&quot;framework&quot;: &quot;google-adk&quot;} - the agent framework used to develop the Agent. Example values: &quot;google-adk&quot;, &quot;langchain&quot;, &quot;custom&quot;. * `agentregistry.googleapis.com/system/RuntimeIdentity`: {&quot;principal&quot;: &quot;principal://...&quot;} - the runtime identity associated with the Agent. * `agentregistry.googleapis.com/system/RuntimeReference`: {&quot;uri&quot;: &quot;//...&quot;} - the URI of the underlying resource hosting the Agent, for example, the Reasoning Engine URI.
278 &quot;a_key&quot;: {
279 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
280 },
281 },
282 &quot;card&quot;: { # Full Agent Card payload, often obtained from the A2A Agent Card. # Output only. Full Agent Card payload, when available.
283 &quot;content&quot;: { # Output only. The content of the agent card.
284 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
285 },
286 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of agent card.
287 },
288 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time.
289 &quot;description&quot;: &quot;A String&quot;, # Output only. The description of the Agent, often obtained from the A2A Agent Card. Empty if Agent Card has no description.
290 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the agent, often obtained from the A2A Agent Card.
291 &quot;location&quot;: &quot;A String&quot;, # Output only. The location where agent is hosted. The value is defined by the hosting environment (i.e. cloud provider).
292 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of an Agent. Format: `projects/{project}/locations/{location}/agents/{agent}`.
293 &quot;protocols&quot;: [ # Output only. The connection details for the Agent.
294 { # Represents the protocol of an Agent.
295 &quot;interfaces&quot;: [ # Output only. The connection details for the Agent.
296 { # Represents the connection details for an Agent or MCP Server.
297 &quot;protocolBinding&quot;: &quot;A String&quot;, # Required. The protocol binding of the interface.
298 &quot;url&quot;: &quot;A String&quot;, # Required. The destination URL.
299 },
300 ],
301 &quot;protocolVersion&quot;: &quot;A String&quot;, # Output only. The version of the protocol, for example, the A2A Agent Card version.
302 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of the protocol.
303 },
304 ],
305 &quot;skills&quot;: [ # Output only. Skills the agent possesses, often obtained from the A2A Agent Card.
306 { # Represents the skills of an Agent.
307 &quot;description&quot;: &quot;A String&quot;, # Output only. A more detailed description of the skill.
308 &quot;examples&quot;: [ # Output only. Example prompts or scenarios this skill can handle.
309 &quot;A String&quot;,
310 ],
311 &quot;id&quot;: &quot;A String&quot;, # Output only. A unique identifier for the agent&#x27;s skill.
312 &quot;name&quot;: &quot;A String&quot;, # Output only. A human-readable name for the agent&#x27;s skill.
313 &quot;tags&quot;: [ # Output only. Keywords describing the skill.
314 &quot;A String&quot;,
315 ],
316 },
317 ],
318 &quot;uid&quot;: &quot;A String&quot;, # Output only. A universally unique identifier for the Agent.
319 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time.
320 &quot;version&quot;: &quot;A String&quot;, # Output only. The version of the Agent, often obtained from the A2A Agent Card. Empty if Agent Card has no version or agent is not an A2A Agent.
321 },
322 ],
323 &quot;nextPageToken&quot;: &quot;A String&quot;, # If 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`.
324 }</pre>
325 </div>
326
327 <div class="method">
328 <code class="details" id="search_next">search_next()</code>
329 <pre>Retrieves the next page of results.
330
331 Args:
332 previous_request: The request for the previous page. (required)
333 previous_response: The response from the request for the previous page. (required)
334
335 Returns:
336 A request object that you can call &#x27;execute()&#x27; on to request the next
337 page. Returns None if there are no more items in the collection.
338 </pre>
339 </div>
340
341 </body></html>