google-apis-agentregistry_v1alpha 0.1.0 → 0.3.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc27c54fc7d45a77a686c4109dd128f57e7415beaaa815f55f33ef2a05dba7bc
4
- data.tar.gz: 41359b295b6cd9e0fb6c9796bdc69264bbeaf17a84dd4ce86748178ad91c9728
3
+ metadata.gz: 621fcb5973192e710573ecc7d11345f7f1f8a3503f6179b75d284db70936b54b
4
+ data.tar.gz: 46590696592e8856d5cbea1eb76b5cf9a2752cd6a19707c1bc99af3d7e14167a
5
5
  SHA512:
6
- metadata.gz: 8a2bbf7395bb4b106ed92a86db4932451a343198c4ac9d31f382d6fb95da1a03012e83e6603d095b5b99b0e0346d156452f9e22d245da1b841406f442573a750
7
- data.tar.gz: 790ea78da5a37035f4473d6febaa39c3656162f3e3e430e038f8bb5ada1965edf27064bf8a6d21b7545aeefc2905c8a9f8a423fe8c194a6d0b876410f64d6343
6
+ metadata.gz: 11573a8619116db59caf0585b1e3359619e7251c5e50585b3cab6f43775286b8ad686a7565e049b80104483f548df736e279a95370c77f8c3b4f628942dce341
7
+ data.tar.gz: b5a061365a6d9d2235708d0b06fc2a5b8c7a88cef0e13e8c92bb7f88150265393ef9e0d000e946c1d6326250e1153f235b708ae0659305941588114c2dfb365d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-agentregistry_v1alpha
2
2
 
3
+ ### v0.3.0 (2026-05-10)
4
+
5
+ * Regenerated from discovery document revision 20260430
6
+
7
+ ### v0.2.0 (2026-04-19)
8
+
9
+ * Regenerated from discovery document revision 20260408
10
+
3
11
  ### v0.1.0 (2026-03-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20260318
@@ -167,7 +167,7 @@ module Google
167
167
 
168
168
  # Output only. If true, calling the tool repeatedly with the same arguments will
169
169
  # have no additional effect on its environment. NOTE: This property is
170
- # meaningful only when `read_only_hint == false. Default: false
170
+ # meaningful only when `read_only_hint == false` Default: false
171
171
  # Corresponds to the JSON property `idempotentHint`
172
172
  # @return [Boolean]
173
173
  attr_accessor :idempotent_hint
@@ -207,6 +207,103 @@ module Google
207
207
  end
208
208
  end
209
209
 
210
+ # The AuthProvider of the Binding.
211
+ class AuthProviderBinding
212
+ include Google::Apis::Core::Hashable
213
+
214
+ # Required. The resource name of the target AuthProvider. Format: * `projects/`
215
+ # project`/locations/`location`/authProviders/`auth_provider``
216
+ # Corresponds to the JSON property `authProvider`
217
+ # @return [String]
218
+ attr_accessor :auth_provider
219
+
220
+ # Optional. The continue URI of the AuthProvider. The URI is used to
221
+ # reauthenticate the user and finalize the managed OAuth flow.
222
+ # Corresponds to the JSON property `continueUri`
223
+ # @return [String]
224
+ attr_accessor :continue_uri
225
+
226
+ # Optional. The list of OAuth2 scopes of the AuthProvider.
227
+ # Corresponds to the JSON property `scopes`
228
+ # @return [Array<String>]
229
+ attr_accessor :scopes
230
+
231
+ def initialize(**args)
232
+ update!(**args)
233
+ end
234
+
235
+ # Update properties of this object
236
+ def update!(**args)
237
+ @auth_provider = args[:auth_provider] if args.key?(:auth_provider)
238
+ @continue_uri = args[:continue_uri] if args.key?(:continue_uri)
239
+ @scopes = args[:scopes] if args.key?(:scopes)
240
+ end
241
+ end
242
+
243
+ # Represents a user-defined Binding.
244
+ class Binding
245
+ include Google::Apis::Core::Hashable
246
+
247
+ # The AuthProvider of the Binding.
248
+ # Corresponds to the JSON property `authProviderBinding`
249
+ # @return [Google::Apis::AgentregistryV1alpha::AuthProviderBinding]
250
+ attr_accessor :auth_provider_binding
251
+
252
+ # Output only. Timestamp when this binding was created.
253
+ # Corresponds to the JSON property `createTime`
254
+ # @return [String]
255
+ attr_accessor :create_time
256
+
257
+ # Optional. User-defined description of a Binding. Can have a maximum length of `
258
+ # 2048` characters.
259
+ # Corresponds to the JSON property `description`
260
+ # @return [String]
261
+ attr_accessor :description
262
+
263
+ # Optional. User-defined display name for the Binding. Can have a maximum length
264
+ # of `63` characters.
265
+ # Corresponds to the JSON property `displayName`
266
+ # @return [String]
267
+ attr_accessor :display_name
268
+
269
+ # Required. Identifier. The resource name of the Binding. Format: `projects/`
270
+ # project`/locations/`location`/bindings/`binding``.
271
+ # Corresponds to the JSON property `name`
272
+ # @return [String]
273
+ attr_accessor :name
274
+
275
+ # The source of the Binding.
276
+ # Corresponds to the JSON property `source`
277
+ # @return [Google::Apis::AgentregistryV1alpha::Source]
278
+ attr_accessor :source
279
+
280
+ # The target of the Binding.
281
+ # Corresponds to the JSON property `target`
282
+ # @return [Google::Apis::AgentregistryV1alpha::Target]
283
+ attr_accessor :target
284
+
285
+ # Output only. Timestamp when this binding was last updated.
286
+ # Corresponds to the JSON property `updateTime`
287
+ # @return [String]
288
+ attr_accessor :update_time
289
+
290
+ def initialize(**args)
291
+ update!(**args)
292
+ end
293
+
294
+ # Update properties of this object
295
+ def update!(**args)
296
+ @auth_provider_binding = args[:auth_provider_binding] if args.key?(:auth_provider_binding)
297
+ @create_time = args[:create_time] if args.key?(:create_time)
298
+ @description = args[:description] if args.key?(:description)
299
+ @display_name = args[:display_name] if args.key?(:display_name)
300
+ @name = args[:name] if args.key?(:name)
301
+ @source = args[:source] if args.key?(:source)
302
+ @target = args[:target] if args.key?(:target)
303
+ @update_time = args[:update_time] if args.key?(:update_time)
304
+ end
305
+ end
306
+
210
307
  # The request message for Operations.CancelOperation.
