@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.3.20260914 → 0.3.20260924
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 +102 -8
- 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=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260924
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -503,7 +503,7 @@ declare namespace gapi.client {
|
|
|
503
503
|
}
|
|
504
504
|
interface GoogleCloudDiscoveryengineV1alphaAgentSharingConfig {
|
|
505
505
|
/** Optional. The sharing scope of the agent. */
|
|
506
|
-
scope?: 'SCOPE_UNSPECIFIED' | 'RESTRICTED' | 'ALL_USERS';
|
|
506
|
+
scope?: 'SCOPE_UNSPECIFIED' | 'RESTRICTED' | 'ALL_USERS' | 'PRIVATE';
|
|
507
507
|
}
|
|
508
508
|
interface GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt {
|
|
509
509
|
/** Required. The text of the starter prompt. */
|
|
@@ -1194,6 +1194,8 @@ declare namespace gapi.client {
|
|
|
1194
1194
|
| 'ASSIST_SKIPPED_REASON_UNSPECIFIED'
|
|
1195
1195
|
| 'NON_ASSIST_SEEKING_QUERY_IGNORED'
|
|
1196
1196
|
| 'CUSTOMER_POLICY_VIOLATION'[];
|
|
1197
|
+
/** Output only. Maps an internal connector agent name (the machine identifier embedded in tool names, e.g. `custom_mcp__agent`) to the connector's human-readable display name. Populated at serving time for custom MCP / agent gateway connectors so user-facing surfaces (e.g. the tool-call chip) can show the connector name instead of its internal identifier. Empty when there are no such connectors. */
|
|
1198
|
+
connectorDisplayNames?: {[P in string]: string};
|
|
1197
1199
|
/** Optional. The field contains information about the various policy checks' results like the banned phrases or the Model Armor checks. This field is populated only if the assist call was skipped due to a policy violation. */
|
|
1198
1200
|
customerPolicyEnforcementResult?: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult;
|
|
1199
1201
|
/** Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}` This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
@@ -1261,7 +1263,7 @@ declare namespace gapi.client {
|
|
|
1261
1263
|
};
|
|
1262
1264
|
/** Optional. Configuration for the generation of the assistant response. */
|
|
1263
1265
|
generationConfig?: GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig;
|
|
1264
|
-
/** Optional. Indicates whether Knowledge Catalog is enabled for this specific assistant. When enabled, it powers discovery context using organizational data. */
|
|
1266
|
+
/** Optional. Indicates whether Knowledge Catalog is enabled for this specific assistant. When enabled, it powers discovery context using organizational data. If unspecified, defaults to true. */
|
|
1265
1267
|
knowledgeCatalogEnabled?: boolean;
|
|
1266
1268
|
/** Immutable. Resource name of the assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` It must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
1267
1269
|
name?: string;
|
|
@@ -1449,6 +1451,8 @@ declare namespace gapi.client {
|
|
|
1449
1451
|
interface GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2 {
|
|
1450
1452
|
/** Required. The URI the user is directed to when they need to authorize. Should include everything required for a successful authorization: OAuth ID, extra flags, etc. Example: `https://accounts.google.com/o/oauth2/v2/auth?client_id=OAUTH_ID&scope=https://www.googleapis.com/auth/calendar.events&response_type=code&access_type=offline&prompt=consent` The `redirect_uri` parameter will be overwritten by the Vertex AI Search frontend. */
|
|
1451
1453
|
authorizationUri?: string;
|
|
1454
|
+
/** Optional. Whether the OAuth token exchange uses HTTP Basic authentication (`client_secret_basic`) instead of sending the client credentials in the request body (`client_secret_post`). When `true`, the credentials (`client_id:client_secret`) are Base64 encoded and sent in the `Authorization` header. Some OAuth providers (e.g. Splunk) require `client_secret_basic`. When `false` or unset, the default `client_secret_post` is used. */
|
|
1455
|
+
basicAuthenticationEnabled?: boolean;
|
|
1452
1456
|
/** Required. The OAuth2 client ID. */
|
|
1453
1457
|
clientId?: string;
|
|
1454
1458
|
/** Required. The OAuth2 client secret. Encrypted at rest. */
|
|
@@ -1987,7 +1991,7 @@ declare namespace gapi.client {
|
|
|
1987
1991
|
interface GoogleCloudDiscoveryengineV1alphaCompletionInfo {
|
|
1988
1992
|
/** End user selected CompleteQueryResponse.QuerySuggestion.suggestion position, starting from 0. */
|
|
1989
1993
|
selectedPosition?: number;
|
|
1990
|
-
/** End user selected CompleteQueryResponse.QuerySuggestion.suggestion. */
|
|
1994
|
+
/** Optional. End user selected CompleteQueryResponse.QuerySuggestion.suggestion. */
|
|
1991
1995
|
selectedSuggestion?: string;
|
|
1992
1996
|
}
|
|
1993
1997
|
interface GoogleCloudDiscoveryengineV1alphaCompletionSuggestion {
|
|
@@ -2469,7 +2473,7 @@ declare namespace gapi.client {
|
|
|
2469
2473
|
staticIpEnabled?: boolean;
|
|
2470
2474
|
/** The data synchronization mode supported by the data connector. */
|
|
2471
2475
|
syncMode?: 'PERIODIC' | 'STREAMING' | 'UNSPECIFIED';
|
|
2472
|
-
/** Optional. Immutable. User-facing, version-independent label for this connector. May be shared by multiple connectors under the same (project, location, collection, data_source); tag-based lookup returns the one with the greatest create_time. Optional at Create time. Agent Designer resolves connectors via (data_source, tag) when set, falling back to the legacy resource-name lookup when unset, so connectors created before the tag-write launch continue to work without a backfill. */
|
|
2476
|
+
/** Optional. Immutable. User-facing, version-independent label for this connector. May be shared by multiple connectors under the same (project, location, collection, data_source); tag-based lookup returns the one with the greatest create_time. Optional at Create time. If the caller omits `tag`, the server auto-derives one from the collection_id (falling back to data_source, else a time-based `t-` sentinel). The auto-derived tag is subject to the same immutability guarantee as a caller-supplied one, so callers who care about the exact tag value should provide it explicitly rather than relying on the server default. Agent Designer resolves connectors via (data_source, tag) when set, falling back to the legacy resource-name lookup when unset, so connectors created before the tag-write launch continue to work without a backfill. */
|
|
2473
2477
|
tag?: string;
|
|
2474
2478
|
/** Output only. Timestamp the DataConnector was last updated. */
|
|
2475
2479
|
updateTime?: string;
|
|
@@ -3234,6 +3238,8 @@ declare namespace gapi.client {
|
|
|
3234
3238
|
interface GoogleCloudDiscoveryengineV1alphaExportMetricsRequest {
|
|
3235
3239
|
/** Required. The output location of the data. */
|
|
3236
3240
|
outputConfig?: GoogleCloudDiscoveryengineV1alphaOutputConfig;
|
|
3241
|
+
/** Optional. The earliest date (inclusive), interpreted in the UTC time zone, whose metrics are included in the export. If unset, defaults to 30 days before the current UTC date. The value must be a valid calendar date that is not in the future and not older than 180 days (the source data retention window); otherwise the request fails with `INVALID_ARGUMENT`. */
|
|
3242
|
+
startDate?: GoogleTypeDate;
|
|
3237
3243
|
}
|
|
3238
3244
|
interface GoogleCloudDiscoveryengineV1alphaExportMetricsResponse {}
|
|
3239
3245
|
interface GoogleCloudDiscoveryengineV1alphaExportUserLicensesRequest {}
|
|
@@ -3836,6 +3842,8 @@ declare namespace gapi.client {
|
|
|
3836
3842
|
alertPolicyResourceConfig?: GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig;
|
|
3837
3843
|
/** Optional. Whether the license config should be auto renewed when it reaches the end date. */
|
|
3838
3844
|
autoRenew?: boolean;
|
|
3845
|
+
/** Output only. The name of the BillingAccountLicenseConfig from which this LicenseConfig is assigned, if this field is set. */
|
|
3846
|
+
billingAccountLicenseConfig?: string;
|
|
3839
3847
|
/** 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. */
|
|
3840
3848
|
earlyTerminated?: boolean;
|
|
3841
3849
|
/** Output only. The date when the subscription is terminated earlier than the expiration date. */
|
|
@@ -4255,6 +4263,8 @@ declare namespace gapi.client {
|
|
|
4255
4263
|
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig {
|
|
4256
4264
|
/** Optional. Configuration for NotebookLM settings. */
|
|
4257
4265
|
notebooklmConfig?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig;
|
|
4266
|
+
/** Optional. Resource-level access control config for Gemini Enterprise users. */
|
|
4267
|
+
resourceAccessControlConfig?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigResourceAccessControlConfig;
|
|
4258
4268
|
}
|
|
4259
4269
|
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig {
|
|
4260
4270
|
/** Optional. Specifies the data protection policy for NotebookLM. */
|
|
@@ -4280,6 +4290,10 @@ declare namespace gapi.client {
|
|
|
4280
4290
|
/** Optional. The resource name of the Model Armor Template for sanitizing user prompts. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the user prompt. */
|
|
4281
4291
|
userPromptTemplate?: string;
|
|
4282
4292
|
}
|
|
4293
|
+
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigResourceAccessControlConfig {
|
|
4294
|
+
/** Optional. If `true`, the data stores and data connectors shown to Gemini Enterprise users are filtered to those the user has the required resource-level `.get` IAM permission on. */
|
|
4295
|
+
dataStoreAccessControlEnabled?: boolean;
|
|
4296
|
+
}
|
|
4283
4297
|
interface GoogleCloudDiscoveryengineV1alphaProjectServiceTerms {
|
|
4284
4298
|
/** The last time when the project agreed to the terms of service. */
|
|
4285
4299
|
acceptTime?: string;
|
|
@@ -4476,6 +4490,8 @@ declare namespace gapi.client {
|
|
|
4476
4490
|
text?: string;
|
|
4477
4491
|
/** 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. */
|
|
4478
4492
|
uiJsonPayload?: string;
|
|
4493
|
+
/** Reference to a user-supplied file attached to a long-running-agent (Sobi) task. See `UserSuppliedSobiArtifactReference` above. */
|
|
4494
|
+
userSuppliedSobiArtifactReference?: GoogleCloudDiscoveryengineV1alphaQueryPartUserSuppliedSobiArtifactReference;
|
|
4479
4495
|
}
|
|
4480
4496
|
interface GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference {
|
|
4481
4497
|
/** The destination uri of the reference. */
|
|
@@ -4521,6 +4537,12 @@ declare namespace gapi.client {
|
|
|
4521
4537
|
/** The person id of the person. */
|
|
4522
4538
|
personId?: string;
|
|
4523
4539
|
}
|
|
4540
|
+
interface GoogleCloudDiscoveryengineV1alphaQueryPartUserSuppliedSobiArtifactReference {
|
|
4541
|
+
/** Required. Client-supplied filename. Unique per task within the user-supplied artifact set (UI dedupes before upload). Doubles as the artifact identifier used to look up the artifact on `Task.artifacts`. The `_name` suffix is deliberate and the AIP-122 lint is suppressed: this field is not a resource name (which is what AIP-122 reserves the bare `name` for). It is the literal filename, and it serves as the join key against `AgentArtifact.name` on the backing Sobi task -- a structural role that `title` or `display_name` would not communicate to a client picking what to send. The internal mirror (`cloud/ml/discoveryengine/schema/assistant.proto`) uses the same field name so the round-trip converter stays name-for-name. */
|
|
4542
|
+
fileName?: string;
|
|
4543
|
+
/** Optional. IANA MIME type. Used for icon/preview rendering. */
|
|
4544
|
+
mimeType?: string;
|
|
4545
|
+
}
|
|
4524
4546
|
interface GoogleCloudDiscoveryengineV1alphaRankingRecord {
|
|
4525
4547
|
/** The content of the record. Empty by default. At least one of title or content should be set otherwise an INVALID_ARGUMENT error is thrown. */
|
|
4526
4548
|
content?: string;
|
|
@@ -4853,7 +4875,7 @@ declare namespace gapi.client {
|
|
|
4853
4875
|
offset?: number;
|
|
4854
4876
|
/** The order in which products are returned, if applicable. See SearchRequest.order_by for definition and syntax. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
4855
4877
|
orderBy?: string;
|
|
4856
|
-
/** The user's search query. See SearchRequest.query for definition. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. At least one of search_query or PageInfo.page_category is required for `search` events. Other event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
4878
|
+
/** Optional. The user's search query. See SearchRequest.query for definition. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. At least one of search_query or PageInfo.page_category is required for `search` events. Other event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
4857
4879
|
searchQuery?: string;
|
|
4858
4880
|
}
|
|
4859
4881
|
interface GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion {
|
|
@@ -5205,6 +5227,16 @@ declare namespace gapi.client {
|
|
|
5205
5227
|
interface GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec {
|
|
5206
5228
|
/** The condition under which search as you type should occur. Default to Condition.DISABLED. */
|
|
5207
5229
|
condition?: 'CONDITION_UNSPECIFIED' | 'DISABLED' | 'ENABLED' | 'AUTO';
|
|
5230
|
+
/** Optional. The list of fields to be used for Search As You Type scoring. */
|
|
5231
|
+
fields?: GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpecField[];
|
|
5232
|
+
/** Optional. Search As You Type score threshold for filtering purpose. We keep the result if `score` >= `score_threshold`. */
|
|
5233
|
+
scoreThreshold?: number;
|
|
5234
|
+
}
|
|
5235
|
+
interface GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpecField {
|
|
5236
|
+
/** Required. A field key that has been indexed for Search As You Type. */
|
|
5237
|
+
key?: string;
|
|
5238
|
+
/** Optional. Weight for scores from this field. Defaults to 1.0 if not specified. */
|
|
5239
|
+
weight?: number;
|
|
5208
5240
|
}
|
|
5209
5241
|
interface GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec {
|
|
5210
5242
|
/** If set, the search result gets stored to the "turn" specified by this query ID. Example: Let's say the session looks like this: session { name: ".../sessions/xxx" turns { query { text: "What is foo?" query_id: ".../questions/yyy" } answer: "Foo is ..." } turns { query { text: "How about bar then?" query_id: ".../questions/zzz" } } } The user can call /search API with a request like this: session: ".../sessions/xxx" session_spec { query_id: ".../questions/zzz" } Then, the API stores the search result, associated with the last turn. The stored search result can be used by a subsequent /answer API call (with the session ID and the query ID specified). Also, it is possible to call /search and /answer in parallel with the same session ID & query ID. */
|
|
@@ -5973,7 +6005,7 @@ declare namespace gapi.client {
|
|
|
5973
6005
|
updateTime?: string;
|
|
5974
6006
|
}
|
|
5975
6007
|
interface GoogleCloudDiscoveryengineV1alphaUserEvent {
|
|
5976
|
-
/** Extra user event features to include in the recommendation model. These attributes must NOT contain data that needs to be parsed or processed further, e.g. JSON or other encodings. If you provide custom attributes for ingested user events, also include them in the user events that you associate with prediction requests. Custom attribute formatting must be consistent between imported events and events provided with prediction requests. This lets the Discovery Engine API use those custom attributes when training models and serving predictions, which helps improve recommendation quality. This field needs to pass all below criteria, otherwise an `INVALID_ARGUMENT` error is returned: * The key must be a UTF-8 encoded string with a length limit of 5,000 characters. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. For product recommendations, an example of extra user information is `traffic_channel`, which is how a user arrives at the site. Users can arrive at the site by coming to the site directly, coming through Google search, or in other ways. */
|
|
6008
|
+
/** Optional. Extra user event features to include in the recommendation model. These attributes must NOT contain data that needs to be parsed or processed further, e.g. JSON or other encodings. If you provide custom attributes for ingested user events, also include them in the user events that you associate with prediction requests. Custom attribute formatting must be consistent between imported events and events provided with prediction requests. This lets the Discovery Engine API use those custom attributes when training models and serving predictions, which helps improve recommendation quality. This field needs to pass all below criteria, otherwise an `INVALID_ARGUMENT` error is returned: * The key must be a UTF-8 encoded string with a length limit of 5,000 characters. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. For product recommendations, an example of extra user information is `traffic_channel`, which is how a user arrives at the site. Users can arrive at the site by coming to the site directly, coming through Google search, or in other ways. */
|
|
5977
6009
|
attributes?: {
|
|
5978
6010
|
[P in string]: GoogleCloudDiscoveryengineV1alphaCustomAttribute;
|
|
5979
6011
|
};
|
|
@@ -6249,6 +6281,8 @@ declare namespace gapi.client {
|
|
|
6249
6281
|
metadata?: GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata;
|
|
6250
6282
|
/** The name of the collection. It should be collection resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}`. For APIs under WidgetService, such as WidgetService.LookupWidgetConfig, the project number and location part is erased in this field. For synthetic placeholder entries (see message-level comment) this carries a synthetic placeholder collection id that does not correspond to a real collection. Callers must not attempt to resolve / GET this resource until the user authorizes the connector. */
|
|
6251
6283
|
name?: string;
|
|
6284
|
+
/** Output only. The version-independent label of the connector backing this collection, mirroring `DataConnector.tag`. Unlike the version-pinned data store id it survives a connector version upgrade, so an upgraded connector keeps the same tag. Not a unique key. As `DataConnector.tag` documents, several connectors may share a tag under the same (project, location, collection, data_source), and tag-based lookup resolves to the one with the greatest create_time. Clients must not treat this as a connector identifier. Empty when the connector was created before the tag-write launch, and for synthetic placeholder entries, which have no underlying `DataConnector`. Populated only when `ConnectorsFeature.enable_connector_tag` is on. */
|
|
6285
|
+
tag?: string;
|
|
6252
6286
|
}
|
|
6253
6287
|
interface GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState {
|
|
6254
6288
|
/** Output only. The authorization uri for the data connector. For synthetic placeholder `CollectionComponent` entries (returned by `LookupWidgetConfig` with `view = WITH_AVAILABLE_CONNECTORS` on SaaS / Business engines), this field is left empty. The widget should call `WidgetService.WidgetBuildAuthorizationUrl` on the user's "Connect" click to obtain a freshly-built authorization URL. */
|
|
@@ -6465,6 +6499,8 @@ declare namespace gapi.client {
|
|
|
6465
6499
|
description?: string;
|
|
6466
6500
|
/** Output only. Localized display name of the model (e.g. `Gemini 3.1 Pro`). Localized server-side based on the LookupWidgetConfigRequest.language_code and LookupWidgetConfigRequest.region_code of the request. */
|
|
6467
6501
|
displayName?: string;
|
|
6502
|
+
/** Output only. Groups models that render together in the selector. Models sharing a value form one group; empty means the model belongs to no group. Compared for equality only -- never parsed, and never shown to a user, so it is not localized. */
|
|
6503
|
+
family?: string;
|
|
6468
6504
|
/** Output only. GM3-compatible icon token associated with the model (e.g. `rocket_launch`, `bolt`, `graph_5`). */
|
|
6469
6505
|
icon?: string;
|
|
6470
6506
|
/** Output only. Absolute URL of a brand mark to render instead of `icon`, for models whose vendor logo is not a GM3 glyph. `icon` stays populated as the fallback, so a client that does not render images, or that fails to fetch this one, shows the glyph instead of nothing. */
|
|
@@ -7636,6 +7672,8 @@ declare namespace gapi.client {
|
|
|
7636
7672
|
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig {
|
|
7637
7673
|
/** Optional. Configuration for NotebookLM settings. */
|
|
7638
7674
|
notebooklmConfig?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig;
|
|
7675
|
+
/** Optional. Resource-level access control config for Gemini Enterprise users. */
|
|
7676
|
+
resourceAccessControlConfig?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigResourceAccessControlConfig;
|
|
7639
7677
|
}
|
|
7640
7678
|
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig {
|
|
7641
7679
|
/** Optional. Specifies the data protection policy for NotebookLM. */
|
|
@@ -7661,6 +7699,10 @@ declare namespace gapi.client {
|
|
|
7661
7699
|
/** Optional. The resource name of the Model Armor Template for sanitizing user prompts. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the user prompt. */
|
|
7662
7700
|
userPromptTemplate?: string;
|
|
7663
7701
|
}
|
|
7702
|
+
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigResourceAccessControlConfig {
|
|
7703
|
+
/** Optional. If `true`, the data stores and data connectors shown to Gemini Enterprise users are filtered to those the user has the required resource-level `.get` IAM permission on. */
|
|
7704
|
+
dataStoreAccessControlEnabled?: boolean;
|
|
7705
|
+
}
|
|
7664
7706
|
interface GoogleCloudDiscoveryengineV1betaProjectServiceTerms {
|
|
7665
7707
|
/** The last time when the project agreed to the terms of service. */
|
|
7666
7708
|
acceptTime?: string;
|
|
@@ -8095,6 +8137,16 @@ declare namespace gapi.client {
|
|
|
8095
8137
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec {
|
|
8096
8138
|
/** The condition under which search as you type should occur. Default to Condition.DISABLED. */
|
|
8097
8139
|
condition?: 'CONDITION_UNSPECIFIED' | 'DISABLED' | 'ENABLED' | 'AUTO';
|
|
8140
|
+
/** Optional. The list of fields to be used for Search As You Type scoring. */
|
|
8141
|
+
fields?: GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpecField[];
|
|
8142
|
+
/** Optional. Search As You Type score threshold for filtering purpose. We keep the result if `score` >= `score_threshold`. */
|
|
8143
|
+
scoreThreshold?: number;
|
|
8144
|
+
}
|
|
8145
|
+
interface GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpecField {
|
|
8146
|
+
/** Required. A field key that has been indexed for Search As You Type. */
|
|
8147
|
+
key?: string;
|
|
8148
|
+
/** Optional. Weight for scores from this field. Defaults to 1.0 if not specified. */
|
|
8149
|
+
weight?: number;
|
|
8098
8150
|
}
|
|
8099
8151
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec {
|
|
8100
8152
|
/** If set, the search result gets stored to the "turn" specified by this query ID. Example: Let's say the session looks like this: session { name: ".../sessions/xxx" turns { query { text: "What is foo?" query_id: ".../questions/yyy" } answer: "Foo is ..." } turns { query { text: "How about bar then?" query_id: ".../questions/zzz" } } } The user can call /search API with a request like this: session: ".../sessions/xxx" session_spec { query_id: ".../questions/zzz" } Then, the API stores the search result, associated with the last turn. The stored search result can be used by a subsequent /answer API call (with the session ID and the query ID specified). Also, it is possible to call /search and /answer in parallel with the same session ID & query ID. */
|
|
@@ -8611,7 +8663,7 @@ declare namespace gapi.client {
|
|
|
8611
8663
|
staticIpEnabled?: boolean;
|
|
8612
8664
|
/** The data synchronization mode supported by the data connector. */
|
|
8613
8665
|
syncMode?: 'PERIODIC' | 'STREAMING' | 'UNSPECIFIED';
|
|
8614
|
-
/** Optional. Immutable. User-facing, version-independent label for this connector. May be shared by multiple connectors under the same (project, location, collection, data_source); tag-based lookup returns the one with the greatest create_time. Optional at Create time. Agent Designer resolves connectors via (data_source, tag) when set, falling back to the legacy resource-name lookup when unset, so connectors created before the tag-write launch continue to work without a backfill. */
|
|
8666
|
+
/** Optional. Immutable. User-facing, version-independent label for this connector. May be shared by multiple connectors under the same (project, location, collection, data_source); tag-based lookup returns the one with the greatest create_time. Optional at Create time. If the caller omits `tag`, the server auto-derives one from the collection_id (falling back to data_source, else a time-based `t-` sentinel). The auto-derived tag is subject to the same immutability guarantee as a caller-supplied one, so callers who care about the exact tag value should provide it explicitly rather than relying on the server default. Agent Designer resolves connectors via (data_source, tag) when set, falling back to the legacy resource-name lookup when unset, so connectors created before the tag-write launch continue to work without a backfill. */
|
|
8615
8667
|
tag?: string;
|
|
8616
8668
|
/** Output only. Timestamp the DataConnector was last updated. */
|
|
8617
8669
|
updateTime?: string;
|
|
@@ -9388,6 +9440,8 @@ declare namespace gapi.client {
|
|
|
9388
9440
|
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig {
|
|
9389
9441
|
/** Optional. Configuration for NotebookLM settings. */
|
|
9390
9442
|
notebooklmConfig?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig;
|
|
9443
|
+
/** Optional. Resource-level access control config for Gemini Enterprise users. */
|
|
9444
|
+
resourceAccessControlConfig?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigResourceAccessControlConfig;
|
|
9391
9445
|
}
|
|
9392
9446
|
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig {
|
|
9393
9447
|
/** Optional. Specifies the data protection policy for NotebookLM. */
|
|
@@ -9413,6 +9467,10 @@ declare namespace gapi.client {
|
|
|
9413
9467
|
/** Optional. The resource name of the Model Armor Template for sanitizing user prompts. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the user prompt. */
|
|
9414
9468
|
userPromptTemplate?: string;
|
|
9415
9469
|
}
|
|
9470
|
+
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigResourceAccessControlConfig {
|
|
9471
|
+
/** Optional. If `true`, the data stores and data connectors shown to Gemini Enterprise users are filtered to those the user has the required resource-level `.get` IAM permission on. */
|
|
9472
|
+
dataStoreAccessControlEnabled?: boolean;
|
|
9473
|
+
}
|
|
9416
9474
|
interface GoogleCloudDiscoveryengineV1ProjectServiceTerms {
|
|
9417
9475
|
/** The last time when the project agreed to the terms of service. */
|
|
9418
9476
|
acceptTime?: string;
|
|
@@ -16692,6 +16750,41 @@ declare namespace gapi.client {
|
|
|
16692
16750
|
agents: AgentsResource;
|
|
16693
16751
|
cannedQueries: CannedQueriesResource;
|
|
16694
16752
|
}
|
|
16753
|
+
interface OperationsResource {
|
|
16754
|
+
/** 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. */
|
|
16755
|
+
get(request?: {
|
|
16756
|
+
/** V1 error format. */
|
|
16757
|
+
'$.xgafv'?: '1' | '2';
|
|
16758
|
+
/** OAuth access token. */
|
|
16759
|
+
access_token?: string;
|
|
16760
|
+
/** Data format for response. */
|
|
16761
|
+
alt?: 'json' | 'media' | 'proto';
|
|
16762
|
+
/** JSONP */
|
|
16763
|
+
callback?: string;
|
|
16764
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16765
|
+
fields?: string;
|
|
16766
|
+
/** 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. */
|
|
16767
|
+
key?: string;
|
|
16768
|
+
/** The name of the operation resource. */
|
|
16769
|
+
name: string;
|
|
16770
|
+
/** OAuth 2.0 token for the current user. */
|
|
16771
|
+
oauth_token?: string;
|
|
16772
|
+
/** Returns response with indentations and line breaks. */
|
|
16773
|
+
prettyPrint?: boolean;
|
|
16774
|
+
/** 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. */
|
|
16775
|
+
quotaUser?: string;
|
|
16776
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16777
|
+
upload_protocol?: string;
|
|
16778
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16779
|
+
uploadType?: string;
|
|
16780
|
+
}): Request<GoogleLongrunningOperation>;
|
|
16781
|
+
}
|
|
16782
|
+
interface KnowledgeSpacesResource {
|
|
16783
|
+
operations: OperationsResource;
|
|
16784
|
+
}
|
|
16785
|
+
interface CollaborativeProjectsResource {
|
|
16786
|
+
knowledgeSpaces: KnowledgeSpacesResource;
|
|
16787
|
+
}
|
|
16695
16788
|
interface CompletionConfigResource {
|
|
16696
16789
|
/** Completes the user input with advanced keyword suggestions. */
|
|
16697
16790
|
completeQuery(request: {
|
|
@@ -19374,6 +19467,7 @@ declare namespace gapi.client {
|
|
|
19374
19467
|
): Request<GoogleCloudDiscoveryengineV1alphaCompletionConfig>;
|
|
19375
19468
|
analytics: AnalyticsResource;
|
|
19376
19469
|
assistants: AssistantsResource;
|
|
19470
|
+
collaborativeProjects: CollaborativeProjectsResource;
|
|
19377
19471
|
completionConfig: CompletionConfigResource;
|
|
19378
19472
|
controls: ControlsResource;
|
|
19379
19473
|
conversations: ConversationsResource;
|