@maxim_mazurok/gapi.client.discoveryengine-v1 0.1.20260209 → 0.1.20260215
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/index.d.ts +774 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260215
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -28,6 +28,340 @@ declare namespace gapi.client {
|
|
|
28
28
|
): void;
|
|
29
29
|
|
|
30
30
|
namespace discoveryengine {
|
|
31
|
+
interface A2aV1AgentCapabilities {
|
|
32
|
+
/** Extensions supported by this agent. */
|
|
33
|
+
extensions?: A2aV1AgentExtension[];
|
|
34
|
+
/** If the agent can send push notifications to the clients webhook */
|
|
35
|
+
pushNotifications?: boolean;
|
|
36
|
+
/** If the agent will support streaming responses */
|
|
37
|
+
streaming?: boolean;
|
|
38
|
+
}
|
|
39
|
+
interface A2aV1AgentCard {
|
|
40
|
+
/** Announcement of additional supported transports. Client can use any of the supported transports. */
|
|
41
|
+
additionalInterfaces?: A2aV1AgentInterface[];
|
|
42
|
+
/** A2A Capability set supported by the agent. */
|
|
43
|
+
capabilities?: A2aV1AgentCapabilities;
|
|
44
|
+
/** protolint:enable REPEATED_FIELD_NAMES_PLURALIZED The set of interaction modes that the agent supports across all skills. This can be overridden per skill. Defined as mime types. */
|
|
45
|
+
defaultInputModes?: string[];
|
|
46
|
+
/** The mime types supported as outputs from this agent. */
|
|
47
|
+
defaultOutputModes?: string[];
|
|
48
|
+
/** A description of the agent's domain of action/solution space. Example: "Agent that helps users with recipes and cooking." */
|
|
49
|
+
description?: string;
|
|
50
|
+
/** A url to provide additional documentation about the agent. */
|
|
51
|
+
documentationUrl?: string;
|
|
52
|
+
/** An optional URL to an icon for the agent. */
|
|
53
|
+
iconUrl?: string;
|
|
54
|
+
/** A human readable name for the agent. Example: "Recipe Agent" */
|
|
55
|
+
name?: string;
|
|
56
|
+
/** The transport of the preferred endpoint. If empty, defaults to JSONRPC. */
|
|
57
|
+
preferredTransport?: string;
|
|
58
|
+
/** The version of the A2A protocol this agent supports. */
|
|
59
|
+
protocolVersion?: string;
|
|
60
|
+
/** The service provider of the agent. */
|
|
61
|
+
provider?: A2aV1AgentProvider;
|
|
62
|
+
/** protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security requirements for contacting the agent. This list can be seen as an OR of ANDs. Each object in the list describes one possible set of security requirements that must be present on a request. This allows specifying, for example, "callers must either use OAuth OR an API Key AND mTLS." Example: security { schemes { key: "oauth" value { list: ["read"] } } } security { schemes { key: "api-key" } schemes { key: "mtls" } } */
|
|
63
|
+
security?: A2aV1Security[];
|
|
64
|
+
/** The security scheme details used for authenticating with this agent. */
|
|
65
|
+
securitySchemes?: {[P in string]: A2aV1SecurityScheme};
|
|
66
|
+
/** JSON Web Signatures computed for this AgentCard. */
|
|
67
|
+
signatures?: A2aV1AgentCardSignature[];
|
|
68
|
+
/** Skills represent a unit of ability an agent can perform. This may somewhat abstract but represents a more focused set of actions that the agent is highly likely to succeed at. */
|
|
69
|
+
skills?: A2aV1AgentSkill[];
|
|
70
|
+
/** Whether the agent supports providing an extended agent card when the user is authenticated, i.e. is the card from .well-known different than the card from GetAgentCard. */
|
|
71
|
+
supportsAuthenticatedExtendedCard?: boolean;
|
|
72
|
+
/** A URL to the address the agent is hosted at. This represents the preferred endpoint as declared by the agent. */
|
|
73
|
+
url?: string;
|
|
74
|
+
/** The version of the agent. Example: "1.0.0" */
|
|
75
|
+
version?: string;
|
|
76
|
+
}
|
|
77
|
+
interface A2aV1AgentCardSignature {
|
|
78
|
+
/** The unprotected JWS header values. */
|
|
79
|
+
header?: {[P in string]: any};
|
|
80
|
+
/** Required. The protected JWS header for the signature. This is always a base64url-encoded JSON object. Required. */
|
|
81
|
+
protected?: string;
|
|
82
|
+
/** Required. The computed signature, base64url-encoded. Required. */
|
|
83
|
+
signature?: string;
|
|
84
|
+
}
|
|
85
|
+
interface A2aV1AgentExtension {
|
|
86
|
+
/** A description of how this agent uses this extension. Example: "Google OAuth 2.0 authentication" */
|
|
87
|
+
description?: string;
|
|
88
|
+
/** Optional configuration for the extension. */
|
|
89
|
+
params?: {[P in string]: any};
|
|
90
|
+
/** Whether the client must follow specific requirements of the extension. Example: false */
|
|
91
|
+
required?: boolean;
|
|
92
|
+
/** The URI of the extension. Example: "https://developers.google.com/identity/protocols/oauth2" */
|
|
93
|
+
uri?: string;
|
|
94
|
+
}
|
|
95
|
+
interface A2aV1AgentInterface {
|
|
96
|
+
/** Tenant to be set in the request when calling the agent. Experimental, might still change for 1.0 release. */
|
|
97
|
+
tenant?: string;
|
|
98
|
+
/** The transport supported this url. This is an open form string, to be easily extended for many transport protocols. The core ones officially supported are JSONRPC, GRPC and HTTP+JSON. */
|
|
99
|
+
transport?: string;
|
|
100
|
+
/** The url this interface is found at. */
|
|
101
|
+
url?: string;
|
|
102
|
+
}
|
|
103
|
+
interface A2aV1AgentProvider {
|
|
104
|
+
/** The providers organization name Example: "Google" */
|
|
105
|
+
organization?: string;
|
|
106
|
+
/** The providers reference url Example: "https://ai.google.dev" */
|
|
107
|
+
url?: string;
|
|
108
|
+
}
|
|
109
|
+
interface A2aV1AgentSkill {
|
|
110
|
+
/** A human (or llm) readable description of the skill details and behaviors. */
|
|
111
|
+
description?: string;
|
|
112
|
+
/** A set of example queries that this skill is designed to address. These examples should help the caller to understand how to craft requests to the agent to achieve specific goals. Example: ["I need a recipe for bread"] */
|
|
113
|
+
examples?: string[];
|
|
114
|
+
/** Unique identifier of the skill within this agent. */
|
|
115
|
+
id?: string;
|
|
116
|
+
/** Possible input modalities supported. */
|
|
117
|
+
inputModes?: string[];
|
|
118
|
+
/** A human readable name for the skill. */
|
|
119
|
+
name?: string;
|
|
120
|
+
/** Possible output modalities produced */
|
|
121
|
+
outputModes?: string[];
|
|
122
|
+
/** protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security schemes necessary for the agent to leverage this skill. As in the overall AgentCard.security, this list represents a logical OR of security requirement objects. Each object is a set of security schemes that must be used together (a logical AND). protolint:enable REPEATED_FIELD_NAMES_PLURALIZED */
|
|
123
|
+
security?: A2aV1Security[];
|
|
124
|
+
/** A set of tags for the skill to enhance categorization/utilization. Example: ["cooking", "customer support", "billing"] */
|
|
125
|
+
tags?: string[];
|
|
126
|
+
}
|
|
127
|
+
interface A2aV1APIKeySecurityScheme {
|
|
128
|
+
/** Description of this security scheme. */
|
|
129
|
+
description?: string;
|
|
130
|
+
/** Location of the API key, valid values are "query", "header", or "cookie" */
|
|
131
|
+
location?: string;
|
|
132
|
+
/** Name of the header, query or cookie parameter to be used. */
|
|
133
|
+
name?: string;
|
|
134
|
+
}
|
|
135
|
+
interface A2aV1Artifact {
|
|
136
|
+
/** Unique identifier (e.g. UUID) for the artifact. It must be at least unique within a task. */
|
|
137
|
+
artifactId?: string;
|
|
138
|
+
/** A human readable description of the artifact, optional. */
|
|
139
|
+
description?: string;
|
|
140
|
+
/** The URIs of extensions that are present or contributed to this Artifact. */
|
|
141
|
+
extensions?: string[];
|
|
142
|
+
/** Optional metadata included with the artifact. */
|
|
143
|
+
metadata?: {[P in string]: any};
|
|
144
|
+
/** A human readable name for the artifact. */
|
|
145
|
+
name?: string;
|
|
146
|
+
/** The content of the artifact. */
|
|
147
|
+
parts?: A2aV1Part[];
|
|
148
|
+
}
|
|
149
|
+
interface A2aV1AuthenticationInfo {
|
|
150
|
+
/** Optional credentials */
|
|
151
|
+
credentials?: string;
|
|
152
|
+
/** Supported authentication schemes - e.g. Basic, Bearer, etc */
|
|
153
|
+
schemes?: string[];
|
|
154
|
+
}
|
|
155
|
+
interface A2aV1AuthorizationCodeOAuthFlow {
|
|
156
|
+
/** The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS */
|
|
157
|
+
authorizationUrl?: string;
|
|
158
|
+
/** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
159
|
+
refreshUrl?: string;
|
|
160
|
+
/** The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
|
|
161
|
+
scopes?: {[P in string]: string};
|
|
162
|
+
/** The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
163
|
+
tokenUrl?: string;
|
|
164
|
+
}
|
|
165
|
+
interface A2aV1CancelTaskRequest {}
|
|
166
|
+
interface A2aV1ClientCredentialsOAuthFlow {
|
|
167
|
+
/** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
168
|
+
refreshUrl?: string;
|
|
169
|
+
/** The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
|
|
170
|
+
scopes?: {[P in string]: string};
|
|
171
|
+
/** The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
172
|
+
tokenUrl?: string;
|
|
173
|
+
}
|
|
174
|
+
interface A2aV1DataPart {
|
|
175
|
+
data?: {[P in string]: any};
|
|
176
|
+
}
|
|
177
|
+
interface A2aV1FilePart {
|
|
178
|
+
fileWithBytes?: string;
|
|
179
|
+
fileWithUri?: string;
|
|
180
|
+
mimeType?: string;
|
|
181
|
+
name?: string;
|
|
182
|
+
}
|
|
183
|
+
interface A2aV1HTTPAuthSecurityScheme {
|
|
184
|
+
/** A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes. */
|
|
185
|
+
bearerFormat?: string;
|
|
186
|
+
/** Description of this security scheme. */
|
|
187
|
+
description?: string;
|
|
188
|
+
/** The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. The value is case-insensitive, as defined in RFC7235. */
|
|
189
|
+
scheme?: string;
|
|
190
|
+
}
|
|
191
|
+
interface A2aV1ImplicitOAuthFlow {
|
|
192
|
+
/** The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS */
|
|
193
|
+
authorizationUrl?: string;
|
|
194
|
+
/** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
195
|
+
refreshUrl?: string;
|
|
196
|
+
/** The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
|
|
197
|
+
scopes?: {[P in string]: string};
|
|
198
|
+
}
|
|
199
|
+
interface A2aV1ListTaskPushNotificationConfigResponse {
|
|
200
|
+
/** The list of push notification configurations. */
|
|
201
|
+
configs?: A2aV1TaskPushNotificationConfig[];
|
|
202
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
203
|
+
nextPageToken?: string;
|
|
204
|
+
}
|
|
205
|
+
interface A2aV1Message {
|
|
206
|
+
/** protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content. */
|
|
207
|
+
content?: A2aV1Part[];
|
|
208
|
+
/** The context id of the message. This is optional and if set, the message will be associated with the given context. */
|
|
209
|
+
contextId?: string;
|
|
210
|
+
/** The URIs of extensions that are present or contributed to this Message. */
|
|
211
|
+
extensions?: string[];
|
|
212
|
+
/** The unique identifier (e.g. UUID)of the message. This is required and created by the message creator. */
|
|
213
|
+
messageId?: string;
|
|
214
|
+
/** protolint:enable REPEATED_FIELD_NAMES_PLURALIZED Any optional metadata to provide along with the message. */
|
|
215
|
+
metadata?: {[P in string]: any};
|
|
216
|
+
/** A role for the message. */
|
|
217
|
+
role?: string;
|
|
218
|
+
/** The task id of the message. This is optional and if set, the message will be associated with the given task. */
|
|
219
|
+
taskId?: string;
|
|
220
|
+
}
|
|
221
|
+
interface A2aV1MutualTlsSecurityScheme {
|
|
222
|
+
/** Description of this security scheme. */
|
|
223
|
+
description?: string;
|
|
224
|
+
}
|
|
225
|
+
interface A2aV1OAuth2SecurityScheme {
|
|
226
|
+
/** Description of this security scheme. */
|
|
227
|
+
description?: string;
|
|
228
|
+
/** An object containing configuration information for the flow types supported */
|
|
229
|
+
flows?: A2aV1OAuthFlows;
|
|
230
|
+
/** URL to the oauth2 authorization server metadata [RFC8414](https://datatracker.ietf.org/doc/html/rfc8414). TLS is required. */
|
|
231
|
+
oauth2MetadataUrl?: string;
|
|
232
|
+
}
|
|
233
|
+
interface A2aV1OAuthFlows {
|
|
234
|
+
authorizationCode?: A2aV1AuthorizationCodeOAuthFlow;
|
|
235
|
+
clientCredentials?: A2aV1ClientCredentialsOAuthFlow;
|
|
236
|
+
implicit?: A2aV1ImplicitOAuthFlow;
|
|
237
|
+
password?: A2aV1PasswordOAuthFlow;
|
|
238
|
+
}
|
|
239
|
+
interface A2aV1OpenIdConnectSecurityScheme {
|
|
240
|
+
/** Description of this security scheme. */
|
|
241
|
+
description?: string;
|
|
242
|
+
/** Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */
|
|
243
|
+
openIdConnectUrl?: string;
|
|
244
|
+
}
|
|
245
|
+
interface A2aV1Part {
|
|
246
|
+
data?: A2aV1DataPart;
|
|
247
|
+
file?: A2aV1FilePart;
|
|
248
|
+
/** Optional metadata associated with this part. */
|
|
249
|
+
metadata?: {[P in string]: any};
|
|
250
|
+
text?: string;
|
|
251
|
+
}
|
|
252
|
+
interface A2aV1PasswordOAuthFlow {
|
|
253
|
+
/** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
254
|
+
refreshUrl?: string;
|
|
255
|
+
/** The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
|
|
256
|
+
scopes?: {[P in string]: string};
|
|
257
|
+
/** The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
258
|
+
tokenUrl?: string;
|
|
259
|
+
}
|
|
260
|
+
interface A2aV1PushNotificationConfig {
|
|
261
|
+
/** Information about the authentication to sent with the notification */
|
|
262
|
+
authentication?: A2aV1AuthenticationInfo;
|
|
263
|
+
/** A unique identifier (e.g. UUID) for this push notification. */
|
|
264
|
+
id?: string;
|
|
265
|
+
/** Token unique for this task/session */
|
|
266
|
+
token?: string;
|
|
267
|
+
/** Url to send the notification too */
|
|
268
|
+
url?: string;
|
|
269
|
+
}
|
|
270
|
+
interface A2aV1Security {
|
|
271
|
+
schemes?: {[P in string]: A2aV1StringList};
|
|
272
|
+
}
|
|
273
|
+
interface A2aV1SecurityScheme {
|
|
274
|
+
apiKeySecurityScheme?: A2aV1APIKeySecurityScheme;
|
|
275
|
+
httpAuthSecurityScheme?: A2aV1HTTPAuthSecurityScheme;
|
|
276
|
+
mtlsSecurityScheme?: A2aV1MutualTlsSecurityScheme;
|
|
277
|
+
oauth2SecurityScheme?: A2aV1OAuth2SecurityScheme;
|
|
278
|
+
openIdConnectSecurityScheme?: A2aV1OpenIdConnectSecurityScheme;
|
|
279
|
+
}
|
|
280
|
+
interface A2aV1SendMessageConfiguration {
|
|
281
|
+
/** The output modes that the agent is expected to respond with. */
|
|
282
|
+
acceptedOutputModes?: string[];
|
|
283
|
+
/** If true, the message will be blocking until the task is completed. If false, the message will be non-blocking and the task will be returned immediately. It is the caller's responsibility to check for any task updates. */
|
|
284
|
+
blocking?: boolean;
|
|
285
|
+
/** The maximum number of messages to include in the history. if 0, the history will be unlimited. */
|
|
286
|
+
historyLength?: number;
|
|
287
|
+
/** A configuration of a webhook that can be used to receive updates */
|
|
288
|
+
pushNotification?: A2aV1PushNotificationConfig;
|
|
289
|
+
}
|
|
290
|
+
interface A2aV1SendMessageRequest {
|
|
291
|
+
/** Configuration for the send request. */
|
|
292
|
+
configuration?: A2aV1SendMessageConfiguration;
|
|
293
|
+
/** Required. The message to send to the agent. */
|
|
294
|
+
message?: A2aV1Message;
|
|
295
|
+
/** Optional metadata for the request. */
|
|
296
|
+
metadata?: {[P in string]: any};
|
|
297
|
+
}
|
|
298
|
+
interface A2aV1SendMessageResponse {
|
|
299
|
+
message?: A2aV1Message;
|
|
300
|
+
task?: A2aV1Task;
|
|
301
|
+
}
|
|
302
|
+
interface A2aV1StreamResponse {
|
|
303
|
+
artifactUpdate?: A2aV1TaskArtifactUpdateEvent;
|
|
304
|
+
message?: A2aV1Message;
|
|
305
|
+
statusUpdate?: A2aV1TaskStatusUpdateEvent;
|
|
306
|
+
task?: A2aV1Task;
|
|
307
|
+
}
|
|
308
|
+
interface A2aV1StringList {
|
|
309
|
+
list?: string[];
|
|
310
|
+
}
|
|
311
|
+
interface A2aV1Task {
|
|
312
|
+
/** A set of output artifacts for a Task. */
|
|
313
|
+
artifacts?: A2aV1Artifact[];
|
|
314
|
+
/** Unique identifier (e.g. UUID) for the contextual collection of interactions (tasks and messages). Created by the A2A server. */
|
|
315
|
+
contextId?: string;
|
|
316
|
+
/** protolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a task. */
|
|
317
|
+
history?: A2aV1Message[];
|
|
318
|
+
/** Unique identifier (e.g. UUID) for the task, generated by the server for a new task. */
|
|
319
|
+
id?: string;
|
|
320
|
+
/** protolint:enable REPEATED_FIELD_NAMES_PLURALIZED A key/value object to store custom metadata about a task. */
|
|
321
|
+
metadata?: {[P in string]: any};
|
|
322
|
+
/** The current status of a Task, including state and a message. */
|
|
323
|
+
status?: A2aV1TaskStatus;
|
|
324
|
+
}
|
|
325
|
+
interface A2aV1TaskArtifactUpdateEvent {
|
|
326
|
+
/** Whether this should be appended to a prior one produced */
|
|
327
|
+
append?: boolean;
|
|
328
|
+
/** The artifact itself */
|
|
329
|
+
artifact?: A2aV1Artifact;
|
|
330
|
+
/** The id of the context that this task belongs too */
|
|
331
|
+
contextId?: string;
|
|
332
|
+
/** Whether this represents the last part of an artifact */
|
|
333
|
+
lastChunk?: boolean;
|
|
334
|
+
/** Optional metadata associated with the artifact update. */
|
|
335
|
+
metadata?: {[P in string]: any};
|
|
336
|
+
/** The id of the task for this artifact */
|
|
337
|
+
taskId?: string;
|
|
338
|
+
}
|
|
339
|
+
interface A2aV1TaskPushNotificationConfig {
|
|
340
|
+
/** The resource name of the config. Format: tasks/{task_id}/pushNotificationConfigs/{config_id} */
|
|
341
|
+
name?: string;
|
|
342
|
+
/** The push notification configuration details. */
|
|
343
|
+
pushNotificationConfig?: A2aV1PushNotificationConfig;
|
|
344
|
+
}
|
|
345
|
+
interface A2aV1TaskStatus {
|
|
346
|
+
/** A message associated with the status. */
|
|
347
|
+
message?: A2aV1Message;
|
|
348
|
+
/** The current state of this task */
|
|
349
|
+
state?: string;
|
|
350
|
+
/** Timestamp when the status was recorded. Example: "2023-10-27T10:00:00Z" */
|
|
351
|
+
timestamp?: string;
|
|
352
|
+
}
|
|
353
|
+
interface A2aV1TaskStatusUpdateEvent {
|
|
354
|
+
/** The id of the context that the task belongs to */
|
|
355
|
+
contextId?: string;
|
|
356
|
+
/** Whether this is the last status update expected for this task. */
|
|
357
|
+
final?: boolean;
|
|
358
|
+
/** Optional metadata to associate with the task update. */
|
|
359
|
+
metadata?: {[P in string]: any};
|
|
360
|
+
/** The new status of the task. */
|
|
361
|
+
status?: A2aV1TaskStatus;
|
|
362
|
+
/** The id of the task that is changed */
|
|
363
|
+
taskId?: string;
|
|
364
|
+
}
|
|
31
365
|
interface GoogleApiDistribution {
|
|
32
366
|
/** The number of values in each bucket of the histogram, as described in `bucket_options`. If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in `bucket_counts` must equal the value in the `count` field of the distribution. If present, `bucket_counts` should contain N values, where N is the number of buckets specified in `bucket_options`. If you supply fewer than N values, the remaining values are assumed to be 0. The order of the values in `bucket_counts` follows the bucket numbering schemes described for the three bucket types. The first value must be the count for the underflow bucket (number 0). The next N-2 values are the counts for the finite buckets (number 1 through N-2). The N'th value in `bucket_counts` is the count for the overflow bucket (number N-1). */
|
|
33
367
|
bucketCounts?: string[];
|
|
@@ -1355,6 +1689,8 @@ declare namespace gapi.client {
|
|
|
1355
1689
|
commonConfig?: GoogleCloudDiscoveryengineV1alphaEngineCommonConfig;
|
|
1356
1690
|
/** Optional. Configuration for configurable billing approach. */
|
|
1357
1691
|
configurableBillingApproach?: string;
|
|
1692
|
+
/** Optional. Maps a connector ID (e.g., "hybrid-github", "shopify") to tenant-specific information required for that connector. The structure of the tenant information string is connector-dependent. */
|
|
1693
|
+
connectorTenantInfo?: {[P in string]: string};
|
|
1358
1694
|
/** Output only. Timestamp the Recommendation Engine was created at. */
|
|
1359
1695
|
createTime?: string;
|
|
1360
1696
|
/** Optional. The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations. */
|
|
@@ -2148,7 +2484,7 @@ declare namespace gapi.client {
|
|
|
2148
2484
|
languageCode?: string;
|
|
2149
2485
|
/** Optional. Config for natural language query understanding capabilities, such as extracting structured field filters from the query. Refer to [this documentation](https://cloud.google.com/generative-ai-app-builder/docs/natural-language-queries) for more information. If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done. */
|
|
2150
2486
|
naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec;
|
|
2151
|
-
/** Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.
|
|
2487
|
+
/** Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.DataStoreSpec.num_results if provided, otherwise there is no limit. */
|
|
2152
2488
|
numResultsPerDataStore?: number;
|
|
2153
2489
|
/** A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be capped to a reasonable threshold. */
|
|
2154
2490
|
offset?: number;
|
|
@@ -3662,6 +3998,8 @@ declare namespace gapi.client {
|
|
|
3662
3998
|
commonConfig?: GoogleCloudDiscoveryengineV1betaEngineCommonConfig;
|
|
3663
3999
|
/** Optional. Configuration for configurable billing approach. */
|
|
3664
4000
|
configurableBillingApproach?: string;
|
|
4001
|
+
/** Optional. Maps a connector ID (e.g., "hybrid-github", "shopify") to tenant-specific information required for that connector. The structure of the tenant information string is connector-dependent. */
|
|
4002
|
+
connectorTenantInfo?: {[P in string]: string};
|
|
3665
4003
|
/** Output only. Timestamp the Recommendation Engine was created at. */
|
|
3666
4004
|
createTime?: string;
|
|
3667
4005
|
/** Optional. The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations. */
|
|
@@ -4183,7 +4521,7 @@ declare namespace gapi.client {
|
|
|
4183
4521
|
languageCode?: string;
|
|
4184
4522
|
/** Optional. Config for natural language query understanding capabilities, such as extracting structured field filters from the query. Refer to [this documentation](https://cloud.google.com/generative-ai-app-builder/docs/natural-language-queries) for more information. If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done. */
|
|
4185
4523
|
naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec;
|
|
4186
|
-
/** Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.
|
|
4524
|
+
/** Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.DataStoreSpec.num_results if provided, otherwise there is no limit. */
|
|
4187
4525
|
numResultsPerDataStore?: number;
|
|
4188
4526
|
/** A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be capped to a reasonable threshold. */
|
|
4189
4527
|
offset?: number;
|
|
@@ -5465,6 +5803,8 @@ declare namespace gapi.client {
|
|
|
5465
5803
|
commonConfig?: GoogleCloudDiscoveryengineV1EngineCommonConfig;
|
|
5466
5804
|
/** Optional. Configuration for configurable billing approach. */
|
|
5467
5805
|
configurableBillingApproach?: string;
|
|
5806
|
+
/** Optional. Maps a connector ID (e.g., "hybrid-github", "shopify") to tenant-specific information required for that connector. The structure of the tenant information string is connector-dependent. */
|
|
5807
|
+
connectorTenantInfo?: {[P in string]: string};
|
|
5468
5808
|
/** Output only. Timestamp the Recommendation Engine was created at. */
|
|
5469
5809
|
createTime?: string;
|
|
5470
5810
|
/** Optional. The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations. */
|
|
@@ -11665,6 +12005,124 @@ declare namespace gapi.client {
|
|
|
11665
12005
|
userEvents: UserEventsResource;
|
|
11666
12006
|
widgetConfigs: WidgetConfigsResource;
|
|
11667
12007
|
}
|
|
12008
|
+
interface MessageResource {
|
|
12009
|
+
/** Send a message to the agent. This is a blocking call that will return the task once it is completed, or a LRO if requested. */
|
|
12010
|
+
send(request: {
|
|
12011
|
+
/** V1 error format. */
|
|
12012
|
+
'$.xgafv'?: string;
|
|
12013
|
+
/** OAuth access token. */
|
|
12014
|
+
access_token?: string;
|
|
12015
|
+
/** Data format for response. */
|
|
12016
|
+
alt?: string;
|
|
12017
|
+
/** JSONP */
|
|
12018
|
+
callback?: string;
|
|
12019
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12020
|
+
fields?: string;
|
|
12021
|
+
/** 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. */
|
|
12022
|
+
key?: string;
|
|
12023
|
+
/** OAuth 2.0 token for the current user. */
|
|
12024
|
+
oauth_token?: string;
|
|
12025
|
+
/** Returns response with indentations and line breaks. */
|
|
12026
|
+
prettyPrint?: boolean;
|
|
12027
|
+
/** 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. */
|
|
12028
|
+
quotaUser?: string;
|
|
12029
|
+
/** Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. */
|
|
12030
|
+
tenant: string;
|
|
12031
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12032
|
+
upload_protocol?: string;
|
|
12033
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12034
|
+
uploadType?: string;
|
|
12035
|
+
/** Request body */
|
|
12036
|
+
resource: A2aV1SendMessageRequest;
|
|
12037
|
+
}): Request<A2aV1SendMessageResponse>;
|
|
12038
|
+
send(
|
|
12039
|
+
request: {
|
|
12040
|
+
/** V1 error format. */
|
|
12041
|
+
'$.xgafv'?: string;
|
|
12042
|
+
/** OAuth access token. */
|
|
12043
|
+
access_token?: string;
|
|
12044
|
+
/** Data format for response. */
|
|
12045
|
+
alt?: string;
|
|
12046
|
+
/** JSONP */
|
|
12047
|
+
callback?: string;
|
|
12048
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12049
|
+
fields?: string;
|
|
12050
|
+
/** 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. */
|
|
12051
|
+
key?: string;
|
|
12052
|
+
/** OAuth 2.0 token for the current user. */
|
|
12053
|
+
oauth_token?: string;
|
|
12054
|
+
/** Returns response with indentations and line breaks. */
|
|
12055
|
+
prettyPrint?: boolean;
|
|
12056
|
+
/** 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. */
|
|
12057
|
+
quotaUser?: string;
|
|
12058
|
+
/** Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. */
|
|
12059
|
+
tenant: string;
|
|
12060
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12061
|
+
upload_protocol?: string;
|
|
12062
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12063
|
+
uploadType?: string;
|
|
12064
|
+
},
|
|
12065
|
+
body: A2aV1SendMessageRequest,
|
|
12066
|
+
): Request<A2aV1SendMessageResponse>;
|
|
12067
|
+
/** SendStreamingMessage is a streaming call that will return a stream of task update events until the Task is in an interrupted or terminal state. */
|
|
12068
|
+
stream(request: {
|
|
12069
|
+
/** V1 error format. */
|
|
12070
|
+
'$.xgafv'?: string;
|
|
12071
|
+
/** OAuth access token. */
|
|
12072
|
+
access_token?: string;
|
|
12073
|
+
/** Data format for response. */
|
|
12074
|
+
alt?: string;
|
|
12075
|
+
/** JSONP */
|
|
12076
|
+
callback?: string;
|
|
12077
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12078
|
+
fields?: string;
|
|
12079
|
+
/** 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. */
|
|
12080
|
+
key?: string;
|
|
12081
|
+
/** OAuth 2.0 token for the current user. */
|
|
12082
|
+
oauth_token?: string;
|
|
12083
|
+
/** Returns response with indentations and line breaks. */
|
|
12084
|
+
prettyPrint?: boolean;
|
|
12085
|
+
/** 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. */
|
|
12086
|
+
quotaUser?: string;
|
|
12087
|
+
/** Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. */
|
|
12088
|
+
tenant: string;
|
|
12089
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12090
|
+
upload_protocol?: string;
|
|
12091
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12092
|
+
uploadType?: string;
|
|
12093
|
+
/** Request body */
|
|
12094
|
+
resource: A2aV1SendMessageRequest;
|
|
12095
|
+
}): Request<A2aV1StreamResponse>;
|
|
12096
|
+
stream(
|
|
12097
|
+
request: {
|
|
12098
|
+
/** V1 error format. */
|
|
12099
|
+
'$.xgafv'?: string;
|
|
12100
|
+
/** OAuth access token. */
|
|
12101
|
+
access_token?: string;
|
|
12102
|
+
/** Data format for response. */
|
|
12103
|
+
alt?: string;
|
|
12104
|
+
/** JSONP */
|
|
12105
|
+
callback?: string;
|
|
12106
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12107
|
+
fields?: string;
|
|
12108
|
+
/** 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. */
|
|
12109
|
+
key?: string;
|
|
12110
|
+
/** OAuth 2.0 token for the current user. */
|
|
12111
|
+
oauth_token?: string;
|
|
12112
|
+
/** Returns response with indentations and line breaks. */
|
|
12113
|
+
prettyPrint?: boolean;
|
|
12114
|
+
/** 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. */
|
|
12115
|
+
quotaUser?: string;
|
|
12116
|
+
/** Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. */
|
|
12117
|
+
tenant: string;
|
|
12118
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12119
|
+
upload_protocol?: string;
|
|
12120
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12121
|
+
uploadType?: string;
|
|
12122
|
+
},
|
|
12123
|
+
body: A2aV1SendMessageRequest,
|
|
12124
|
+
): Request<A2aV1StreamResponse>;
|
|
12125
|
+
}
|
|
11668
12126
|
interface OperationsResource {
|
|
11669
12127
|
/** 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. */
|
|
11670
12128
|
get(request?: {
|
|
@@ -11694,8 +12152,321 @@ declare namespace gapi.client {
|
|
|
11694
12152
|
uploadType?: string;
|
|
11695
12153
|
}): Request<GoogleLongrunningOperation>;
|
|
11696
12154
|
}
|
|
12155
|
+
interface PushNotificationConfigsResource {
|
|
12156
|
+
/** Set a push notification config for a task. */
|
|
12157
|
+
create(request: {
|
|
12158
|
+
/** V1 error format. */
|
|
12159
|
+
'$.xgafv'?: string;
|
|
12160
|
+
/** OAuth access token. */
|
|
12161
|
+
access_token?: string;
|
|
12162
|
+
/** Data format for response. */
|
|
12163
|
+
alt?: string;
|
|
12164
|
+
/** JSONP */
|
|
12165
|
+
callback?: string;
|
|
12166
|
+
/** Required. The ID for the new config. */
|
|
12167
|
+
configId?: string;
|
|
12168
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12169
|
+
fields?: string;
|
|
12170
|
+
/** 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. */
|
|
12171
|
+
key?: string;
|
|
12172
|
+
/** OAuth 2.0 token for the current user. */
|
|
12173
|
+
oauth_token?: string;
|
|
12174
|
+
/** Required. The parent task resource for this config. Format: tasks/{task_id} */
|
|
12175
|
+
parent: string;
|
|
12176
|
+
/** Returns response with indentations and line breaks. */
|
|
12177
|
+
prettyPrint?: boolean;
|
|
12178
|
+
/** 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. */
|
|
12179
|
+
quotaUser?: string;
|
|
12180
|
+
/** Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. */
|
|
12181
|
+
tenant: string;
|
|
12182
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12183
|
+
upload_protocol?: string;
|
|
12184
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12185
|
+
uploadType?: string;
|
|
12186
|
+
/** Request body */
|
|
12187
|
+
resource: A2aV1TaskPushNotificationConfig;
|
|
12188
|
+
}): Request<A2aV1TaskPushNotificationConfig>;
|
|
12189
|
+
create(
|
|
12190
|
+
request: {
|
|
12191
|
+
/** V1 error format. */
|
|
12192
|
+
'$.xgafv'?: string;
|
|
12193
|
+
/** OAuth access token. */
|
|
12194
|
+
access_token?: string;
|
|
12195
|
+
/** Data format for response. */
|
|
12196
|
+
alt?: string;
|
|
12197
|
+
/** JSONP */
|
|
12198
|
+
callback?: string;
|
|
12199
|
+
/** Required. The ID for the new config. */
|
|
12200
|
+
configId?: string;
|
|
12201
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12202
|
+
fields?: string;
|
|
12203
|
+
/** 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. */
|
|
12204
|
+
key?: string;
|
|
12205
|
+
/** OAuth 2.0 token for the current user. */
|
|
12206
|
+
oauth_token?: string;
|
|
12207
|
+
/** Required. The parent task resource for this config. Format: tasks/{task_id} */
|
|
12208
|
+
parent: string;
|
|
12209
|
+
/** Returns response with indentations and line breaks. */
|
|
12210
|
+
prettyPrint?: boolean;
|
|
12211
|
+
/** 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. */
|
|
12212
|
+
quotaUser?: string;
|
|
12213
|
+
/** Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. */
|
|
12214
|
+
tenant: string;
|
|
12215
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12216
|
+
upload_protocol?: string;
|
|
12217
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12218
|
+
uploadType?: string;
|
|
12219
|
+
},
|
|
12220
|
+
body: A2aV1TaskPushNotificationConfig,
|
|
12221
|
+
): Request<A2aV1TaskPushNotificationConfig>;
|
|
12222
|
+
/** Delete a push notification config for a task. */
|
|
12223
|
+
delete(request?: {
|
|
12224
|
+
/** V1 error format. */
|
|
12225
|
+
'$.xgafv'?: string;
|
|
12226
|
+
/** OAuth access token. */
|
|
12227
|
+
access_token?: string;
|
|
12228
|
+
/** Data format for response. */
|
|
12229
|
+
alt?: string;
|
|
12230
|
+
/** JSONP */
|
|
12231
|
+
callback?: string;
|
|
12232
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12233
|
+
fields?: string;
|
|
12234
|
+
/** 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. */
|
|
12235
|
+
key?: string;
|
|
12236
|
+
/** The resource name of the config to delete. Format: tasks/{task_id}/pushNotificationConfigs/{config_id} */
|
|
12237
|
+
name: string;
|
|
12238
|
+
/** OAuth 2.0 token for the current user. */
|
|
12239
|
+
oauth_token?: string;
|
|
12240
|
+
/** Returns response with indentations and line breaks. */
|
|
12241
|
+
prettyPrint?: boolean;
|
|
12242
|
+
/** 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. */
|
|
12243
|
+
quotaUser?: string;
|
|
12244
|
+
/** Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. */
|
|
12245
|
+
tenant: string;
|
|
12246
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12247
|
+
upload_protocol?: string;
|
|
12248
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12249
|
+
uploadType?: string;
|
|
12250
|
+
}): Request<{}>;
|
|
12251
|
+
/** Get a push notification config for a task. */
|
|
12252
|
+
get(request?: {
|
|
12253
|
+
/** V1 error format. */
|
|
12254
|
+
'$.xgafv'?: string;
|
|
12255
|
+
/** OAuth access token. */
|
|
12256
|
+
access_token?: string;
|
|
12257
|
+
/** Data format for response. */
|
|
12258
|
+
alt?: string;
|
|
12259
|
+
/** JSONP */
|
|
12260
|
+
callback?: string;
|
|
12261
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12262
|
+
fields?: string;
|
|
12263
|
+
/** 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. */
|
|
12264
|
+
key?: string;
|
|
12265
|
+
/** The resource name of the config to retrieve. Format: tasks/{task_id}/pushNotificationConfigs/{config_id} */
|
|
12266
|
+
name: string;
|
|
12267
|
+
/** OAuth 2.0 token for the current user. */
|
|
12268
|
+
oauth_token?: string;
|
|
12269
|
+
/** Returns response with indentations and line breaks. */
|
|
12270
|
+
prettyPrint?: boolean;
|
|
12271
|
+
/** 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. */
|
|
12272
|
+
quotaUser?: string;
|
|
12273
|
+
/** Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. */
|
|
12274
|
+
tenant: string;
|
|
12275
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12276
|
+
upload_protocol?: string;
|
|
12277
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12278
|
+
uploadType?: string;
|
|
12279
|
+
}): Request<A2aV1TaskPushNotificationConfig>;
|
|
12280
|
+
/** Get a list of push notifications configured for a task. */
|
|
12281
|
+
list(request?: {
|
|
12282
|
+
/** V1 error format. */
|
|
12283
|
+
'$.xgafv'?: string;
|
|
12284
|
+
/** OAuth access token. */
|
|
12285
|
+
access_token?: string;
|
|
12286
|
+
/** Data format for response. */
|
|
12287
|
+
alt?: string;
|
|
12288
|
+
/** JSONP */
|
|
12289
|
+
callback?: string;
|
|
12290
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12291
|
+
fields?: string;
|
|
12292
|
+
/** 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. */
|
|
12293
|
+
key?: string;
|
|
12294
|
+
/** OAuth 2.0 token for the current user. */
|
|
12295
|
+
oauth_token?: string;
|
|
12296
|
+
/** For AIP-158 these fields are present. Usually not used/needed. The maximum number of configurations to return. If unspecified, all configs will be returned. */
|
|
12297
|
+
pageSize?: number;
|
|
12298
|
+
/** A page token received from a previous ListTaskPushNotificationConfigRequest call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTaskPushNotificationConfigRequest` must match the call that provided the page token. */
|
|
12299
|
+
pageToken?: string;
|
|
12300
|
+
/** The parent task resource. Format: tasks/{task_id} */
|
|
12301
|
+
parent: string;
|
|
12302
|
+
/** Returns response with indentations and line breaks. */
|
|
12303
|
+
prettyPrint?: boolean;
|
|
12304
|
+
/** 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. */
|
|
12305
|
+
quotaUser?: string;
|
|
12306
|
+
/** Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. */
|
|
12307
|
+
tenant: string;
|
|
12308
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12309
|
+
upload_protocol?: string;
|
|
12310
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12311
|
+
uploadType?: string;
|
|
12312
|
+
}): Request<A2aV1ListTaskPushNotificationConfigResponse>;
|
|
12313
|
+
}
|
|
12314
|
+
interface TasksResource {
|
|
12315
|
+
/** Cancel a task from the agent. If supported one should expect no more task updates for the task. */
|
|
12316
|
+
cancel(request: {
|
|
12317
|
+
/** V1 error format. */
|
|
12318
|
+
'$.xgafv'?: string;
|
|
12319
|
+
/** OAuth access token. */
|
|
12320
|
+
access_token?: string;
|
|
12321
|
+
/** Data format for response. */
|
|
12322
|
+
alt?: string;
|
|
12323
|
+
/** JSONP */
|
|
12324
|
+
callback?: string;
|
|
12325
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12326
|
+
fields?: string;
|
|
12327
|
+
/** 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. */
|
|
12328
|
+
key?: string;
|
|
12329
|
+
/** The resource name of the task to cancel. Format: tasks/{task_id} */
|
|
12330
|
+
name: string;
|
|
12331
|
+
/** OAuth 2.0 token for the current user. */
|
|
12332
|
+
oauth_token?: string;
|
|
12333
|
+
/** Returns response with indentations and line breaks. */
|
|
12334
|
+
prettyPrint?: boolean;
|
|
12335
|
+
/** 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. */
|
|
12336
|
+
quotaUser?: string;
|
|
12337
|
+
/** Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. */
|
|
12338
|
+
tenant: string;
|
|
12339
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12340
|
+
upload_protocol?: string;
|
|
12341
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12342
|
+
uploadType?: string;
|
|
12343
|
+
/** Request body */
|
|
12344
|
+
resource: A2aV1CancelTaskRequest;
|
|
12345
|
+
}): Request<A2aV1Task>;
|
|
12346
|
+
cancel(
|
|
12347
|
+
request: {
|
|
12348
|
+
/** V1 error format. */
|
|
12349
|
+
'$.xgafv'?: string;
|
|
12350
|
+
/** OAuth access token. */
|
|
12351
|
+
access_token?: string;
|
|
12352
|
+
/** Data format for response. */
|
|
12353
|
+
alt?: string;
|
|
12354
|
+
/** JSONP */
|
|
12355
|
+
callback?: string;
|
|
12356
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12357
|
+
fields?: string;
|
|
12358
|
+
/** 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. */
|
|
12359
|
+
key?: string;
|
|
12360
|
+
/** The resource name of the task to cancel. Format: tasks/{task_id} */
|
|
12361
|
+
name: string;
|
|
12362
|
+
/** OAuth 2.0 token for the current user. */
|
|
12363
|
+
oauth_token?: string;
|
|
12364
|
+
/** Returns response with indentations and line breaks. */
|
|
12365
|
+
prettyPrint?: boolean;
|
|
12366
|
+
/** 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. */
|
|
12367
|
+
quotaUser?: string;
|
|
12368
|
+
/** Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. */
|
|
12369
|
+
tenant: string;
|
|
12370
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12371
|
+
upload_protocol?: string;
|
|
12372
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12373
|
+
uploadType?: string;
|
|
12374
|
+
},
|
|
12375
|
+
body: A2aV1CancelTaskRequest,
|
|
12376
|
+
): Request<A2aV1Task>;
|
|
12377
|
+
/** Get the current state of a task from the agent. */
|
|
12378
|
+
get(request?: {
|
|
12379
|
+
/** V1 error format. */
|
|
12380
|
+
'$.xgafv'?: string;
|
|
12381
|
+
/** OAuth access token. */
|
|
12382
|
+
access_token?: string;
|
|
12383
|
+
/** Data format for response. */
|
|
12384
|
+
alt?: string;
|
|
12385
|
+
/** JSONP */
|
|
12386
|
+
callback?: string;
|
|
12387
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12388
|
+
fields?: string;
|
|
12389
|
+
/** The number of most recent messages from the task's history to retrieve. */
|
|
12390
|
+
historyLength?: number;
|
|
12391
|
+
/** 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. */
|
|
12392
|
+
key?: string;
|
|
12393
|
+
/** Required. The resource name of the task. Format: tasks/{task_id} */
|
|
12394
|
+
name: string;
|
|
12395
|
+
/** OAuth 2.0 token for the current user. */
|
|
12396
|
+
oauth_token?: string;
|
|
12397
|
+
/** Returns response with indentations and line breaks. */
|
|
12398
|
+
prettyPrint?: boolean;
|
|
12399
|
+
/** 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. */
|
|
12400
|
+
quotaUser?: string;
|
|
12401
|
+
/** Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. */
|
|
12402
|
+
tenant: string;
|
|
12403
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12404
|
+
upload_protocol?: string;
|
|
12405
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12406
|
+
uploadType?: string;
|
|
12407
|
+
}): Request<A2aV1Task>;
|
|
12408
|
+
/** TaskSubscription is a streaming call that will return a stream of task update events. This attaches the stream to an existing in process task. If the task is complete the stream will return the completed task (like GetTask) and close the stream. */
|
|
12409
|
+
subscribe(request?: {
|
|
12410
|
+
/** V1 error format. */
|
|
12411
|
+
'$.xgafv'?: string;
|
|
12412
|
+
/** OAuth access token. */
|
|
12413
|
+
access_token?: string;
|
|
12414
|
+
/** Data format for response. */
|
|
12415
|
+
alt?: string;
|
|
12416
|
+
/** JSONP */
|
|
12417
|
+
callback?: string;
|
|
12418
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12419
|
+
fields?: string;
|
|
12420
|
+
/** 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. */
|
|
12421
|
+
key?: string;
|
|
12422
|
+
/** The resource name of the task to subscribe to. Format: tasks/{task_id} */
|
|
12423
|
+
name: string;
|
|
12424
|
+
/** OAuth 2.0 token for the current user. */
|
|
12425
|
+
oauth_token?: string;
|
|
12426
|
+
/** Returns response with indentations and line breaks. */
|
|
12427
|
+
prettyPrint?: boolean;
|
|
12428
|
+
/** 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. */
|
|
12429
|
+
quotaUser?: string;
|
|
12430
|
+
/** Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. */
|
|
12431
|
+
tenant: string;
|
|
12432
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12433
|
+
upload_protocol?: string;
|
|
12434
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12435
|
+
uploadType?: string;
|
|
12436
|
+
}): Request<A2aV1StreamResponse>;
|
|
12437
|
+
pushNotificationConfigs: PushNotificationConfigsResource;
|
|
12438
|
+
}
|
|
11697
12439
|
interface AgentsResource {
|
|
12440
|
+
/** GetAgentCard returns the agent card for the agent. */
|
|
12441
|
+
getCard(request?: {
|
|
12442
|
+
/** V1 error format. */
|
|
12443
|
+
'$.xgafv'?: string;
|
|
12444
|
+
/** OAuth access token. */
|
|
12445
|
+
access_token?: string;
|
|
12446
|
+
/** Data format for response. */
|
|
12447
|
+
alt?: string;
|
|
12448
|
+
/** JSONP */
|
|
12449
|
+
callback?: string;
|
|
12450
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12451
|
+
fields?: string;
|
|
12452
|
+
/** 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. */
|
|
12453
|
+
key?: string;
|
|
12454
|
+
/** OAuth 2.0 token for the current user. */
|
|
12455
|
+
oauth_token?: string;
|
|
12456
|
+
/** Returns response with indentations and line breaks. */
|
|
12457
|
+
prettyPrint?: boolean;
|
|
12458
|
+
/** 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. */
|
|
12459
|
+
quotaUser?: string;
|
|
12460
|
+
/** Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. */
|
|
12461
|
+
tenant: string;
|
|
12462
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12463
|
+
upload_protocol?: string;
|
|
12464
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12465
|
+
uploadType?: string;
|
|
12466
|
+
}): Request<A2aV1AgentCard>;
|
|
12467
|
+
message: MessageResource;
|
|
11698
12468
|
operations: OperationsResource;
|
|
12469
|
+
tasks: TasksResource;
|
|
11699
12470
|
}
|
|
11700
12471
|
interface AssistantsResource {
|
|
11701
12472
|
/** Creates an Assistant. */
|