211
308
  class CancelOperationRequest
212
309
  include Google::Apis::Core::Hashable
@@ -350,6 +447,31 @@ module Google
350
447
  end
351
448
  end
352
449
 
450
+ # Message for response to fetching available Bindings.
451
+ class FetchAvailableBindingsResponse
452
+ include Google::Apis::Core::Hashable
453
+
454
+ # The list of Bindings.
455
+ # Corresponds to the JSON property `bindings`
456
+ # @return [Array<Google::Apis::AgentregistryV1alpha::Binding>]
457
+ attr_accessor :bindings
458
+
459
+ # A token identifying a page of results the server should return.
460
+ # Corresponds to the JSON property `nextPageToken`
461
+ # @return [String]
462
+ attr_accessor :next_page_token
463
+
464
+ def initialize(**args)
465
+ update!(**args)
466
+ end
467
+
468
+ # Update properties of this object
469
+ def update!(**args)
470
+ @bindings = args[:bindings] if args.key?(:bindings)
471
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
472
+ end
473
+ end
474
+
353
475
  # Represents the connection details for an Agent or MCP Server.
354
476
  class Interface
355
477
  include Google::Apis::Core::Hashable
@@ -400,6 +522,34 @@ module Google
400
522
  end
401
523
  end
402
524
 
525
+ # Message for response to listing Bindings
526
+ class ListBindingsResponse
527
+ include Google::Apis::Core::Hashable
528
+
529
+ # The list of Binding resources matching the parent and filter criteria in the
530
+ # request. Each Binding resource follows the format: `projects/`project`/
531
+ # locations/`location`/bindings/`binding``.
532
+ # Corresponds to the JSON property `bindings`
533
+ # @return [Array<Google::Apis::AgentregistryV1alpha::Binding>]
534
+ attr_accessor :bindings
535
+
536
+ # A token identifying a page of results the server should return. Used in
537
+ # page_token.
538
+ # Corresponds to the JSON property `nextPageToken`
539
+ # @return [String]
540
+ attr_accessor :next_page_token
541
+
542
+ def initialize(**args)
543
+ update!(**args)
544
+ end
545
+
546
+ # Update properties of this object
547
+ def update!(**args)
548
+ @bindings = args[:bindings] if args.key?(:bindings)
549
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
550
+ end
551
+ end
552
+
403
553
  # Message for response to listing Endpoints
404
554
  class ListEndpointsResponse
405
555
  include Google::Apis::Core::Hashable
@@ -839,6 +989,172 @@ module Google
839
989
  end
840
990
  end
841
991
 
