google-apis-agentregistry_v1 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module AgentregistryV1
18
+ # Version of the google-apis-agentregistry_v1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.19.0"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20260617"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,598 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module AgentregistryV1
24
+
25
+ class A2ASkill
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Agent
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AgentSpec
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Annotations
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class AuthProviderBinding
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class Binding
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class CancelOperationRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class Card
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Empty
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class Endpoint
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class EndpointSpec
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class FetchAvailableBindingsResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class Interface
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ListAgentsResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class ListBindingsResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ListEndpointsResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ListLocationsResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ListMcpServersResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ListOperationsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ListServicesResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class Location
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class McpServer
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class McpServerSpec
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class Operation
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class OperationMetadata
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class Protocol
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class SearchAgentsRequest
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class SearchAgentsResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class SearchMcpServersRequest
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class SearchMcpServersResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class Service
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class Source
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class Status
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class Target
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class Tool
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class A2ASkill
236
+ # @private
237
+ class Representation < Google::Apis::Core::JsonRepresentation
238
+ property :description, as: 'description'
239
+ collection :examples, as: 'examples'
240
+ property :id, as: 'id'
241
+ property :name, as: 'name'
242
+ collection :tags, as: 'tags'
243
+ end
244
+ end
245
+
246
+ class Agent
247
+ # @private
248
+ class Representation < Google::Apis::Core::JsonRepresentation
249
+ property :agent_id, as: 'agentId'
250
+ hash :attributes, as: 'attributes'
251
+ property :card, as: 'card', class: Google::Apis::AgentregistryV1::Card, decorator: Google::Apis::AgentregistryV1::Card::Representation
252
+
253
+ property :create_time, as: 'createTime'
254
+ property :description, as: 'description'
255
+ property :display_name, as: 'displayName'
256
+ property :location, as: 'location'
257
+ property :name, as: 'name'
258
+ collection :protocols, as: 'protocols', class: Google::Apis::AgentregistryV1::Protocol, decorator: Google::Apis::AgentregistryV1::Protocol::Representation
259
+
260
+ collection :skills, as: 'skills', class: Google::Apis::AgentregistryV1::A2ASkill, decorator: Google::Apis::AgentregistryV1::A2ASkill::Representation
261
+
262
+ property :uid, as: 'uid'
263
+ property :update_time, as: 'updateTime'
264
+ property :version, as: 'version'
265
+ end
266
+ end
267
+
268
+ class AgentSpec
269
+ # @private
270
+ class Representation < Google::Apis::Core::JsonRepresentation
271
+ hash :content, as: 'content'
272
+ property :type, as: 'type'
273
+ end
274
+ end
275
+
276
+ class Annotations
277
+ # @private
278
+ class Representation < Google::Apis::Core::JsonRepresentation
279
+ property :destructive_hint, as: 'destructiveHint'
280
+ property :idempotent_hint, as: 'idempotentHint'
281
+ property :open_world_hint, as: 'openWorldHint'
282
+ property :read_only_hint, as: 'readOnlyHint'
283
+ property :title, as: 'title'
284
+ end
285
+ end
286
+
287
+ class AuthProviderBinding
288
+ # @private
289
+ class Representation < Google::Apis::Core::JsonRepresentation
290
+ property :auth_provider, as: 'authProvider'
291
+ property :continue_uri, as: 'continueUri'
292
+ collection :scopes, as: 'scopes'
293
+ end
294
+ end
295
+
296
+ class Binding
297
+ # @private
298
+ class Representation < Google::Apis::Core::JsonRepresentation
299
+ property :auth_provider_binding, as: 'authProviderBinding', class: Google::Apis::AgentregistryV1::AuthProviderBinding, decorator: Google::Apis::AgentregistryV1::AuthProviderBinding::Representation
300
+
301
+ property :create_time, as: 'createTime'
302
+ property :description, as: 'description'
303
+ property :display_name, as: 'displayName'
304
+ property :name, as: 'name'
305
+ property :source, as: 'source', class: Google::Apis::AgentregistryV1::Source, decorator: Google::Apis::AgentregistryV1::Source::Representation
306
+
307
+ property :target, as: 'target', class: Google::Apis::AgentregistryV1::Target, decorator: Google::Apis::AgentregistryV1::Target::Representation
308
+
309
+ property :update_time, as: 'updateTime'
310
+ end
311
+ end
312
+
313
+ class CancelOperationRequest
314
+ # @private
315
+ class Representation < Google::Apis::Core::JsonRepresentation
316
+ end
317
+ end
318
+
319
+ class Card
320
+ # @private
321
+ class Representation < Google::Apis::Core::JsonRepresentation
322
+ hash :content, as: 'content'
323
+ property :type, as: 'type'
324
+ end
325
+ end
326
+
327
+ class Empty
328
+ # @private
329
+ class Representation < Google::Apis::Core::JsonRepresentation
330
+ end
331
+ end
332
+
333
+ class Endpoint
334
+ # @private
335
+ class Representation < Google::Apis::Core::JsonRepresentation
336
+ hash :attributes, as: 'attributes'
337
+ property :create_time, as: 'createTime'
338
+ property :description, as: 'description'
339
+ property :display_name, as: 'displayName'
340
+ property :endpoint_id, as: 'endpointId'
341
+ collection :interfaces, as: 'interfaces', class: Google::Apis::AgentregistryV1::Interface, decorator: Google::Apis::AgentregistryV1::Interface::Representation
342
+
343
+ property :name, as: 'name'
344
+ property :update_time, as: 'updateTime'
345
+ end
346
+ end
347
+
348
+ class EndpointSpec
349
+ # @private
350
+ class Representation < Google::Apis::Core::JsonRepresentation
351
+ hash :content, as: 'content'
352
+ property :type, as: 'type'
353
+ end
354
+ end
355
+
356
+ class FetchAvailableBindingsResponse
357
+ # @private
358
+ class Representation < Google::Apis::Core::JsonRepresentation
359
+ collection :bindings, as: 'bindings', class: Google::Apis::AgentregistryV1::Binding, decorator: Google::Apis::AgentregistryV1::Binding::Representation
360
+
361
+ property :next_page_token, as: 'nextPageToken'
362
+ end
363
+ end
364
+
365
+ class Interface
366
+ # @private
367
+ class Representation < Google::Apis::Core::JsonRepresentation
368
+ property :protocol_binding, as: 'protocolBinding'
369
+ property :url, as: 'url'
370
+ end
371
+ end
372
+
373
+ class ListAgentsResponse
374
+ # @private
375
+ class Representation < Google::Apis::Core::JsonRepresentation
376
+ collection :agents, as: 'agents', class: Google::Apis::AgentregistryV1::Agent, decorator: Google::Apis::AgentregistryV1::Agent::Representation
377
+
378
+ property :next_page_token, as: 'nextPageToken'
379
+ end
380
+ end
381
+
382
+ class ListBindingsResponse
383
+ # @private
384
+ class Representation < Google::Apis::Core::JsonRepresentation
385
+ collection :bindings, as: 'bindings', class: Google::Apis::AgentregistryV1::Binding, decorator: Google::Apis::AgentregistryV1::Binding::Representation
386
+
387
+ property :next_page_token, as: 'nextPageToken'
388
+ end
389
+ end
390
+
391
+ class ListEndpointsResponse
392
+ # @private
393
+ class Representation < Google::Apis::Core::JsonRepresentation
394
+ collection :endpoints, as: 'endpoints', class: Google::Apis::AgentregistryV1::Endpoint, decorator: Google::Apis::AgentregistryV1::Endpoint::Representation
395
+
396
+ property :next_page_token, as: 'nextPageToken'
397
+ end
398
+ end
399
+
400
+ class ListLocationsResponse
401
+ # @private
402
+ class Representation < Google::Apis::Core::JsonRepresentation
403
+ collection :locations, as: 'locations', class: Google::Apis::AgentregistryV1::Location, decorator: Google::Apis::AgentregistryV1::Location::Representation
404
+
405
+ property :next_page_token, as: 'nextPageToken'
406
+ end
407
+ end
408
+
409
+ class ListMcpServersResponse
410
+ # @private
411
+ class Representation < Google::Apis::Core::JsonRepresentation
412
+ collection :mcp_servers, as: 'mcpServers', class: Google::Apis::AgentregistryV1::McpServer, decorator: Google::Apis::AgentregistryV1::McpServer::Representation
413
+
414
+ property :next_page_token, as: 'nextPageToken'
415
+ end
416
+ end
417
+
418
+ class ListOperationsResponse
419
+ # @private
420
+ class Representation < Google::Apis::Core::JsonRepresentation
421
+ property :next_page_token, as: 'nextPageToken'
422
+ collection :operations, as: 'operations', class: Google::Apis::AgentregistryV1::Operation, decorator: Google::Apis::AgentregistryV1::Operation::Representation
423
+
424
+ collection :unreachable, as: 'unreachable'
425
+ end
426
+ end
427
+
428
+ class ListServicesResponse
429
+ # @private
430
+ class Representation < Google::Apis::Core::JsonRepresentation
431
+ property :next_page_token, as: 'nextPageToken'
432
+ collection :services, as: 'services', class: Google::Apis::AgentregistryV1::Service, decorator: Google::Apis::AgentregistryV1::Service::Representation
433
+
434
+ end
435
+ end
436
+
437
+ class Location
438
+ # @private
439
+ class Representation < Google::Apis::Core::JsonRepresentation
440
+ property :display_name, as: 'displayName'
441
+ hash :labels, as: 'labels'
442
+ property :location_id, as: 'locationId'
443
+ hash :metadata, as: 'metadata'
444
+ property :name, as: 'name'
445
+ end
446
+ end
447
+
448
+ class McpServer
449
+ # @private
450
+ class Representation < Google::Apis::Core::JsonRepresentation
451
+ hash :attributes, as: 'attributes'
452
+ property :create_time, as: 'createTime'
453
+ property :description, as: 'description'
454
+ property :display_name, as: 'displayName'
455
+ collection :interfaces, as: 'interfaces', class: Google::Apis::AgentregistryV1::Interface, decorator: Google::Apis::AgentregistryV1::Interface::Representation
456
+
457
+ property :mcp_server_id, as: 'mcpServerId'
458
+ property :name, as: 'name'
459
+ collection :tools, as: 'tools', class: Google::Apis::AgentregistryV1::Tool, decorator: Google::Apis::AgentregistryV1::Tool::Representation
460
+
461
+ property :update_time, as: 'updateTime'
462
+ end
463
+ end
464
+
465
+ class McpServerSpec
466
+ # @private
467
+ class Representation < Google::Apis::Core::JsonRepresentation
468
+ hash :content, as: 'content'
469
+ property :type, as: 'type'
470
+ end
471
+ end
472
+
473
+ class Operation
474
+ # @private
475
+ class Representation < Google::Apis::Core::JsonRepresentation
476
+ property :done, as: 'done'
477
+ property :error, as: 'error', class: Google::Apis::AgentregistryV1::Status, decorator: Google::Apis::AgentregistryV1::Status::Representation
478
+
479
+ hash :metadata, as: 'metadata'
480
+ property :name, as: 'name'
481
+ hash :response, as: 'response'
482
+ end
483
+ end
484
+
485
+ class OperationMetadata
486
+ # @private
487
+ class Representation < Google::Apis::Core::JsonRepresentation
488
+ property :api_version, as: 'apiVersion'
489
+ property :create_time, as: 'createTime'
490
+ property :end_time, as: 'endTime'
491
+ property :requested_cancellation, as: 'requestedCancellation'
492
+ property :status_message, as: 'statusMessage'
493
+ property :target, as: 'target'
494
+ property :verb, as: 'verb'
495
+ end
496
+ end
497
+
498
+ class Protocol
499
+ # @private
500
+ class Representation < Google::Apis::Core::JsonRepresentation
501
+ collection :interfaces, as: 'interfaces', class: Google::Apis::AgentregistryV1::Interface, decorator: Google::Apis::AgentregistryV1::Interface::Representation
502
+
503
+ property :protocol_version, as: 'protocolVersion'
504
+ property :type, as: 'type'
505
+ end
506
+ end
507
+
508
+ class SearchAgentsRequest
509
+ # @private
510
+ class Representation < Google::Apis::Core::JsonRepresentation
511
+ property :page_size, as: 'pageSize'
512
+ property :page_token, as: 'pageToken'
513
+ property :search_string, as: 'searchString'
514
+ end
515
+ end
516
+
517
+ class SearchAgentsResponse
518
+ # @private
519
+ class Representation < Google::Apis::Core::JsonRepresentation
520
+ collection :agents, as: 'agents', class: Google::Apis::AgentregistryV1::Agent, decorator: Google::Apis::AgentregistryV1::Agent::Representation
521
+
522
+ property :next_page_token, as: 'nextPageToken'
523
+ end
524
+ end
525
+
526
+ class SearchMcpServersRequest
527
+ # @private
528
+ class Representation < Google::Apis::Core::JsonRepresentation
529
+ property :page_size, as: 'pageSize'
530
+ property :page_token, as: 'pageToken'
531
+ property :search_string, as: 'searchString'
532
+ end
533
+ end
534
+
535
+ class SearchMcpServersResponse
536
+ # @private
537
+ class Representation < Google::Apis::Core::JsonRepresentation
538
+ collection :mcp_servers, as: 'mcpServers', class: Google::Apis::AgentregistryV1::McpServer, decorator: Google::Apis::AgentregistryV1::McpServer::Representation
539
+
540
+ property :next_page_token, as: 'nextPageToken'
541
+ end
542
+ end
543
+
544
+ class Service
545
+ # @private
546
+ class Representation < Google::Apis::Core::JsonRepresentation
547
+ property :agent_spec, as: 'agentSpec', class: Google::Apis::AgentregistryV1::AgentSpec, decorator: Google::Apis::AgentregistryV1::AgentSpec::Representation
548
+
549
+ property :create_time, as: 'createTime'
550
+ property :description, as: 'description'
551
+ property :display_name, as: 'displayName'
552
+ property :endpoint_spec, as: 'endpointSpec', class: Google::Apis::AgentregistryV1::EndpointSpec, decorator: Google::Apis::AgentregistryV1::EndpointSpec::Representation
553
+
554
+ collection :interfaces, as: 'interfaces', class: Google::Apis::AgentregistryV1::Interface, decorator: Google::Apis::AgentregistryV1::Interface::Representation
555
+
556
+ property :mcp_server_spec, as: 'mcpServerSpec', class: Google::Apis::AgentregistryV1::McpServerSpec, decorator: Google::Apis::AgentregistryV1::McpServerSpec::Representation
557
+
558
+ property :name, as: 'name'
559
+ property :registry_resource, as: 'registryResource'
560
+ property :update_time, as: 'updateTime'
561
+ end
562
+ end
563
+
564
+ class Source
565
+ # @private
566
+ class Representation < Google::Apis::Core::JsonRepresentation
567
+ property :identifier, as: 'identifier'
568
+ end
569
+ end
570
+
571
+ class Status
572
+ # @private
573
+ class Representation < Google::Apis::Core::JsonRepresentation
574
+ property :code, as: 'code'
575
+ collection :details, as: 'details'
576
+ property :message, as: 'message'
577
+ end
578
+ end
579
+
580
+ class Target
581
+ # @private
582
+ class Representation < Google::Apis::Core::JsonRepresentation
583
+ property :identifier, as: 'identifier'
584
+ end
585
+ end
586
+
587
+ class Tool
588
+ # @private
589
+ class Representation < Google::Apis::Core::JsonRepresentation
590
+ property :annotations, as: 'annotations', class: Google::Apis::AgentregistryV1::Annotations, decorator: Google::Apis::AgentregistryV1::Annotations::Representation
591
+
592
+ property :description, as: 'description'
593
+ property :name, as: 'name'
594
+ end
595
+ end
596
+ end
597
+ end
598
+ end