@maxim_mazurok/gapi.client.discoveryengine-v1beta 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.
Files changed (2) hide show
  1. package/index.d.ts +58 -6
  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=v1beta
12
- // Revision: 20260914
12
+ // Revision: 20260924
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -677,6 +677,8 @@ declare namespace gapi.client {
677
677
  | 'ASSIST_SKIPPED_REASON_UNSPECIFIED'
678
678
  | 'NON_ASSIST_SEEKING_QUERY_IGNORED'
679
679
  | 'CUSTOMER_POLICY_VIOLATION'[];
680
+ /** 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. */
681
+ connectorDisplayNames?: {[P in string]: string};
680
682
  /** 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. */
681
683
  customerPolicyEnforcementResult?: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult;
682
684
  /** 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. */
@@ -1303,7 +1305,7 @@ declare namespace gapi.client {
1303
1305
  staticIpEnabled?: boolean;
1304
1306
  /** The data synchronization mode supported by the data connector. */
1305
1307
  syncMode?: 'PERIODIC' | 'STREAMING' | 'UNSPECIFIED';
1306
- /** 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. */
1308
+ /** 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. */
1307
1309
  tag?: string;
1308
1310
  /** Output only. Timestamp the DataConnector was last updated. */
1309
1311
  updateTime?: string;
@@ -2174,6 +2176,8 @@ declare namespace gapi.client {
2174
2176
  alertPolicyResourceConfig?: GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig;
2175
2177
  /** Optional. Whether the license config should be auto renewed when it reaches the end date. */
2176
2178
  autoRenew?: boolean;
2179
+ /** Output only. The name of the BillingAccountLicenseConfig from which this LicenseConfig is assigned, if this field is set. */
2180
+ billingAccountLicenseConfig?: string;
2177
2181
  /** 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. */
2178
2182
  earlyTerminated?: boolean;
2179
2183
  /** Output only. The date when the subscription is terminated earlier than the expiration date. */
@@ -2341,6 +2345,8 @@ declare namespace gapi.client {
2341
2345
  interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig {
2342
2346
  /** Optional. Configuration for NotebookLM settings. */
2343
2347
  notebooklmConfig?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig;
2348
+ /** Optional. Resource-level access control config for Gemini Enterprise users. */
2349
+ resourceAccessControlConfig?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigResourceAccessControlConfig;
2344
2350
  }
2345
2351
  interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig {
2346
2352
  /** Optional. Specifies the data protection policy for NotebookLM. */
@@ -2366,6 +2372,10 @@ declare namespace gapi.client {
2366
2372
  /** 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. */
2367
2373
  userPromptTemplate?: string;
2368
2374
  }
2375
+ interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigResourceAccessControlConfig {
2376
+ /** 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. */
2377
+ dataStoreAccessControlEnabled?: boolean;
2378
+ }
2369
2379
  interface GoogleCloudDiscoveryengineV1alphaProjectServiceTerms {
2370
2380
  /** The last time when the project agreed to the terms of service. */
2371
2381
  acceptTime?: string;
@@ -2484,6 +2494,8 @@ declare namespace gapi.client {
2484
2494
  text?: string;
2485
2495
  /** 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. */
2486
2496
  uiJsonPayload?: string;
2497
+ /** Reference to a user-supplied file attached to a long-running-agent (Sobi) task. See `UserSuppliedSobiArtifactReference` above. */
2498
+ userSuppliedSobiArtifactReference?: GoogleCloudDiscoveryengineV1alphaQueryPartUserSuppliedSobiArtifactReference;
2487
2499
  }
2488
2500
  interface GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference {
2489
2501
  /** The destination uri of the reference. */
@@ -2529,6 +2541,12 @@ declare namespace gapi.client {
2529
2541
  /** The person id of the person. */
2530
2542
  personId?: string;
2531
2543
  }
2544
+ interface GoogleCloudDiscoveryengineV1alphaQueryPartUserSuppliedSobiArtifactReference {
2545
+ /** 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. */
2546
+ fileName?: string;
2547
+ /** Optional. IANA MIME type. Used for icon/preview rendering. */
2548
+ mimeType?: string;
2549
+ }
2532
2550
  interface GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata {
2533
2551
  /** Operation create time. */
2534
2552
  createTime?: string;
@@ -2992,6 +3010,16 @@ declare namespace gapi.client {
2992
3010
  interface GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec {
2993
3011
  /** The condition under which search as you type should occur. Default to Condition.DISABLED. */
2994
3012
  condition?: 'CONDITION_UNSPECIFIED' | 'DISABLED' | 'ENABLED' | 'AUTO';
3013
+ /** Optional. The list of fields to be used for Search As You Type scoring. */
3014
+ fields?: GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpecField[];
3015
+ /** Optional. Search As You Type score threshold for filtering purpose. We keep the result if `score` >= `score_threshold`. */
3016
+ scoreThreshold?: number;
3017
+ }
3018
+ interface GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpecField {
3019
+ /** Required. A field key that has been indexed for Search As You Type. */
3020
+ key?: string;
3021
+ /** Optional. Weight for scores from this field. Defaults to 1.0 if not specified. */
3022
+ weight?: number;
2995
3023
  }
2996
3024
  interface GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec {
2997
3025
  /** 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. */
@@ -4033,6 +4061,8 @@ declare namespace gapi.client {
4033
4061
  | 'ASSIST_SKIPPED_REASON_UNSPECIFIED'
4034
4062
  | 'NON_ASSIST_SEEKING_QUERY_IGNORED'
4035
4063
  | 'CUSTOMER_POLICY_VIOLATION'[];
4064
+ /** 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. */
4065
+ connectorDisplayNames?: {[P in string]: string};
4036
4066
  /** 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. */
4037
4067
  customerPolicyEnforcementResult?: GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResult;
4038
4068
  /** 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. */
@@ -4584,7 +4614,7 @@ declare namespace gapi.client {
4584
4614
  interface GoogleCloudDiscoveryengineV1betaCompletionInfo {
4585
4615
  /** End user selected CompleteQueryResponse.QuerySuggestion.suggestion position, starting from 0. */
4586
4616
  selectedPosition?: number;
4587
- /** End user selected CompleteQueryResponse.QuerySuggestion.suggestion. */
4617
+ /** Optional. End user selected CompleteQueryResponse.QuerySuggestion.suggestion. */
4588
4618
  selectedSuggestion?: string;
4589
4619
  }
4590
4620
  interface GoogleCloudDiscoveryengineV1betaCompletionSuggestion {
@@ -6079,6 +6109,8 @@ declare namespace gapi.client {
6079
6109
  interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig {
6080
6110
  /** Optional. Configuration for NotebookLM settings. */
6081
6111
  notebooklmConfig?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig;
6112
+ /** Optional. Resource-level access control config for Gemini Enterprise users. */
6113
+ resourceAccessControlConfig?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigResourceAccessControlConfig;
6082
6114
  }
6083
6115
  interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig {
6084
6116
  /** Optional. Specifies the data protection policy for NotebookLM. */
@@ -6104,6 +6136,10 @@ declare namespace gapi.client {
6104
6136
  /** 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. */
6105
6137
  userPromptTemplate?: string;
6106
6138
  }
6139
+ interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigResourceAccessControlConfig {
6140
+ /** 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. */
6141
+ dataStoreAccessControlEnabled?: boolean;
6142
+ }
6107
6143
  interface GoogleCloudDiscoveryengineV1betaProjectServiceTerms {
6108
6144
  /** The last time when the project agreed to the terms of service. */
6109
6145
  acceptTime?: string;
@@ -6434,7 +6470,7 @@ declare namespace gapi.client {
6434
6470
  offset?: number;
6435
6471
  /** 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. */
6436
6472
  orderBy?: string;
6437
- /** 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. */
6473
+ /** 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. */
6438
6474
  searchQuery?: string;
6439
6475
  }
6440
6476
  interface GoogleCloudDiscoveryengineV1betaSearchLinkPromotion {
@@ -6782,6 +6818,16 @@ declare namespace gapi.client {
6782
6818
  interface GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec {
6783
6819
  /** The condition under which search as you type should occur. Default to Condition.DISABLED. */
6784
6820
  condition?: 'CONDITION_UNSPECIFIED' | 'DISABLED' | 'ENABLED' | 'AUTO';
6821
+ /** Optional. The list of fields to be used for Search As You Type scoring. */
6822
+ fields?: GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpecField[];
6823
+ /** Optional. Search As You Type score threshold for filtering purpose. We keep the result if `score` >= `score_threshold`. */
6824
+ scoreThreshold?: number;
6825
+ }
6826
+ interface GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpecField {
6827
+ /** Required. A field key that has been indexed for Search As You Type. */
6828
+ key?: string;
6829
+ /** Optional. Weight for scores from this field. Defaults to 1.0 if not specified. */
6830
+ weight?: number;
6785
6831
  }
6786
6832
  interface GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec {
6787
6833
  /** 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. */
@@ -7461,7 +7507,7 @@ declare namespace gapi.client {
7461
7507
  updateTime?: string;
7462
7508
  }
7463
7509
  interface GoogleCloudDiscoveryengineV1betaUserEvent {
7464
- /** 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. */
7510
+ /** 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. */
7465
7511
  attributes?: {
7466
7512
  [P in string]: GoogleCloudDiscoveryengineV1betaCustomAttribute;
7467
7513
  };
@@ -7898,7 +7944,7 @@ declare namespace gapi.client {
7898
7944
  staticIpEnabled?: boolean;
7899
7945
  /** The data synchronization mode supported by the data connector. */
7900
7946
  syncMode?: 'PERIODIC' | 'STREAMING' | 'UNSPECIFIED';
7901
- /** 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. */
7947
+ /** 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. */
7902
7948
  tag?: string;
7903
7949
  /** Output only. Timestamp the DataConnector was last updated. */
7904
7950
  updateTime?: string;
@@ -8675,6 +8721,8 @@ declare namespace gapi.client {
8675
8721
  interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig {
8676
8722
  /** Optional. Configuration for NotebookLM settings. */
8677
8723
  notebooklmConfig?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig;
8724
+ /** Optional. Resource-level access control config for Gemini Enterprise users. */
8725
+ resourceAccessControlConfig?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigResourceAccessControlConfig;
8678
8726
  }
8679
8727
  interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig {
8680
8728
  /** Optional. Specifies the data protection policy for NotebookLM. */
@@ -8700,6 +8748,10 @@ declare namespace gapi.client {
8700
8748
  /** 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. */
8701
8749
  userPromptTemplate?: string;
8702
8750
  }
8751
+ interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigResourceAccessControlConfig {
8752
+ /** 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. */
8753
+ dataStoreAccessControlEnabled?: boolean;
8754
+ }
8703
8755
  interface GoogleCloudDiscoveryengineV1ProjectServiceTerms {
8704
8756
  /** The last time when the project agreed to the terms of service. */
8705
8757
  acceptTime?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.3.20260914",
3
+ "version": "0.3.20260924",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",