992
+ # Message for searching Agents
993
+ class SearchAgentsRequest
994
+ include Google::Apis::Core::Hashable
995
+
996
+ # Optional. The maximum number of search results to return per page. The page
997
+ # size is capped at `100`, even if a larger value is specified. A negative value
998
+ # will result in an `INVALID_ARGUMENT` error. If unspecified or set to `0`, a
999
+ # default value of `20` will be used. The server may return fewer results than
1000
+ # requested.
1001
+ # Corresponds to the JSON property `pageSize`
1002
+ # @return [Fixnum]
1003
+ attr_accessor :page_size
1004
+
1005
+ # Optional. If present, retrieve the next batch of results from the preceding
1006
+ # call to this method. `page_token` must be the value of `next_page_token` from
1007
+ # the previous response. The values of all other method parameters, must be
1008
+ # identical to those in the previous call.
1009
+ # Corresponds to the JSON property `pageToken`
1010
+ # @return [String]
1011
+ attr_accessor :page_token
1012
+
1013
+ # Optional. Search criteria used to select the Agents to return. If no search
1014
+ # criteria is specified then all accessible Agents will be returned. Search
1015
+ # expressions can be used to restrict results based upon searchable fields,
1016
+ # where the operators can be used along with the suffix wildcard symbol `*`. See
1017
+ # [instructions](https://docs.cloud.google.com/agent-registry/search-agents-and-
1018
+ # tools) for more details. Allowed operators: `=`, `:`, `NOT`, `AND`, `OR`, and `
1019
+ # ()`. Searchable fields: | Field | `=` | `:` | `*` | Keyword Search | |---------
1020
+ # -----------|-----|-----|-----|----------------| | agentId | Yes | Yes | Yes |
1021
+ # Included | | name | No | Yes | Yes | Included | | displayName | No | Yes | Yes
1022
+ # | Included | | description | No | Yes | No | Included | | skills | No | Yes |
1023
+ # No | Included | | skills.id | No | Yes | No | Included | | skills.name | No |
1024
+ # Yes | No | Included | | skills.description | No | Yes | No | Included | |
1025
+ # skills.tags | No | Yes | No | Included | | skills.examples | No | Yes | No |
1026
+ # Included | Examples: * `agentId="urn:agent:projects-123:projects:123:locations:
1027
+ # us-central1:reasoningEngines:1234"` to find the agent with the specified agent
1028
+ # ID. * `name:important` to find agents whose name contains `important` as a
1029
+ # word. * `displayName:works*` to find agents whose display name contains words
1030
+ # that start with `works`. * `skills.tags:test` to find agents whose skills tags
1031
+ # contain `test`. * `planner OR booking` to find agents whose metadata contains
1032
+ # the words `planner` or `booking`.
1033
+ # Corresponds to the JSON property `searchString`
1034
+ # @return [String]
1035
+ attr_accessor :search_string
1036
+
1037
+ def initialize(**args)
1038
+ update!(**args)
1039
+ end
1040
+
1041
+ # Update properties of this object
1042
+ def update!(**args)
1043
+ @page_size = args[:page_size] if args.key?(:page_size)
1044
+ @page_token = args[:page_token] if args.key?(:page_token)
1045
+ @search_string = args[:search_string] if args.key?(:search_string)
1046
+ end
1047
+ end
1048
+
1049
+ # Message for response to searching Agents
1050
+ class SearchAgentsResponse
1051
+ include Google::Apis::Core::Hashable
1052
+
1053
+ # A list of Agents that match the `search_string`.
1054
+ # Corresponds to the JSON property `agents`
1055
+ # @return [Array<Google::Apis::AgentregistryV1alpha::Agent>]
1056
+ attr_accessor :agents
1057
+
1058
+ # If there are more results than those appearing in this response, then `
1059
+ # next_page_token` is included. To get the next set of results, call this method
1060
+ # again using the value of `next_page_token` as `page_token`.
1061
+ # Corresponds to the JSON property `nextPageToken`
1062
+ # @return [String]
1063
+ attr_accessor :next_page_token
1064
+
1065
+ def initialize(**args)
1066
+ update!(**args)
1067
+ end
1068
+
1069
+ # Update properties of this object
1070
+ def update!(**args)
1071
+ @agents = args[:agents] if args.key?(:agents)
1072
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1073
+ end
1074
+ end
1075
+
1076
+ # Message for searching MCP Servers
1077
+ class SearchMcpServersRequest
1078
+ include Google::Apis::Core::Hashable
1079
+
1080
+ # Optional. The maximum number of search results to return per page. The page
1081
+ # size is capped at `100`, even if a larger value is specified. A negative value
1082
+ # will result in an `INVALID_ARGUMENT` error. If unspecified or set to `0`, a
1083
+ # default value of `20` will be used. The server may return fewer results than
1084
+ # requested.
1085
+ # Corresponds to the JSON property `pageSize`
1086
+ # @return [Fixnum]
1087
+ attr_accessor :page_size
1088
+
1089
+ # Optional. If present, retrieve the next batch of results from the preceding
1090
+ # call to this method. `page_token` must be the value of `next_page_token` from
1091
+ # the previous response. The values of all other method parameters, must be
1092
+ # identical to those in the previous call.
1093
+ # Corresponds to the JSON property `pageToken`
1094
+ # @return [String]
1095
+ attr_accessor :page_token
1096
+
1097
+ # Optional. Search criteria used to select the MCP Servers to return. If no
1098
+ # search criteria is specified then all accessible MCP Servers will be returned.
1099
+ # Search expressions can be used to restrict results based upon searchable
1100
+ # fields, where the operators can be used along with the suffix wildcard symbol `
1101
+ # *`. See [instructions](https://docs.cloud.google.com/agent-registry/search-
1102
+ # agents-and-tools) for more details. Allowed operators: `=`, `:`, `NOT`, `AND`,
1103
+ # `OR`, and `()`. Searchable fields: | Field | `=` | `:` | `*` | Keyword Search |
1104
+ # |--------------------|-----|-----|-----|----------------| | mcpServerId | Yes
1105
+ # | Yes | Yes | Included | | name | No | Yes | Yes | Included | | displayName |
1106
+ # No | Yes | Yes | Included | Examples: * `mcpServerId="urn:mcp:projects-123:
1107
+ # projects:123:locations:us-central1:agentregistry:services:service-id"` to find
1108
+ # the MCP Server with the specified MCP Server ID. * `name:important` to find
1109
+ # MCP Servers whose name contains `important` as a word. * `displayName:works*`
1110
+ # to find MCP Servers whose display name contains words that start with `works`.
1111
+ # * `planner OR booking` to find MCP Servers whose metadata contains the words `
1112
+ # planner` or `booking`. * `mcpServerId:service-id AND (displayName:planner OR
1113
+ # displayName:booking)` to find MCP Servers whose MCP Server ID contains `
1114
+ # service-id` and whose display name contains `planner` or `booking`.
1115
+ # Corresponds to the JSON property `searchString`
1116
+ # @return [String]
1117
+ attr_accessor :search_string
1118
+
1119
+ def initialize(**args)
1120
+ update!(**args)
1121
+ end
1122
+
1123
+ # Update properties of this object
1124
+ def update!(**args)
1125
+ @page_size = args[:page_size] if args.key?(:page_size)
1126
+ @page_token = args[:page_token] if args.key?(:page_token)
1127
+ @search_string = args[:search_string] if args.key?(:search_string)
1128
+ end
1129
+ end
1130
+
1131
+ # Message for response to searching MCP Servers
1132
+ class SearchMcpServersResponse
1133
+ include Google::Apis::Core::Hashable
1134
+
1135
+ # A list of McpServers that match the `search_string`.
1136
+ # Corresponds to the JSON property `mcpServers`
1137
+ # @return [Array<Google::Apis::AgentregistryV1alpha::McpServer>]
1138
+ attr_accessor :mcp_servers
1139
+
1140
+ # If there are more results than those appearing in this response, then `
1141
+ # next_page_token` is included. To get the next set of results, call this method
1142
+ # again using the value of `next_page_token` as `page_token`.
1143
+ # Corresponds to the JSON property `nextPageToken`
1144
+ # @return [String]
1145
+ attr_accessor :next_page_token
1146
+
1147
+ def initialize(**args)
1148
+ update!(**args)
1149
+ end
1150
+
1151
+ # Update properties of this object
1152
+ def update!(**args)
1153
+ @mcp_servers = args[:mcp_servers] if args.key?(:mcp_servers)
1154
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1155
+ end
1156
+ end
1157
+
842
1158
  # Represents a user-defined Service.
