@googleapis/agentregistry 4.0.1 → 4.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/CHANGELOG.md +7 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +880 -13
- package/build/v1.js +290 -0
- package/build/v1.js.map +1 -1
- package/build/v1alpha.d.ts +938 -46
- package/build/v1alpha.js +290 -0
- package/build/v1alpha.js.map +1 -1
- package/package.json +2 -2
- package/tsconfig.build.json +10 -0
- package/v1.ts +1673 -146
- package/v1alpha.ts +1698 -146
package/build/v1alpha.d.ts
CHANGED
|
@@ -167,10 +167,51 @@ export declare namespace agentregistry_v1alpha {
|
|
|
167
167
|
[key: string]: any;
|
|
168
168
|
} | null;
|
|
169
169
|
/**
|
|
170
|
-
* Required. The type of the agent spec content.
|
|
170
|
+
* Required. Immutable. The type of the agent spec content.
|
|
171
171
|
*/
|
|
172
172
|
type?: string | null;
|
|
173
173
|
}
|
|
174
|
+
/**
|
|
175
|
+
* Represents an AI Application.
|
|
176
|
+
*/
|
|
177
|
+
export interface Schema$AiApplication {
|
|
178
|
+
/**
|
|
179
|
+
* Output only. Properties of an underlying cloud resource that can comprise an AI Application.
|
|
180
|
+
*/
|
|
181
|
+
applicationProperties?: Schema$ApplicationProperties;
|
|
182
|
+
/**
|
|
183
|
+
* Optional. Consumer provided attributes.
|
|
184
|
+
*/
|
|
185
|
+
attributes?: Schema$Attributes;
|
|
186
|
+
/**
|
|
187
|
+
* Output only. Creation time.
|
|
188
|
+
*/
|
|
189
|
+
createTime?: string | null;
|
|
190
|
+
/**
|
|
191
|
+
* Optional. User-defined description of the AI Application.
|
|
192
|
+
*/
|
|
193
|
+
description?: string | null;
|
|
194
|
+
/**
|
|
195
|
+
* Optional. User-defined name for the AI Application.
|
|
196
|
+
*/
|
|
197
|
+
displayName?: string | null;
|
|
198
|
+
/**
|
|
199
|
+
* Identifier. Resource name of the AI Application. Format: `projects/{project\}/locations/{location\}/aiApplications/{ai_application\}`
|
|
200
|
+
*/
|
|
201
|
+
name?: string | null;
|
|
202
|
+
/**
|
|
203
|
+
* Output only. The current state of the AI Application.
|
|
204
|
+
*/
|
|
205
|
+
state?: string | null;
|
|
206
|
+
/**
|
|
207
|
+
* Output only. Universally unique identifier (UUID4) for the AI Application.
|
|
208
|
+
*/
|
|
209
|
+
uid?: string | null;
|
|
210
|
+
/**
|
|
211
|
+
* Output only. Last update time.
|
|
212
|
+
*/
|
|
213
|
+
updateTime?: string | null;
|
|
214
|
+
}
|
|
174
215
|
/**
|
|
175
216
|
* Annotations describing the characteristics and behavior of a tool or operation.
|
|
176
217
|
*/
|
|
@@ -196,6 +237,17 @@ export declare namespace agentregistry_v1alpha {
|
|
|
196
237
|
*/
|
|
197
238
|
title?: string | null;
|
|
198
239
|
}
|
|
240
|
+
/**
|
|
241
|
+
* Additional system properties of an Application.
|
|
242
|
+
*/
|
|
243
|
+
export interface Schema$ApplicationProperties {
|
|
244
|
+
/**
|
|
245
|
+
* Output only. Additional metadata specific to the App Hub application. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: `apphub.googleapis.com/{metadataType\}`
|
|
246
|
+
*/
|
|
247
|
+
extendedMetadata?: {
|
|
248
|
+
[key: string]: Schema$ExtendedMetadata;
|
|
249
|
+
} | null;
|
|
250
|
+
}
|
|
199
251
|
/**
|
|
200
252
|
* Direct write-only raw archive payload upload.
|
|
201
253
|
*/
|
|
@@ -205,6 +257,31 @@ export declare namespace agentregistry_v1alpha {
|
|
|
205
257
|
*/
|
|
206
258
|
archiveContent?: string | null;
|
|
207
259
|
}
|
|
260
|
+
/**
|
|
261
|
+
* Consumer provided attributes.
|
|
262
|
+
*/
|
|
263
|
+
export interface Schema$Attributes {
|
|
264
|
+
/**
|
|
265
|
+
* Optional. Business team that ensures user needs are met and value is delivered
|
|
266
|
+
*/
|
|
267
|
+
businessOwners?: Schema$ContactInfo[];
|
|
268
|
+
/**
|
|
269
|
+
* Optional. User-defined criticality information.
|
|
270
|
+
*/
|
|
271
|
+
criticality?: Schema$Criticality;
|
|
272
|
+
/**
|
|
273
|
+
* Optional. Developer team that owns development and coding.
|
|
274
|
+
*/
|
|
275
|
+
developerOwners?: Schema$ContactInfo[];
|
|
276
|
+
/**
|
|
277
|
+
* Optional. User-defined environment information.
|
|
278
|
+
*/
|
|
279
|
+
environment?: Schema$Environment;
|
|
280
|
+
/**
|
|
281
|
+
* Optional. Operator team that ensures runtime and operations.
|
|
282
|
+
*/
|
|
283
|
+
operatorOwners?: Schema$ContactInfo[];
|
|
284
|
+
}
|
|
208
285
|
/**
|
|
209
286
|
* The AuthProvider of the Binding.
|
|
210
287
|
*/
|
|
@@ -247,7 +324,7 @@ export declare namespace agentregistry_v1alpha {
|
|
|
247
324
|
*/
|
|
248
325
|
name?: string | null;
|
|
249
326
|
/**
|
|
250
|
-
*
|
|
327
|
+
* Optional. The source Agent of the Binding.
|
|
251
328
|
*/
|
|
252
329
|
source?: Schema$Source;
|
|
253
330
|
/**
|
|
@@ -279,6 +356,49 @@ export declare namespace agentregistry_v1alpha {
|
|
|
279
356
|
*/
|
|
280
357
|
type?: string | null;
|
|
281
358
|
}
|
|
359
|
+
/**
|
|
360
|
+
* Separate message to accommodate custom formats across IRC and Slack.
|
|
361
|
+
*/
|
|
362
|
+
export interface Schema$Channel {
|
|
363
|
+
/**
|
|
364
|
+
* Required. URI of the channel.
|
|
365
|
+
*/
|
|
366
|
+
uri?: string | null;
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* Contact information of stakeholders.
|
|
370
|
+
*/
|
|
371
|
+
export interface Schema$ContactInfo {
|
|
372
|
+
/**
|
|
373
|
+
* Optional. Communication channel of the contacts.
|
|
374
|
+
*/
|
|
375
|
+
channel?: Schema$Channel;
|
|
376
|
+
/**
|
|
377
|
+
* Optional. Contact's name. Can have a maximum length of 63 characters.
|
|
378
|
+
*/
|
|
379
|
+
displayName?: string | null;
|
|
380
|
+
/**
|
|
381
|
+
* Required. Email address of the contacts.
|
|
382
|
+
*/
|
|
383
|
+
email?: string | null;
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* Criticality of the Application, Service, or Workload
|
|
387
|
+
*/
|
|
388
|
+
export interface Schema$Criticality {
|
|
389
|
+
/**
|
|
390
|
+
* Optional. Criticality level. Can contain only lowercase letters, numeric characters, underscores, and dashes. Can have a maximum length of 63 characters. Deprecated: Please refer to type instead.
|
|
391
|
+
*/
|
|
392
|
+
level?: string | null;
|
|
393
|
+
/**
|
|
394
|
+
* Optional. Indicates mission-critical Application, Service, or Workload. Deprecated: Please refer to type instead.
|
|
395
|
+
*/
|
|
396
|
+
missionCritical?: boolean | null;
|
|
397
|
+
/**
|
|
398
|
+
* Required. Criticality Type.
|
|
399
|
+
*/
|
|
400
|
+
type?: string | null;
|
|
401
|
+
}
|
|
282
402
|
/**
|
|
283
403
|
* 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); \}
|
|
284
404
|
*/
|
|
@@ -336,7 +456,20 @@ export declare namespace agentregistry_v1alpha {
|
|
|
336
456
|
[key: string]: any;
|
|
337
457
|
} | null;
|
|
338
458
|
/**
|
|
339
|
-
* Required. The type of the endpoint spec content.
|
|
459
|
+
* Required. Immutable. The type of the endpoint spec content.
|
|
460
|
+
*/
|
|
461
|
+
type?: string | null;
|
|
462
|
+
}
|
|
463
|
+
/**
|
|
464
|
+
* Environment of the Application, Service, or Workload
|
|
465
|
+
*/
|
|
466
|
+
export interface Schema$Environment {
|
|
467
|
+
/**
|
|
468
|
+
* Optional. Environment name. Can contain only lowercase letters, numeric characters, underscores, and dashes. Can have a maximum length of 63 characters. Deprecated: Please refer to type instead.
|
|
469
|
+
*/
|
|
470
|
+
environment?: string | null;
|
|
471
|
+
/**
|
|
472
|
+
* Required. Environment Type.
|
|
340
473
|
*/
|
|
341
474
|
type?: string | null;
|
|
342
475
|
}
|
|
@@ -361,6 +494,17 @@ export declare namespace agentregistry_v1alpha {
|
|
|
361
494
|
*/
|
|
362
495
|
title?: string | null;
|
|
363
496
|
}
|
|
497
|
+
/**
|
|
498
|
+
* Additional metadata for a Service or Workload.
|
|
499
|
+
*/
|
|
500
|
+
export interface Schema$ExtendedMetadata {
|
|
501
|
+
/**
|
|
502
|
+
* Output only. The metadata contents.
|
|
503
|
+
*/
|
|
504
|
+
metadataStruct?: {
|
|
505
|
+
[key: string]: any;
|
|
506
|
+
} | null;
|
|
507
|
+
}
|
|
364
508
|
/**
|
|
365
509
|
* Message for response to fetching available Bindings.
|
|
366
510
|
*/
|
|
@@ -535,6 +679,62 @@ export declare namespace agentregistry_v1alpha {
|
|
|
535
679
|
*/
|
|
536
680
|
nextPageToken?: string | null;
|
|
537
681
|
}
|
|
682
|
+
/**
|
|
683
|
+
* Message for response to listing Agents under an AI Application.
|
|
684
|
+
*/
|
|
685
|
+
export interface Schema$ListAiApplicationAgentsResponse {
|
|
686
|
+
/**
|
|
687
|
+
* The list of Agents.
|
|
688
|
+
*/
|
|
689
|
+
agents?: Schema$Agent[];
|
|
690
|
+
/**
|
|
691
|
+
* A token identifying a page of results the server should return.
|
|
692
|
+
*/
|
|
693
|
+
nextPageToken?: string | null;
|
|
694
|
+
}
|
|
695
|
+
/**
|
|
696
|
+
* Message for response to listing Endpoints under an AI Application.
|
|
697
|
+
*/
|
|
698
|
+
export interface Schema$ListAiApplicationEndpointsResponse {
|
|
699
|
+
/**
|
|
700
|
+
* The list of Endpoints.
|
|
701
|
+
*/
|
|
702
|
+
endpoints?: Schema$Endpoint[];
|
|
703
|
+
/**
|
|
704
|
+
* A token identifying a page of results the server should return.
|
|
705
|
+
*/
|
|
706
|
+
nextPageToken?: string | null;
|
|
707
|
+
}
|
|
708
|
+
/**
|
|
709
|
+
* Message for response to listing McpServers under an AI Application.
|
|
710
|
+
*/
|
|
711
|
+
export interface Schema$ListAiApplicationMcpServersResponse {
|
|
712
|
+
/**
|
|
713
|
+
* The list of McpServers.
|
|
714
|
+
*/
|
|
715
|
+
mcpServers?: Schema$McpServer[];
|
|
716
|
+
/**
|
|
717
|
+
* A token identifying a page of results the server should return.
|
|
718
|
+
*/
|
|
719
|
+
nextPageToken?: string | null;
|
|
720
|
+
}
|
|
721
|
+
/**
|
|
722
|
+
* Message for response to listing AiApplications.
|
|
723
|
+
*/
|
|
724
|
+
export interface Schema$ListAiApplicationsResponse {
|
|
725
|
+
/**
|
|
726
|
+
* The list of AiApplications.
|
|
727
|
+
*/
|
|
728
|
+
aiApplications?: Schema$AiApplication[];
|
|
729
|
+
/**
|
|
730
|
+
* A token identifying a page of results the server should return.
|
|
731
|
+
*/
|
|
732
|
+
nextPageToken?: string | null;
|
|
733
|
+
/**
|
|
734
|
+
* Unordered list. Locations that could not be reached.
|
|
735
|
+
*/
|
|
736
|
+
unreachable?: string[] | null;
|
|
737
|
+
}
|
|
538
738
|
/**
|
|
539
739
|
* Message for response to listing Bindings
|
|
540
740
|
*/
|
|
@@ -745,7 +945,7 @@ export declare namespace agentregistry_v1alpha {
|
|
|
745
945
|
[key: string]: any;
|
|
746
946
|
} | null;
|
|
747
947
|
/**
|
|
748
|
-
* Required. The type of the MCP Server spec content.
|
|
948
|
+
* Required. Immutable. The type of the MCP Server spec content.
|
|
749
949
|
*/
|
|
750
950
|
type?: string | null;
|
|
751
951
|
}
|
|
@@ -870,7 +1070,7 @@ export declare namespace agentregistry_v1alpha {
|
|
|
870
1070
|
*/
|
|
871
1071
|
pageToken?: string | null;
|
|
872
1072
|
/**
|
|
873
|
-
* 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`.
|
|
1073
|
+
* 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:aiplatform:reasoningEngines:1234"` to find the agent with the specified agent ID. * `name:important` to find agents whose name contains `important` as a word. * `displayName:works*` to find agents whose display name contains words that start with `works`. * `skills.tags:test` to find agents whose skills tags contain `test`. * `planner OR booking` to find agents whose metadata contains the words `planner` or `booking`.
|
|
874
1074
|
*/
|
|
875
1075
|
searchString?: string | null;
|
|
876
1076
|
}
|
|
@@ -1591,7 +1791,83 @@ export declare namespace agentregistry_v1alpha {
|
|
|
1591
1791
|
}
|
|
1592
1792
|
export class Resource$Projects$Locations$Aiapplications {
|
|
1593
1793
|
context: APIRequestContext;
|
|
1794
|
+
agents: Resource$Projects$Locations$Aiapplications$Agents;
|
|
1795
|
+
endpoints: Resource$Projects$Locations$Aiapplications$Endpoints;
|
|
1796
|
+
mcpServers: Resource$Projects$Locations$Aiapplications$Mcpservers;
|
|
1594
1797
|
constructor(context: APIRequestContext);
|
|
1798
|
+
/**
|
|
1799
|
+
* Gets details of a single AI Application.
|
|
1800
|
+
* @example
|
|
1801
|
+
* ```js
|
|
1802
|
+
* // Before running the sample:
|
|
1803
|
+
* // - Enable the API at:
|
|
1804
|
+
* // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
|
|
1805
|
+
* // - Login into gcloud by running:
|
|
1806
|
+
* // ```sh
|
|
1807
|
+
* // $ gcloud auth application-default login
|
|
1808
|
+
* // ```
|
|
1809
|
+
* // - Install the npm module by running:
|
|
1810
|
+
* // ```sh
|
|
1811
|
+
* // $ npm install googleapis
|
|
1812
|
+
* // ```
|
|
1813
|
+
*
|
|
1814
|
+
* const {google} = require('googleapis');
|
|
1815
|
+
* const agentregistry = google.agentregistry('v1alpha');
|
|
1816
|
+
*
|
|
1817
|
+
* async function main() {
|
|
1818
|
+
* const auth = new google.auth.GoogleAuth({
|
|
1819
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
1820
|
+
* scopes: [
|
|
1821
|
+
* 'https://www.googleapis.com/auth/agentregistry.read-only',
|
|
1822
|
+
* 'https://www.googleapis.com/auth/agentregistry.read-write',
|
|
1823
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
1824
|
+
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
|
|
1825
|
+
* ],
|
|
1826
|
+
* });
|
|
1827
|
+
*
|
|
1828
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
1829
|
+
* const authClient = await auth.getClient();
|
|
1830
|
+
* google.options({auth: authClient});
|
|
1831
|
+
*
|
|
1832
|
+
* // Do the magic
|
|
1833
|
+
* const res = await agentregistry.projects.locations.aiApplications.get({
|
|
1834
|
+
* // Required. Target AI Application resource name. Format: `projects/{project\}/locations/{location\}/aiApplications/{ai_application\}`
|
|
1835
|
+
* name: 'projects/my-project/locations/my-location/aiApplications/my-aiApplication',
|
|
1836
|
+
* });
|
|
1837
|
+
* console.log(res.data);
|
|
1838
|
+
*
|
|
1839
|
+
* // Example response
|
|
1840
|
+
* // {
|
|
1841
|
+
* // "applicationProperties": {},
|
|
1842
|
+
* // "attributes": {},
|
|
1843
|
+
* // "createTime": "my_createTime",
|
|
1844
|
+
* // "description": "my_description",
|
|
1845
|
+
* // "displayName": "my_displayName",
|
|
1846
|
+
* // "name": "my_name",
|
|
1847
|
+
* // "state": "my_state",
|
|
1848
|
+
* // "uid": "my_uid",
|
|
1849
|
+
* // "updateTime": "my_updateTime"
|
|
1850
|
+
* // }
|
|
1851
|
+
* }
|
|
1852
|
+
*
|
|
1853
|
+
* main().catch(e => {
|
|
1854
|
+
* console.error(e);
|
|
1855
|
+
* throw e;
|
|
1856
|
+
* });
|
|
1857
|
+
*
|
|
1858
|
+
* ```
|
|
1859
|
+
*
|
|
1860
|
+
* @param params - Parameters for request
|
|
1861
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
1862
|
+
* @param callback - Optional callback that handles the response.
|
|
1863
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1864
|
+
*/
|
|
1865
|
+
get(params: Params$Resource$Projects$Locations$Aiapplications$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1866
|
+
get(params?: Params$Resource$Projects$Locations$Aiapplications$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AiApplication>>;
|
|
1867
|
+
get(params: Params$Resource$Projects$Locations$Aiapplications$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1868
|
+
get(params: Params$Resource$Projects$Locations$Aiapplications$Get, options: MethodOptions | BodyResponseCallback<Schema$AiApplication>, callback: BodyResponseCallback<Schema$AiApplication>): void;
|
|
1869
|
+
get(params: Params$Resource$Projects$Locations$Aiapplications$Get, callback: BodyResponseCallback<Schema$AiApplication>): void;
|
|
1870
|
+
get(callback: BodyResponseCallback<Schema$AiApplication>): void;
|
|
1595
1871
|
/**
|
|
1596
1872
|
* Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
1597
1873
|
* @example
|
|
@@ -1665,7 +1941,7 @@ export declare namespace agentregistry_v1alpha {
|
|
|
1665
1941
|
getIamPolicy(params: Params$Resource$Projects$Locations$Aiapplications$Getiampolicy, callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
|
|
1666
1942
|
getIamPolicy(callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
|
|
1667
1943
|
/**
|
|
1668
|
-
*
|
|
1944
|
+
* Lists AI Applications in a given project and location.
|
|
1669
1945
|
* @example
|
|
1670
1946
|
* ```js
|
|
1671
1947
|
* // Before running the sample:
|
|
@@ -1687,8 +1963,10 @@ export declare namespace agentregistry_v1alpha {
|
|
|
1687
1963
|
* const auth = new google.auth.GoogleAuth({
|
|
1688
1964
|
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
1689
1965
|
* scopes: [
|
|
1966
|
+
* 'https://www.googleapis.com/auth/agentregistry.read-only',
|
|
1690
1967
|
* 'https://www.googleapis.com/auth/agentregistry.read-write',
|
|
1691
1968
|
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
1969
|
+
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
|
|
1692
1970
|
* ],
|
|
1693
1971
|
* });
|
|
1694
1972
|
*
|
|
@@ -1697,29 +1975,25 @@ export declare namespace agentregistry_v1alpha {
|
|
|
1697
1975
|
* google.options({auth: authClient});
|
|
1698
1976
|
*
|
|
1699
1977
|
* // Do the magic
|
|
1700
|
-
* const res =
|
|
1701
|
-
*
|
|
1702
|
-
*
|
|
1703
|
-
*
|
|
1704
|
-
*
|
|
1705
|
-
*
|
|
1706
|
-
*
|
|
1707
|
-
*
|
|
1708
|
-
*
|
|
1709
|
-
*
|
|
1710
|
-
*
|
|
1711
|
-
*
|
|
1712
|
-
* // }
|
|
1713
|
-
* },
|
|
1714
|
-
* });
|
|
1978
|
+
* const res = await agentregistry.projects.locations.aiApplications.list({
|
|
1979
|
+
* // Optional. Filtering results.
|
|
1980
|
+
* filter: 'placeholder-value',
|
|
1981
|
+
* // Optional. Hint for how to order the results.
|
|
1982
|
+
* orderBy: 'placeholder-value',
|
|
1983
|
+
* // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
|
|
1984
|
+
* pageSize: 'placeholder-value',
|
|
1985
|
+
* // Optional. A token identifying a page of results the server should return.
|
|
1986
|
+
* pageToken: 'placeholder-value',
|
|
1987
|
+
* // Required. Parent project and location to query. Format: `projects/{project\}/locations/{location\}`
|
|
1988
|
+
* parent: 'projects/my-project/locations/my-location',
|
|
1989
|
+
* });
|
|
1715
1990
|
* console.log(res.data);
|
|
1716
1991
|
*
|
|
1717
1992
|
* // Example response
|
|
1718
1993
|
* // {
|
|
1719
|
-
* // "
|
|
1720
|
-
* // "
|
|
1721
|
-
* // "
|
|
1722
|
-
* // "version": 0
|
|
1994
|
+
* // "aiApplications": [],
|
|
1995
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
1996
|
+
* // "unreachable": []
|
|
1723
1997
|
* // }
|
|
1724
1998
|
* }
|
|
1725
1999
|
*
|
|
@@ -1735,14 +2009,14 @@ export declare namespace agentregistry_v1alpha {
|
|
|
1735
2009
|
* @param callback - Optional callback that handles the response.
|
|
1736
2010
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1737
2011
|
*/
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
2012
|
+
list(params: Params$Resource$Projects$Locations$Aiapplications$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2013
|
+
list(params?: Params$Resource$Projects$Locations$Aiapplications$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAiApplicationsResponse>>;
|
|
2014
|
+
list(params: Params$Resource$Projects$Locations$Aiapplications$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2015
|
+
list(params: Params$Resource$Projects$Locations$Aiapplications$List, options: MethodOptions | BodyResponseCallback<Schema$ListAiApplicationsResponse>, callback: BodyResponseCallback<Schema$ListAiApplicationsResponse>): void;
|
|
2016
|
+
list(params: Params$Resource$Projects$Locations$Aiapplications$List, callback: BodyResponseCallback<Schema$ListAiApplicationsResponse>): void;
|
|
2017
|
+
list(callback: BodyResponseCallback<Schema$ListAiApplicationsResponse>): void;
|
|
1744
2018
|
/**
|
|
1745
|
-
*
|
|
2019
|
+
* Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
1746
2020
|
* @example
|
|
1747
2021
|
* ```js
|
|
1748
2022
|
* // Before running the sample:
|
|
@@ -1764,10 +2038,8 @@ export declare namespace agentregistry_v1alpha {
|
|
|
1764
2038
|
* const auth = new google.auth.GoogleAuth({
|
|
1765
2039
|
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
1766
2040
|
* scopes: [
|
|
1767
|
-
* 'https://www.googleapis.com/auth/agentregistry.read-only',
|
|
1768
2041
|
* 'https://www.googleapis.com/auth/agentregistry.read-write',
|
|
1769
2042
|
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
1770
|
-
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
|
|
1771
2043
|
* ],
|
|
1772
2044
|
* });
|
|
1773
2045
|
*
|
|
@@ -1777,8 +2049,8 @@ export declare namespace agentregistry_v1alpha {
|
|
|
1777
2049
|
*
|
|
1778
2050
|
* // Do the magic
|
|
1779
2051
|
* const res =
|
|
1780
|
-
* await agentregistry.projects.locations.aiApplications.
|
|
1781
|
-
* // REQUIRED: The resource for which the policy
|
|
2052
|
+
* await agentregistry.projects.locations.aiApplications.setIamPolicy({
|
|
2053
|
+
* // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
1782
2054
|
* resource:
|
|
1783
2055
|
* 'projects/my-project/locations/my-location/aiApplications/my-aiApplication',
|
|
1784
2056
|
*
|
|
@@ -1786,7 +2058,8 @@ export declare namespace agentregistry_v1alpha {
|
|
|
1786
2058
|
* requestBody: {
|
|
1787
2059
|
* // request body parameters
|
|
1788
2060
|
* // {
|
|
1789
|
-
* // "
|
|
2061
|
+
* // "policy": {},
|
|
2062
|
+
* // "updateMask": "my_updateMask"
|
|
1790
2063
|
* // }
|
|
1791
2064
|
* },
|
|
1792
2065
|
* });
|
|
@@ -1794,7 +2067,10 @@ export declare namespace agentregistry_v1alpha {
|
|
|
1794
2067
|
*
|
|
1795
2068
|
* // Example response
|
|
1796
2069
|
* // {
|
|
1797
|
-
* // "
|
|
2070
|
+
* // "auditConfigs": [],
|
|
2071
|
+
* // "bindings": [],
|
|
2072
|
+
* // "etag": "my_etag",
|
|
2073
|
+
* // "version": 0
|
|
1798
2074
|
* // }
|
|
1799
2075
|
* }
|
|
1800
2076
|
*
|
|
@@ -1810,14 +2086,95 @@ export declare namespace agentregistry_v1alpha {
|
|
|
1810
2086
|
* @param callback - Optional callback that handles the response.
|
|
1811
2087
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1812
2088
|
*/
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
2089
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Aiapplications$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2090
|
+
setIamPolicy(params?: Params$Resource$Projects$Locations$Aiapplications$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleIamV1Policy>>;
|
|
2091
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Aiapplications$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2092
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Aiapplications$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$GoogleIamV1Policy>, callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
|
|
2093
|
+
setIamPolicy(params: Params$Resource$Projects$Locations$Aiapplications$Setiampolicy, callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
|
|
2094
|
+
setIamPolicy(callback: BodyResponseCallback<Schema$GoogleIamV1Policy>): void;
|
|
2095
|
+
/**
|
|
2096
|
+
* Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
|
|
2097
|
+
* @example
|
|
2098
|
+
* ```js
|
|
2099
|
+
* // Before running the sample:
|
|
2100
|
+
* // - Enable the API at:
|
|
2101
|
+
* // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
|
|
2102
|
+
* // - Login into gcloud by running:
|
|
2103
|
+
* // ```sh
|
|
2104
|
+
* // $ gcloud auth application-default login
|
|
2105
|
+
* // ```
|
|
2106
|
+
* // - Install the npm module by running:
|
|
2107
|
+
* // ```sh
|
|
2108
|
+
* // $ npm install googleapis
|
|
2109
|
+
* // ```
|
|
2110
|
+
*
|
|
2111
|
+
* const {google} = require('googleapis');
|
|
2112
|
+
* const agentregistry = google.agentregistry('v1alpha');
|
|
2113
|
+
*
|
|
2114
|
+
* async function main() {
|
|
2115
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2116
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2117
|
+
* scopes: [
|
|
2118
|
+
* 'https://www.googleapis.com/auth/agentregistry.read-only',
|
|
2119
|
+
* 'https://www.googleapis.com/auth/agentregistry.read-write',
|
|
2120
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
2121
|
+
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
|
|
2122
|
+
* ],
|
|
2123
|
+
* });
|
|
2124
|
+
*
|
|
2125
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2126
|
+
* const authClient = await auth.getClient();
|
|
2127
|
+
* google.options({auth: authClient});
|
|
2128
|
+
*
|
|
2129
|
+
* // Do the magic
|
|
2130
|
+
* const res =
|
|
2131
|
+
* await agentregistry.projects.locations.aiApplications.testIamPermissions({
|
|
2132
|
+
* // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
2133
|
+
* resource:
|
|
2134
|
+
* 'projects/my-project/locations/my-location/aiApplications/my-aiApplication',
|
|
2135
|
+
*
|
|
2136
|
+
* // Request body metadata
|
|
2137
|
+
* requestBody: {
|
|
2138
|
+
* // request body parameters
|
|
2139
|
+
* // {
|
|
2140
|
+
* // "permissions": []
|
|
2141
|
+
* // }
|
|
2142
|
+
* },
|
|
2143
|
+
* });
|
|
2144
|
+
* console.log(res.data);
|
|
2145
|
+
*
|
|
2146
|
+
* // Example response
|
|
2147
|
+
* // {
|
|
2148
|
+
* // "permissions": []
|
|
2149
|
+
* // }
|
|
2150
|
+
* }
|
|
2151
|
+
*
|
|
2152
|
+
* main().catch(e => {
|
|
2153
|
+
* console.error(e);
|
|
2154
|
+
* throw e;
|
|
2155
|
+
* });
|
|
2156
|
+
*
|
|
2157
|
+
* ```
|
|
2158
|
+
*
|
|
2159
|
+
* @param params - Parameters for request
|
|
2160
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2161
|
+
* @param callback - Optional callback that handles the response.
|
|
2162
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2163
|
+
*/
|
|
2164
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Aiapplications$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2165
|
+
testIamPermissions(params?: Params$Resource$Projects$Locations$Aiapplications$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleIamV1TestIamPermissionsResponse>>;
|
|
2166
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Aiapplications$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2167
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Aiapplications$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$GoogleIamV1TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$GoogleIamV1TestIamPermissionsResponse>): void;
|
|
2168
|
+
testIamPermissions(params: Params$Resource$Projects$Locations$Aiapplications$Testiampermissions, callback: BodyResponseCallback<Schema$GoogleIamV1TestIamPermissionsResponse>): void;
|
|
2169
|
+
testIamPermissions(callback: BodyResponseCallback<Schema$GoogleIamV1TestIamPermissionsResponse>): void;
|
|
2170
|
+
}
|
|
2171
|
+
export interface Params$Resource$Projects$Locations$Aiapplications$Get extends StandardParameters {
|
|
2172
|
+
/**
|
|
2173
|
+
* Required. Target AI Application resource name. Format: `projects/{project\}/locations/{location\}/aiApplications/{ai_application\}`
|
|
2174
|
+
*/
|
|
2175
|
+
name?: string;
|
|
2176
|
+
}
|
|
2177
|
+
export interface Params$Resource$Projects$Locations$Aiapplications$Getiampolicy extends StandardParameters {
|
|
1821
2178
|
/**
|
|
1822
2179
|
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1823
2180
|
*/
|
|
@@ -1827,6 +2184,28 @@ export declare namespace agentregistry_v1alpha {
|
|
|
1827
2184
|
*/
|
|
1828
2185
|
resource?: string;
|
|
1829
2186
|
}
|
|
2187
|
+
export interface Params$Resource$Projects$Locations$Aiapplications$List extends StandardParameters {
|
|
2188
|
+
/**
|
|
2189
|
+
* Optional. Filtering results.
|
|
2190
|
+
*/
|
|
2191
|
+
filter?: string;
|
|
2192
|
+
/**
|
|
2193
|
+
* Optional. Hint for how to order the results.
|
|
2194
|
+
*/
|
|
2195
|
+
orderBy?: string;
|
|
2196
|
+
/**
|
|
2197
|
+
* Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
|
|
2198
|
+
*/
|
|
2199
|
+
pageSize?: number;
|
|
2200
|
+
/**
|
|
2201
|
+
* Optional. A token identifying a page of results the server should return.
|
|
2202
|
+
*/
|
|
2203
|
+
pageToken?: string;
|
|
2204
|
+
/**
|
|
2205
|
+
* Required. Parent project and location to query. Format: `projects/{project\}/locations/{location\}`
|
|
2206
|
+
*/
|
|
2207
|
+
parent?: string;
|
|
2208
|
+
}
|
|
1830
2209
|
export interface Params$Resource$Projects$Locations$Aiapplications$Setiampolicy extends StandardParameters {
|
|
1831
2210
|
/**
|
|
1832
2211
|
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
@@ -1847,6 +2226,519 @@ export declare namespace agentregistry_v1alpha {
|
|
|
1847
2226
|
*/
|
|
1848
2227
|
requestBody?: Schema$GoogleIamV1TestIamPermissionsRequest;
|
|
1849
2228
|
}
|
|
2229
|
+
export class Resource$Projects$Locations$Aiapplications$Agents {
|
|
2230
|
+
context: APIRequestContext;
|
|
2231
|
+
constructor(context: APIRequestContext);
|
|
2232
|
+
/**
|
|
2233
|
+
* Gets details of a single Agent under an AI Application.
|
|
2234
|
+
* @example
|
|
2235
|
+
* ```js
|
|
2236
|
+
* // Before running the sample:
|
|
2237
|
+
* // - Enable the API at:
|
|
2238
|
+
* // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
|
|
2239
|
+
* // - Login into gcloud by running:
|
|
2240
|
+
* // ```sh
|
|
2241
|
+
* // $ gcloud auth application-default login
|
|
2242
|
+
* // ```
|
|
2243
|
+
* // - Install the npm module by running:
|
|
2244
|
+
* // ```sh
|
|
2245
|
+
* // $ npm install googleapis
|
|
2246
|
+
* // ```
|
|
2247
|
+
*
|
|
2248
|
+
* const {google} = require('googleapis');
|
|
2249
|
+
* const agentregistry = google.agentregistry('v1alpha');
|
|
2250
|
+
*
|
|
2251
|
+
* async function main() {
|
|
2252
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2253
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2254
|
+
* scopes: [
|
|
2255
|
+
* 'https://www.googleapis.com/auth/agentregistry.read-only',
|
|
2256
|
+
* 'https://www.googleapis.com/auth/agentregistry.read-write',
|
|
2257
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
2258
|
+
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
|
|
2259
|
+
* ],
|
|
2260
|
+
* });
|
|
2261
|
+
*
|
|
2262
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2263
|
+
* const authClient = await auth.getClient();
|
|
2264
|
+
* google.options({auth: authClient});
|
|
2265
|
+
*
|
|
2266
|
+
* // Do the magic
|
|
2267
|
+
* const res = await agentregistry.projects.locations.aiApplications.agents.get({
|
|
2268
|
+
* // Required. Name of the resource. Format: `projects/{project\}/locations/{location\}/aiApplications/{ai_application\}/agents/{agent\}`
|
|
2269
|
+
* name: 'projects/my-project/locations/my-location/aiApplications/my-aiApplication/agents/my-agent',
|
|
2270
|
+
* });
|
|
2271
|
+
* console.log(res.data);
|
|
2272
|
+
*
|
|
2273
|
+
* // Example response
|
|
2274
|
+
* // {
|
|
2275
|
+
* // "agentId": "my_agentId",
|
|
2276
|
+
* // "attributes": {},
|
|
2277
|
+
* // "card": {},
|
|
2278
|
+
* // "createTime": "my_createTime",
|
|
2279
|
+
* // "description": "my_description",
|
|
2280
|
+
* // "displayName": "my_displayName",
|
|
2281
|
+
* // "location": "my_location",
|
|
2282
|
+
* // "name": "my_name",
|
|
2283
|
+
* // "protocols": [],
|
|
2284
|
+
* // "skills": [],
|
|
2285
|
+
* // "uid": "my_uid",
|
|
2286
|
+
* // "updateTime": "my_updateTime",
|
|
2287
|
+
* // "version": "my_version"
|
|
2288
|
+
* // }
|
|
2289
|
+
* }
|
|
2290
|
+
*
|
|
2291
|
+
* main().catch(e => {
|
|
2292
|
+
* console.error(e);
|
|
2293
|
+
* throw e;
|
|
2294
|
+
* });
|
|
2295
|
+
*
|
|
2296
|
+
* ```
|
|
2297
|
+
*
|
|
2298
|
+
* @param params - Parameters for request
|
|
2299
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2300
|
+
* @param callback - Optional callback that handles the response.
|
|
2301
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2302
|
+
*/
|
|
2303
|
+
get(params: Params$Resource$Projects$Locations$Aiapplications$Agents$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2304
|
+
get(params?: Params$Resource$Projects$Locations$Aiapplications$Agents$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Agent>>;
|
|
2305
|
+
get(params: Params$Resource$Projects$Locations$Aiapplications$Agents$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2306
|
+
get(params: Params$Resource$Projects$Locations$Aiapplications$Agents$Get, options: MethodOptions | BodyResponseCallback<Schema$Agent>, callback: BodyResponseCallback<Schema$Agent>): void;
|
|
2307
|
+
get(params: Params$Resource$Projects$Locations$Aiapplications$Agents$Get, callback: BodyResponseCallback<Schema$Agent>): void;
|
|
2308
|
+
get(callback: BodyResponseCallback<Schema$Agent>): void;
|
|
2309
|
+
/**
|
|
2310
|
+
* Lists Agents under an AI Application.
|
|
2311
|
+
* @example
|
|
2312
|
+
* ```js
|
|
2313
|
+
* // Before running the sample:
|
|
2314
|
+
* // - Enable the API at:
|
|
2315
|
+
* // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
|
|
2316
|
+
* // - Login into gcloud by running:
|
|
2317
|
+
* // ```sh
|
|
2318
|
+
* // $ gcloud auth application-default login
|
|
2319
|
+
* // ```
|
|
2320
|
+
* // - Install the npm module by running:
|
|
2321
|
+
* // ```sh
|
|
2322
|
+
* // $ npm install googleapis
|
|
2323
|
+
* // ```
|
|
2324
|
+
*
|
|
2325
|
+
* const {google} = require('googleapis');
|
|
2326
|
+
* const agentregistry = google.agentregistry('v1alpha');
|
|
2327
|
+
*
|
|
2328
|
+
* async function main() {
|
|
2329
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2330
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2331
|
+
* scopes: [
|
|
2332
|
+
* 'https://www.googleapis.com/auth/agentregistry.read-only',
|
|
2333
|
+
* 'https://www.googleapis.com/auth/agentregistry.read-write',
|
|
2334
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
2335
|
+
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
|
|
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.aiApplications.agents.list(
|
|
2345
|
+
* {
|
|
2346
|
+
* // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
|
|
2347
|
+
* pageSize: 'placeholder-value',
|
|
2348
|
+
* // Optional. A token identifying a page of results the server should return.
|
|
2349
|
+
* pageToken: 'placeholder-value',
|
|
2350
|
+
* // Required. Parent value (AI Application) for ListAiApplicationAgentsRequest. Format: `projects/{project\}/locations/{location\}/aiApplications/{ai_application\}`
|
|
2351
|
+
* parent:
|
|
2352
|
+
* 'projects/my-project/locations/my-location/aiApplications/my-aiApplication',
|
|
2353
|
+
* },
|
|
2354
|
+
* );
|
|
2355
|
+
* console.log(res.data);
|
|
2356
|
+
*
|
|
2357
|
+
* // Example response
|
|
2358
|
+
* // {
|
|
2359
|
+
* // "agents": [],
|
|
2360
|
+
* // "nextPageToken": "my_nextPageToken"
|
|
2361
|
+
* // }
|
|
2362
|
+
* }
|
|
2363
|
+
*
|
|
2364
|
+
* main().catch(e => {
|
|
2365
|
+
* console.error(e);
|
|
2366
|
+
* throw e;
|
|
2367
|
+
* });
|
|
2368
|
+
*
|
|
2369
|
+
* ```
|
|
2370
|
+
*
|
|
2371
|
+
* @param params - Parameters for request
|
|
2372
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2373
|
+
* @param callback - Optional callback that handles the response.
|
|
2374
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2375
|
+
*/
|
|
2376
|
+
list(params: Params$Resource$Projects$Locations$Aiapplications$Agents$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2377
|
+
list(params?: Params$Resource$Projects$Locations$Aiapplications$Agents$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAiApplicationAgentsResponse>>;
|
|
2378
|
+
list(params: Params$Resource$Projects$Locations$Aiapplications$Agents$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2379
|
+
list(params: Params$Resource$Projects$Locations$Aiapplications$Agents$List, options: MethodOptions | BodyResponseCallback<Schema$ListAiApplicationAgentsResponse>, callback: BodyResponseCallback<Schema$ListAiApplicationAgentsResponse>): void;
|
|
2380
|
+
list(params: Params$Resource$Projects$Locations$Aiapplications$Agents$List, callback: BodyResponseCallback<Schema$ListAiApplicationAgentsResponse>): void;
|
|
2381
|
+
list(callback: BodyResponseCallback<Schema$ListAiApplicationAgentsResponse>): void;
|
|
2382
|
+
}
|
|
2383
|
+
export interface Params$Resource$Projects$Locations$Aiapplications$Agents$Get extends StandardParameters {
|
|
2384
|
+
/**
|
|
2385
|
+
* Required. Name of the resource. Format: `projects/{project\}/locations/{location\}/aiApplications/{ai_application\}/agents/{agent\}`
|
|
2386
|
+
*/
|
|
2387
|
+
name?: string;
|
|
2388
|
+
}
|
|
2389
|
+
export interface Params$Resource$Projects$Locations$Aiapplications$Agents$List extends StandardParameters {
|
|
2390
|
+
/**
|
|
2391
|
+
* Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
|
|
2392
|
+
*/
|
|
2393
|
+
pageSize?: number;
|
|
2394
|
+
/**
|
|
2395
|
+
* Optional. A token identifying a page of results the server should return.
|
|
2396
|
+
*/
|
|
2397
|
+
pageToken?: string;
|
|
2398
|
+
/**
|
|
2399
|
+
* Required. Parent value (AI Application) for ListAiApplicationAgentsRequest. Format: `projects/{project\}/locations/{location\}/aiApplications/{ai_application\}`
|
|
2400
|
+
*/
|
|
2401
|
+
parent?: string;
|
|
2402
|
+
}
|
|
2403
|
+
export class Resource$Projects$Locations$Aiapplications$Endpoints {
|
|
2404
|
+
context: APIRequestContext;
|
|
2405
|
+
constructor(context: APIRequestContext);
|
|
2406
|
+
/**
|
|
2407
|
+
* Gets details of a single Endpoint under an AI Application.
|
|
2408
|
+
* @example
|
|
2409
|
+
* ```js
|
|
2410
|
+
* // Before running the sample:
|
|
2411
|
+
* // - Enable the API at:
|
|
2412
|
+
* // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
|
|
2413
|
+
* // - Login into gcloud by running:
|
|
2414
|
+
* // ```sh
|
|
2415
|
+
* // $ gcloud auth application-default login
|
|
2416
|
+
* // ```
|
|
2417
|
+
* // - Install the npm module by running:
|
|
2418
|
+
* // ```sh
|
|
2419
|
+
* // $ npm install googleapis
|
|
2420
|
+
* // ```
|
|
2421
|
+
*
|
|
2422
|
+
* const {google} = require('googleapis');
|
|
2423
|
+
* const agentregistry = google.agentregistry('v1alpha');
|
|
2424
|
+
*
|
|
2425
|
+
* async function main() {
|
|
2426
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2427
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2428
|
+
* scopes: [
|
|
2429
|
+
* 'https://www.googleapis.com/auth/agentregistry.read-only',
|
|
2430
|
+
* 'https://www.googleapis.com/auth/agentregistry.read-write',
|
|
2431
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
2432
|
+
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
|
|
2433
|
+
* ],
|
|
2434
|
+
* });
|
|
2435
|
+
*
|
|
2436
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2437
|
+
* const authClient = await auth.getClient();
|
|
2438
|
+
* google.options({auth: authClient});
|
|
2439
|
+
*
|
|
2440
|
+
* // Do the magic
|
|
2441
|
+
* const res =
|
|
2442
|
+
* await agentregistry.projects.locations.aiApplications.endpoints.get({
|
|
2443
|
+
* // Required. Name of the resource. Format: `projects/{project\}/locations/{location\}/aiApplications/{ai_application\}/endpoints/{endpoint\}`
|
|
2444
|
+
* name: 'projects/my-project/locations/my-location/aiApplications/my-aiApplication/endpoints/my-endpoint',
|
|
2445
|
+
* });
|
|
2446
|
+
* console.log(res.data);
|
|
2447
|
+
*
|
|
2448
|
+
* // Example response
|
|
2449
|
+
* // {
|
|
2450
|
+
* // "attributes": {},
|
|
2451
|
+
* // "createTime": "my_createTime",
|
|
2452
|
+
* // "description": "my_description",
|
|
2453
|
+
* // "displayName": "my_displayName",
|
|
2454
|
+
* // "endpointId": "my_endpointId",
|
|
2455
|
+
* // "interfaces": [],
|
|
2456
|
+
* // "name": "my_name",
|
|
2457
|
+
* // "updateTime": "my_updateTime"
|
|
2458
|
+
* // }
|
|
2459
|
+
* }
|
|
2460
|
+
*
|
|
2461
|
+
* main().catch(e => {
|
|
2462
|
+
* console.error(e);
|
|
2463
|
+
* throw e;
|
|
2464
|
+
* });
|
|
2465
|
+
*
|
|
2466
|
+
* ```
|
|
2467
|
+
*
|
|
2468
|
+
* @param params - Parameters for request
|
|
2469
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2470
|
+
* @param callback - Optional callback that handles the response.
|
|
2471
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2472
|
+
*/
|
|
2473
|
+
get(params: Params$Resource$Projects$Locations$Aiapplications$Endpoints$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2474
|
+
get(params?: Params$Resource$Projects$Locations$Aiapplications$Endpoints$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Endpoint>>;
|
|
2475
|
+
get(params: Params$Resource$Projects$Locations$Aiapplications$Endpoints$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2476
|
+
get(params: Params$Resource$Projects$Locations$Aiapplications$Endpoints$Get, options: MethodOptions | BodyResponseCallback<Schema$Endpoint>, callback: BodyResponseCallback<Schema$Endpoint>): void;
|
|
2477
|
+
get(params: Params$Resource$Projects$Locations$Aiapplications$Endpoints$Get, callback: BodyResponseCallback<Schema$Endpoint>): void;
|
|
2478
|
+
get(callback: BodyResponseCallback<Schema$Endpoint>): void;
|
|
2479
|
+
/**
|
|
2480
|
+
* Lists Endpoints under an AI Application.
|
|
2481
|
+
* @example
|
|
2482
|
+
* ```js
|
|
2483
|
+
* // Before running the sample:
|
|
2484
|
+
* // - Enable the API at:
|
|
2485
|
+
* // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
|
|
2486
|
+
* // - Login into gcloud by running:
|
|
2487
|
+
* // ```sh
|
|
2488
|
+
* // $ gcloud auth application-default login
|
|
2489
|
+
* // ```
|
|
2490
|
+
* // - Install the npm module by running:
|
|
2491
|
+
* // ```sh
|
|
2492
|
+
* // $ npm install googleapis
|
|
2493
|
+
* // ```
|
|
2494
|
+
*
|
|
2495
|
+
* const {google} = require('googleapis');
|
|
2496
|
+
* const agentregistry = google.agentregistry('v1alpha');
|
|
2497
|
+
*
|
|
2498
|
+
* async function main() {
|
|
2499
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2500
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2501
|
+
* scopes: [
|
|
2502
|
+
* 'https://www.googleapis.com/auth/agentregistry.read-only',
|
|
2503
|
+
* 'https://www.googleapis.com/auth/agentregistry.read-write',
|
|
2504
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
2505
|
+
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
|
|
2506
|
+
* ],
|
|
2507
|
+
* });
|
|
2508
|
+
*
|
|
2509
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2510
|
+
* const authClient = await auth.getClient();
|
|
2511
|
+
* google.options({auth: authClient});
|
|
2512
|
+
*
|
|
2513
|
+
* // Do the magic
|
|
2514
|
+
* const res =
|
|
2515
|
+
* await agentregistry.projects.locations.aiApplications.endpoints.list({
|
|
2516
|
+
* // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
|
|
2517
|
+
* pageSize: 'placeholder-value',
|
|
2518
|
+
* // Optional. A token identifying a page of results the server should return.
|
|
2519
|
+
* pageToken: 'placeholder-value',
|
|
2520
|
+
* // Required. Parent value (AI Application) for ListAiApplicationEndpointsRequest. Format: `projects/{project\}/locations/{location\}/aiApplications/{ai_application\}`
|
|
2521
|
+
* parent:
|
|
2522
|
+
* 'projects/my-project/locations/my-location/aiApplications/my-aiApplication',
|
|
2523
|
+
* });
|
|
2524
|
+
* console.log(res.data);
|
|
2525
|
+
*
|
|
2526
|
+
* // Example response
|
|
2527
|
+
* // {
|
|
2528
|
+
* // "endpoints": [],
|
|
2529
|
+
* // "nextPageToken": "my_nextPageToken"
|
|
2530
|
+
* // }
|
|
2531
|
+
* }
|
|
2532
|
+
*
|
|
2533
|
+
* main().catch(e => {
|
|
2534
|
+
* console.error(e);
|
|
2535
|
+
* throw e;
|
|
2536
|
+
* });
|
|
2537
|
+
*
|
|
2538
|
+
* ```
|
|
2539
|
+
*
|
|
2540
|
+
* @param params - Parameters for request
|
|
2541
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2542
|
+
* @param callback - Optional callback that handles the response.
|
|
2543
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2544
|
+
*/
|
|
2545
|
+
list(params: Params$Resource$Projects$Locations$Aiapplications$Endpoints$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2546
|
+
list(params?: Params$Resource$Projects$Locations$Aiapplications$Endpoints$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAiApplicationEndpointsResponse>>;
|
|
2547
|
+
list(params: Params$Resource$Projects$Locations$Aiapplications$Endpoints$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2548
|
+
list(params: Params$Resource$Projects$Locations$Aiapplications$Endpoints$List, options: MethodOptions | BodyResponseCallback<Schema$ListAiApplicationEndpointsResponse>, callback: BodyResponseCallback<Schema$ListAiApplicationEndpointsResponse>): void;
|
|
2549
|
+
list(params: Params$Resource$Projects$Locations$Aiapplications$Endpoints$List, callback: BodyResponseCallback<Schema$ListAiApplicationEndpointsResponse>): void;
|
|
2550
|
+
list(callback: BodyResponseCallback<Schema$ListAiApplicationEndpointsResponse>): void;
|
|
2551
|
+
}
|
|
2552
|
+
export interface Params$Resource$Projects$Locations$Aiapplications$Endpoints$Get extends StandardParameters {
|
|
2553
|
+
/**
|
|
2554
|
+
* Required. Name of the resource. Format: `projects/{project\}/locations/{location\}/aiApplications/{ai_application\}/endpoints/{endpoint\}`
|
|
2555
|
+
*/
|
|
2556
|
+
name?: string;
|
|
2557
|
+
}
|
|
2558
|
+
export interface Params$Resource$Projects$Locations$Aiapplications$Endpoints$List extends StandardParameters {
|
|
2559
|
+
/**
|
|
2560
|
+
* Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
|
|
2561
|
+
*/
|
|
2562
|
+
pageSize?: number;
|
|
2563
|
+
/**
|
|
2564
|
+
* Optional. A token identifying a page of results the server should return.
|
|
2565
|
+
*/
|
|
2566
|
+
pageToken?: string;
|
|
2567
|
+
/**
|
|
2568
|
+
* Required. Parent value (AI Application) for ListAiApplicationEndpointsRequest. Format: `projects/{project\}/locations/{location\}/aiApplications/{ai_application\}`
|
|
2569
|
+
*/
|
|
2570
|
+
parent?: string;
|
|
2571
|
+
}
|
|
2572
|
+
export class Resource$Projects$Locations$Aiapplications$Mcpservers {
|
|
2573
|
+
context: APIRequestContext;
|
|
2574
|
+
constructor(context: APIRequestContext);
|
|
2575
|
+
/**
|
|
2576
|
+
* Gets details of a single McpServer under an AI Application.
|
|
2577
|
+
* @example
|
|
2578
|
+
* ```js
|
|
2579
|
+
* // Before running the sample:
|
|
2580
|
+
* // - Enable the API at:
|
|
2581
|
+
* // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
|
|
2582
|
+
* // - Login into gcloud by running:
|
|
2583
|
+
* // ```sh
|
|
2584
|
+
* // $ gcloud auth application-default login
|
|
2585
|
+
* // ```
|
|
2586
|
+
* // - Install the npm module by running:
|
|
2587
|
+
* // ```sh
|
|
2588
|
+
* // $ npm install googleapis
|
|
2589
|
+
* // ```
|
|
2590
|
+
*
|
|
2591
|
+
* const {google} = require('googleapis');
|
|
2592
|
+
* const agentregistry = google.agentregistry('v1alpha');
|
|
2593
|
+
*
|
|
2594
|
+
* async function main() {
|
|
2595
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2596
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2597
|
+
* scopes: [
|
|
2598
|
+
* 'https://www.googleapis.com/auth/agentregistry.read-only',
|
|
2599
|
+
* 'https://www.googleapis.com/auth/agentregistry.read-write',
|
|
2600
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
2601
|
+
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
|
|
2602
|
+
* ],
|
|
2603
|
+
* });
|
|
2604
|
+
*
|
|
2605
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2606
|
+
* const authClient = await auth.getClient();
|
|
2607
|
+
* google.options({auth: authClient});
|
|
2608
|
+
*
|
|
2609
|
+
* // Do the magic
|
|
2610
|
+
* const res =
|
|
2611
|
+
* await agentregistry.projects.locations.aiApplications.mcpServers.get({
|
|
2612
|
+
* // Required. Name of the resource. Format: `projects/{project\}/locations/{location\}/aiApplications/{ai_application\}/mcpServers/{mcp_server\}`
|
|
2613
|
+
* name: 'projects/my-project/locations/my-location/aiApplications/my-aiApplication/mcpServers/my-mcpServer',
|
|
2614
|
+
* });
|
|
2615
|
+
* console.log(res.data);
|
|
2616
|
+
*
|
|
2617
|
+
* // Example response
|
|
2618
|
+
* // {
|
|
2619
|
+
* // "attributes": {},
|
|
2620
|
+
* // "createTime": "my_createTime",
|
|
2621
|
+
* // "description": "my_description",
|
|
2622
|
+
* // "displayName": "my_displayName",
|
|
2623
|
+
* // "interfaces": [],
|
|
2624
|
+
* // "mcpServerId": "my_mcpServerId",
|
|
2625
|
+
* // "name": "my_name",
|
|
2626
|
+
* // "tools": [],
|
|
2627
|
+
* // "updateTime": "my_updateTime"
|
|
2628
|
+
* // }
|
|
2629
|
+
* }
|
|
2630
|
+
*
|
|
2631
|
+
* main().catch(e => {
|
|
2632
|
+
* console.error(e);
|
|
2633
|
+
* throw e;
|
|
2634
|
+
* });
|
|
2635
|
+
*
|
|
2636
|
+
* ```
|
|
2637
|
+
*
|
|
2638
|
+
* @param params - Parameters for request
|
|
2639
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2640
|
+
* @param callback - Optional callback that handles the response.
|
|
2641
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2642
|
+
*/
|
|
2643
|
+
get(params: Params$Resource$Projects$Locations$Aiapplications$Mcpservers$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2644
|
+
get(params?: Params$Resource$Projects$Locations$Aiapplications$Mcpservers$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$McpServer>>;
|
|
2645
|
+
get(params: Params$Resource$Projects$Locations$Aiapplications$Mcpservers$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2646
|
+
get(params: Params$Resource$Projects$Locations$Aiapplications$Mcpservers$Get, options: MethodOptions | BodyResponseCallback<Schema$McpServer>, callback: BodyResponseCallback<Schema$McpServer>): void;
|
|
2647
|
+
get(params: Params$Resource$Projects$Locations$Aiapplications$Mcpservers$Get, callback: BodyResponseCallback<Schema$McpServer>): void;
|
|
2648
|
+
get(callback: BodyResponseCallback<Schema$McpServer>): void;
|
|
2649
|
+
/**
|
|
2650
|
+
* Lists McpServers under an AI Application.
|
|
2651
|
+
* @example
|
|
2652
|
+
* ```js
|
|
2653
|
+
* // Before running the sample:
|
|
2654
|
+
* // - Enable the API at:
|
|
2655
|
+
* // https://console.developers.google.com/apis/api/agentregistry.googleapis.com
|
|
2656
|
+
* // - Login into gcloud by running:
|
|
2657
|
+
* // ```sh
|
|
2658
|
+
* // $ gcloud auth application-default login
|
|
2659
|
+
* // ```
|
|
2660
|
+
* // - Install the npm module by running:
|
|
2661
|
+
* // ```sh
|
|
2662
|
+
* // $ npm install googleapis
|
|
2663
|
+
* // ```
|
|
2664
|
+
*
|
|
2665
|
+
* const {google} = require('googleapis');
|
|
2666
|
+
* const agentregistry = google.agentregistry('v1alpha');
|
|
2667
|
+
*
|
|
2668
|
+
* async function main() {
|
|
2669
|
+
* const auth = new google.auth.GoogleAuth({
|
|
2670
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
2671
|
+
* scopes: [
|
|
2672
|
+
* 'https://www.googleapis.com/auth/agentregistry.read-only',
|
|
2673
|
+
* 'https://www.googleapis.com/auth/agentregistry.read-write',
|
|
2674
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
2675
|
+
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
|
|
2676
|
+
* ],
|
|
2677
|
+
* });
|
|
2678
|
+
*
|
|
2679
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
2680
|
+
* const authClient = await auth.getClient();
|
|
2681
|
+
* google.options({auth: authClient});
|
|
2682
|
+
*
|
|
2683
|
+
* // Do the magic
|
|
2684
|
+
* const res =
|
|
2685
|
+
* await agentregistry.projects.locations.aiApplications.mcpServers.list({
|
|
2686
|
+
* // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
|
|
2687
|
+
* pageSize: 'placeholder-value',
|
|
2688
|
+
* // Optional. A token identifying a page of results the server should return.
|
|
2689
|
+
* pageToken: 'placeholder-value',
|
|
2690
|
+
* // Required. Parent value (AI Application) for ListAiApplicationMcpServersRequest. Format: `projects/{project\}/locations/{location\}/aiApplications/{ai_application\}`
|
|
2691
|
+
* parent:
|
|
2692
|
+
* 'projects/my-project/locations/my-location/aiApplications/my-aiApplication',
|
|
2693
|
+
* });
|
|
2694
|
+
* console.log(res.data);
|
|
2695
|
+
*
|
|
2696
|
+
* // Example response
|
|
2697
|
+
* // {
|
|
2698
|
+
* // "mcpServers": [],
|
|
2699
|
+
* // "nextPageToken": "my_nextPageToken"
|
|
2700
|
+
* // }
|
|
2701
|
+
* }
|
|
2702
|
+
*
|
|
2703
|
+
* main().catch(e => {
|
|
2704
|
+
* console.error(e);
|
|
2705
|
+
* throw e;
|
|
2706
|
+
* });
|
|
2707
|
+
*
|
|
2708
|
+
* ```
|
|
2709
|
+
*
|
|
2710
|
+
* @param params - Parameters for request
|
|
2711
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2712
|
+
* @param callback - Optional callback that handles the response.
|
|
2713
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2714
|
+
*/
|
|
2715
|
+
list(params: Params$Resource$Projects$Locations$Aiapplications$Mcpservers$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2716
|
+
list(params?: Params$Resource$Projects$Locations$Aiapplications$Mcpservers$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAiApplicationMcpServersResponse>>;
|
|
2717
|
+
list(params: Params$Resource$Projects$Locations$Aiapplications$Mcpservers$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2718
|
+
list(params: Params$Resource$Projects$Locations$Aiapplications$Mcpservers$List, options: MethodOptions | BodyResponseCallback<Schema$ListAiApplicationMcpServersResponse>, callback: BodyResponseCallback<Schema$ListAiApplicationMcpServersResponse>): void;
|
|
2719
|
+
list(params: Params$Resource$Projects$Locations$Aiapplications$Mcpservers$List, callback: BodyResponseCallback<Schema$ListAiApplicationMcpServersResponse>): void;
|
|
2720
|
+
list(callback: BodyResponseCallback<Schema$ListAiApplicationMcpServersResponse>): void;
|
|
2721
|
+
}
|
|
2722
|
+
export interface Params$Resource$Projects$Locations$Aiapplications$Mcpservers$Get extends StandardParameters {
|
|
2723
|
+
/**
|
|
2724
|
+
* Required. Name of the resource. Format: `projects/{project\}/locations/{location\}/aiApplications/{ai_application\}/mcpServers/{mcp_server\}`
|
|
2725
|
+
*/
|
|
2726
|
+
name?: string;
|
|
2727
|
+
}
|
|
2728
|
+
export interface Params$Resource$Projects$Locations$Aiapplications$Mcpservers$List extends StandardParameters {
|
|
2729
|
+
/**
|
|
2730
|
+
* Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
|
|
2731
|
+
*/
|
|
2732
|
+
pageSize?: number;
|
|
2733
|
+
/**
|
|
2734
|
+
* Optional. A token identifying a page of results the server should return.
|
|
2735
|
+
*/
|
|
2736
|
+
pageToken?: string;
|
|
2737
|
+
/**
|
|
2738
|
+
* Required. Parent value (AI Application) for ListAiApplicationMcpServersRequest. Format: `projects/{project\}/locations/{location\}/aiApplications/{ai_application\}`
|
|
2739
|
+
*/
|
|
2740
|
+
parent?: string;
|
|
2741
|
+
}
|
|
1850
2742
|
export class Resource$Projects$Locations$Bindings {
|
|
1851
2743
|
context: APIRequestContext;
|
|
1852
2744
|
constructor(context: APIRequestContext);
|