@googleapis/agentregistry 1.0.0 → 2.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.
package/build/v1.d.ts ADDED
@@ -0,0 +1,3033 @@
1
+ import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
2
+ import { Readable } from 'stream';
3
+ export declare namespace agentregistry_v1 {
4
+ export interface Options extends GlobalOptions {
5
+ version: 'v1';
6
+ }
7
+ interface StandardParameters {
8
+ /**
9
+ * Auth client or API Key for the request
10
+ */
11
+ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient | BaseExternalAccountClient | GoogleAuth;
12
+ /**
13
+ * V1 error format.
14
+ */
15
+ '$.xgafv'?: string;
16
+ /**
17
+ * OAuth access token.
18
+ */
19
+ access_token?: string;
20
+ /**
21
+ * Data format for response.
22
+ */
23
+ alt?: string;
24
+ /**
25
+ * JSONP
26
+ */
27
+ callback?: string;
28
+ /**
29
+ * Selector specifying which fields to include in a partial response.
30
+ */
31
+ fields?: string;
32
+ /**
33
+ * API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
34
+ */
35
+ key?: string;
36
+ /**
37
+ * OAuth 2.0 token for the current user.
38
+ */
39
+ oauth_token?: string;
40
+ /**
41
+ * Returns response with indentations and line breaks.
42
+ */
43
+ prettyPrint?: boolean;
44
+ /**
45
+ * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
46
+ */
47
+ quotaUser?: string;
48
+ /**
49
+ * Legacy upload protocol for media (e.g. "media", "multipart").
50
+ */
51
+ uploadType?: string;
52
+ /**
53
+ * Upload protocol for media (e.g. "raw", "multipart").
54
+ */
55
+ upload_protocol?: string;
56
+ }
57
+ /**
58
+ * Agent Registry API
59
+ *
60
+ * Agent Registry is a centralized, unified catalog that lets you store, discover, and govern Model Context Protocol (MCP) servers, tools, and AI agents within Google Cloud.
61
+ *
62
+ * @example
63
+ * ```js
64
+ * const {google} = require('googleapis');
65
+ * const agentregistry = google.agentregistry('v1');
66
+ * ```
67
+ */
68
+ export class Agentregistry {
69
+ context: APIRequestContext;
70
+ projects: Resource$Projects;
71
+ constructor(options: GlobalOptions, google?: GoogleConfigurable);
72
+ }
73
+ /**
74
+ * Represents the skills of an Agent.
75
+ */
76
+ export interface Schema$A2ASkill {
77
+ /**
78
+ * Output only. A more detailed description of the skill.
79
+ */
80
+ description?: string | null;
81
+ /**
82
+ * Output only. Example prompts or scenarios this skill can handle.
83
+ */
84
+ examples?: string[] | null;
85
+ /**
86
+ * Output only. A unique identifier for the agent's skill.
87
+ */
88
+ id?: string | null;
89
+ /**
90
+ * Output only. A human-readable name for the agent's skill.
91
+ */
92
+ name?: string | null;
93
+ /**
94
+ * Output only. Keywords describing the skill.
95
+ */
96
+ tags?: string[] | null;
97
+ }
98
+ /**
99
+ * Represents an Agent. "A2A" below refers to the Agent-to-Agent protocol.
100
+ */
101
+ export interface Schema$Agent {
102
+ /**
103
+ * Output only. A stable, globally unique identifier for agents.
104
+ */
105
+ agentId?: string | null;
106
+ /**
107
+ * Output only. Attributes of the Agent. Valid values: * `agentregistry.googleapis.com/system/Framework`: {"framework": "google-adk"\} - the agent framework used to develop the Agent. Example values: "google-adk", "langchain", "custom". * `agentregistry.googleapis.com/system/RuntimeIdentity`: {"principal": "principal://..."\} - the runtime identity associated with the Agent. * `agentregistry.googleapis.com/system/RuntimeReference`: {"uri": "//..."\} - the URI of the underlying resource hosting the Agent, for example, the Reasoning Engine URI.
108
+ */
109
+ attributes?: {
110
+ [key: string]: {
111
+ [key: string]: any;
112
+ };
113
+ } | null;
114
+ /**
115
+ * Output only. Full Agent Card payload, when available.
116
+ */
117
+ card?: Schema$Card;
118
+ /**
119
+ * Output only. Create time.
120
+ */
121
+ createTime?: string | null;
122
+ /**
123
+ * Output only. The description of the Agent, often obtained from the A2A Agent Card. Empty if Agent Card has no description.
124
+ */
125
+ description?: string | null;
126
+ /**
127
+ * Output only. The display name of the agent, often obtained from the A2A Agent Card.
128
+ */
129
+ displayName?: string | null;
130
+ /**
131
+ * Output only. The location where agent is hosted. The value is defined by the hosting environment (i.e. cloud provider).
132
+ */
133
+ location?: string | null;
134
+ /**
135
+ * Identifier. The resource name of an Agent. Format: `projects/{project\}/locations/{location\}/agents/{agent\}`.
136
+ */
137
+ name?: string | null;
138
+ /**
139
+ * Output only. The connection details for the Agent.
140
+ */
141
+ protocols?: Schema$Protocol[];
142
+ /**
143
+ * Output only. Skills the agent possesses, often obtained from the A2A Agent Card.
144
+ */
145
+ skills?: Schema$A2ASkill[];
146
+ /**
147
+ * Output only. A universally unique identifier for the Agent.
148
+ */
149
+ uid?: string | null;
150
+ /**
151
+ * Output only. Update time.
152
+ */
153
+ updateTime?: string | null;
154
+ /**
155
+ * 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.
156
+ */
157
+ version?: string | null;
158
+ }
159
+ /**
160
+ * The spec of the agent.
161
+ */
162
+ export interface Schema$AgentSpec {
163
+ /**
164
+ * Optional. The content of the Agent spec in the JSON format. This payload is validated against the schema for the specified type. The content size is limited to `10KB`.
165
+ */
166
+ content?: {
167
+ [key: string]: any;
168
+ } | null;
169
+ /**
170
+ * Required. The type of the agent spec content.
171
+ */
172
+ type?: string | null;
173
+ }
174
+ /**
175
+ * Annotations describing the characteristics and behavior of a tool or operation.
176
+ */
177
+ export interface Schema$Annotations {
178
+ /**
179
+ * Output only. If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates. NOTE: This property is meaningful only when `read_only_hint == false` Default: true
180
+ */
181
+ destructiveHint?: boolean | null;
182
+ /**
183
+ * Output only. If true, calling the tool repeatedly with the same arguments will have no additional effect on its environment. NOTE: This property is meaningful only when `read_only_hint == false` Default: false
184
+ */
185
+ idempotentHint?: boolean | null;
186
+ /**
187
+ * Output only. If true, this tool may interact with an "open world" of external entities. If false, the tool's domain of interaction is closed. For example, the world of a web search tool is open, whereas that of a memory tool is not. Default: true
188
+ */
189
+ openWorldHint?: boolean | null;
190
+ /**
191
+ * Output only. If true, the tool does not modify its environment. Default: false
192
+ */
193
+ readOnlyHint?: boolean | null;
194
+ /**
195
+ * Output only. A human-readable title for the tool.
196
+ */
197
+ title?: string | null;
198
+ }
199
+ /**
200
+ * The AuthProvider of the Binding.
201
+ */
202
+ export interface Schema$AuthProviderBinding {
203
+ /**
204
+ * Required. The resource name of the target AuthProvider. Format: * `projects/{project\}/locations/{location\}/authProviders/{auth_provider\}`
205
+ */
206
+ authProvider?: string | null;
207
+ /**
208
+ * Optional. The continue URI of the AuthProvider. The URI is used to reauthenticate the user and finalize the managed OAuth flow.
209
+ */
210
+ continueUri?: string | null;
211
+ /**
212
+ * Optional. The list of OAuth2 scopes of the AuthProvider.
213
+ */
214
+ scopes?: string[] | null;
215
+ }
216
+ /**
217
+ * Represents a user-defined Binding.
218
+ */
219
+ export interface Schema$Binding {
220
+ /**
221
+ * The binding for AuthProvider.
222
+ */
223
+ authProviderBinding?: Schema$AuthProviderBinding;
224
+ /**
225
+ * Output only. Timestamp when this binding was created.
226
+ */
227
+ createTime?: string | null;
228
+ /**
229
+ * Optional. User-defined description of a Binding. Can have a maximum length of `2048` characters.
230
+ */
231
+ description?: string | null;
232
+ /**
233
+ * Optional. User-defined display name for the Binding. Can have a maximum length of `63` characters.
234
+ */
235
+ displayName?: string | null;
236
+ /**
237
+ * Required. Identifier. The resource name of the Binding. Format: `projects/{project\}/locations/{location\}/bindings/{binding\}`.
238
+ */
239
+ name?: string | null;
240
+ /**
241
+ * Required. The target Agent of the Binding.
242
+ */
243
+ source?: Schema$Source;
244
+ /**
245
+ * Required. The target Agent Registry Resource of the Binding.
246
+ */
247
+ target?: Schema$Target;
248
+ /**
249
+ * Output only. Timestamp when this binding was last updated.
250
+ */
251
+ updateTime?: string | null;
252
+ }
253
+ /**
254
+ * The request message for Operations.CancelOperation.
255
+ */
256
+ export interface Schema$CancelOperationRequest {
257
+ }
258
+ /**
259
+ * Full Agent Card payload, often obtained from the A2A Agent Card.
260
+ */
261
+ export interface Schema$Card {
262
+ /**
263
+ * Output only. The content of the agent card.
264
+ */
265
+ content?: {
266
+ [key: string]: any;
267
+ } | null;
268
+ /**
269
+ * Output only. The type of agent card.
270
+ */
271
+ type?: string | null;
272
+ }
273
+ /**
274
+ * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
275
+ */
276
+ export interface Schema$Empty {
277
+ }
278
+ /**
279
+ * Represents an Endpoint.
280
+ */
281
+ export interface Schema$Endpoint {
282
+ /**
283
+ * Output only. Attributes of the Endpoint. Valid values: * `agentregistry.googleapis.com/system/RuntimeReference`: {"uri": "//..."\} - the URI of the underlying resource hosting the Endpoint, for example, the GKE Deployment.
284
+ */
285
+ attributes?: {
286
+ [key: string]: {
287
+ [key: string]: any;
288
+ };
289
+ } | null;
290
+ /**
291
+ * Output only. Create time.
292
+ */
293
+ createTime?: string | null;
294
+ /**
295
+ * Output only. Description of an Endpoint.
296
+ */
297
+ description?: string | null;
298
+ /**
299
+ * Output only. Display name for the Endpoint.
300
+ */
301
+ displayName?: string | null;
302
+ /**
303
+ * Output only. A stable, globally unique identifier for Endpoint.
304
+ */
305
+ endpointId?: string | null;
306
+ /**
307
+ * Required. The connection details for the Endpoint.
308
+ */
309
+ interfaces?: Schema$Interface[];
310
+ /**
311
+ * Identifier. The resource name of the Endpoint. Format: `projects/{project\}/locations/{location\}/endpoints/{endpoint\}`.
312
+ */
313
+ name?: string | null;
314
+ /**
315
+ * Output only. Update time.
316
+ */
317
+ updateTime?: string | null;
318
+ }
319
+ /**
320
+ * The spec of the endpoint.
321
+ */
322
+ export interface Schema$EndpointSpec {
323
+ /**
324
+ * Optional. The content of the endpoint spec. Reserved for future use.
325
+ */
326
+ content?: {
327
+ [key: string]: any;
328
+ } | null;
329
+ /**
330
+ * Required. The type of the endpoint spec content.
331
+ */
332
+ type?: string | null;
333
+ }
334
+ /**
335
+ * Message for response to fetching available Bindings.
336
+ */
337
+ export interface Schema$FetchAvailableBindingsResponse {
338
+ /**
339
+ * The list of Bindings.
340
+ */
341
+ bindings?: Schema$Binding[];
342
+ /**
343
+ * A token identifying a page of results the server should return.
344
+ */
345
+ nextPageToken?: string | null;
346
+ }
347
+ /**
348
+ * Represents the connection details for an Agent or MCP Server.
349
+ */
350
+ export interface Schema$Interface {
351
+ /**
352
+ * Required. The protocol binding of the interface.
353
+ */
354
+ protocolBinding?: string | null;
355
+ /**
356
+ * Required. The destination URL.
357
+ */
358
+ url?: string | null;
359
+ }
360
+ /**
361
+ * Message for response to listing Agents
362
+ */
363
+ export interface Schema$ListAgentsResponse {
364
+ /**
365
+ * The list of Agents.
366
+ */
367
+ agents?: Schema$Agent[];
368
+ /**
369
+ * A token identifying a page of results the server should return.
370
+ */
371
+ nextPageToken?: string | null;
372
+ }
373
+ /**
374
+ * Message for response to listing Bindings
375
+ */
376
+ export interface Schema$ListBindingsResponse {
377
+ /**
378
+ * The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: `projects/{project\}/locations/{location\}/bindings/{binding\}`.
379
+ */
380
+ bindings?: Schema$Binding[];
381
+ /**
382
+ * A token identifying a page of results the server should return. Used in page_token.
383
+ */
384
+ nextPageToken?: string | null;
385
+ }
386
+ /**
387
+ * Message for response to listing Endpoints
388
+ */
389
+ export interface Schema$ListEndpointsResponse {
390
+ /**
391
+ * The list of Endpoint resources matching the parent and filter criteria in the request. Each Endpoint resource follows the format: `projects/{project\}/locations/{location\}/endpoints/{endpoint\}`.
392
+ */
393
+ endpoints?: Schema$Endpoint[];
394
+ /**
395
+ * A token identifying a page of results the server should return. Used in page_token.
396
+ */
397
+ nextPageToken?: string | null;
398
+ }
399
+ /**
400
+ * The response message for Locations.ListLocations.
401
+ */
402
+ export interface Schema$ListLocationsResponse {
403
+ /**
404
+ * A list of locations that matches the specified filter in the request.
405
+ */
406
+ locations?: Schema$Location[];
407
+ /**
408
+ * The standard List next-page token.
409
+ */
410
+ nextPageToken?: string | null;
411
+ }
412
+ /**
413
+ * Message for response to listing McpServers
414
+ */
415
+ export interface Schema$ListMcpServersResponse {
416
+ /**
417
+ * The list of McpServers.
418
+ */
419
+ mcpServers?: Schema$McpServer[];
420
+ /**
421
+ * A token identifying a page of results the server should return.
422
+ */
423
+ nextPageToken?: string | null;
424
+ }
425
+ /**
426
+ * The response message for Operations.ListOperations.
427
+ */
428
+ export interface Schema$ListOperationsResponse {
429
+ /**
430
+ * The standard List next-page token.
431
+ */
432
+ nextPageToken?: string | null;
433
+ /**
434
+ * A list of operations that matches the specified filter in the request.
435
+ */
436
+ operations?: Schema$Operation[];
437
+ /**
438
+ * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
439
+ */
440
+ unreachable?: string[] | null;
441
+ }
442
+ /**
443
+ * Message for response to listing Services
444
+ */
445
+ export interface Schema$ListServicesResponse {
446
+ /**
447
+ * A token identifying a page of results the server should return. Used in page_token.
448
+ */
449
+ nextPageToken?: string | null;
450
+ /**
451
+ * The list of Service resources matching the parent and filter criteria in the request. Each Service resource follows the format: `projects/{project\}/locations/{location\}/services/{service\}`.
452
+ */
453
+ services?: Schema$Service[];
454
+ }
455
+ /**
456
+ * A resource that represents a Google Cloud location.
457
+ */
458
+ export interface Schema$Location {
459
+ /**
460
+ * The friendly name for this location, typically a nearby city name. For example, "Tokyo".
461
+ */
462
+ displayName?: string | null;
463
+ /**
464
+ * Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"\}
465
+ */
466
+ labels?: {
467
+ [key: string]: string;
468
+ } | null;
469
+ /**
470
+ * The canonical id for this location. For example: `"us-east1"`.
471
+ */
472
+ locationId?: string | null;
473
+ /**
474
+ * Service-specific metadata. For example the available capacity at the given location.
475
+ */
476
+ metadata?: {
477
+ [key: string]: any;
478
+ } | null;
479
+ /**
480
+ * Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"`
481
+ */
482
+ name?: string | null;
483
+ }
484
+ /**
485
+ * Represents an MCP (Model Context Protocol) Server.
486
+ */
487
+ export interface Schema$McpServer {
488
+ /**
489
+ * Output only. Attributes of the MCP Server. Valid values: * `agentregistry.googleapis.com/system/RuntimeIdentity`: {"principal": "principal://..."\} - the runtime identity associated with the MCP Server. * `agentregistry.googleapis.com/system/RuntimeReference`: {"uri": "//..."\} - the URI of the underlying resource hosting the MCP Server, for example, the GKE Deployment.
490
+ */
491
+ attributes?: {
492
+ [key: string]: {
493
+ [key: string]: any;
494
+ };
495
+ } | null;
496
+ /**
497
+ * Output only. Create time.
498
+ */
499
+ createTime?: string | null;
500
+ /**
501
+ * Output only. The description of the MCP Server.
502
+ */
503
+ description?: string | null;
504
+ /**
505
+ * Output only. The display name of the MCP Server.
506
+ */
507
+ displayName?: string | null;
508
+ /**
509
+ * Output only. The connection details for the MCP Server.
510
+ */
511
+ interfaces?: Schema$Interface[];
512
+ /**
513
+ * Output only. A stable, globally unique identifier for MCP Servers.
514
+ */
515
+ mcpServerId?: string | null;
516
+ /**
517
+ * Identifier. The resource name of the MCP Server. Format: `projects/{project\}/locations/{location\}/mcpServers/{mcp_server\}`.
518
+ */
519
+ name?: string | null;
520
+ /**
521
+ * Output only. Tools provided by the MCP Server.
522
+ */
523
+ tools?: Schema$Tool[];
524
+ /**
525
+ * Output only. Update time.
526
+ */
527
+ updateTime?: string | null;
528
+ }
529
+ /**
530
+ * The spec of the MCP Server.
531
+ */
532
+ export interface Schema$McpServerSpec {
533
+ /**
534
+ * Optional. The content of the MCP Server spec. This payload is validated against the schema for the specified type. The content size is limited to `10KB`.
535
+ */
536
+ content?: {
537
+ [key: string]: any;
538
+ } | null;
539
+ /**
540
+ * Required. The type of the MCP Server spec content.
541
+ */
542
+ type?: string | null;
543
+ }
544
+ /**
545
+ * This resource represents a long-running operation that is the result of a network API call.
546
+ */
547
+ export interface Schema$Operation {
548
+ /**
549
+ * If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
550
+ */
551
+ done?: boolean | null;
552
+ /**
553
+ * The error result of the operation in case of failure or cancellation.
554
+ */
555
+ error?: Schema$Status;
556
+ /**
557
+ * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
558
+ */
559
+ metadata?: {
560
+ [key: string]: any;
561
+ } | null;
562
+ /**
563
+ * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id\}`.
564
+ */
565
+ name?: string | null;
566
+ /**
567
+ * The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
568
+ */
569
+ response?: {
570
+ [key: string]: any;
571
+ } | null;
572
+ }
573
+ /**
574
+ * Represents the metadata of the long-running operation.
575
+ */
576
+ export interface Schema$OperationMetadata {
577
+ /**
578
+ * Output only. API version used to start the operation.
579
+ */
580
+ apiVersion?: string | null;
581
+ /**
582
+ * Output only. The time the operation was created.
583
+ */
584
+ createTime?: string | null;
585
+ /**
586
+ * Output only. The time the operation finished running.
587
+ */
588
+ endTime?: string | null;
589
+ /**
590
+ * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
591
+ */
592
+ requestedCancellation?: boolean | null;
593
+ /**
594
+ * Output only. Human-readable status of the operation, if any.
595
+ */
596
+ statusMessage?: string | null;
597
+ /**
598
+ * Output only. Server-defined resource path for the target of the operation.
599
+ */
600
+ target?: string | null;
601
+ /**
602
+ * Output only. Name of the verb executed by the operation.
603
+ */
604
+ verb?: string | null;
605
+ }
606
+ /**
607
+ * Represents the protocol of an Agent.
608
+ */
609
+ export interface Schema$Protocol {
610
+ /**
611
+ * Output only. The connection details for the Agent.
612
+ */
613
+ interfaces?: Schema$Interface[];
614
+ /**
615
+ * Output only. The version of the protocol, for example, the A2A Agent Card version.
616
+ */
617
+ protocolVersion?: string | null;
618
+ /**
619
+ * Output only. The type of the protocol.
620
+ */
621
+ type?: string | null;
622
+ }
623
+ /**
624
+ * Message for searching Agents
625
+ */
626
+ export interface Schema$SearchAgentsRequest {
627
+ /**
628
+ * 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.
629
+ */
630
+ pageSize?: number | null;
631
+ /**
632
+ * 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.
633
+ */
634
+ pageToken?: string | null;
635
+ /**
636
+ * 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="urn:agent:projects-123:projects:123:locations:us-central1:reasoningEngines:1234"` to find the agent with the specified agent ID. * `name:important` to find agents whose name contains `important` as a word. * `displayName:works*` to find agents whose display name contains words that start with `works`. * `skills.tags:test` to find agents whose skills tags contain `test`. * `planner OR booking` to find agents whose metadata contains the words `planner` or `booking`.
637
+ */
638
+ searchString?: string | null;
639
+ }
640
+ /**
641
+ * Message for response to searching Agents
642
+ */
643
+ export interface Schema$SearchAgentsResponse {
644
+ /**
645
+ * A list of Agents that match the `search_string`.
646
+ */
647
+ agents?: Schema$Agent[];
648
+ /**
649
+ * 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`.
650
+ */
651
+ nextPageToken?: string | null;
652
+ }
653
+ /**
654
+ * Message for searching MCP Servers
655
+ */
656
+ export interface Schema$SearchMcpServersRequest {
657
+ /**
658
+ * 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.
659
+ */
660
+ pageSize?: number | null;
661
+ /**
662
+ * 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.
663
+ */
664
+ pageToken?: string | null;
665
+ /**
666
+ * Optional. Search criteria used to select the MCP Servers to return. If no search criteria is specified then all accessible MCP Servers will be returned. Search expressions can be used to restrict results based upon searchable fields, where the operators can be used along with the suffix wildcard symbol `*`. See [instructions](https://docs.cloud.google.com/agent-registry/search-agents-and-tools) for more details. Allowed operators: `=`, `:`, `NOT`, `AND`, `OR`, and `()`. Searchable fields: | Field | `=` | `:` | `*` | Keyword Search | |--------------------|-----|-----|-----|----------------| | mcpServerId | Yes | Yes | Yes | Included | | name | No | Yes | Yes | Included | | displayName | No | Yes | Yes | Included | Examples: * `mcpServerId="urn:mcp:projects-123:projects:123:locations:us-central1:agentregistry:services:service-id"` to find the MCP Server with the specified MCP Server ID. * `name:important` to find MCP Servers whose name contains `important` as a word. * `displayName:works*` to find MCP Servers whose display name contains words that start with `works`. * `planner OR booking` to find MCP Servers whose metadata contains the words `planner` or `booking`. * `mcpServerId:service-id AND (displayName:planner OR displayName:booking)` to find MCP Servers whose MCP Server ID contains `service-id` and whose display name contains `planner` or `booking`.
667
+ */
668
+ searchString?: string | null;
669
+ }
670
+ /**
671
+ * Message for response to searching MCP Servers
672
+ */
673
+ export interface Schema$SearchMcpServersResponse {
674
+ /**
675
+ * A list of McpServers that match the `search_string`.
676
+ */
677
+ mcpServers?: Schema$McpServer[];
678
+ /**
679
+ * 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`.
680
+ */
681
+ nextPageToken?: string | null;
682
+ }
683
+ /**
684
+ * Represents a user-defined Service.
685
+ */
686
+ export interface Schema$Service {
687
+ /**
688
+ * Optional. The spec of the Agent. When `agent_spec` is set, the type of the service is Agent.
689
+ */
690
+ agentSpec?: Schema$AgentSpec;
691
+ /**
692
+ * Output only. Create time.
693
+ */
694
+ createTime?: string | null;
695
+ /**
696
+ * Optional. User-defined description of an Service. Can have a maximum length of `2048` characters.
697
+ */
698
+ description?: string | null;
699
+ /**
700
+ * Optional. User-defined display name for the Service. Can have a maximum length of `63` characters.
701
+ */
702
+ displayName?: string | null;
703
+ /**
704
+ * Optional. The spec of the Endpoint. When `endpoint_spec` is set, the type of the service is Endpoint.
705
+ */
706
+ endpointSpec?: Schema$EndpointSpec;
707
+ /**
708
+ * Optional. The connection details for the Service.
709
+ */
710
+ interfaces?: Schema$Interface[];
711
+ /**
712
+ * Optional. The spec of the MCP Server. When `mcp_server_spec` is set, the type of the service is MCP Server.
713
+ */
714
+ mcpServerSpec?: Schema$McpServerSpec;
715
+ /**
716
+ * Identifier. The resource name of the Service. Format: `projects/{project\}/locations/{location\}/services/{service\}`.
717
+ */
718
+ name?: string | null;
719
+ /**
720
+ * Output only. The resource name of the resulting Agent, MCP Server, or Endpoint. Format: * `projects/{project\}/locations/{location\}/mcpServers/{mcp_server\}` * `projects/{project\}/locations/{location\}/agents/{agent\}` * `projects/{project\}/locations/{location\}/endpoints/{endpoint\}`
721
+ */
722
+ registryResource?: string | null;
723
+ /**
724
+ * Output only. Update time.
725
+ */
726
+ updateTime?: string | null;
727
+ }
728
+ /**
729
+ * The source of the Binding.
730
+ */
731
+ export interface Schema$Source {
732
+ /**
733
+ * The identifier of the source Agent. Format: * `urn:agent:{publisher\}:{namespace\}:{name\}`
734
+ */
735
+ identifier?: string | null;
736
+ }
737
+ /**
738
+ * The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
739
+ */
740
+ export interface Schema$Status {
741
+ /**
742
+ * The status code, which should be an enum value of google.rpc.Code.
743
+ */
744
+ code?: number | null;
745
+ /**
746
+ * A list of messages that carry the error details. There is a common set of message types for APIs to use.
747
+ */
748
+ details?: Array<{
749
+ [key: string]: any;
750
+ }> | null;
751
+ /**
752
+ * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
753
+ */
754
+ message?: string | null;
755
+ }
756
+ /**
757
+ * The target of the Binding.
758
+ */
759
+ export interface Schema$Target {
760
+ /**
761
+ * The identifier of the target Agent, MCP Server, or Endpoint. Format: * `urn:agent:{publisher\}:{namespace\}:{name\}` * `urn:mcp:{publisher\}:{namespace\}:{name\}` * `urn:endpoint:{publisher\}:{namespace\}:{name\}`
762
+ */
763
+ identifier?: string | null;
764
+ }
765
+ /**
766
+ * Represents a single tool provided by an MCP Server.
767
+ */
768
+ export interface Schema$Tool {
769
+ /**
770
+ * Output only. Annotations associated with the tool.
771
+ */
772
+ annotations?: Schema$Annotations;
773
+ /**
774
+ * Output only. Description of what the tool does.
775
+ */
776
+ description?: string | null;
777
+ /**
778
+ * Output only. Human-readable name of the tool.
779
+ */
780
+ name?: string | null;
781
+ }
782
+ export class Resource$Projects {
783
+ context: APIRequestContext;
784
+ locations: Resource$Projects$Locations;
785
+ constructor(context: APIRequestContext);
786
+ }
787
+ export class Resource$Projects$Locations {
788
+ context: APIRequestContext;
789
+ agents: Resource$Projects$Locations$Agents;
790
+ bindings: Resource$Projects$Locations$Bindings;
791
+ endpoints: Resource$Projects$Locations$Endpoints;
792
+ mcpServers: Resource$Projects$Locations$Mcpservers;
793
+ operations: Resource$Projects$Locations$Operations;
794
+ services: Resource$Projects$Locations$Services;
795
+ constructor(context: APIRequestContext);
796
+ /**
797
+ * Gets information about a location.
798
+ * @example
799
+ * ```js
800
+ * // Before running the sample:
801
+ * // - Enable the API at:
802
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
803
+ * // - Login into gcloud by running:
804
+ * // ```sh
805
+ * // $ gcloud auth application-default login
806
+ * // ```
807
+ * // - Install the npm module by running:
808
+ * // ```sh
809
+ * // $ npm install googleapis
810
+ * // ```
811
+ *
812
+ * const {google} = require('googleapis');
813
+ * const agentregistry = google.agentregistry('v1');
814
+ *
815
+ * async function main() {
816
+ * const auth = new google.auth.GoogleAuth({
817
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
818
+ * scopes: [
819
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
820
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
821
+ * 'https://www.googleapis.com/auth/cloud-platform',
822
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
823
+ * ],
824
+ * });
825
+ *
826
+ * // Acquire an auth client, and bind it to all future calls
827
+ * const authClient = await auth.getClient();
828
+ * google.options({auth: authClient});
829
+ *
830
+ * // Do the magic
831
+ * const res = await agentregistry.projects.locations.get({
832
+ * // Resource name for the location.
833
+ * name: 'projects/my-project/locations/my-location',
834
+ * });
835
+ * console.log(res.data);
836
+ *
837
+ * // Example response
838
+ * // {
839
+ * // "displayName": "my_displayName",
840
+ * // "labels": {},
841
+ * // "locationId": "my_locationId",
842
+ * // "metadata": {},
843
+ * // "name": "my_name"
844
+ * // }
845
+ * }
846
+ *
847
+ * main().catch(e => {
848
+ * console.error(e);
849
+ * throw e;
850
+ * });
851
+ *
852
+ * ```
853
+ *
854
+ * @param params - Parameters for request
855
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
856
+ * @param callback - Optional callback that handles the response.
857
+ * @returns A promise if used with async/await, or void if used with a callback.
858
+ */
859
+ get(params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
860
+ get(params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Location>>;
861
+ get(params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
862
+ get(params: Params$Resource$Projects$Locations$Get, options: MethodOptions | BodyResponseCallback<Schema$Location>, callback: BodyResponseCallback<Schema$Location>): void;
863
+ get(params: Params$Resource$Projects$Locations$Get, callback: BodyResponseCallback<Schema$Location>): void;
864
+ get(callback: BodyResponseCallback<Schema$Location>): void;
865
+ /**
866
+ * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.
867
+ * @example
868
+ * ```js
869
+ * // Before running the sample:
870
+ * // - Enable the API at:
871
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
872
+ * // - Login into gcloud by running:
873
+ * // ```sh
874
+ * // $ gcloud auth application-default login
875
+ * // ```
876
+ * // - Install the npm module by running:
877
+ * // ```sh
878
+ * // $ npm install googleapis
879
+ * // ```
880
+ *
881
+ * const {google} = require('googleapis');
882
+ * const agentregistry = google.agentregistry('v1');
883
+ *
884
+ * async function main() {
885
+ * const auth = new google.auth.GoogleAuth({
886
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
887
+ * scopes: [
888
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
889
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
890
+ * 'https://www.googleapis.com/auth/cloud-platform',
891
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
892
+ * ],
893
+ * });
894
+ *
895
+ * // Acquire an auth client, and bind it to all future calls
896
+ * const authClient = await auth.getClient();
897
+ * google.options({auth: authClient});
898
+ *
899
+ * // Do the magic
900
+ * const res = await agentregistry.projects.locations.list({
901
+ * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
902
+ * extraLocationTypes: 'placeholder-value',
903
+ * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
904
+ * filter: 'placeholder-value',
905
+ * // The resource that owns the locations collection, if applicable.
906
+ * name: 'projects/my-project',
907
+ * // The maximum number of results to return. If not set, the service selects a default.
908
+ * pageSize: 'placeholder-value',
909
+ * // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
910
+ * pageToken: 'placeholder-value',
911
+ * });
912
+ * console.log(res.data);
913
+ *
914
+ * // Example response
915
+ * // {
916
+ * // "locations": [],
917
+ * // "nextPageToken": "my_nextPageToken"
918
+ * // }
919
+ * }
920
+ *
921
+ * main().catch(e => {
922
+ * console.error(e);
923
+ * throw e;
924
+ * });
925
+ *
926
+ * ```
927
+ *
928
+ * @param params - Parameters for request
929
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
930
+ * @param callback - Optional callback that handles the response.
931
+ * @returns A promise if used with async/await, or void if used with a callback.
932
+ */
933
+ list(params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
934
+ list(params?: Params$Resource$Projects$Locations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListLocationsResponse>>;
935
+ list(params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
936
+ list(params: Params$Resource$Projects$Locations$List, options: MethodOptions | BodyResponseCallback<Schema$ListLocationsResponse>, callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
937
+ list(params: Params$Resource$Projects$Locations$List, callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
938
+ list(callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
939
+ }
940
+ export interface Params$Resource$Projects$Locations$Get extends StandardParameters {
941
+ /**
942
+ * Resource name for the location.
943
+ */
944
+ name?: string;
945
+ }
946
+ export interface Params$Resource$Projects$Locations$List extends StandardParameters {
947
+ /**
948
+ * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
949
+ */
950
+ extraLocationTypes?: string[];
951
+ /**
952
+ * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
953
+ */
954
+ filter?: string;
955
+ /**
956
+ * The resource that owns the locations collection, if applicable.
957
+ */
958
+ name?: string;
959
+ /**
960
+ * The maximum number of results to return. If not set, the service selects a default.
961
+ */
962
+ pageSize?: number;
963
+ /**
964
+ * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
965
+ */
966
+ pageToken?: string;
967
+ }
968
+ export class Resource$Projects$Locations$Agents {
969
+ context: APIRequestContext;
970
+ constructor(context: APIRequestContext);
971
+ /**
972
+ * Gets details of a single Agent.
973
+ * @example
974
+ * ```js
975
+ * // Before running the sample:
976
+ * // - Enable the API at:
977
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
978
+ * // - Login into gcloud by running:
979
+ * // ```sh
980
+ * // $ gcloud auth application-default login
981
+ * // ```
982
+ * // - Install the npm module by running:
983
+ * // ```sh
984
+ * // $ npm install googleapis
985
+ * // ```
986
+ *
987
+ * const {google} = require('googleapis');
988
+ * const agentregistry = google.agentregistry('v1');
989
+ *
990
+ * async function main() {
991
+ * const auth = new google.auth.GoogleAuth({
992
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
993
+ * scopes: [
994
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
995
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
996
+ * 'https://www.googleapis.com/auth/cloud-platform',
997
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
998
+ * ],
999
+ * });
1000
+ *
1001
+ * // Acquire an auth client, and bind it to all future calls
1002
+ * const authClient = await auth.getClient();
1003
+ * google.options({auth: authClient});
1004
+ *
1005
+ * // Do the magic
1006
+ * const res = await agentregistry.projects.locations.agents.get({
1007
+ * // Required. Name of the resource
1008
+ * name: 'projects/my-project/locations/my-location/agents/my-agent',
1009
+ * });
1010
+ * console.log(res.data);
1011
+ *
1012
+ * // Example response
1013
+ * // {
1014
+ * // "agentId": "my_agentId",
1015
+ * // "attributes": {},
1016
+ * // "card": {},
1017
+ * // "createTime": "my_createTime",
1018
+ * // "description": "my_description",
1019
+ * // "displayName": "my_displayName",
1020
+ * // "location": "my_location",
1021
+ * // "name": "my_name",
1022
+ * // "protocols": [],
1023
+ * // "skills": [],
1024
+ * // "uid": "my_uid",
1025
+ * // "updateTime": "my_updateTime",
1026
+ * // "version": "my_version"
1027
+ * // }
1028
+ * }
1029
+ *
1030
+ * main().catch(e => {
1031
+ * console.error(e);
1032
+ * throw e;
1033
+ * });
1034
+ *
1035
+ * ```
1036
+ *
1037
+ * @param params - Parameters for request
1038
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1039
+ * @param callback - Optional callback that handles the response.
1040
+ * @returns A promise if used with async/await, or void if used with a callback.
1041
+ */
1042
+ get(params: Params$Resource$Projects$Locations$Agents$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1043
+ get(params?: Params$Resource$Projects$Locations$Agents$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Agent>>;
1044
+ get(params: Params$Resource$Projects$Locations$Agents$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1045
+ get(params: Params$Resource$Projects$Locations$Agents$Get, options: MethodOptions | BodyResponseCallback<Schema$Agent>, callback: BodyResponseCallback<Schema$Agent>): void;
1046
+ get(params: Params$Resource$Projects$Locations$Agents$Get, callback: BodyResponseCallback<Schema$Agent>): void;
1047
+ get(callback: BodyResponseCallback<Schema$Agent>): void;
1048
+ /**
1049
+ * Lists Agents in a given project and location.
1050
+ * @example
1051
+ * ```js
1052
+ * // Before running the sample:
1053
+ * // - Enable the API at:
1054
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
1055
+ * // - Login into gcloud by running:
1056
+ * // ```sh
1057
+ * // $ gcloud auth application-default login
1058
+ * // ```
1059
+ * // - Install the npm module by running:
1060
+ * // ```sh
1061
+ * // $ npm install googleapis
1062
+ * // ```
1063
+ *
1064
+ * const {google} = require('googleapis');
1065
+ * const agentregistry = google.agentregistry('v1');
1066
+ *
1067
+ * async function main() {
1068
+ * const auth = new google.auth.GoogleAuth({
1069
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1070
+ * scopes: [
1071
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
1072
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
1073
+ * 'https://www.googleapis.com/auth/cloud-platform',
1074
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
1075
+ * ],
1076
+ * });
1077
+ *
1078
+ * // Acquire an auth client, and bind it to all future calls
1079
+ * const authClient = await auth.getClient();
1080
+ * google.options({auth: authClient});
1081
+ *
1082
+ * // Do the magic
1083
+ * const res = await agentregistry.projects.locations.agents.list({
1084
+ * // Optional. Filtering results
1085
+ * filter: 'placeholder-value',
1086
+ * // Optional. Hint for how to order the results
1087
+ * orderBy: 'placeholder-value',
1088
+ * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
1089
+ * pageSize: 'placeholder-value',
1090
+ * // Optional. A token identifying a page of results the server should return.
1091
+ * pageToken: 'placeholder-value',
1092
+ * // Required. Parent value for ListAgentsRequest
1093
+ * parent: 'projects/my-project/locations/my-location',
1094
+ * });
1095
+ * console.log(res.data);
1096
+ *
1097
+ * // Example response
1098
+ * // {
1099
+ * // "agents": [],
1100
+ * // "nextPageToken": "my_nextPageToken"
1101
+ * // }
1102
+ * }
1103
+ *
1104
+ * main().catch(e => {
1105
+ * console.error(e);
1106
+ * throw e;
1107
+ * });
1108
+ *
1109
+ * ```
1110
+ *
1111
+ * @param params - Parameters for request
1112
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1113
+ * @param callback - Optional callback that handles the response.
1114
+ * @returns A promise if used with async/await, or void if used with a callback.
1115
+ */
1116
+ list(params: Params$Resource$Projects$Locations$Agents$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1117
+ list(params?: Params$Resource$Projects$Locations$Agents$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAgentsResponse>>;
1118
+ list(params: Params$Resource$Projects$Locations$Agents$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1119
+ list(params: Params$Resource$Projects$Locations$Agents$List, options: MethodOptions | BodyResponseCallback<Schema$ListAgentsResponse>, callback: BodyResponseCallback<Schema$ListAgentsResponse>): void;
1120
+ list(params: Params$Resource$Projects$Locations$Agents$List, callback: BodyResponseCallback<Schema$ListAgentsResponse>): void;
1121
+ list(callback: BodyResponseCallback<Schema$ListAgentsResponse>): void;
1122
+ /**
1123
+ * Searches Agents in a given project and location.
1124
+ * @example
1125
+ * ```js
1126
+ * // Before running the sample:
1127
+ * // - Enable the API at:
1128
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
1129
+ * // - Login into gcloud by running:
1130
+ * // ```sh
1131
+ * // $ gcloud auth application-default login
1132
+ * // ```
1133
+ * // - Install the npm module by running:
1134
+ * // ```sh
1135
+ * // $ npm install googleapis
1136
+ * // ```
1137
+ *
1138
+ * const {google} = require('googleapis');
1139
+ * const agentregistry = google.agentregistry('v1');
1140
+ *
1141
+ * async function main() {
1142
+ * const auth = new google.auth.GoogleAuth({
1143
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1144
+ * scopes: [
1145
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
1146
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
1147
+ * 'https://www.googleapis.com/auth/cloud-platform',
1148
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
1149
+ * ],
1150
+ * });
1151
+ *
1152
+ * // Acquire an auth client, and bind it to all future calls
1153
+ * const authClient = await auth.getClient();
1154
+ * google.options({auth: authClient});
1155
+ *
1156
+ * // Do the magic
1157
+ * const res = await agentregistry.projects.locations.agents.search({
1158
+ * // Required. Parent value for SearchAgentsRequest. Format: `projects/{project\}/locations/{location\}`.
1159
+ * parent: 'projects/my-project/locations/my-location',
1160
+ *
1161
+ * // Request body metadata
1162
+ * requestBody: {
1163
+ * // request body parameters
1164
+ * // {
1165
+ * // "pageSize": 0,
1166
+ * // "pageToken": "my_pageToken",
1167
+ * // "searchString": "my_searchString"
1168
+ * // }
1169
+ * },
1170
+ * });
1171
+ * console.log(res.data);
1172
+ *
1173
+ * // Example response
1174
+ * // {
1175
+ * // "agents": [],
1176
+ * // "nextPageToken": "my_nextPageToken"
1177
+ * // }
1178
+ * }
1179
+ *
1180
+ * main().catch(e => {
1181
+ * console.error(e);
1182
+ * throw e;
1183
+ * });
1184
+ *
1185
+ * ```
1186
+ *
1187
+ * @param params - Parameters for request
1188
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1189
+ * @param callback - Optional callback that handles the response.
1190
+ * @returns A promise if used with async/await, or void if used with a callback.
1191
+ */
1192
+ search(params: Params$Resource$Projects$Locations$Agents$Search, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1193
+ search(params?: Params$Resource$Projects$Locations$Agents$Search, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$SearchAgentsResponse>>;
1194
+ search(params: Params$Resource$Projects$Locations$Agents$Search, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1195
+ search(params: Params$Resource$Projects$Locations$Agents$Search, options: MethodOptions | BodyResponseCallback<Schema$SearchAgentsResponse>, callback: BodyResponseCallback<Schema$SearchAgentsResponse>): void;
1196
+ search(params: Params$Resource$Projects$Locations$Agents$Search, callback: BodyResponseCallback<Schema$SearchAgentsResponse>): void;
1197
+ search(callback: BodyResponseCallback<Schema$SearchAgentsResponse>): void;
1198
+ }
1199
+ export interface Params$Resource$Projects$Locations$Agents$Get extends StandardParameters {
1200
+ /**
1201
+ * Required. Name of the resource
1202
+ */
1203
+ name?: string;
1204
+ }
1205
+ export interface Params$Resource$Projects$Locations$Agents$List extends StandardParameters {
1206
+ /**
1207
+ * Optional. Filtering results
1208
+ */
1209
+ filter?: string;
1210
+ /**
1211
+ * Optional. Hint for how to order the results
1212
+ */
1213
+ orderBy?: string;
1214
+ /**
1215
+ * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
1216
+ */
1217
+ pageSize?: number;
1218
+ /**
1219
+ * Optional. A token identifying a page of results the server should return.
1220
+ */
1221
+ pageToken?: string;
1222
+ /**
1223
+ * Required. Parent value for ListAgentsRequest
1224
+ */
1225
+ parent?: string;
1226
+ }
1227
+ export interface Params$Resource$Projects$Locations$Agents$Search extends StandardParameters {
1228
+ /**
1229
+ * Required. Parent value for SearchAgentsRequest. Format: `projects/{project\}/locations/{location\}`.
1230
+ */
1231
+ parent?: string;
1232
+ /**
1233
+ * Request body metadata
1234
+ */
1235
+ requestBody?: Schema$SearchAgentsRequest;
1236
+ }
1237
+ export class Resource$Projects$Locations$Bindings {
1238
+ context: APIRequestContext;
1239
+ constructor(context: APIRequestContext);
1240
+ /**
1241
+ * Creates a new Binding in a given project and location.
1242
+ * @example
1243
+ * ```js
1244
+ * // Before running the sample:
1245
+ * // - Enable the API at:
1246
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
1247
+ * // - Login into gcloud by running:
1248
+ * // ```sh
1249
+ * // $ gcloud auth application-default login
1250
+ * // ```
1251
+ * // - Install the npm module by running:
1252
+ * // ```sh
1253
+ * // $ npm install googleapis
1254
+ * // ```
1255
+ *
1256
+ * const {google} = require('googleapis');
1257
+ * const agentregistry = google.agentregistry('v1');
1258
+ *
1259
+ * async function main() {
1260
+ * const auth = new google.auth.GoogleAuth({
1261
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1262
+ * scopes: [
1263
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
1264
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
1265
+ * 'https://www.googleapis.com/auth/cloud-platform',
1266
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
1267
+ * ],
1268
+ * });
1269
+ *
1270
+ * // Acquire an auth client, and bind it to all future calls
1271
+ * const authClient = await auth.getClient();
1272
+ * google.options({auth: authClient});
1273
+ *
1274
+ * // Do the magic
1275
+ * const res = await agentregistry.projects.locations.bindings.create({
1276
+ * // Required. The ID to use for the binding, which will become the final component of the binding's resource name. This value should be 4-63 characters, and must conform to RFC-1034. Specifically, it must match the regular expression `^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$`.
1277
+ * bindingId: 'placeholder-value',
1278
+ * // Required. The project and location to create the Binding in. Expected format: `projects/{project\}/locations/{location\}`.
1279
+ * parent: 'projects/my-project/locations/my-location',
1280
+ * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1281
+ * requestId: 'placeholder-value',
1282
+ *
1283
+ * // Request body metadata
1284
+ * requestBody: {
1285
+ * // request body parameters
1286
+ * // {
1287
+ * // "authProviderBinding": {},
1288
+ * // "createTime": "my_createTime",
1289
+ * // "description": "my_description",
1290
+ * // "displayName": "my_displayName",
1291
+ * // "name": "my_name",
1292
+ * // "source": {},
1293
+ * // "target": {},
1294
+ * // "updateTime": "my_updateTime"
1295
+ * // }
1296
+ * },
1297
+ * });
1298
+ * console.log(res.data);
1299
+ *
1300
+ * // Example response
1301
+ * // {
1302
+ * // "done": false,
1303
+ * // "error": {},
1304
+ * // "metadata": {},
1305
+ * // "name": "my_name",
1306
+ * // "response": {}
1307
+ * // }
1308
+ * }
1309
+ *
1310
+ * main().catch(e => {
1311
+ * console.error(e);
1312
+ * throw e;
1313
+ * });
1314
+ *
1315
+ * ```
1316
+ *
1317
+ * @param params - Parameters for request
1318
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1319
+ * @param callback - Optional callback that handles the response.
1320
+ * @returns A promise if used with async/await, or void if used with a callback.
1321
+ */
1322
+ create(params: Params$Resource$Projects$Locations$Bindings$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1323
+ create(params?: Params$Resource$Projects$Locations$Bindings$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
1324
+ create(params: Params$Resource$Projects$Locations$Bindings$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1325
+ create(params: Params$Resource$Projects$Locations$Bindings$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
1326
+ create(params: Params$Resource$Projects$Locations$Bindings$Create, callback: BodyResponseCallback<Schema$Operation>): void;
1327
+ create(callback: BodyResponseCallback<Schema$Operation>): void;
1328
+ /**
1329
+ * Deletes a single Binding.
1330
+ * @example
1331
+ * ```js
1332
+ * // Before running the sample:
1333
+ * // - Enable the API at:
1334
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
1335
+ * // - Login into gcloud by running:
1336
+ * // ```sh
1337
+ * // $ gcloud auth application-default login
1338
+ * // ```
1339
+ * // - Install the npm module by running:
1340
+ * // ```sh
1341
+ * // $ npm install googleapis
1342
+ * // ```
1343
+ *
1344
+ * const {google} = require('googleapis');
1345
+ * const agentregistry = google.agentregistry('v1');
1346
+ *
1347
+ * async function main() {
1348
+ * const auth = new google.auth.GoogleAuth({
1349
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1350
+ * scopes: [
1351
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
1352
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
1353
+ * 'https://www.googleapis.com/auth/cloud-platform',
1354
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
1355
+ * ],
1356
+ * });
1357
+ *
1358
+ * // Acquire an auth client, and bind it to all future calls
1359
+ * const authClient = await auth.getClient();
1360
+ * google.options({auth: authClient});
1361
+ *
1362
+ * // Do the magic
1363
+ * const res = await agentregistry.projects.locations.bindings.delete({
1364
+ * // Required. The name of the Binding. Format: `projects/{project\}/locations/{location\}/bindings/{binding\}`.
1365
+ * name: 'projects/my-project/locations/my-location/bindings/my-binding',
1366
+ * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1367
+ * requestId: 'placeholder-value',
1368
+ * });
1369
+ * console.log(res.data);
1370
+ *
1371
+ * // Example response
1372
+ * // {
1373
+ * // "done": false,
1374
+ * // "error": {},
1375
+ * // "metadata": {},
1376
+ * // "name": "my_name",
1377
+ * // "response": {}
1378
+ * // }
1379
+ * }
1380
+ *
1381
+ * main().catch(e => {
1382
+ * console.error(e);
1383
+ * throw e;
1384
+ * });
1385
+ *
1386
+ * ```
1387
+ *
1388
+ * @param params - Parameters for request
1389
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1390
+ * @param callback - Optional callback that handles the response.
1391
+ * @returns A promise if used with async/await, or void if used with a callback.
1392
+ */
1393
+ delete(params: Params$Resource$Projects$Locations$Bindings$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1394
+ delete(params?: Params$Resource$Projects$Locations$Bindings$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
1395
+ delete(params: Params$Resource$Projects$Locations$Bindings$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1396
+ delete(params: Params$Resource$Projects$Locations$Bindings$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
1397
+ delete(params: Params$Resource$Projects$Locations$Bindings$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
1398
+ delete(callback: BodyResponseCallback<Schema$Operation>): void;
1399
+ /**
1400
+ * Fetches available Bindings.
1401
+ * @example
1402
+ * ```js
1403
+ * // Before running the sample:
1404
+ * // - Enable the API at:
1405
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
1406
+ * // - Login into gcloud by running:
1407
+ * // ```sh
1408
+ * // $ gcloud auth application-default login
1409
+ * // ```
1410
+ * // - Install the npm module by running:
1411
+ * // ```sh
1412
+ * // $ npm install googleapis
1413
+ * // ```
1414
+ *
1415
+ * const {google} = require('googleapis');
1416
+ * const agentregistry = google.agentregistry('v1');
1417
+ *
1418
+ * async function main() {
1419
+ * const auth = new google.auth.GoogleAuth({
1420
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1421
+ * scopes: [
1422
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
1423
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
1424
+ * 'https://www.googleapis.com/auth/cloud-platform',
1425
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
1426
+ * ],
1427
+ * });
1428
+ *
1429
+ * // Acquire an auth client, and bind it to all future calls
1430
+ * const authClient = await auth.getClient();
1431
+ * google.options({auth: authClient});
1432
+ *
1433
+ * // Do the magic
1434
+ * const res = await agentregistry.projects.locations.bindings.fetchAvailable({
1435
+ * // Optional. Requested page size. Server may return fewer items than requested. Page size is 500 if unspecified and is capped at `500` even if a larger value is given.
1436
+ * pageSize: 'placeholder-value',
1437
+ * // Optional. A token identifying a page of results the server should return.
1438
+ * pageToken: 'placeholder-value',
1439
+ * // Required. The parent, in the format `projects/{project\}/locations/{location\}`.
1440
+ * parent: 'projects/my-project/locations/my-location',
1441
+ * // The identifier of the source Agent. Format: * `urn:agent:{publisher\}:{namespace\}:{name\}`
1442
+ * sourceIdentifier: 'placeholder-value',
1443
+ * // Optional. The identifier of the target Agent, MCP Server, or Endpoint. Format: * `urn:agent:{publisher\}:{namespace\}:{name\}` * `urn:mcp:{publisher\}:{namespace\}:{name\}` * `urn:endpoint:{publisher\}:{namespace\}:{name\}`
1444
+ * targetIdentifier: 'placeholder-value',
1445
+ * });
1446
+ * console.log(res.data);
1447
+ *
1448
+ * // Example response
1449
+ * // {
1450
+ * // "bindings": [],
1451
+ * // "nextPageToken": "my_nextPageToken"
1452
+ * // }
1453
+ * }
1454
+ *
1455
+ * main().catch(e => {
1456
+ * console.error(e);
1457
+ * throw e;
1458
+ * });
1459
+ *
1460
+ * ```
1461
+ *
1462
+ * @param params - Parameters for request
1463
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1464
+ * @param callback - Optional callback that handles the response.
1465
+ * @returns A promise if used with async/await, or void if used with a callback.
1466
+ */
1467
+ fetchAvailable(params: Params$Resource$Projects$Locations$Bindings$Fetchavailable, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1468
+ fetchAvailable(params?: Params$Resource$Projects$Locations$Bindings$Fetchavailable, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$FetchAvailableBindingsResponse>>;
1469
+ fetchAvailable(params: Params$Resource$Projects$Locations$Bindings$Fetchavailable, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1470
+ fetchAvailable(params: Params$Resource$Projects$Locations$Bindings$Fetchavailable, options: MethodOptions | BodyResponseCallback<Schema$FetchAvailableBindingsResponse>, callback: BodyResponseCallback<Schema$FetchAvailableBindingsResponse>): void;
1471
+ fetchAvailable(params: Params$Resource$Projects$Locations$Bindings$Fetchavailable, callback: BodyResponseCallback<Schema$FetchAvailableBindingsResponse>): void;
1472
+ fetchAvailable(callback: BodyResponseCallback<Schema$FetchAvailableBindingsResponse>): void;
1473
+ /**
1474
+ * Gets details of a single Binding.
1475
+ * @example
1476
+ * ```js
1477
+ * // Before running the sample:
1478
+ * // - Enable the API at:
1479
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
1480
+ * // - Login into gcloud by running:
1481
+ * // ```sh
1482
+ * // $ gcloud auth application-default login
1483
+ * // ```
1484
+ * // - Install the npm module by running:
1485
+ * // ```sh
1486
+ * // $ npm install googleapis
1487
+ * // ```
1488
+ *
1489
+ * const {google} = require('googleapis');
1490
+ * const agentregistry = google.agentregistry('v1');
1491
+ *
1492
+ * async function main() {
1493
+ * const auth = new google.auth.GoogleAuth({
1494
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1495
+ * scopes: [
1496
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
1497
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
1498
+ * 'https://www.googleapis.com/auth/cloud-platform',
1499
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
1500
+ * ],
1501
+ * });
1502
+ *
1503
+ * // Acquire an auth client, and bind it to all future calls
1504
+ * const authClient = await auth.getClient();
1505
+ * google.options({auth: authClient});
1506
+ *
1507
+ * // Do the magic
1508
+ * const res = await agentregistry.projects.locations.bindings.get({
1509
+ * // Required. The name of the Binding. Format: `projects/{project\}/locations/{location\}/bindings/{binding\}`.
1510
+ * name: 'projects/my-project/locations/my-location/bindings/my-binding',
1511
+ * });
1512
+ * console.log(res.data);
1513
+ *
1514
+ * // Example response
1515
+ * // {
1516
+ * // "authProviderBinding": {},
1517
+ * // "createTime": "my_createTime",
1518
+ * // "description": "my_description",
1519
+ * // "displayName": "my_displayName",
1520
+ * // "name": "my_name",
1521
+ * // "source": {},
1522
+ * // "target": {},
1523
+ * // "updateTime": "my_updateTime"
1524
+ * // }
1525
+ * }
1526
+ *
1527
+ * main().catch(e => {
1528
+ * console.error(e);
1529
+ * throw e;
1530
+ * });
1531
+ *
1532
+ * ```
1533
+ *
1534
+ * @param params - Parameters for request
1535
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1536
+ * @param callback - Optional callback that handles the response.
1537
+ * @returns A promise if used with async/await, or void if used with a callback.
1538
+ */
1539
+ get(params: Params$Resource$Projects$Locations$Bindings$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1540
+ get(params?: Params$Resource$Projects$Locations$Bindings$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Binding>>;
1541
+ get(params: Params$Resource$Projects$Locations$Bindings$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1542
+ get(params: Params$Resource$Projects$Locations$Bindings$Get, options: MethodOptions | BodyResponseCallback<Schema$Binding>, callback: BodyResponseCallback<Schema$Binding>): void;
1543
+ get(params: Params$Resource$Projects$Locations$Bindings$Get, callback: BodyResponseCallback<Schema$Binding>): void;
1544
+ get(callback: BodyResponseCallback<Schema$Binding>): void;
1545
+ /**
1546
+ * Lists Bindings in a given project and location.
1547
+ * @example
1548
+ * ```js
1549
+ * // Before running the sample:
1550
+ * // - Enable the API at:
1551
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
1552
+ * // - Login into gcloud by running:
1553
+ * // ```sh
1554
+ * // $ gcloud auth application-default login
1555
+ * // ```
1556
+ * // - Install the npm module by running:
1557
+ * // ```sh
1558
+ * // $ npm install googleapis
1559
+ * // ```
1560
+ *
1561
+ * const {google} = require('googleapis');
1562
+ * const agentregistry = google.agentregistry('v1');
1563
+ *
1564
+ * async function main() {
1565
+ * const auth = new google.auth.GoogleAuth({
1566
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1567
+ * scopes: [
1568
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
1569
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
1570
+ * 'https://www.googleapis.com/auth/cloud-platform',
1571
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
1572
+ * ],
1573
+ * });
1574
+ *
1575
+ * // Acquire an auth client, and bind it to all future calls
1576
+ * const authClient = await auth.getClient();
1577
+ * google.options({auth: authClient});
1578
+ *
1579
+ * // Do the magic
1580
+ * const res = await agentregistry.projects.locations.bindings.list({
1581
+ * // Optional. A query string used to filter the list of bindings returned. The filter expression must follow AIP-160 syntax.
1582
+ * filter: 'placeholder-value',
1583
+ * // Optional. Hint for how to order the results
1584
+ * orderBy: 'placeholder-value',
1585
+ * // Optional. Requested page size. Server may return fewer items than requested. Page size is 500 if unspecified and is capped at `500` even if a larger value is given.
1586
+ * pageSize: 'placeholder-value',
1587
+ * // Optional. A token identifying a page of results the server should return.
1588
+ * pageToken: 'placeholder-value',
1589
+ * // Required. The project and location to list bindings in. Expected format: `projects/{project\}/locations/{location\}`.
1590
+ * parent: 'projects/my-project/locations/my-location',
1591
+ * });
1592
+ * console.log(res.data);
1593
+ *
1594
+ * // Example response
1595
+ * // {
1596
+ * // "bindings": [],
1597
+ * // "nextPageToken": "my_nextPageToken"
1598
+ * // }
1599
+ * }
1600
+ *
1601
+ * main().catch(e => {
1602
+ * console.error(e);
1603
+ * throw e;
1604
+ * });
1605
+ *
1606
+ * ```
1607
+ *
1608
+ * @param params - Parameters for request
1609
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1610
+ * @param callback - Optional callback that handles the response.
1611
+ * @returns A promise if used with async/await, or void if used with a callback.
1612
+ */
1613
+ list(params: Params$Resource$Projects$Locations$Bindings$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1614
+ list(params?: Params$Resource$Projects$Locations$Bindings$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListBindingsResponse>>;
1615
+ list(params: Params$Resource$Projects$Locations$Bindings$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1616
+ list(params: Params$Resource$Projects$Locations$Bindings$List, options: MethodOptions | BodyResponseCallback<Schema$ListBindingsResponse>, callback: BodyResponseCallback<Schema$ListBindingsResponse>): void;
1617
+ list(params: Params$Resource$Projects$Locations$Bindings$List, callback: BodyResponseCallback<Schema$ListBindingsResponse>): void;
1618
+ list(callback: BodyResponseCallback<Schema$ListBindingsResponse>): void;
1619
+ /**
1620
+ * Updates the parameters of a single Binding.
1621
+ * @example
1622
+ * ```js
1623
+ * // Before running the sample:
1624
+ * // - Enable the API at:
1625
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
1626
+ * // - Login into gcloud by running:
1627
+ * // ```sh
1628
+ * // $ gcloud auth application-default login
1629
+ * // ```
1630
+ * // - Install the npm module by running:
1631
+ * // ```sh
1632
+ * // $ npm install googleapis
1633
+ * // ```
1634
+ *
1635
+ * const {google} = require('googleapis');
1636
+ * const agentregistry = google.agentregistry('v1');
1637
+ *
1638
+ * async function main() {
1639
+ * const auth = new google.auth.GoogleAuth({
1640
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1641
+ * scopes: [
1642
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
1643
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
1644
+ * 'https://www.googleapis.com/auth/cloud-platform',
1645
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
1646
+ * ],
1647
+ * });
1648
+ *
1649
+ * // Acquire an auth client, and bind it to all future calls
1650
+ * const authClient = await auth.getClient();
1651
+ * google.options({auth: authClient});
1652
+ *
1653
+ * // Do the magic
1654
+ * const res = await agentregistry.projects.locations.bindings.patch({
1655
+ * // Required. Identifier. The resource name of the Binding. Format: `projects/{project\}/locations/{location\}/bindings/{binding\}`.
1656
+ * name: 'projects/my-project/locations/my-location/bindings/my-binding',
1657
+ * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1658
+ * requestId: 'placeholder-value',
1659
+ * // Optional. Field mask is used to specify the fields to be overwritten in the Binding resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten.
1660
+ * updateMask: 'placeholder-value',
1661
+ *
1662
+ * // Request body metadata
1663
+ * requestBody: {
1664
+ * // request body parameters
1665
+ * // {
1666
+ * // "authProviderBinding": {},
1667
+ * // "createTime": "my_createTime",
1668
+ * // "description": "my_description",
1669
+ * // "displayName": "my_displayName",
1670
+ * // "name": "my_name",
1671
+ * // "source": {},
1672
+ * // "target": {},
1673
+ * // "updateTime": "my_updateTime"
1674
+ * // }
1675
+ * },
1676
+ * });
1677
+ * console.log(res.data);
1678
+ *
1679
+ * // Example response
1680
+ * // {
1681
+ * // "done": false,
1682
+ * // "error": {},
1683
+ * // "metadata": {},
1684
+ * // "name": "my_name",
1685
+ * // "response": {}
1686
+ * // }
1687
+ * }
1688
+ *
1689
+ * main().catch(e => {
1690
+ * console.error(e);
1691
+ * throw e;
1692
+ * });
1693
+ *
1694
+ * ```
1695
+ *
1696
+ * @param params - Parameters for request
1697
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1698
+ * @param callback - Optional callback that handles the response.
1699
+ * @returns A promise if used with async/await, or void if used with a callback.
1700
+ */
1701
+ patch(params: Params$Resource$Projects$Locations$Bindings$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1702
+ patch(params?: Params$Resource$Projects$Locations$Bindings$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
1703
+ patch(params: Params$Resource$Projects$Locations$Bindings$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1704
+ patch(params: Params$Resource$Projects$Locations$Bindings$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
1705
+ patch(params: Params$Resource$Projects$Locations$Bindings$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
1706
+ patch(callback: BodyResponseCallback<Schema$Operation>): void;
1707
+ }
1708
+ export interface Params$Resource$Projects$Locations$Bindings$Create extends StandardParameters {
1709
+ /**
1710
+ * Required. The ID to use for the binding, which will become the final component of the binding's resource name. This value should be 4-63 characters, and must conform to RFC-1034. Specifically, it must match the regular expression `^[a-z]([a-z0-9-]{0,61\}[a-z0-9])?$`.
1711
+ */
1712
+ bindingId?: string;
1713
+ /**
1714
+ * Required. The project and location to create the Binding in. Expected format: `projects/{project\}/locations/{location\}`.
1715
+ */
1716
+ parent?: string;
1717
+ /**
1718
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1719
+ */
1720
+ requestId?: string;
1721
+ /**
1722
+ * Request body metadata
1723
+ */
1724
+ requestBody?: Schema$Binding;
1725
+ }
1726
+ export interface Params$Resource$Projects$Locations$Bindings$Delete extends StandardParameters {
1727
+ /**
1728
+ * Required. The name of the Binding. Format: `projects/{project\}/locations/{location\}/bindings/{binding\}`.
1729
+ */
1730
+ name?: string;
1731
+ /**
1732
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1733
+ */
1734
+ requestId?: string;
1735
+ }
1736
+ export interface Params$Resource$Projects$Locations$Bindings$Fetchavailable extends StandardParameters {
1737
+ /**
1738
+ * Optional. Requested page size. Server may return fewer items than requested. Page size is 500 if unspecified and is capped at `500` even if a larger value is given.
1739
+ */
1740
+ pageSize?: number;
1741
+ /**
1742
+ * Optional. A token identifying a page of results the server should return.
1743
+ */
1744
+ pageToken?: string;
1745
+ /**
1746
+ * Required. The parent, in the format `projects/{project\}/locations/{location\}`.
1747
+ */
1748
+ parent?: string;
1749
+ /**
1750
+ * The identifier of the source Agent. Format: * `urn:agent:{publisher\}:{namespace\}:{name\}`
1751
+ */
1752
+ sourceIdentifier?: string;
1753
+ /**
1754
+ * Optional. The identifier of the target Agent, MCP Server, or Endpoint. Format: * `urn:agent:{publisher\}:{namespace\}:{name\}` * `urn:mcp:{publisher\}:{namespace\}:{name\}` * `urn:endpoint:{publisher\}:{namespace\}:{name\}`
1755
+ */
1756
+ targetIdentifier?: string;
1757
+ }
1758
+ export interface Params$Resource$Projects$Locations$Bindings$Get extends StandardParameters {
1759
+ /**
1760
+ * Required. The name of the Binding. Format: `projects/{project\}/locations/{location\}/bindings/{binding\}`.
1761
+ */
1762
+ name?: string;
1763
+ }
1764
+ export interface Params$Resource$Projects$Locations$Bindings$List extends StandardParameters {
1765
+ /**
1766
+ * Optional. A query string used to filter the list of bindings returned. The filter expression must follow AIP-160 syntax.
1767
+ */
1768
+ filter?: string;
1769
+ /**
1770
+ * Optional. Hint for how to order the results
1771
+ */
1772
+ orderBy?: string;
1773
+ /**
1774
+ * Optional. Requested page size. Server may return fewer items than requested. Page size is 500 if unspecified and is capped at `500` even if a larger value is given.
1775
+ */
1776
+ pageSize?: number;
1777
+ /**
1778
+ * Optional. A token identifying a page of results the server should return.
1779
+ */
1780
+ pageToken?: string;
1781
+ /**
1782
+ * Required. The project and location to list bindings in. Expected format: `projects/{project\}/locations/{location\}`.
1783
+ */
1784
+ parent?: string;
1785
+ }
1786
+ export interface Params$Resource$Projects$Locations$Bindings$Patch extends StandardParameters {
1787
+ /**
1788
+ * Required. Identifier. The resource name of the Binding. Format: `projects/{project\}/locations/{location\}/bindings/{binding\}`.
1789
+ */
1790
+ name?: string;
1791
+ /**
1792
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1793
+ */
1794
+ requestId?: string;
1795
+ /**
1796
+ * Optional. Field mask is used to specify the fields to be overwritten in the Binding resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten.
1797
+ */
1798
+ updateMask?: string;
1799
+ /**
1800
+ * Request body metadata
1801
+ */
1802
+ requestBody?: Schema$Binding;
1803
+ }
1804
+ export class Resource$Projects$Locations$Endpoints {
1805
+ context: APIRequestContext;
1806
+ constructor(context: APIRequestContext);
1807
+ /**
1808
+ * Gets details of a single Endpoint.
1809
+ * @example
1810
+ * ```js
1811
+ * // Before running the sample:
1812
+ * // - Enable the API at:
1813
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
1814
+ * // - Login into gcloud by running:
1815
+ * // ```sh
1816
+ * // $ gcloud auth application-default login
1817
+ * // ```
1818
+ * // - Install the npm module by running:
1819
+ * // ```sh
1820
+ * // $ npm install googleapis
1821
+ * // ```
1822
+ *
1823
+ * const {google} = require('googleapis');
1824
+ * const agentregistry = google.agentregistry('v1');
1825
+ *
1826
+ * async function main() {
1827
+ * const auth = new google.auth.GoogleAuth({
1828
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1829
+ * scopes: [
1830
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
1831
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
1832
+ * 'https://www.googleapis.com/auth/cloud-platform',
1833
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
1834
+ * ],
1835
+ * });
1836
+ *
1837
+ * // Acquire an auth client, and bind it to all future calls
1838
+ * const authClient = await auth.getClient();
1839
+ * google.options({auth: authClient});
1840
+ *
1841
+ * // Do the magic
1842
+ * const res = await agentregistry.projects.locations.endpoints.get({
1843
+ * // Required. The name of the endpoint to retrieve. Format: `projects/{project\}/locations/{location\}/endpoints/{endpoint\}`
1844
+ * name: 'projects/my-project/locations/my-location/endpoints/my-endpoint',
1845
+ * });
1846
+ * console.log(res.data);
1847
+ *
1848
+ * // Example response
1849
+ * // {
1850
+ * // "attributes": {},
1851
+ * // "createTime": "my_createTime",
1852
+ * // "description": "my_description",
1853
+ * // "displayName": "my_displayName",
1854
+ * // "endpointId": "my_endpointId",
1855
+ * // "interfaces": [],
1856
+ * // "name": "my_name",
1857
+ * // "updateTime": "my_updateTime"
1858
+ * // }
1859
+ * }
1860
+ *
1861
+ * main().catch(e => {
1862
+ * console.error(e);
1863
+ * throw e;
1864
+ * });
1865
+ *
1866
+ * ```
1867
+ *
1868
+ * @param params - Parameters for request
1869
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1870
+ * @param callback - Optional callback that handles the response.
1871
+ * @returns A promise if used with async/await, or void if used with a callback.
1872
+ */
1873
+ get(params: Params$Resource$Projects$Locations$Endpoints$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1874
+ get(params?: Params$Resource$Projects$Locations$Endpoints$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Endpoint>>;
1875
+ get(params: Params$Resource$Projects$Locations$Endpoints$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1876
+ get(params: Params$Resource$Projects$Locations$Endpoints$Get, options: MethodOptions | BodyResponseCallback<Schema$Endpoint>, callback: BodyResponseCallback<Schema$Endpoint>): void;
1877
+ get(params: Params$Resource$Projects$Locations$Endpoints$Get, callback: BodyResponseCallback<Schema$Endpoint>): void;
1878
+ get(callback: BodyResponseCallback<Schema$Endpoint>): void;
1879
+ /**
1880
+ * Lists Endpoints in a given project and location.
1881
+ * @example
1882
+ * ```js
1883
+ * // Before running the sample:
1884
+ * // - Enable the API at:
1885
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
1886
+ * // - Login into gcloud by running:
1887
+ * // ```sh
1888
+ * // $ gcloud auth application-default login
1889
+ * // ```
1890
+ * // - Install the npm module by running:
1891
+ * // ```sh
1892
+ * // $ npm install googleapis
1893
+ * // ```
1894
+ *
1895
+ * const {google} = require('googleapis');
1896
+ * const agentregistry = google.agentregistry('v1');
1897
+ *
1898
+ * async function main() {
1899
+ * const auth = new google.auth.GoogleAuth({
1900
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
1901
+ * scopes: [
1902
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
1903
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
1904
+ * 'https://www.googleapis.com/auth/cloud-platform',
1905
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
1906
+ * ],
1907
+ * });
1908
+ *
1909
+ * // Acquire an auth client, and bind it to all future calls
1910
+ * const authClient = await auth.getClient();
1911
+ * google.options({auth: authClient});
1912
+ *
1913
+ * // Do the magic
1914
+ * const res = await agentregistry.projects.locations.endpoints.list({
1915
+ * // Optional. A query string used to filter the list of endpoints returned. The filter expression must follow AIP-160 syntax. Filtering is supported on the `name`, `display_name`, `description`, `version`, and `interfaces` fields. Some examples: * `name = "projects/p1/locations/l1/endpoints/e1"` * `display_name = "my-endpoint"` * `description = "my-endpoint-description"` * `version = "v1"` * `interfaces.transport = "HTTP_JSON"`
1916
+ * filter: 'placeholder-value',
1917
+ * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
1918
+ * pageSize: 'placeholder-value',
1919
+ * // Optional. A token identifying a page of results the server should return.
1920
+ * pageToken: 'placeholder-value',
1921
+ * // Required. The project and location to list endpoints in. Expected format: `projects/{project\}/locations/{location\}`.
1922
+ * parent: 'projects/my-project/locations/my-location',
1923
+ * });
1924
+ * console.log(res.data);
1925
+ *
1926
+ * // Example response
1927
+ * // {
1928
+ * // "endpoints": [],
1929
+ * // "nextPageToken": "my_nextPageToken"
1930
+ * // }
1931
+ * }
1932
+ *
1933
+ * main().catch(e => {
1934
+ * console.error(e);
1935
+ * throw e;
1936
+ * });
1937
+ *
1938
+ * ```
1939
+ *
1940
+ * @param params - Parameters for request
1941
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1942
+ * @param callback - Optional callback that handles the response.
1943
+ * @returns A promise if used with async/await, or void if used with a callback.
1944
+ */
1945
+ list(params: Params$Resource$Projects$Locations$Endpoints$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1946
+ list(params?: Params$Resource$Projects$Locations$Endpoints$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListEndpointsResponse>>;
1947
+ list(params: Params$Resource$Projects$Locations$Endpoints$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1948
+ list(params: Params$Resource$Projects$Locations$Endpoints$List, options: MethodOptions | BodyResponseCallback<Schema$ListEndpointsResponse>, callback: BodyResponseCallback<Schema$ListEndpointsResponse>): void;
1949
+ list(params: Params$Resource$Projects$Locations$Endpoints$List, callback: BodyResponseCallback<Schema$ListEndpointsResponse>): void;
1950
+ list(callback: BodyResponseCallback<Schema$ListEndpointsResponse>): void;
1951
+ }
1952
+ export interface Params$Resource$Projects$Locations$Endpoints$Get extends StandardParameters {
1953
+ /**
1954
+ * Required. The name of the endpoint to retrieve. Format: `projects/{project\}/locations/{location\}/endpoints/{endpoint\}`
1955
+ */
1956
+ name?: string;
1957
+ }
1958
+ export interface Params$Resource$Projects$Locations$Endpoints$List extends StandardParameters {
1959
+ /**
1960
+ * Optional. A query string used to filter the list of endpoints returned. The filter expression must follow AIP-160 syntax. Filtering is supported on the `name`, `display_name`, `description`, `version`, and `interfaces` fields. Some examples: * `name = "projects/p1/locations/l1/endpoints/e1"` * `display_name = "my-endpoint"` * `description = "my-endpoint-description"` * `version = "v1"` * `interfaces.transport = "HTTP_JSON"`
1961
+ */
1962
+ filter?: string;
1963
+ /**
1964
+ * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
1965
+ */
1966
+ pageSize?: number;
1967
+ /**
1968
+ * Optional. A token identifying a page of results the server should return.
1969
+ */
1970
+ pageToken?: string;
1971
+ /**
1972
+ * Required. The project and location to list endpoints in. Expected format: `projects/{project\}/locations/{location\}`.
1973
+ */
1974
+ parent?: string;
1975
+ }
1976
+ export class Resource$Projects$Locations$Mcpservers {
1977
+ context: APIRequestContext;
1978
+ constructor(context: APIRequestContext);
1979
+ /**
1980
+ * Gets details of a single McpServer.
1981
+ * @example
1982
+ * ```js
1983
+ * // Before running the sample:
1984
+ * // - Enable the API at:
1985
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
1986
+ * // - Login into gcloud by running:
1987
+ * // ```sh
1988
+ * // $ gcloud auth application-default login
1989
+ * // ```
1990
+ * // - Install the npm module by running:
1991
+ * // ```sh
1992
+ * // $ npm install googleapis
1993
+ * // ```
1994
+ *
1995
+ * const {google} = require('googleapis');
1996
+ * const agentregistry = google.agentregistry('v1');
1997
+ *
1998
+ * async function main() {
1999
+ * const auth = new google.auth.GoogleAuth({
2000
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2001
+ * scopes: [
2002
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
2003
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
2004
+ * 'https://www.googleapis.com/auth/cloud-platform',
2005
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
2006
+ * ],
2007
+ * });
2008
+ *
2009
+ * // Acquire an auth client, and bind it to all future calls
2010
+ * const authClient = await auth.getClient();
2011
+ * google.options({auth: authClient});
2012
+ *
2013
+ * // Do the magic
2014
+ * const res = await agentregistry.projects.locations.mcpServers.get({
2015
+ * // Required. Name of the resource
2016
+ * name: 'projects/my-project/locations/my-location/mcpServers/my-mcpServer',
2017
+ * });
2018
+ * console.log(res.data);
2019
+ *
2020
+ * // Example response
2021
+ * // {
2022
+ * // "attributes": {},
2023
+ * // "createTime": "my_createTime",
2024
+ * // "description": "my_description",
2025
+ * // "displayName": "my_displayName",
2026
+ * // "interfaces": [],
2027
+ * // "mcpServerId": "my_mcpServerId",
2028
+ * // "name": "my_name",
2029
+ * // "tools": [],
2030
+ * // "updateTime": "my_updateTime"
2031
+ * // }
2032
+ * }
2033
+ *
2034
+ * main().catch(e => {
2035
+ * console.error(e);
2036
+ * throw e;
2037
+ * });
2038
+ *
2039
+ * ```
2040
+ *
2041
+ * @param params - Parameters for request
2042
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2043
+ * @param callback - Optional callback that handles the response.
2044
+ * @returns A promise if used with async/await, or void if used with a callback.
2045
+ */
2046
+ get(params: Params$Resource$Projects$Locations$Mcpservers$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2047
+ get(params?: Params$Resource$Projects$Locations$Mcpservers$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$McpServer>>;
2048
+ get(params: Params$Resource$Projects$Locations$Mcpservers$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2049
+ get(params: Params$Resource$Projects$Locations$Mcpservers$Get, options: MethodOptions | BodyResponseCallback<Schema$McpServer>, callback: BodyResponseCallback<Schema$McpServer>): void;
2050
+ get(params: Params$Resource$Projects$Locations$Mcpservers$Get, callback: BodyResponseCallback<Schema$McpServer>): void;
2051
+ get(callback: BodyResponseCallback<Schema$McpServer>): void;
2052
+ /**
2053
+ * Lists McpServers in a given project and location.
2054
+ * @example
2055
+ * ```js
2056
+ * // Before running the sample:
2057
+ * // - Enable the API at:
2058
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
2059
+ * // - Login into gcloud by running:
2060
+ * // ```sh
2061
+ * // $ gcloud auth application-default login
2062
+ * // ```
2063
+ * // - Install the npm module by running:
2064
+ * // ```sh
2065
+ * // $ npm install googleapis
2066
+ * // ```
2067
+ *
2068
+ * const {google} = require('googleapis');
2069
+ * const agentregistry = google.agentregistry('v1');
2070
+ *
2071
+ * async function main() {
2072
+ * const auth = new google.auth.GoogleAuth({
2073
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2074
+ * scopes: [
2075
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
2076
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
2077
+ * 'https://www.googleapis.com/auth/cloud-platform',
2078
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
2079
+ * ],
2080
+ * });
2081
+ *
2082
+ * // Acquire an auth client, and bind it to all future calls
2083
+ * const authClient = await auth.getClient();
2084
+ * google.options({auth: authClient});
2085
+ *
2086
+ * // Do the magic
2087
+ * const res = await agentregistry.projects.locations.mcpServers.list({
2088
+ * // Optional. Filtering results
2089
+ * filter: 'placeholder-value',
2090
+ * // Optional. Hint for how to order the results
2091
+ * orderBy: 'placeholder-value',
2092
+ * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
2093
+ * pageSize: 'placeholder-value',
2094
+ * // Optional. A token identifying a page of results the server should return.
2095
+ * pageToken: 'placeholder-value',
2096
+ * // Required. Parent value for ListMcpServersRequest. Format: `projects/{project\}/locations/{location\}`.
2097
+ * parent: 'projects/my-project/locations/my-location',
2098
+ * });
2099
+ * console.log(res.data);
2100
+ *
2101
+ * // Example response
2102
+ * // {
2103
+ * // "mcpServers": [],
2104
+ * // "nextPageToken": "my_nextPageToken"
2105
+ * // }
2106
+ * }
2107
+ *
2108
+ * main().catch(e => {
2109
+ * console.error(e);
2110
+ * throw e;
2111
+ * });
2112
+ *
2113
+ * ```
2114
+ *
2115
+ * @param params - Parameters for request
2116
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2117
+ * @param callback - Optional callback that handles the response.
2118
+ * @returns A promise if used with async/await, or void if used with a callback.
2119
+ */
2120
+ list(params: Params$Resource$Projects$Locations$Mcpservers$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2121
+ list(params?: Params$Resource$Projects$Locations$Mcpservers$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListMcpServersResponse>>;
2122
+ list(params: Params$Resource$Projects$Locations$Mcpservers$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2123
+ list(params: Params$Resource$Projects$Locations$Mcpservers$List, options: MethodOptions | BodyResponseCallback<Schema$ListMcpServersResponse>, callback: BodyResponseCallback<Schema$ListMcpServersResponse>): void;
2124
+ list(params: Params$Resource$Projects$Locations$Mcpservers$List, callback: BodyResponseCallback<Schema$ListMcpServersResponse>): void;
2125
+ list(callback: BodyResponseCallback<Schema$ListMcpServersResponse>): void;
2126
+ /**
2127
+ * Searches McpServers in a given project and location.
2128
+ * @example
2129
+ * ```js
2130
+ * // Before running the sample:
2131
+ * // - Enable the API at:
2132
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
2133
+ * // - Login into gcloud by running:
2134
+ * // ```sh
2135
+ * // $ gcloud auth application-default login
2136
+ * // ```
2137
+ * // - Install the npm module by running:
2138
+ * // ```sh
2139
+ * // $ npm install googleapis
2140
+ * // ```
2141
+ *
2142
+ * const {google} = require('googleapis');
2143
+ * const agentregistry = google.agentregistry('v1');
2144
+ *
2145
+ * async function main() {
2146
+ * const auth = new google.auth.GoogleAuth({
2147
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2148
+ * scopes: [
2149
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
2150
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
2151
+ * 'https://www.googleapis.com/auth/cloud-platform',
2152
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
2153
+ * ],
2154
+ * });
2155
+ *
2156
+ * // Acquire an auth client, and bind it to all future calls
2157
+ * const authClient = await auth.getClient();
2158
+ * google.options({auth: authClient});
2159
+ *
2160
+ * // Do the magic
2161
+ * const res = await agentregistry.projects.locations.mcpServers.search({
2162
+ * // Required. Parent value for SearchMcpServersRequest. Format: `projects/{project\}/locations/{location\}`.
2163
+ * parent: 'projects/my-project/locations/my-location',
2164
+ *
2165
+ * // Request body metadata
2166
+ * requestBody: {
2167
+ * // request body parameters
2168
+ * // {
2169
+ * // "pageSize": 0,
2170
+ * // "pageToken": "my_pageToken",
2171
+ * // "searchString": "my_searchString"
2172
+ * // }
2173
+ * },
2174
+ * });
2175
+ * console.log(res.data);
2176
+ *
2177
+ * // Example response
2178
+ * // {
2179
+ * // "mcpServers": [],
2180
+ * // "nextPageToken": "my_nextPageToken"
2181
+ * // }
2182
+ * }
2183
+ *
2184
+ * main().catch(e => {
2185
+ * console.error(e);
2186
+ * throw e;
2187
+ * });
2188
+ *
2189
+ * ```
2190
+ *
2191
+ * @param params - Parameters for request
2192
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2193
+ * @param callback - Optional callback that handles the response.
2194
+ * @returns A promise if used with async/await, or void if used with a callback.
2195
+ */
2196
+ search(params: Params$Resource$Projects$Locations$Mcpservers$Search, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2197
+ search(params?: Params$Resource$Projects$Locations$Mcpservers$Search, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$SearchMcpServersResponse>>;
2198
+ search(params: Params$Resource$Projects$Locations$Mcpservers$Search, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2199
+ search(params: Params$Resource$Projects$Locations$Mcpservers$Search, options: MethodOptions | BodyResponseCallback<Schema$SearchMcpServersResponse>, callback: BodyResponseCallback<Schema$SearchMcpServersResponse>): void;
2200
+ search(params: Params$Resource$Projects$Locations$Mcpservers$Search, callback: BodyResponseCallback<Schema$SearchMcpServersResponse>): void;
2201
+ search(callback: BodyResponseCallback<Schema$SearchMcpServersResponse>): void;
2202
+ }
2203
+ export interface Params$Resource$Projects$Locations$Mcpservers$Get extends StandardParameters {
2204
+ /**
2205
+ * Required. Name of the resource
2206
+ */
2207
+ name?: string;
2208
+ }
2209
+ export interface Params$Resource$Projects$Locations$Mcpservers$List extends StandardParameters {
2210
+ /**
2211
+ * Optional. Filtering results
2212
+ */
2213
+ filter?: string;
2214
+ /**
2215
+ * Optional. Hint for how to order the results
2216
+ */
2217
+ orderBy?: string;
2218
+ /**
2219
+ * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
2220
+ */
2221
+ pageSize?: number;
2222
+ /**
2223
+ * Optional. A token identifying a page of results the server should return.
2224
+ */
2225
+ pageToken?: string;
2226
+ /**
2227
+ * Required. Parent value for ListMcpServersRequest. Format: `projects/{project\}/locations/{location\}`.
2228
+ */
2229
+ parent?: string;
2230
+ }
2231
+ export interface Params$Resource$Projects$Locations$Mcpservers$Search extends StandardParameters {
2232
+ /**
2233
+ * Required. Parent value for SearchMcpServersRequest. Format: `projects/{project\}/locations/{location\}`.
2234
+ */
2235
+ parent?: string;
2236
+ /**
2237
+ * Request body metadata
2238
+ */
2239
+ requestBody?: Schema$SearchMcpServersRequest;
2240
+ }
2241
+ export class Resource$Projects$Locations$Operations {
2242
+ context: APIRequestContext;
2243
+ constructor(context: APIRequestContext);
2244
+ /**
2245
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
2246
+ * @example
2247
+ * ```js
2248
+ * // Before running the sample:
2249
+ * // - Enable the API at:
2250
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
2251
+ * // - Login into gcloud by running:
2252
+ * // ```sh
2253
+ * // $ gcloud auth application-default login
2254
+ * // ```
2255
+ * // - Install the npm module by running:
2256
+ * // ```sh
2257
+ * // $ npm install googleapis
2258
+ * // ```
2259
+ *
2260
+ * const {google} = require('googleapis');
2261
+ * const agentregistry = google.agentregistry('v1');
2262
+ *
2263
+ * async function main() {
2264
+ * const auth = new google.auth.GoogleAuth({
2265
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2266
+ * scopes: [
2267
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
2268
+ * 'https://www.googleapis.com/auth/cloud-platform',
2269
+ * ],
2270
+ * });
2271
+ *
2272
+ * // Acquire an auth client, and bind it to all future calls
2273
+ * const authClient = await auth.getClient();
2274
+ * google.options({auth: authClient});
2275
+ *
2276
+ * // Do the magic
2277
+ * const res = await agentregistry.projects.locations.operations.cancel({
2278
+ * // The name of the operation resource to be cancelled.
2279
+ * name: 'projects/my-project/locations/my-location/operations/my-operation',
2280
+ *
2281
+ * // Request body metadata
2282
+ * requestBody: {
2283
+ * // request body parameters
2284
+ * // {}
2285
+ * },
2286
+ * });
2287
+ * console.log(res.data);
2288
+ *
2289
+ * // Example response
2290
+ * // {}
2291
+ * }
2292
+ *
2293
+ * main().catch(e => {
2294
+ * console.error(e);
2295
+ * throw e;
2296
+ * });
2297
+ *
2298
+ * ```
2299
+ *
2300
+ * @param params - Parameters for request
2301
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2302
+ * @param callback - Optional callback that handles the response.
2303
+ * @returns A promise if used with async/await, or void if used with a callback.
2304
+ */
2305
+ cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2306
+ cancel(params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
2307
+ cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2308
+ cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
2309
+ cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
2310
+ cancel(callback: BodyResponseCallback<Schema$Empty>): void;
2311
+ /**
2312
+ * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
2313
+ * @example
2314
+ * ```js
2315
+ * // Before running the sample:
2316
+ * // - Enable the API at:
2317
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
2318
+ * // - Login into gcloud by running:
2319
+ * // ```sh
2320
+ * // $ gcloud auth application-default login
2321
+ * // ```
2322
+ * // - Install the npm module by running:
2323
+ * // ```sh
2324
+ * // $ npm install googleapis
2325
+ * // ```
2326
+ *
2327
+ * const {google} = require('googleapis');
2328
+ * const agentregistry = google.agentregistry('v1');
2329
+ *
2330
+ * async function main() {
2331
+ * const auth = new google.auth.GoogleAuth({
2332
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2333
+ * scopes: [
2334
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
2335
+ * 'https://www.googleapis.com/auth/cloud-platform',
2336
+ * ],
2337
+ * });
2338
+ *
2339
+ * // Acquire an auth client, and bind it to all future calls
2340
+ * const authClient = await auth.getClient();
2341
+ * google.options({auth: authClient});
2342
+ *
2343
+ * // Do the magic
2344
+ * const res = await agentregistry.projects.locations.operations.delete({
2345
+ * // The name of the operation resource to be deleted.
2346
+ * name: 'projects/my-project/locations/my-location/operations/my-operation',
2347
+ * });
2348
+ * console.log(res.data);
2349
+ *
2350
+ * // Example response
2351
+ * // {}
2352
+ * }
2353
+ *
2354
+ * main().catch(e => {
2355
+ * console.error(e);
2356
+ * throw e;
2357
+ * });
2358
+ *
2359
+ * ```
2360
+ *
2361
+ * @param params - Parameters for request
2362
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2363
+ * @param callback - Optional callback that handles the response.
2364
+ * @returns A promise if used with async/await, or void if used with a callback.
2365
+ */
2366
+ delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2367
+ delete(params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
2368
+ delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2369
+ delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
2370
+ delete(params: Params$Resource$Projects$Locations$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
2371
+ delete(callback: BodyResponseCallback<Schema$Empty>): void;
2372
+ /**
2373
+ * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
2374
+ * @example
2375
+ * ```js
2376
+ * // Before running the sample:
2377
+ * // - Enable the API at:
2378
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
2379
+ * // - Login into gcloud by running:
2380
+ * // ```sh
2381
+ * // $ gcloud auth application-default login
2382
+ * // ```
2383
+ * // - Install the npm module by running:
2384
+ * // ```sh
2385
+ * // $ npm install googleapis
2386
+ * // ```
2387
+ *
2388
+ * const {google} = require('googleapis');
2389
+ * const agentregistry = google.agentregistry('v1');
2390
+ *
2391
+ * async function main() {
2392
+ * const auth = new google.auth.GoogleAuth({
2393
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2394
+ * scopes: [
2395
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
2396
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
2397
+ * 'https://www.googleapis.com/auth/cloud-platform',
2398
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
2399
+ * ],
2400
+ * });
2401
+ *
2402
+ * // Acquire an auth client, and bind it to all future calls
2403
+ * const authClient = await auth.getClient();
2404
+ * google.options({auth: authClient});
2405
+ *
2406
+ * // Do the magic
2407
+ * const res = await agentregistry.projects.locations.operations.get({
2408
+ * // The name of the operation resource.
2409
+ * name: 'projects/my-project/locations/my-location/operations/my-operation',
2410
+ * });
2411
+ * console.log(res.data);
2412
+ *
2413
+ * // Example response
2414
+ * // {
2415
+ * // "done": false,
2416
+ * // "error": {},
2417
+ * // "metadata": {},
2418
+ * // "name": "my_name",
2419
+ * // "response": {}
2420
+ * // }
2421
+ * }
2422
+ *
2423
+ * main().catch(e => {
2424
+ * console.error(e);
2425
+ * throw e;
2426
+ * });
2427
+ *
2428
+ * ```
2429
+ *
2430
+ * @param params - Parameters for request
2431
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2432
+ * @param callback - Optional callback that handles the response.
2433
+ * @returns A promise if used with async/await, or void if used with a callback.
2434
+ */
2435
+ get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2436
+ get(params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2437
+ get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2438
+ get(params: Params$Resource$Projects$Locations$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2439
+ get(params: Params$Resource$Projects$Locations$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
2440
+ get(callback: BodyResponseCallback<Schema$Operation>): void;
2441
+ /**
2442
+ * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
2443
+ * @example
2444
+ * ```js
2445
+ * // Before running the sample:
2446
+ * // - Enable the API at:
2447
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
2448
+ * // - Login into gcloud by running:
2449
+ * // ```sh
2450
+ * // $ gcloud auth application-default login
2451
+ * // ```
2452
+ * // - Install the npm module by running:
2453
+ * // ```sh
2454
+ * // $ npm install googleapis
2455
+ * // ```
2456
+ *
2457
+ * const {google} = require('googleapis');
2458
+ * const agentregistry = google.agentregistry('v1');
2459
+ *
2460
+ * async function main() {
2461
+ * const auth = new google.auth.GoogleAuth({
2462
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2463
+ * scopes: [
2464
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
2465
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
2466
+ * 'https://www.googleapis.com/auth/cloud-platform',
2467
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
2468
+ * ],
2469
+ * });
2470
+ *
2471
+ * // Acquire an auth client, and bind it to all future calls
2472
+ * const authClient = await auth.getClient();
2473
+ * google.options({auth: authClient});
2474
+ *
2475
+ * // Do the magic
2476
+ * const res = await agentregistry.projects.locations.operations.list({
2477
+ * // The standard list filter.
2478
+ * filter: 'placeholder-value',
2479
+ * // The name of the operation's parent resource.
2480
+ * name: 'projects/my-project/locations/my-location',
2481
+ * // The standard list page size.
2482
+ * pageSize: 'placeholder-value',
2483
+ * // The standard list page token.
2484
+ * pageToken: 'placeholder-value',
2485
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
2486
+ * returnPartialSuccess: 'placeholder-value',
2487
+ * });
2488
+ * console.log(res.data);
2489
+ *
2490
+ * // Example response
2491
+ * // {
2492
+ * // "nextPageToken": "my_nextPageToken",
2493
+ * // "operations": [],
2494
+ * // "unreachable": []
2495
+ * // }
2496
+ * }
2497
+ *
2498
+ * main().catch(e => {
2499
+ * console.error(e);
2500
+ * throw e;
2501
+ * });
2502
+ *
2503
+ * ```
2504
+ *
2505
+ * @param params - Parameters for request
2506
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2507
+ * @param callback - Optional callback that handles the response.
2508
+ * @returns A promise if used with async/await, or void if used with a callback.
2509
+ */
2510
+ list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2511
+ list(params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
2512
+ list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2513
+ list(params: Params$Resource$Projects$Locations$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
2514
+ list(params: Params$Resource$Projects$Locations$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
2515
+ list(callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
2516
+ }
2517
+ export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters {
2518
+ /**
2519
+ * The name of the operation resource to be cancelled.
2520
+ */
2521
+ name?: string;
2522
+ /**
2523
+ * Request body metadata
2524
+ */
2525
+ requestBody?: Schema$CancelOperationRequest;
2526
+ }
2527
+ export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters {
2528
+ /**
2529
+ * The name of the operation resource to be deleted.
2530
+ */
2531
+ name?: string;
2532
+ }
2533
+ export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
2534
+ /**
2535
+ * The name of the operation resource.
2536
+ */
2537
+ name?: string;
2538
+ }
2539
+ export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters {
2540
+ /**
2541
+ * The standard list filter.
2542
+ */
2543
+ filter?: string;
2544
+ /**
2545
+ * The name of the operation's parent resource.
2546
+ */
2547
+ name?: string;
2548
+ /**
2549
+ * The standard list page size.
2550
+ */
2551
+ pageSize?: number;
2552
+ /**
2553
+ * The standard list page token.
2554
+ */
2555
+ pageToken?: string;
2556
+ /**
2557
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
2558
+ */
2559
+ returnPartialSuccess?: boolean;
2560
+ }
2561
+ export class Resource$Projects$Locations$Services {
2562
+ context: APIRequestContext;
2563
+ constructor(context: APIRequestContext);
2564
+ /**
2565
+ * Creates a new Service in a given project and location.
2566
+ * @example
2567
+ * ```js
2568
+ * // Before running the sample:
2569
+ * // - Enable the API at:
2570
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
2571
+ * // - Login into gcloud by running:
2572
+ * // ```sh
2573
+ * // $ gcloud auth application-default login
2574
+ * // ```
2575
+ * // - Install the npm module by running:
2576
+ * // ```sh
2577
+ * // $ npm install googleapis
2578
+ * // ```
2579
+ *
2580
+ * const {google} = require('googleapis');
2581
+ * const agentregistry = google.agentregistry('v1');
2582
+ *
2583
+ * async function main() {
2584
+ * const auth = new google.auth.GoogleAuth({
2585
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2586
+ * scopes: [
2587
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
2588
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
2589
+ * 'https://www.googleapis.com/auth/cloud-platform',
2590
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
2591
+ * ],
2592
+ * });
2593
+ *
2594
+ * // Acquire an auth client, and bind it to all future calls
2595
+ * const authClient = await auth.getClient();
2596
+ * google.options({auth: authClient});
2597
+ *
2598
+ * // Do the magic
2599
+ * const res = await agentregistry.projects.locations.services.create({
2600
+ * // Required. The project and location to create the Service in. Expected format: `projects/{project\}/locations/{location\}`.
2601
+ * parent: 'projects/my-project/locations/my-location',
2602
+ * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2603
+ * requestId: 'placeholder-value',
2604
+ * // Required. The ID to use for the service, which will become the final component of the service's resource name. This value should be 4-63 characters, and valid characters are `/a-z-/`.
2605
+ * serviceId: 'placeholder-value',
2606
+ *
2607
+ * // Request body metadata
2608
+ * requestBody: {
2609
+ * // request body parameters
2610
+ * // {
2611
+ * // "agentSpec": {},
2612
+ * // "createTime": "my_createTime",
2613
+ * // "description": "my_description",
2614
+ * // "displayName": "my_displayName",
2615
+ * // "endpointSpec": {},
2616
+ * // "interfaces": [],
2617
+ * // "mcpServerSpec": {},
2618
+ * // "name": "my_name",
2619
+ * // "registryResource": "my_registryResource",
2620
+ * // "updateTime": "my_updateTime"
2621
+ * // }
2622
+ * },
2623
+ * });
2624
+ * console.log(res.data);
2625
+ *
2626
+ * // Example response
2627
+ * // {
2628
+ * // "done": false,
2629
+ * // "error": {},
2630
+ * // "metadata": {},
2631
+ * // "name": "my_name",
2632
+ * // "response": {}
2633
+ * // }
2634
+ * }
2635
+ *
2636
+ * main().catch(e => {
2637
+ * console.error(e);
2638
+ * throw e;
2639
+ * });
2640
+ *
2641
+ * ```
2642
+ *
2643
+ * @param params - Parameters for request
2644
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2645
+ * @param callback - Optional callback that handles the response.
2646
+ * @returns A promise if used with async/await, or void if used with a callback.
2647
+ */
2648
+ create(params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2649
+ create(params?: Params$Resource$Projects$Locations$Services$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2650
+ create(params: Params$Resource$Projects$Locations$Services$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2651
+ create(params: Params$Resource$Projects$Locations$Services$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2652
+ create(params: Params$Resource$Projects$Locations$Services$Create, callback: BodyResponseCallback<Schema$Operation>): void;
2653
+ create(callback: BodyResponseCallback<Schema$Operation>): void;
2654
+ /**
2655
+ * Deletes a single Service.
2656
+ * @example
2657
+ * ```js
2658
+ * // Before running the sample:
2659
+ * // - Enable the API at:
2660
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
2661
+ * // - Login into gcloud by running:
2662
+ * // ```sh
2663
+ * // $ gcloud auth application-default login
2664
+ * // ```
2665
+ * // - Install the npm module by running:
2666
+ * // ```sh
2667
+ * // $ npm install googleapis
2668
+ * // ```
2669
+ *
2670
+ * const {google} = require('googleapis');
2671
+ * const agentregistry = google.agentregistry('v1');
2672
+ *
2673
+ * async function main() {
2674
+ * const auth = new google.auth.GoogleAuth({
2675
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2676
+ * scopes: [
2677
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
2678
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
2679
+ * 'https://www.googleapis.com/auth/cloud-platform',
2680
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
2681
+ * ],
2682
+ * });
2683
+ *
2684
+ * // Acquire an auth client, and bind it to all future calls
2685
+ * const authClient = await auth.getClient();
2686
+ * google.options({auth: authClient});
2687
+ *
2688
+ * // Do the magic
2689
+ * const res = await agentregistry.projects.locations.services.delete({
2690
+ * // Required. The name of the Service. Format: `projects/{project\}/locations/{location\}/services/{service\}`.
2691
+ * name: 'projects/my-project/locations/my-location/services/my-service',
2692
+ * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2693
+ * requestId: 'placeholder-value',
2694
+ * });
2695
+ * console.log(res.data);
2696
+ *
2697
+ * // Example response
2698
+ * // {
2699
+ * // "done": false,
2700
+ * // "error": {},
2701
+ * // "metadata": {},
2702
+ * // "name": "my_name",
2703
+ * // "response": {}
2704
+ * // }
2705
+ * }
2706
+ *
2707
+ * main().catch(e => {
2708
+ * console.error(e);
2709
+ * throw e;
2710
+ * });
2711
+ *
2712
+ * ```
2713
+ *
2714
+ * @param params - Parameters for request
2715
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2716
+ * @param callback - Optional callback that handles the response.
2717
+ * @returns A promise if used with async/await, or void if used with a callback.
2718
+ */
2719
+ delete(params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2720
+ delete(params?: Params$Resource$Projects$Locations$Services$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2721
+ delete(params: Params$Resource$Projects$Locations$Services$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2722
+ delete(params: Params$Resource$Projects$Locations$Services$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2723
+ delete(params: Params$Resource$Projects$Locations$Services$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
2724
+ delete(callback: BodyResponseCallback<Schema$Operation>): void;
2725
+ /**
2726
+ * Gets details of a single Service.
2727
+ * @example
2728
+ * ```js
2729
+ * // Before running the sample:
2730
+ * // - Enable the API at:
2731
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
2732
+ * // - Login into gcloud by running:
2733
+ * // ```sh
2734
+ * // $ gcloud auth application-default login
2735
+ * // ```
2736
+ * // - Install the npm module by running:
2737
+ * // ```sh
2738
+ * // $ npm install googleapis
2739
+ * // ```
2740
+ *
2741
+ * const {google} = require('googleapis');
2742
+ * const agentregistry = google.agentregistry('v1');
2743
+ *
2744
+ * async function main() {
2745
+ * const auth = new google.auth.GoogleAuth({
2746
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2747
+ * scopes: [
2748
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
2749
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
2750
+ * 'https://www.googleapis.com/auth/cloud-platform',
2751
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
2752
+ * ],
2753
+ * });
2754
+ *
2755
+ * // Acquire an auth client, and bind it to all future calls
2756
+ * const authClient = await auth.getClient();
2757
+ * google.options({auth: authClient});
2758
+ *
2759
+ * // Do the magic
2760
+ * const res = await agentregistry.projects.locations.services.get({
2761
+ * // Required. The name of the Service. Format: `projects/{project\}/locations/{location\}/services/{service\}`.
2762
+ * name: 'projects/my-project/locations/my-location/services/my-service',
2763
+ * });
2764
+ * console.log(res.data);
2765
+ *
2766
+ * // Example response
2767
+ * // {
2768
+ * // "agentSpec": {},
2769
+ * // "createTime": "my_createTime",
2770
+ * // "description": "my_description",
2771
+ * // "displayName": "my_displayName",
2772
+ * // "endpointSpec": {},
2773
+ * // "interfaces": [],
2774
+ * // "mcpServerSpec": {},
2775
+ * // "name": "my_name",
2776
+ * // "registryResource": "my_registryResource",
2777
+ * // "updateTime": "my_updateTime"
2778
+ * // }
2779
+ * }
2780
+ *
2781
+ * main().catch(e => {
2782
+ * console.error(e);
2783
+ * throw e;
2784
+ * });
2785
+ *
2786
+ * ```
2787
+ *
2788
+ * @param params - Parameters for request
2789
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2790
+ * @param callback - Optional callback that handles the response.
2791
+ * @returns A promise if used with async/await, or void if used with a callback.
2792
+ */
2793
+ get(params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2794
+ get(params?: Params$Resource$Projects$Locations$Services$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Service>>;
2795
+ get(params: Params$Resource$Projects$Locations$Services$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2796
+ get(params: Params$Resource$Projects$Locations$Services$Get, options: MethodOptions | BodyResponseCallback<Schema$Service>, callback: BodyResponseCallback<Schema$Service>): void;
2797
+ get(params: Params$Resource$Projects$Locations$Services$Get, callback: BodyResponseCallback<Schema$Service>): void;
2798
+ get(callback: BodyResponseCallback<Schema$Service>): void;
2799
+ /**
2800
+ * Lists Services in a given project and location.
2801
+ * @example
2802
+ * ```js
2803
+ * // Before running the sample:
2804
+ * // - Enable the API at:
2805
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
2806
+ * // - Login into gcloud by running:
2807
+ * // ```sh
2808
+ * // $ gcloud auth application-default login
2809
+ * // ```
2810
+ * // - Install the npm module by running:
2811
+ * // ```sh
2812
+ * // $ npm install googleapis
2813
+ * // ```
2814
+ *
2815
+ * const {google} = require('googleapis');
2816
+ * const agentregistry = google.agentregistry('v1');
2817
+ *
2818
+ * async function main() {
2819
+ * const auth = new google.auth.GoogleAuth({
2820
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2821
+ * scopes: [
2822
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
2823
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
2824
+ * 'https://www.googleapis.com/auth/cloud-platform',
2825
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
2826
+ * ],
2827
+ * });
2828
+ *
2829
+ * // Acquire an auth client, and bind it to all future calls
2830
+ * const authClient = await auth.getClient();
2831
+ * google.options({auth: authClient});
2832
+ *
2833
+ * // Do the magic
2834
+ * const res = await agentregistry.projects.locations.services.list({
2835
+ * // Optional. A query string used to filter the list of services returned. The filter expression must follow AIP-160 syntax. Filtering is supported on the `name`, `display_name`, `description`, and `labels` fields. Some examples: * `name = "projects/p1/locations/l1/services/s1"` * `display_name = "my-service"` * `description : "myservice description"` * `labels.env = "prod"`
2836
+ * filter: 'placeholder-value',
2837
+ * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
2838
+ * pageSize: 'placeholder-value',
2839
+ * // Optional. A token identifying a page of results the server should return.
2840
+ * pageToken: 'placeholder-value',
2841
+ * // Required. The project and location to list services in. Expected format: `projects/{project\}/locations/{location\}`.
2842
+ * parent: 'projects/my-project/locations/my-location',
2843
+ * });
2844
+ * console.log(res.data);
2845
+ *
2846
+ * // Example response
2847
+ * // {
2848
+ * // "nextPageToken": "my_nextPageToken",
2849
+ * // "services": []
2850
+ * // }
2851
+ * }
2852
+ *
2853
+ * main().catch(e => {
2854
+ * console.error(e);
2855
+ * throw e;
2856
+ * });
2857
+ *
2858
+ * ```
2859
+ *
2860
+ * @param params - Parameters for request
2861
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2862
+ * @param callback - Optional callback that handles the response.
2863
+ * @returns A promise if used with async/await, or void if used with a callback.
2864
+ */
2865
+ list(params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2866
+ list(params?: Params$Resource$Projects$Locations$Services$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListServicesResponse>>;
2867
+ list(params: Params$Resource$Projects$Locations$Services$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2868
+ list(params: Params$Resource$Projects$Locations$Services$List, options: MethodOptions | BodyResponseCallback<Schema$ListServicesResponse>, callback: BodyResponseCallback<Schema$ListServicesResponse>): void;
2869
+ list(params: Params$Resource$Projects$Locations$Services$List, callback: BodyResponseCallback<Schema$ListServicesResponse>): void;
2870
+ list(callback: BodyResponseCallback<Schema$ListServicesResponse>): void;
2871
+ /**
2872
+ * Updates the parameters of a single Service.
2873
+ * @example
2874
+ * ```js
2875
+ * // Before running the sample:
2876
+ * // - Enable the API at:
2877
+ * // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
2878
+ * // - Login into gcloud by running:
2879
+ * // ```sh
2880
+ * // $ gcloud auth application-default login
2881
+ * // ```
2882
+ * // - Install the npm module by running:
2883
+ * // ```sh
2884
+ * // $ npm install googleapis
2885
+ * // ```
2886
+ *
2887
+ * const {google} = require('googleapis');
2888
+ * const agentregistry = google.agentregistry('v1');
2889
+ *
2890
+ * async function main() {
2891
+ * const auth = new google.auth.GoogleAuth({
2892
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2893
+ * scopes: [
2894
+ * 'https://www.googleapis.com/auth/agentregistry.read-only',
2895
+ * 'https://www.googleapis.com/auth/agentregistry.read-write',
2896
+ * 'https://www.googleapis.com/auth/cloud-platform',
2897
+ * 'https://www.googleapis.com/auth/cloud-platform.read-only',
2898
+ * ],
2899
+ * });
2900
+ *
2901
+ * // Acquire an auth client, and bind it to all future calls
2902
+ * const authClient = await auth.getClient();
2903
+ * google.options({auth: authClient});
2904
+ *
2905
+ * // Do the magic
2906
+ * const res = await agentregistry.projects.locations.services.patch({
2907
+ * // Identifier. The resource name of the Service. Format: `projects/{project\}/locations/{location\}/services/{service\}`.
2908
+ * name: 'projects/my-project/locations/my-location/services/my-service',
2909
+ * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2910
+ * requestId: 'placeholder-value',
2911
+ * // Optional. Field mask is used to specify the fields to be overwritten in the Service resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten.
2912
+ * updateMask: 'placeholder-value',
2913
+ *
2914
+ * // Request body metadata
2915
+ * requestBody: {
2916
+ * // request body parameters
2917
+ * // {
2918
+ * // "agentSpec": {},
2919
+ * // "createTime": "my_createTime",
2920
+ * // "description": "my_description",
2921
+ * // "displayName": "my_displayName",
2922
+ * // "endpointSpec": {},
2923
+ * // "interfaces": [],
2924
+ * // "mcpServerSpec": {},
2925
+ * // "name": "my_name",
2926
+ * // "registryResource": "my_registryResource",
2927
+ * // "updateTime": "my_updateTime"
2928
+ * // }
2929
+ * },
2930
+ * });
2931
+ * console.log(res.data);
2932
+ *
2933
+ * // Example response
2934
+ * // {
2935
+ * // "done": false,
2936
+ * // "error": {},
2937
+ * // "metadata": {},
2938
+ * // "name": "my_name",
2939
+ * // "response": {}
2940
+ * // }
2941
+ * }
2942
+ *
2943
+ * main().catch(e => {
2944
+ * console.error(e);
2945
+ * throw e;
2946
+ * });
2947
+ *
2948
+ * ```
2949
+ *
2950
+ * @param params - Parameters for request
2951
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2952
+ * @param callback - Optional callback that handles the response.
2953
+ * @returns A promise if used with async/await, or void if used with a callback.
2954
+ */
2955
+ patch(params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2956
+ patch(params?: Params$Resource$Projects$Locations$Services$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2957
+ patch(params: Params$Resource$Projects$Locations$Services$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2958
+ patch(params: Params$Resource$Projects$Locations$Services$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2959
+ patch(params: Params$Resource$Projects$Locations$Services$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
2960
+ patch(callback: BodyResponseCallback<Schema$Operation>): void;
2961
+ }
2962
+ export interface Params$Resource$Projects$Locations$Services$Create extends StandardParameters {
2963
+ /**
2964
+ * Required. The project and location to create the Service in. Expected format: `projects/{project\}/locations/{location\}`.
2965
+ */
2966
+ parent?: string;
2967
+ /**
2968
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2969
+ */
2970
+ requestId?: string;
2971
+ /**
2972
+ * Required. The ID to use for the service, which will become the final component of the service's resource name. This value should be 4-63 characters, and valid characters are `/a-z-/`.
2973
+ */
2974
+ serviceId?: string;
2975
+ /**
2976
+ * Request body metadata
2977
+ */
2978
+ requestBody?: Schema$Service;
2979
+ }
2980
+ export interface Params$Resource$Projects$Locations$Services$Delete extends StandardParameters {
2981
+ /**
2982
+ * Required. The name of the Service. Format: `projects/{project\}/locations/{location\}/services/{service\}`.
2983
+ */
2984
+ name?: string;
2985
+ /**
2986
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2987
+ */
2988
+ requestId?: string;
2989
+ }
2990
+ export interface Params$Resource$Projects$Locations$Services$Get extends StandardParameters {
2991
+ /**
2992
+ * Required. The name of the Service. Format: `projects/{project\}/locations/{location\}/services/{service\}`.
2993
+ */
2994
+ name?: string;
2995
+ }
2996
+ export interface Params$Resource$Projects$Locations$Services$List extends StandardParameters {
2997
+ /**
2998
+ * Optional. A query string used to filter the list of services returned. The filter expression must follow AIP-160 syntax. Filtering is supported on the `name`, `display_name`, `description`, and `labels` fields. Some examples: * `name = "projects/p1/locations/l1/services/s1"` * `display_name = "my-service"` * `description : "myservice description"` * `labels.env = "prod"`
2999
+ */
3000
+ filter?: string;
3001
+ /**
3002
+ * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
3003
+ */
3004
+ pageSize?: number;
3005
+ /**
3006
+ * Optional. A token identifying a page of results the server should return.
3007
+ */
3008
+ pageToken?: string;
3009
+ /**
3010
+ * Required. The project and location to list services in. Expected format: `projects/{project\}/locations/{location\}`.
3011
+ */
3012
+ parent?: string;
3013
+ }
3014
+ export interface Params$Resource$Projects$Locations$Services$Patch extends StandardParameters {
3015
+ /**
3016
+ * Identifier. The resource name of the Service. Format: `projects/{project\}/locations/{location\}/services/{service\}`.
3017
+ */
3018
+ name?: string;
3019
+ /**
3020
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3021
+ */
3022
+ requestId?: string;
3023
+ /**
3024
+ * Optional. Field mask is used to specify the fields to be overwritten in the Service resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten.
3025
+ */
3026
+ updateMask?: string;
3027
+ /**
3028
+ * Request body metadata
3029
+ */
3030
+ requestBody?: Schema$Service;
3031
+ }
3032
+ export {};
3033
+ }