843
1159
  class Service
844
1160
  include Google::Apis::Core::Hashable
@@ -886,6 +1202,14 @@ module Google
886
1202
  # @return [String]
887
1203
  attr_accessor :name
888
1204
 
1205
+ # Output only. The resource name of the resulting Agent, MCP Server, or Endpoint.
1206
+ # Format: * `projects/`project`/locations/`location`/mcpServers/`mcp_server`` *
1207
+ # `projects/`project`/locations/`location`/agents/`agent`` * `projects/`project`/
1208
+ # locations/`location`/endpoints/`endpoint``
1209
+ # Corresponds to the JSON property `registryResource`
1210
+ # @return [String]
1211
+ attr_accessor :registry_resource
1212
+
889
1213
  # Output only. Update time.
890
1214
  # Corresponds to the JSON property `updateTime`
891
1215
  # @return [String]
@@ -905,6 +1229,7 @@ module Google
905
1229
  @interfaces = args[:interfaces] if args.key?(:interfaces)
906
1230
  @mcp_server_spec = args[:mcp_server_spec] if args.key?(:mcp_server_spec)
907
1231
  @name = args[:name] if args.key?(:name)
1232
+ @registry_resource = args[:registry_resource] if args.key?(:registry_resource)
908
1233
  @update_time = args[:update_time] if args.key?(:update_time)
909
1234
  end
910
1235
  end
@@ -952,6 +1277,26 @@ module Google
952
1277
  end
953
1278
  end
954
1279
 
1280
+ # The source of the Binding.
1281
+ class Source
1282
+ include Google::Apis::Core::Hashable
1283
+
1284
+ # The identifier of the source Agent. Format: * `urn:agent:`publisher`:`
1285
+ # namespace`:`name``
1286
+ # Corresponds to the JSON property `identifier`
1287
+ # @return [String]
1288
+ attr_accessor :identifier
1289
+
1290
+ def initialize(**args)
1291
+ update!(**args)
1292
+ end
1293
+
1294
+ # Update properties of this object
1295
+ def update!(**args)
1296
+ @identifier = args[:identifier] if args.key?(:identifier)
1297
+ end
1298
+ end
1299
+
955
1300
  # The `Status` type defines a logical error model that is suitable for different
956
1301
  # programming environments, including REST APIs and RPC APIs. It is used by [
957
1302
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -991,6 +1336,27 @@ module Google
991
1336
  end
992
1337
  end
993
1338
 
1339
+ # The target of the Binding.
1340
+ class Target
1341
+ include Google::Apis::Core::Hashable
1342
+
1343
+ # The identifier of the target Agent, MCP Server, or Endpoint. Format: * `urn:
1344
+ # agent:`publisher`:`namespace`:`name`` * `urn:mcp:`publisher`:`namespace`:`name`
1345
+ # ` * `urn:endpoint:`publisher`:`namespace`:`name``
1346
+ # Corresponds to the JSON property `identifier`
1347
+ # @return [String]
1348
+ attr_accessor :identifier
1349
+
1350
+ def initialize(**args)
1351
+ update!(**args)
1352
+ end
1353
+
1354
+ # Update properties of this object
1355
+ def update!(**args)
1356
+ @identifier = args[:identifier] if args.key?(:identifier)
1357
+ end
1358
+ end
1359
+
994
1360
  # Represents a single tool provided by an MCP Server.
995
1361
  class Tool
996
1362
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AgentregistryV1alpha
18
18
  # Version of the google-apis-agentregistry_v1alpha gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260318"
25
+ REVISION = "20260430"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,18 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class AuthProviderBinding
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class Binding
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
43
55
  class CancelOperationRequest
44
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
57
 
@@ -70,6 +82,12 @@ module Google
70
82
  include Google::Apis::Core::JsonObjectSupport
71
83
  end
72
84
 
85
+ class FetchAvailableBindingsResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
73
91
  class Interface
74
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
93
 
@@ -82,6 +100,12 @@ module Google
82
100
  include Google::Apis::Core::JsonObjectSupport
83
101
  end
84
102
 
103
+ class ListBindingsResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
85
109
  class ListEndpointsResponse
86
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
111
 
@@ -148,6 +172,30 @@ module Google
148
172
  include Google::Apis::Core::JsonObjectSupport
149
173
  end
150
174
 
175
+ class SearchAgentsRequest
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class SearchAgentsResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class SearchMcpServersRequest
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class SearchMcpServersResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
151
199
  class Service
152
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
201
 
@@ -160,12 +208,24 @@ module Google
160
208
  include Google::Apis::Core::JsonObjectSupport
161
209
  end
162
210
 
211
+ class Source
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
163
217
  class Status
164
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
219
 
166
220
  include Google::Apis::Core::JsonObjectSupport
167
221
  end
168
222
 
223
+ class Target
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
169
229
  class Tool
170
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
231
 
@@ -213,6 +273,32 @@ module Google
213
273
  end
214
274
  end
215
275
 
276
+ class AuthProviderBinding
277
+ # @private
278
+ class Representation < Google::Apis::Core::JsonRepresentation
279
+ property :auth_provider, as: 'authProvider'
280
+ property :continue_uri, as: 'continueUri'
281
+ collection :scopes, as: 'scopes'
282
+ end
283
+ end
284
+
285
+ class Binding
286
+ # @private
287
+ class Representation < Google::Apis::Core::JsonRepresentation
288
+ property :auth_provider_binding, as: 'authProviderBinding', class: Google::Apis::AgentregistryV1alpha::AuthProviderBinding, decorator: Google::Apis::AgentregistryV1alpha::AuthProviderBinding::Representation
289
+
290
+ property :create_time, as: 'createTime'
291
+ property :description, as: 'description'
292
+ property :display_name, as: 'displayName'
293
+ property :name, as: 'name'
294
+ property :source, as: 'source', class: Google::Apis::AgentregistryV1alpha::Source, decorator: Google::Apis::AgentregistryV1alpha::Source::Representation
295
+
296
+ property :target, as: 'target', class: Google::Apis::AgentregistryV1alpha::Target, decorator: Google::Apis::AgentregistryV1alpha::Target::Representation
297
+
298
+ property :update_time, as: 'updateTime'
299
+ end
300
+ end
301
+
216
302
  class CancelOperationRequest
