@maxim_mazurok/gapi.client.discoveryengine-v1 0.1.20260204 → 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.
Files changed (2) hide show
  1. package/index.d.ts +986 -4
  2. 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: 20260204
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[];
@@ -375,6 +709,8 @@ declare namespace gapi.client {
375
709
  contactDetails?: GoogleCloudDiscoveryengineV1alphaContactDetails[];
376
710
  /** Optional. The language code used for notifications */
377
711
  languageCode?: string;
712
+ /** Optional. The region code used of the user that subscribed to the alert policy. */
713
+ regionCode?: string;
378
714
  }
379
715
  interface GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment {
380
716
  /** Immutable. The id of an alert. */
@@ -994,6 +1330,8 @@ declare namespace gapi.client {
994
1330
  createEuaSaas?: boolean;
995
1331
  /** Output only. Timestamp the DataConnector was created at. */
996
1332
  createTime?: string;
1333
+ /** Optional. Specifies the data protection policy for the connector. */
1334
+ dataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy;
997
1335
  /** Required. The name of the data source. Supported values: `salesforce`, `jira`, `confluence`, `bigquery`. */
998
1336
  dataSource?: string;
999
1337
  /** Optional. Any target destinations used to connect to third-party services. */
@@ -1099,6 +1437,14 @@ declare namespace gapi.client {
1099
1437
  /** Optional. The start schema to use for the DataStore created from this SourceEntity. If unset, a default vertical specialized schema will be used. This field is only used by SetUpDataConnector API, and will be ignored if used in other APIs. This field will be omitted from all API responses including GetDataConnector API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). */
1100
1438
  startingSchema?: GoogleCloudDiscoveryengineV1alphaSchema;
1101
1439
  }
1440
+ interface GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy {
1441
+ /** Optional. The sensitive data protection policy for the connector source. */
1442
+ sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy;
1443
+ }
1444
+ interface GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy {
1445
+ /** Optional. The Sensitive Data Protection content policy resource name. */
1446
+ policy?: string;
1447
+ }
1102
1448
  interface GoogleCloudDiscoveryengineV1alphaDataStore {
1103
1449
  /** Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. */
1104
1450
  aclEnabled?: boolean;
@@ -1343,6 +1689,8 @@ declare namespace gapi.client {
1343
1689
  commonConfig?: GoogleCloudDiscoveryengineV1alphaEngineCommonConfig;
1344
1690
  /** Optional. Configuration for configurable billing approach. */
1345
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};
1346
1694
  /** Output only. Timestamp the Recommendation Engine was created at. */
1347
1695
  createTime?: string;
1348
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. */
@@ -1709,6 +2057,10 @@ declare namespace gapi.client {
1709
2057
  alertPolicyResourceConfig?: GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig;
1710
2058
  /** Optional. Whether the license config should be auto renewed when it reaches the end date. */
1711
2059
  autoRenew?: boolean;
2060
+ /** Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3. */
2061
+ earlyTerminated?: boolean;
2062
+ /** Output only. The date when the subscription is terminated earlier than the expiration date. */
2063
+ earlyTerminationDate?: GoogleTypeDate;
1712
2064
  /** Optional. The planed end date. */
1713
2065
  endDate?: GoogleTypeDate;
1714
2066
  /** Optional. Whether the license config is for free trial. */
@@ -1817,6 +2169,8 @@ declare namespace gapi.client {
1817
2169
  notebooklmConfig?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig;
1818
2170
  }
1819
2171
  interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig {
2172
+ /** Optional. Specifies the data protection policy for NotebookLM. */
2173
+ dataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy;
1820
2174
  /** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
1821
2175
  modelArmorConfig?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
1822
2176
  /** Optional. Observability config for NotebookLM. */
@@ -1824,6 +2178,14 @@ declare namespace gapi.client {
1824
2178
  /** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
1825
2179
  optOutNotebookSharing?: boolean;
1826
2180
  }
2181
+ interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy {
2182
+ /** Optional. The sensitive data protection policy. */
2183
+ sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy;
2184
+ }
2185
+ interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy {
2186
+ /** Optional. The Sensitive Data Protection policy resource name. */
2187
+ policy?: string;
2188
+ }
1827
2189
  interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
1828
2190
  /** Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response. */
1829
2191
  responseTemplate?: string;
@@ -1922,11 +2284,71 @@ declare namespace gapi.client {
1922
2284
  top5?: number;
1923
2285
  }
1924
2286
  interface GoogleCloudDiscoveryengineV1alphaQuery {
2287
+ /** Query content parts. */
2288
+ parts?: GoogleCloudDiscoveryengineV1alphaQueryPart[];
1925
2289
  /** Output only. Unique Id for the query. */
1926
2290
  queryId?: string;
1927
2291
  /** Plain text. */
1928
2292
  text?: string;
1929
2293
  }
2294
+ interface GoogleCloudDiscoveryengineV1alphaQueryPart {
2295
+ /** Other VAIS Document references. */
2296
+ documentReference?: GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference;
2297
+ /** Reference to a Google Drive document. */
2298
+ driveDocumentReference?: GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference;
2299
+ /** Optional. The IANA standard MIME type of the data. See https://www.iana.org/assignments/media-types/media-types.xhtml. This field is optional. If not set, the default assumed MIME type is "text/plain" for the "data" field. */
2300
+ mimeType?: string;
2301
+ /** Reference to a person. */
2302
+ personReference?: GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference;
2303
+ /** Text content. */
2304
+ text?: string;
2305
+ /** This field is expected to be a ui message in JSON format. As of Q1 2026, ui_json_payload is only supported for A2UI messages. */
2306
+ uiJsonPayload?: string;
2307
+ }
2308
+ interface GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference {
2309
+ /** The destination uri of the reference. */
2310
+ destinationUri?: string;
2311
+ /** The display title of the reference. */
2312
+ displayTitle?: string;
2313
+ /** The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. */
2314
+ documentName?: string;
2315
+ /** Output only. The file id of the document data stored in the session context files. */
2316
+ fileId?: string;
2317
+ /** The icon uri of the reference. */
2318
+ iconUri?: string;
2319
+ /** Input only. The url_for_connector of the document returned by Federated Search. */
2320
+ urlForConnector?: string;
2321
+ }
2322
+ interface GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference {
2323
+ /** The destination uri of the reference. */
2324
+ destinationUri?: string;
2325
+ /** The display title of the reference. */
2326
+ displayTitle?: string;
2327
+ /** The full resource name of the document. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/branches/*‍/documents/*`. */
2328
+ documentName?: string;
2329
+ /** The Drive id of the document. */
2330
+ driveId?: string;
2331
+ /** Output only. The file id of the Drive document data stored in the session context files. */
2332
+ fileId?: string;
2333
+ /** The icon uri of the Drive document reference. */
2334
+ iconUri?: string;
2335
+ }
2336
+ interface GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference {
2337
+ /** The destination uri of the person. */
2338
+ destinationUri?: string;
2339
+ /** The display name of the person. */
2340
+ displayName?: string;
2341
+ /** The display photo url of the person. */
2342
+ displayPhotoUri?: string;
2343
+ /** The full resource name of the person. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/branches/*‍/documents/*`. */
2344
+ documentName?: string;
2345
+ /** The email of the person. */
2346
+ email?: string;
2347
+ /** Output only. The file id of the person data stored in the session context files. */
2348
+ fileId?: string;
2349
+ /** The person id of the person. */
2350
+ personId?: string;
2351
+ }
1930
2352
  interface GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata {
1931
2353
  /** Operation create time. */
1932
2354
  createTime?: string;
@@ -2062,6 +2484,8 @@ declare namespace gapi.client {
2062
2484
  languageCode?: string;
2063
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. */
2064
2486
  naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec;
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. */
2488
+ numResultsPerDataStore?: number;
2065
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. */
2066
2490
  offset?: number;
2067
2491
  /** The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. */
@@ -2236,6 +2660,8 @@ declare namespace gapi.client {
2236
2660
  dataStore?: string;
2237
2661
  /** Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) */
2238
2662
  filter?: string;
2663
+ /** Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used. */
2664
+ numResults?: number;
2239
2665
  }
2240
2666
  interface GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec {
2241
2667
  /** The condition under which match highlighting should occur. */
@@ -3572,6 +3998,8 @@ declare namespace gapi.client {
3572
3998
  commonConfig?: GoogleCloudDiscoveryengineV1betaEngineCommonConfig;
3573
3999
  /** Optional. Configuration for configurable billing approach. */
3574
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};
3575
4003
  /** Output only. Timestamp the Recommendation Engine was created at. */
3576
4004
  createTime?: string;
3577
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. */
@@ -3860,6 +4288,10 @@ declare namespace gapi.client {
3860
4288
  interface GoogleCloudDiscoveryengineV1betaLicenseConfig {
3861
4289
  /** Optional. Whether the license config should be auto renewed when it reaches the end date. */
3862
4290
  autoRenew?: boolean;
4291
+ /** Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3. */
4292
+ earlyTerminated?: boolean;
4293
+ /** Output only. The date when the subscription is terminated earlier than the expiration date. */
4294
+ earlyTerminationDate?: GoogleTypeDate;
3863
4295
  /** Optional. The planed end date. */
3864
4296
  endDate?: GoogleTypeDate;
3865
4297
  /** Optional. Whether the license config is for free trial. */
@@ -3940,6 +4372,8 @@ declare namespace gapi.client {
3940
4372
  notebooklmConfig?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig;
3941
4373
  }
3942
4374
  interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig {
4375
+ /** Optional. Specifies the data protection policy for NotebookLM. */
4376
+ dataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy;
3943
4377
  /** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
3944
4378
  modelArmorConfig?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
3945
4379
  /** Optional. Observability config for NotebookLM. */
@@ -3947,6 +4381,14 @@ declare namespace gapi.client {
3947
4381
  /** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
3948
4382
  optOutNotebookSharing?: boolean;
3949
4383
  }
4384
+ interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy {
4385
+ /** Optional. The sensitive data protection policy. */
4386
+ sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy;
4387
+ }
4388
+ interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy {
4389
+ /** Optional. The Sensitive Data Protection policy resource name. */
4390
+ policy?: string;
4391
+ }
3950
4392
  interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
3951
4393
  /** Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response. */
3952
4394
  responseTemplate?: string;
@@ -4079,6 +4521,8 @@ declare namespace gapi.client {
4079
4521
  languageCode?: string;
4080
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. */
4081
4523
  naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec;
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. */
4525
+ numResultsPerDataStore?: number;
4082
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. */
4083
4527
  offset?: number;
4084
4528
  /** The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. */
@@ -4251,6 +4695,8 @@ declare namespace gapi.client {
4251
4695
  dataStore?: string;
4252
4696
  /** Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) */
4253
4697
  filter?: string;
4698
+ /** Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used. */
4699
+ numResults?: number;
4254
4700
  }
4255
4701
  interface GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec {
4256
4702
  /** The condition under which match highlighting should occur. */
@@ -5357,6 +5803,8 @@ declare namespace gapi.client {
5357
5803
  commonConfig?: GoogleCloudDiscoveryengineV1EngineCommonConfig;
5358
5804
  /** Optional. Configuration for configurable billing approach. */
5359
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};
5360
5808
  /** Output only. Timestamp the Recommendation Engine was created at. */
5361
5809
  createTime?: string;
5362
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. */
@@ -5759,6 +6207,10 @@ declare namespace gapi.client {
5759
6207
  interface GoogleCloudDiscoveryengineV1LicenseConfig {
5760
6208
  /** Optional. Whether the license config should be auto renewed when it reaches the end date. */
5761
6209
  autoRenew?: boolean;
6210
+ /** Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3. */
6211
+ earlyTerminated?: boolean;
6212
+ /** Output only. The date when the subscription is terminated earlier than the expiration date. */
6213
+ earlyTerminationDate?: GoogleTypeDate;
5762
6214
  /** Optional. The planed end date. */
5763
6215
  endDate?: GoogleTypeDate;
5764
6216
  /** Optional. Whether the license config is for free trial. */
@@ -5957,6 +6409,8 @@ declare namespace gapi.client {
5957
6409
  notebooklmConfig?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig;
5958
6410
  }
5959
6411
  interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig {
6412
+ /** Optional. Specifies the data protection policy for NotebookLM. */
6413
+ dataProtectionPolicy?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy;
5960
6414
  /** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
5961
6415
  modelArmorConfig?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
5962
6416
  /** Optional. Observability config for NotebookLM. */
@@ -5964,6 +6418,14 @@ declare namespace gapi.client {
5964
6418
  /** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
5965
6419
  optOutNotebookSharing?: boolean;
5966
6420
  }
6421
+ interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy {
6422
+ /** Optional. The sensitive data protection policy. */
6423
+ sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy;
6424
+ }
6425
+ interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy {
6426
+ /** Optional. The Sensitive Data Protection policy resource name. */
6427
+ policy?: string;
6428
+ }
5967
6429
  interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
5968
6430
  /** Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response. */
5969
6431
  responseTemplate?: string;
@@ -7303,6 +7765,26 @@ declare namespace gapi.client {
7303
7765
  /** The Google Workspace data source. */
7304
7766
  type?: string;
7305
7767
  }
7768
+ interface GoogleIamV1Binding {
7769
+ /** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
7770
+ condition?: GoogleTypeExpr;
7771
+ /** Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */
7772
+ members?: string[];
7773
+ /** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). */
7774
+ role?: string;
7775
+ }
7776
+ interface GoogleIamV1Policy {
7777
+ /** Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. */
7778
+ bindings?: GoogleIamV1Binding[];
7779
+ /** `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. */
7780
+ etag?: string;
7781
+ /** Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
7782
+ version?: number;
7783
+ }
7784
+ interface GoogleIamV1SetIamPolicyRequest {
7785
+ /** REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. */
7786
+ policy?: GoogleIamV1Policy;
7787
+ }
7306
7788
  interface GoogleLongrunningCancelOperationRequest {}
7307
7789
  interface GoogleLongrunningListOperationsResponse {
7308
7790
  /** The standard List next-page token. */
@@ -7403,6 +7885,16 @@ declare namespace gapi.client {
7403
7885
  /** Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. */
7404
7886
  year?: number;
7405
7887
  }
7888
+ interface GoogleTypeExpr {
7889
+ /** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
7890
+ description?: string;
7891
+ /** Textual representation of an expression in Common Expression Language syntax. */
7892
+ expression?: string;
7893
+ /** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
7894
+ location?: string;
7895
+ /** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
7896
+ title?: string;
7897
+ }
7406
7898
  interface GoogleTypeTimeZone {
7407
7899
  /** IANA Time Zone Database time zone. For example "America/New_York". */
7408
7900
  id?: string;
@@ -11513,6 +12005,124 @@ declare namespace gapi.client {
11513
12005
  userEvents: UserEventsResource;
11514
12006
  widgetConfigs: WidgetConfigsResource;
11515
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
+ }
11516
12126
  interface OperationsResource {
11517
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. */
11518
12128
  get(request?: {
@@ -11542,8 +12152,321 @@ declare namespace gapi.client {
11542
12152
  uploadType?: string;
11543
12153
  }): Request<GoogleLongrunningOperation>;
11544
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
+ }
11545
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;
11546
12468
  operations: OperationsResource;
12469
+ tasks: TasksResource;
11547
12470
  }
11548
12471
  interface AssistantsResource {
11549
12472
  /** Creates an Assistant. */
@@ -13319,7 +14242,7 @@ declare namespace gapi.client {
13319
14242
  ): Request<GoogleCloudDiscoveryengineV1WidgetConfig>;
13320
14243
  }
13321
14244
  interface EnginesResource {
13322
- /** Creates a Engine. */
14245
+ /** Creates an Engine. */
13323
14246
  create(request: {
13324
14247
  /** V1 error format. */
13325
14248
  '$.xgafv'?: string;
@@ -13381,7 +14304,7 @@ declare namespace gapi.client {
13381
14304
  },
13382
14305
  body: GoogleCloudDiscoveryengineV1Engine,
13383
14306
  ): Request<GoogleLongrunningOperation>;
13384
- /** Deletes a Engine. */
14307
+ /** Deletes an Engine. */
13385
14308
  delete(request?: {
13386
14309
  /** V1 error format. */
13387
14310
  '$.xgafv'?: string;
@@ -13408,7 +14331,7 @@ declare namespace gapi.client {
13408
14331
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13409
14332
  uploadType?: string;
13410
14333
  }): Request<GoogleLongrunningOperation>;
13411
- /** Gets a Engine. */
14334
+ /** Gets an Engine. */
13412
14335
  get(request?: {
13413
14336
  /** V1 error format. */
13414
14337
  '$.xgafv'?: string;
@@ -13435,6 +14358,35 @@ declare namespace gapi.client {
13435
14358
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13436
14359
  uploadType?: string;
13437
14360
  }): Request<GoogleCloudDiscoveryengineV1Engine>;
14361
+ /** Gets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. */
14362
+ getIamPolicy(request?: {
14363
+ /** V1 error format. */
14364
+ '$.xgafv'?: string;
14365
+ /** OAuth access token. */
14366
+ access_token?: string;
14367
+ /** Data format for response. */
14368
+ alt?: string;
14369
+ /** JSONP */
14370
+ callback?: string;
14371
+ /** Selector specifying which fields to include in a partial response. */
14372
+ fields?: string;
14373
+ /** 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. */
14374
+ key?: string;
14375
+ /** OAuth 2.0 token for the current user. */
14376
+ oauth_token?: string;
14377
+ /** 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). */
14378
+ 'options.requestedPolicyVersion'?: number;
14379
+ /** Returns response with indentations and line breaks. */
14380
+ prettyPrint?: boolean;
14381
+ /** 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. */
14382
+ quotaUser?: string;
14383
+ /** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
14384
+ resource: string;
14385
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14386
+ upload_protocol?: string;
14387
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14388
+ uploadType?: string;
14389
+ }): Request<GoogleIamV1Policy>;
13438
14390
  /** Lists all the Engines associated with the project. */
13439
14391
  list(request?: {
13440
14392
  /** V1 error format. */
@@ -13530,6 +14482,36 @@ declare namespace gapi.client {
13530
14482
  },
13531
14483
  body: GoogleCloudDiscoveryengineV1Engine,
13532
14484
  ): Request<GoogleCloudDiscoveryengineV1Engine>;
14485
+ /** Sets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on an Engine resource, the only recommended roles in the bindings are: `roles/discoveryengine.user` and `roles/discoveryengine.agentspaceUser`. Attempting to grant any other role will result in a warning in logging. */
14486
+ setIamPolicy(
14487
+ request: {
14488
+ /** V1 error format. */
14489
+ '$.xgafv'?: string;
14490
+ /** OAuth access token. */
14491
+ access_token?: string;
14492
+ /** Data format for response. */
14493
+ alt?: string;
14494
+ /** JSONP */
14495
+ callback?: string;
14496
+ /** Selector specifying which fields to include in a partial response. */
14497
+ fields?: string;
14498
+ /** 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. */
14499
+ key?: string;
14500
+ /** OAuth 2.0 token for the current user. */
14501
+ oauth_token?: string;
14502
+ /** Returns response with indentations and line breaks. */
14503
+ prettyPrint?: boolean;
14504
+ /** 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. */
14505
+ quotaUser?: string;
14506
+ /** 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. */
14507
+ resource: string;
14508
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14509
+ upload_protocol?: string;
14510
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14511
+ uploadType?: string;
14512
+ },
14513
+ body: GoogleIamV1SetIamPolicyRequest,
14514
+ ): Request<GoogleIamV1Policy>;
13533
14515
  assistants: AssistantsResource;
13534
14516
  completionConfig: CompletionConfigResource;
13535
14517
  controls: ControlsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1",
3
- "version": "0.1.20260204",
3
+ "version": "0.1.20260215",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",