217
303
  # @private
218
304
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -256,6 +342,15 @@ module Google
256
342
  end
257
343
  end
258
344
 
345
+ class FetchAvailableBindingsResponse
346
+ # @private
347
+ class Representation < Google::Apis::Core::JsonRepresentation
348
+ collection :bindings, as: 'bindings', class: Google::Apis::AgentregistryV1alpha::Binding, decorator: Google::Apis::AgentregistryV1alpha::Binding::Representation
349
+
350
+ property :next_page_token, as: 'nextPageToken'
351
+ end
352
+ end
353
+
259
354
  class Interface
260
355
  # @private
261
356
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -273,6 +368,15 @@ module Google
273
368
  end
274
369
  end
275
370
 
371
+ class ListBindingsResponse
372
+ # @private
373
+ class Representation < Google::Apis::Core::JsonRepresentation
374
+ collection :bindings, as: 'bindings', class: Google::Apis::AgentregistryV1alpha::Binding, decorator: Google::Apis::AgentregistryV1alpha::Binding::Representation
375
+
376
+ property :next_page_token, as: 'nextPageToken'
377
+ end
378
+ end
379
+
276
380
  class ListEndpointsResponse
277
381
  # @private
278
382
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -390,6 +494,42 @@ module Google
390
494
  end
391
495
  end
392
496
 
497
+ class SearchAgentsRequest
498
+ # @private
499
+ class Representation < Google::Apis::Core::JsonRepresentation
500
+ property :page_size, as: 'pageSize'
501
+ property :page_token, as: 'pageToken'
502
+ property :search_string, as: 'searchString'
503
+ end
504
+ end
505
+
506
+ class SearchAgentsResponse
507
+ # @private
508
+ class Representation < Google::Apis::Core::JsonRepresentation
509
+ collection :agents, as: 'agents', class: Google::Apis::AgentregistryV1alpha::Agent, decorator: Google::Apis::AgentregistryV1alpha::Agent::Representation
510
+
511
+ property :next_page_token, as: 'nextPageToken'
512
+ end
513
+ end
514
+
515
+ class SearchMcpServersRequest
516
+ # @private
517
+ class Representation < Google::Apis::Core::JsonRepresentation
518
+ property :page_size, as: 'pageSize'
519
+ property :page_token, as: 'pageToken'
520
+ property :search_string, as: 'searchString'
521
+ end
522
+ end
523
+
524
+ class SearchMcpServersResponse
525
+ # @private
526
+ class Representation < Google::Apis::Core::JsonRepresentation
527
+ collection :mcp_servers, as: 'mcpServers', class: Google::Apis::AgentregistryV1alpha::McpServer, decorator: Google::Apis::AgentregistryV1alpha::McpServer::Representation
528
+
529
+ property :next_page_token, as: 'nextPageToken'
530
+ end
531
+ end
532
+
393
533
  class Service
394
534
  # @private
395
535
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -405,6 +545,7 @@ module Google
405
545
  property :mcp_server_spec, as: 'mcpServerSpec', class: Google::Apis::AgentregistryV1alpha::McpServerSpec, decorator: Google::Apis::AgentregistryV1alpha::McpServerSpec::Representation
406
546
 
407
547
  property :name, as: 'name'
548
+ property :registry_resource, as: 'registryResource'
408
549
  property :update_time, as: 'updateTime'
409
550
  end
410
551
  end
@@ -420,6 +561,13 @@ module Google
420
561
  end
421
562
  end
422
563
 
564
+ class Source
565
+ # @private
566
+ class Representation < Google::Apis::Core::JsonRepresentation
567
+ property :identifier, as: 'identifier'
568
+ end
569
+ end
570
+
423
571
  class Status
424
572
  # @private
425
573
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -429,6 +577,13 @@ module Google
429
577
  end
430
578
  end
431
579
 
580
+ class Target
581
+ # @private
582
+ class Representation < Google::Apis::Core::JsonRepresentation
583
+ property :identifier, as: 'identifier'
584
+ end
585
+ end
586
+
432
587
  class Tool
433
588
  # @private
434
589
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -84,8 +84,8 @@ module Google
84
84
  end
85
85
 
86
86
  # Lists information about the supported locations for this service. This method
87
- # lists locations based on the resource scope provided in the [
88
- # ListLocationsRequest.name] field: * **Global locations**: If `name` is empty,
87
+ # lists locations based on the resource scope provided in the
88
+ # ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
89
89
  # the method lists the public locations available to all projects. * **Project-
90
90
  # specific locations**: If `name` follows the format `projects/`project``, the
91
91
  # method lists locations visible to that specific project. This includes public,
@@ -96,8 +96,8 @@ module Google
96
96
  # @param [String] name
97
97
  # The resource that owns the locations collection, if applicable.
98
98
  # @param [Array<String>, String] extra_location_types
99
- # Optional. Do not use this field. It is unsupported and is ignored unless
100
- # explicitly documented otherwise. This is primarily for internal usage.
99
+ # Optional. Do not use this field unless explicitly documented otherwise. This
100
+ # is primarily for internal usage.
101
101
  # @param [String] filter
102
102
  # A filter to narrow down results to a preferred subset. The filtering language
103
103
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -212,6 +212,312 @@ module Google
212
212
  execute_or_queue_command(command, &block)
213
213
  end
214
214
 
215
+ # Searches Agents in a given project and location.
216
+ # @param [String] parent
217
+ # Required. Parent value for SearchAgentsRequest. Format: `projects/`project`/
218
+ # locations/`location``.
219
+ # @param [Google::Apis::AgentregistryV1alpha::SearchAgentsRequest] search_agents_request_object
220
+ # @param [String] fields
221
+ # Selector specifying which fields to include in a partial response.
222
+ # @param [String] quota_user
223
+ # Available to use for quota purposes for server-side applications. Can be any
224
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
225
+ # @param [Google::Apis::RequestOptions] options
226
+ # Request-specific options
227
+ #
228
+ # @yield [result, err] Result & error if block supplied
229
+ # @yieldparam result [Google::Apis::AgentregistryV1alpha::SearchAgentsResponse] parsed result object
230
+ # @yieldparam err [StandardError] error object if request failed
231
+ #
232
+ # @return [Google::Apis::AgentregistryV1alpha::SearchAgentsResponse]
233
+ #
234
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
235
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
236
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
237
+ def search_agents(parent, search_agents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
238
+ command = make_simple_command(:post, 'v1alpha/{+parent}/agents:search', options)
239
+ command.request_representation = Google::Apis::AgentregistryV1alpha::SearchAgentsRequest::Representation
240
+ command.request_object = search_agents_request_object
241
+ command.response_representation = Google::Apis::AgentregistryV1alpha::SearchAgentsResponse::Representation
242
+ command.response_class = Google::Apis::AgentregistryV1alpha::SearchAgentsResponse
243
+ command.params['parent'] = parent unless parent.nil?
244
+ command.query['fields'] = fields unless fields.nil?
245
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
246
+ execute_or_queue_command(command, &block)
247
+ end
248
+
249
+ # Creates a new Binding in a given project and location.
250
+ # @param [String] parent
251
+ # Required. The project and location to create the Binding in. Expected format: `
252
+ # projects/`project`/locations/`location``.
253
+ # @param [Google::Apis::AgentregistryV1alpha::Binding] binding_object
254
+ # @param [String] binding_id
255
+ # Required. The ID to use for the binding, which will become the final component
256
+ # of the binding's resource name. This value should be 4-63 characters, and must
257
+ # conform to RFC-1034. Specifically, it must match the regular expression `^[a-z]
258
+ # ([a-z0-9-]`0,61`[a-z0-9])?$`.
259
+ # @param [String] request_id
260
+ # Optional. An optional request ID to identify requests. Specify a unique
261
+ # request ID so that if you must retry your request, the server will know to
262
+ # ignore the request if it has already been completed. The server will guarantee
263
+ # that for at least 60 minutes since the first request. For example, consider a
264
+ # situation where you make an initial request and the request times out. If you
265
+ # make the request again with the same request ID, the server can check if
266
+ # original operation with the same request ID was received, and if so, will
267
+ # ignore the second request. This prevents clients from accidentally creating
268
+ # duplicate commitments. The request ID must be a valid UUID with the exception
269
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
270
+ # @param [String] fields
271
+ # Selector specifying which fields to include in a partial response.
272
+ # @param [String] quota_user
273
+ # Available to use for quota purposes for server-side applications. Can be any
274
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
275
+ # @param [Google::Apis::RequestOptions] options
276
+ # Request-specific options
277
+ #
278
+ # @yield [result, err] Result & error if block supplied
279
+ # @yieldparam result [Google::Apis::AgentregistryV1alpha::Operation] parsed result object
280
+ # @yieldparam err [StandardError] error object if request failed
281
+ #
282
+ # @return [Google::Apis::AgentregistryV1alpha::Operation]
283
+ #
284
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
285
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
286
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
287
+ def create_project_location_binding(parent, binding_object = nil, binding_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
288
+ command = make_simple_command(:post, 'v1alpha/{+parent}/bindings', options)
289
+ command.request_representation = Google::Apis::AgentregistryV1alpha::Binding::Representation
290
+ command.request_object = binding_object
291
+ command.response_representation = Google::Apis::AgentregistryV1alpha::Operation::Representation
292
+ command.response_class = Google::Apis::AgentregistryV1alpha::Operation
293
+ command.params['parent'] = parent unless parent.nil?
294
+ command.query['bindingId'] = binding_id unless binding_id.nil?
295
+ command.query['requestId'] = request_id unless request_id.nil?
296
+ command.query['fields'] = fields unless fields.nil?
297
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
298
+ execute_or_queue_command(command, &block)
299
+ end
300
+
301
+ # Deletes a single Binding.
302
+ # @param [String] name
303
+ # Required. The name of the Binding. Format: `projects/`project`/locations/`
304
+ # location`/bindings/`binding``.
305
+ # @param [String] request_id
306
+ # Optional. An optional request ID to identify requests. Specify a unique
307
+ # request ID so that if you must retry your request, the server will know to
308
+ # ignore the request if it has already been completed. The server will guarantee
309
+ # that for at least 60 minutes after the first request. For example, consider a
310
+ # situation where you make an initial request and the request times out. If you
311
+ # make the request again with the same request ID, the server can check if
312
+ # original operation with the same request ID was received, and if so, will
313
+ # ignore the second request. This prevents clients from accidentally creating
314
+ # duplicate commitments. The request ID must be a valid UUID with the exception
315
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
316
+ # @param [String] fields
317
+ # Selector specifying which fields to include in a partial response.
318
+ # @param [String] quota_user
319
+ # Available to use for quota purposes for server-side applications. Can be any
320
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
321
+ # @param [Google::Apis::RequestOptions] options
322
+ # Request-specific options
323
+ #
324
+ # @yield [result, err] Result & error if block supplied
325
+ # @yieldparam result [Google::Apis::AgentregistryV1alpha::Operation] parsed result object
326
+ # @yieldparam err [StandardError] error object if request failed
327
+ #
328
+ # @return [Google::Apis::AgentregistryV1alpha::Operation]
329
+ #
330
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
331
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
332
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
333
+ def delete_project_location_binding(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
334
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
335
+ command.response_representation = Google::Apis::AgentregistryV1alpha::Operation::Representation
336
+ command.response_class = Google::Apis::AgentregistryV1alpha::Operation
337
+ command.params['name'] = name unless name.nil?
338
+ command.query['requestId'] = request_id unless request_id.nil?
339
+ command.query['fields'] = fields unless fields.nil?
340
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
341
+ execute_or_queue_command(command, &block)
342
+ end
343
+
344
+ # Fetches available Bindings.
345
+ # @param [String] parent
346
+ # Required. The parent, in the format `projects/`project`/locations/`location``.
347
+ # @param [Fixnum] page_size
348
+ # Optional. Requested page size. Server may return fewer items than requested.
349
+ # Page size is 500 if unspecified and is capped at `500` even if a larger value
350
+ # is given.
351
+ # @param [String] page_token
352
+ # Optional. A token identifying a page of results the server should return.
353
+ # @param [String] source_identifier
354
+ # The identifier of the source Agent. Format: * `urn:agent:`publisher`:`
355
+ # namespace`:`name``
356
+ # @param [String] target_identifier
357
+ # Optional. The identifier of the target Agent, MCP Server, or Endpoint. Format:
358
+ # * `urn:agent:`publisher`:`namespace`:`name`` * `urn:mcp:`publisher`:`namespace`
359
+ # :`name`` * `urn:endpoint:`publisher`:`namespace`:`name``
360
+ # @param [String] fields
361
+ # Selector specifying which fields to include in a partial response.
362
+ # @param [String] quota_user
363
+ # Available to use for quota purposes for server-side applications. Can be any
364
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
365
+ # @param [Google::Apis::RequestOptions] options
366
+ # Request-specific options
367
+ #
368
+ # @yield [result, err] Result & error if block supplied
369
+ # @yieldparam result [Google::Apis::AgentregistryV1alpha::FetchAvailableBindingsResponse] parsed result object
370
+ # @yieldparam err [StandardError] error object if request failed
371
+ #
372
+ # @return [Google::Apis::AgentregistryV1alpha::FetchAvailableBindingsResponse]
373
+ #
374
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
375
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
376
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
377
+ def fetch_project_location_binding_available(parent, page_size: nil, page_token: nil, source_identifier: nil, target_identifier: nil, fields: nil, quota_user: nil, options: nil, &block)
378
+ command = make_simple_command(:get, 'v1alpha/{+parent}/bindings:fetchAvailable', options)
379
+ command.response_representation = Google::Apis::AgentregistryV1alpha::FetchAvailableBindingsResponse::Representation
380
+ command.response_class = Google::Apis::AgentregistryV1alpha::FetchAvailableBindingsResponse
381
+ command.params['parent'] = parent unless parent.nil?
382
+ command.query['pageSize'] = page_size unless page_size.nil?
383
+ command.query['pageToken'] = page_token unless page_token.nil?
384
+ command.query['sourceIdentifier'] = source_identifier unless source_identifier.nil?
385
+ command.query['targetIdentifier'] = target_identifier unless target_identifier.nil?
386
+ command.query['fields'] = fields unless fields.nil?
387
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
388
+ execute_or_queue_command(command, &block)
389
+ end
390
+
391
+ # Gets details of a single Binding.
392
+ # @param [String] name
393
+ # Required. The name of the Binding. Format: `projects/`project`/locations/`
394
+ # location`/bindings/`binding``.
395
+ # @param [String] fields
396
+ # Selector specifying which fields to include in a partial response.
397
+ # @param [String] quota_user
398
+ # Available to use for quota purposes for server-side applications. Can be any
399
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
400
+ # @param [Google::Apis::RequestOptions] options
401
+ # Request-specific options
402
+ #
403
+ # @yield [result, err] Result & error if block supplied
404
+ # @yieldparam result [Google::Apis::AgentregistryV1alpha::Binding] parsed result object
405
+ # @yieldparam err [StandardError] error object if request failed
406
+ #
407
+ # @return [Google::Apis::AgentregistryV1alpha::Binding]
408
+ #
409
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
410
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
411
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
412
+ def get_project_location_binding(name, fields: nil, quota_user: nil, options: nil, &block)
413
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
414
+ command.response_representation = Google::Apis::AgentregistryV1alpha::Binding::Representation
415
+ command.response_class = Google::Apis::AgentregistryV1alpha::Binding
416
+ command.params['name'] = name unless name.nil?
417
+ command.query['fields'] = fields unless fields.nil?
418
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
419
+ execute_or_queue_command(command, &block)
420
+ end
421
+
422
+ # Lists Bindings in a given project and location.
423
+ # @param [String] parent
424
+ # Required. The project and location to list bindings in. Expected format: `
425
+ # projects/`project`/locations/`location``.
426
+ # @param [String] filter
427
+ # Optional. A query string used to filter the list of bindings returned. The
428
+ # filter expression must follow AIP-160 syntax.
429
+ # @param [String] order_by
430
+ # Optional. Hint for how to order the results
431
+ # @param [Fixnum] page_size
432
+ # Optional. Requested page size. Server may return fewer items than requested.
433
+ # Page size is 500 if unspecified and is capped at `500` even if a larger value
434
+ # is given.
435
+ # @param [String] page_token
436
+ # Optional. A token identifying a page of results the server should return.
437
+ # @param [String] fields
438
+ # Selector specifying which fields to include in a partial response.
439
+ # @param [String] quota_user
440
+ # Available to use for quota purposes for server-side applications. Can be any
441
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
442
+ # @param [Google::Apis::RequestOptions] options
443
+ # Request-specific options
444
+ #
445
+ # @yield [result, err] Result & error if block supplied
446
+ # @yieldparam result [Google::Apis::AgentregistryV1alpha::ListBindingsResponse] parsed result object
447
+ # @yieldparam err [StandardError] error object if request failed
448
+ #
449
+ # @return [Google::Apis::AgentregistryV1alpha::ListBindingsResponse]
450
+ #
451
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
452
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
453
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
454
+ def list_project_location_bindings(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
455
+ command = make_simple_command(:get, 'v1alpha/{+parent}/bindings', options)
456
+ command.response_representation = Google::Apis::AgentregistryV1alpha::ListBindingsResponse::Representation
457
+ command.response_class = Google::Apis::AgentregistryV1alpha::ListBindingsResponse
458
+ command.params['parent'] = parent unless parent.nil?
459
+ command.query['filter'] = filter unless filter.nil?
460
+ command.query['orderBy'] = order_by unless order_by.nil?
461
+ command.query['pageSize'] = page_size unless page_size.nil?
462
+ command.query['pageToken'] = page_token unless page_token.nil?
463
+ command.query['fields'] = fields unless fields.nil?
464
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
465
+ execute_or_queue_command(command, &block)
466
+ end
467
+
468
+ # Updates the parameters of a single Binding.
469
+ # @param [String] name
470
+ # Required. Identifier. The resource name of the Binding. Format: `projects/`
471
+ # project`/locations/`location`/bindings/`binding``.
472
+ # @param [Google::Apis::AgentregistryV1alpha::Binding] binding_object
473
+ # @param [String] request_id
474
+ # Optional. An optional request ID to identify requests. Specify a unique
475
+ # request ID so that if you must retry your request, the server will know to
476
+ # ignore the request if it has already been completed. The server will guarantee
477
+ # that for at least 60 minutes since the first request. For example, consider a
478
+ # situation where you make an initial request and the request times out. If you
479
+ # make the request again with the same request ID, the server can check if
480
+ # original operation with the same request ID was received, and if so, will
481
+ # ignore the second request. This prevents clients from accidentally creating
482
+ # duplicate commitments. The request ID must be a valid UUID with the exception
483
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
484
+ # @param [String] update_mask
485
+ # Optional. Field mask is used to specify the fields to be overwritten in the
486
+ # Binding resource by the update. The fields specified in the update_mask are
487
+ # relative to the resource, not the full request. A field will be overwritten if
488
+ # it is in the mask. If the user does not provide a mask then all fields present
489
+ # in the request will be overwritten.
490
+ # @param [String] fields
491
+ # Selector specifying which fields to include in a partial response.
492
+ # @param [String] quota_user
493
+ # Available to use for quota purposes for server-side applications. Can be any
494
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
495
+ # @param [Google::Apis::RequestOptions] options
496
+ # Request-specific options
497
+ #
498
+ # @yield [result, err] Result & error if block supplied
499
+ # @yieldparam result [Google::Apis::AgentregistryV1alpha::Operation] parsed result object
500
+ # @yieldparam err [StandardError] error object if request failed
501
+ #
502
+ # @return [Google::Apis::AgentregistryV1alpha::Operation]
503
+ #
504
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
505
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
506
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
507
+ def patch_project_location_binding(name, binding_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
508
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
509
+ command.request_representation = Google::Apis::AgentregistryV1alpha::Binding::Representation
510
+ command.request_object = binding_object
511
+ command.response_representation = Google::Apis::AgentregistryV1alpha::Operation::Representation
512
+ command.response_class = Google::Apis::AgentregistryV1alpha::Operation
513
+ command.params['name'] = name unless name.nil?
514
+ command.query['requestId'] = request_id unless request_id.nil?
515
+ command.query['updateMask'] = update_mask unless update_mask.nil?
516
+ command.query['fields'] = fields unless fields.nil?
517
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
518
+ execute_or_queue_command(command, &block)
519
+ end
520
+
215
521
  # Gets details of a single Endpoint.
216
522
  # @param [String] name
217
523
  # Required. The name of the endpoint to retrieve. Format: `projects/`project`/
@@ -363,6 +669,40 @@ module Google
363
669
  execute_or_queue_command(command, &block)
364
670
  end
365
671
 
672
+ # Searches McpServers in a given project and location.
673
+ # @param [String] parent
674
+ # Required. Parent value for SearchMcpServersRequest. Format: `projects/`project`
675
+ # /locations/`location``.
676
+ # @param [Google::Apis::AgentregistryV1alpha::SearchMcpServersRequest] search_mcp_servers_request_object
677
+ # @param [String] fields
678
+ # Selector specifying which fields to include in a partial response.
679
+ # @param [String] quota_user
680
+ # Available to use for quota purposes for server-side applications. Can be any
681
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
682
+ # @param [Google::Apis::RequestOptions] options
683
+ # Request-specific options
684
+ #
685
+ # @yield [result, err] Result & error if block supplied
686
+ # @yieldparam result [Google::Apis::AgentregistryV1alpha::SearchMcpServersResponse] parsed result object
687
+ # @yieldparam err [StandardError] error object if request failed
688
+ #
689
+ # @return [Google::Apis::AgentregistryV1alpha::SearchMcpServersResponse]
690
+ #
691
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
692
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
693
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
694
+ def search_mcp_servers(parent, search_mcp_servers_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
695
+ command = make_simple_command(:post, 'v1alpha/{+parent}/mcpServers:search', options)
696
+ command.request_representation = Google::Apis::AgentregistryV1alpha::SearchMcpServersRequest::Representation
697
+ command.request_object = search_mcp_servers_request_object
698
+ command.response_representation = Google::Apis::AgentregistryV1alpha::SearchMcpServersResponse::Representation
699
+ command.response_class = Google::Apis::AgentregistryV1alpha::SearchMcpServersResponse
700
+ command.params['parent'] = parent unless parent.nil?
701
+ command.query['fields'] = fields unless fields.nil?
702
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
703
+ execute_or_queue_command(command, &block)
704
+ end
705
+
366
706
  # Starts asynchronous cancellation on a long-running operation. The server makes
367
707
  # a best effort to cancel the operation, but success is not guaranteed. If the
368
708
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-agentregistry_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-agentregistry_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-agentregistry_v1alpha/v0.1.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-agentregistry_v1alpha/v0.3.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-agentregistry_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: