@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20250714 → 0.0.20250722

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 +361 -19
  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=v1alpha
12
- // Revision: 20250714
12
+ // Revision: 20250722
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -965,6 +965,106 @@ declare namespace gapi.client {
965
965
  /** The query to search. */
966
966
  query?: string;
967
967
  }
968
+ interface GoogleCloudDiscoveryengineV1alphaAssistAnswer {
969
+ /** Reasons for not answering the assist call. */
970
+ assistSkippedReasons?: string[];
971
+ /** 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. */
972
+ name?: string;
973
+ /** Replies of the assistant. */
974
+ replies?: GoogleCloudDiscoveryengineV1alphaAssistAnswerReply[];
975
+ /** State of the answer generation. */
976
+ state?: string;
977
+ }
978
+ interface GoogleCloudDiscoveryengineV1alphaAssistAnswerReply {
979
+ /** Possibly grounded response text or media from the assistant. */
980
+ groundedContent?: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent;
981
+ }
982
+ interface GoogleCloudDiscoveryengineV1alphaAssistantContent {
983
+ /** Result of executing an ExecutableCode. */
984
+ codeExecutionResult?: GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult;
985
+ /** Code generated by the model that is meant to be executed. */
986
+ executableCode?: GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode;
987
+ /** A file, e.g., an audio summary. */
988
+ file?: GoogleCloudDiscoveryengineV1alphaAssistantContentFile;
989
+ /** Inline binary data. */
990
+ inlineData?: GoogleCloudDiscoveryengineV1alphaAssistantContentBlob;
991
+ /** The producer of the content. Can be "model" or "user". */
992
+ role?: string;
993
+ /** Inline text. */
994
+ text?: string;
995
+ /** Optional. Indicates if the part is thought from the model. */
996
+ thought?: boolean;
997
+ }
998
+ interface GoogleCloudDiscoveryengineV1alphaAssistantContentBlob {
999
+ /** Required. Raw bytes. */
1000
+ data?: string;
1001
+ /** Required. The media type (MIME type) of the generated data. */
1002
+ mimeType?: string;
1003
+ }
1004
+ interface GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult {
1005
+ /** Required. Outcome of the code execution. */
1006
+ outcome?: string;
1007
+ /** Optional. Contains stdout when code execution is successful, stderr or other description otherwise. */
1008
+ output?: string;
1009
+ }
1010
+ interface GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode {
1011
+ /** Required. The code content. Currently only supports Python. */
1012
+ code?: string;
1013
+ }
1014
+ interface GoogleCloudDiscoveryengineV1alphaAssistantContentFile {
1015
+ /** Required. The file ID. */
1016
+ fileId?: string;
1017
+ /** Required. The media type (MIME type) of the file. */
1018
+ mimeType?: string;
1019
+ }
1020
+ interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent {
1021
+ /** The content. */
1022
+ content?: GoogleCloudDiscoveryengineV1alphaAssistantContent;
1023
+ /** Metadata for grounding based on text sources. */
1024
+ textGroundingMetadata?: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata;
1025
+ }
1026
+ interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata {
1027
+ /** References for the grounded text. */
1028
+ references?: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference[];
1029
+ /** Grounding information for parts of the text. */
1030
+ segments?: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment[];
1031
+ }
1032
+ interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference {
1033
+ /** Referenced text content. */
1034
+ content?: string;
1035
+ /** Document metadata. */
1036
+ documentMetadata?: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata;
1037
+ }
1038
+ interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata {
1039
+ /** Document resource name. */
1040
+ document?: string;
1041
+ /** Domain name from the document URI. Note that the `uri` field may contain a URL that redirects to the actual website, in which case this will contain the domain name of the target site. */
1042
+ domain?: string;
1043
+ /** Page identifier. */
1044
+ pageIdentifier?: string;
1045
+ /** Title. */
1046
+ title?: string;
1047
+ /** URI for the document. It may contain a URL that redirects to the actual website. */
1048
+ uri?: string;
1049
+ }
1050
+ interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment {
1051
+ /** End of the segment, exclusive. */
1052
+ endIndex?: string;
1053
+ /** Score for the segment. */
1054
+ groundingScore?: number;
1055
+ /** References for the segment. */
1056
+ referenceIndices?: number[];
1057
+ /** Zero-based index indicating the start of the segment, measured in bytes of a UTF-8 string (i.e. characters encoded on multiple bytes have a length of more than one). */
1058
+ startIndex?: string;
1059
+ /** The text segment itself. */
1060
+ text?: string;
1061
+ }
1062
+ interface GoogleCloudDiscoveryengineV1alphaAssistUserMetadata {
1063
+ /** Optional. Preferred language to be used for answering if language detection fails. Also used as the language of error messages created by actions, regardless of language detection results. */
1064
+ preferredLanguageCode?: string;
1065
+ /** Optional. IANA time zone, e.g. Europe/Budapest. */
1066
+ timeZone?: string;
1067
+ }
968
1068
  interface GoogleCloudDiscoveryengineV1alphaBAPConfig {
969
1069
  /** Required. The supported connector modes for the associated BAP connection. */
970
1070
  supportedConnectorModes?: string[];
@@ -1231,9 +1331,9 @@ declare namespace gapi.client {
1231
1331
  interface GoogleCloudDiscoveryengineV1alphaCmekConfig {
1232
1332
  /** Output only. The default CmekConfig for the Customer. */
1233
1333
  isDefault?: boolean;
1234
- /** KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
1334
+ /** Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
1235
1335
  kmsKey?: string;
1236
- /** KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
1336
+ /** Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
1237
1337
  kmsKeyVersion?: string;
1238
1338
  /** Output only. The timestamp of the last key rotation. */
1239
1339
  lastRotationTimestampMicros?: string;
@@ -1917,6 +2017,8 @@ declare namespace gapi.client {
1917
2017
  }
1918
2018
  interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig {}
1919
2019
  interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig {
2020
+ /** Optional. If true, the processed document will be made available for the GetProcessedDocument API. */
2021
+ enableGetProcessedDocument?: boolean;
1920
2022
  /** Optional. If true, the LLM based annotation is added to the image during parsing. */
1921
2023
  enableImageAnnotation?: boolean;
1922
2024
  /** Optional. If true, the LLM based annotation is added to the table during parsing. */
@@ -1967,7 +2069,7 @@ declare namespace gapi.client {
1967
2069
  disableAnalytics?: boolean;
1968
2070
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
1969
2071
  displayName?: string;
1970
- /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` */
2072
+ /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` - Enables personalization based on user preferences. */
1971
2073
  features?: {[P in string]: string};
1972
2074
  /** Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. */
1973
2075
  industryVertical?: string;
@@ -2193,6 +2295,54 @@ declare namespace gapi.client {
2193
2295
  /** If searchable_option is SEARCHABLE_ENABLED, field values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type is numerical, field values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical fields. If searchable_option is unset, the server behavior defaults to SEARCHABLE_DISABLED for fields that support setting searchable options. Only `string` fields that have no key property mapping support setting searchable_option. For those fields that do not support setting searchable options, the server will skip searchable option setting, and setting searchable_option for those fields will throw `INVALID_ARGUMENT` error. */
2194
2296
  searchableOption?: string;
2195
2297
  }
2298
+ interface GoogleCloudDiscoveryengineV1alphaFileCharacteristics {
2299
+ /** Output only. Generic map of characteristics. */
2300
+ characteristics?: {[P in string]: string};
2301
+ }
2302
+ interface GoogleCloudDiscoveryengineV1alphaFileMetadata {
2303
+ /** Output only. The size of the context file in bytes. */
2304
+ byteSize?: string;
2305
+ /** Output only. The AssistantService.DownloadSessionFile URL to download the file. This URL will need the same credentials as AssistantService.ListSessionFileMetadata method and will provide the resource. */
2306
+ downloadUri?: string;
2307
+ /** Output only. The ID of the file. */
2308
+ fileId?: string;
2309
+ /** Optional. The origin of the file. */
2310
+ fileOriginType?: string;
2311
+ /** Output only. The time the file was added to the session. Note that if a file was added, then modified externally, then added again, the add time will be updated. */
2312
+ lastAddTime?: string;
2313
+ /** Optional. Represents metadata related to the file that can suit particular use cases. The prefix "google." is reserved for the key for use by Google, but other prefixes can be freely used. */
2314
+ metadata?: {[P in string]: string};
2315
+ /** The content type of the file, see https://www.iana.org/assignments/media-types/media-types.xhtml. */
2316
+ mimeType?: string;
2317
+ /** Output only. The name of the file uploaded. */
2318
+ name?: string;
2319
+ /** Optional. The type of the original source of the file. */
2320
+ originalSourceType?: string;
2321
+ /** Optional. The original location of the file. It may be a local file path, or any other URI that allows accessing the file in an external system. There are two scenarios in which this url may be empty: 1. If the file was sent as inline data (e.g. pasted from the clipboard). 2. If the original location is not available. Note that there's no guarantee that the URI will be pointing to a valid or actually existing file. For example, a file might have been uploaded to the session, and then deleted from the original source. */
2322
+ originalUri?: string;
2323
+ /** Output only. The time the file was uploaded (If this is a file generated by an internal process and then made available to the session, this indicates the moment it happened). */
2324
+ uploadTime?: string;
2325
+ /** Output only. Alternate views of this file object. Each file view is attached to a specific role. Possible example keys: - "thumbnail" - "mobile_thumbnail" - "clip" - "summary" - "translation" */
2326
+ views?: {[P in string]: GoogleCloudDiscoveryengineV1alphaFileView};
2327
+ }
2328
+ interface GoogleCloudDiscoveryengineV1alphaFileView {
2329
+ /** Output only. The size of the view in bytes. */
2330
+ byteSize?: string;
2331
+ /** Output only. The time the view was created. */
2332
+ createTime?: string;
2333
+ /** Output only. Characteristics of other file types. */
2334
+ fileCharacteristics?: GoogleCloudDiscoveryengineV1alphaFileCharacteristics;
2335
+ /** Output only. Characteristics of an image media view. */
2336
+ imageCharacteristics?: GoogleCloudDiscoveryengineV1alphaImageCharacteristics;
2337
+ /** Output only. MIME type (e.g., "image/jpeg", "image/png", "text/plain", "video/mp4") */
2338
+ mimeType?: string;
2339
+ /** Output only. The URI to access this media view. */
2340
+ uri?: string;
2341
+ /** Output only. Characteristics of a video media view. */
2342
+ videoCharacteristics?: GoogleCloudDiscoveryengineV1alphaVideoCharacteristics;
2343
+ /** Output only. Globally Unique id for this specific view. */
2344
+ viewId?: string;
2345
+ }
2196
2346
  interface GoogleCloudDiscoveryengineV1alphaFirestoreSource {
2197
2347
  /** Required. The Firestore collection (or entity) to copy the data from with a length limit of 1,500 characters. */
2198
2348
  collectionId?: string;
@@ -2295,6 +2445,16 @@ declare namespace gapi.client {
2295
2445
  /** Workforce pool name. Example: "locations/global/workforcePools/pool_id" */
2296
2446
  workforcePoolName?: string;
2297
2447
  }
2448
+ interface GoogleCloudDiscoveryengineV1alphaImageCharacteristics {
2449
+ /** Output only. Bit depth of the image (e.g., 8-bit, 16-bit). */
2450
+ bitDepth?: number;
2451
+ /** Output only. Color space of the image (e.g., "RGB", "CMYK", "Grayscale"). */
2452
+ colorSpace?: string;
2453
+ /** Output only. Image height in pixels. */
2454
+ height?: number;
2455
+ /** Output only. Image width in pixels. */
2456
+ width?: number;
2457
+ }
2298
2458
  interface GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata {
2299
2459
  /** Operation create time. */
2300
2460
  createTime?: string;
@@ -2358,7 +2518,7 @@ declare namespace gapi.client {
2358
2518
  forceRefreshContent?: boolean;
2359
2519
  /** Cloud Storage location for the input content. */
2360
2520
  gcsSource?: GoogleCloudDiscoveryengineV1alphaGcsSource;
2361
- /** The field indicates the ID field or column to be used as unique IDs of the documents. For GcsSource it is the key of the JSON field. For instance, `my_id` for JSON `{"my_id": "some_uuid"}`. For others, it may be the column name of the table where the unique ids are stored. The values of the JSON field or the table column are used as the Document.ids. The JSON field or the table column must be of string type, and the values must be set as valid strings conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with 1-63 characters. Otherwise, documents without valid IDs fail to be imported. Only set this field when auto_generate_ids is unset or set as `false`. Otherwise, an INVALID_ARGUMENT error is thrown. If it is unset, a default value `_id` is used when importing from the allowed data sources. Supported data sources: * GcsSource. GcsSource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * BigQuerySource. BigQuerySource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * SpannerSource. * CloudSqlSource. * FirestoreSource. * BigtableSource. */
2521
+ /** The field indicates the ID field or column to be used as unique IDs of the documents. For GcsSource it is the key of the JSON field. For instance, `my_id` for JSON `{"my_id": "some_uuid"}`. For others, it may be the column name of the table where the unique ids are stored. The values of the JSON field or the table column are used as the Document.ids. The JSON field or the table column must be of string type, and the values must be set as valid strings conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with 1-63 characters. Otherwise, documents without valid IDs fail to be imported. Only set this field when auto_generate_ids is unset or set as `false`. Otherwise, an INVALID_ARGUMENT error is thrown. If it is unset, a default value `_id` is used when importing from the allowed data sources. Supported data sources: * GcsSource. GcsSource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * BigQuerySource. BigQuerySource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * SpannerSource. * CloudSqlSource. * BigtableSource. */
2362
2522
  idField?: string;
2363
2523
  /** The Inline source for the input content for documents. */
2364
2524
  inlineSource?: GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource;
@@ -2579,6 +2739,12 @@ declare namespace gapi.client {
2579
2739
  /** A token that can be sent as ListEvaluationsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2580
2740
  nextPageToken?: string;
2581
2741
  }
2742
+ interface GoogleCloudDiscoveryengineV1alphaListFilesResponse {
2743
+ /** The FileMetadatas. */
2744
+ files?: GoogleCloudDiscoveryengineV1alphaFileMetadata[];
2745
+ /** A token to retrieve next page of results. Pass this value in the ListFilesRequest.page_token field in the subsequent call to `ListFiles` method to retrieve the next page of results. */
2746
+ nextPageToken?: string;
2747
+ }
2582
2748
  interface GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponse {
2583
2749
  /** The Identity Mapping Entries. */
2584
2750
  identityMappingEntries?: GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry[];
@@ -2616,7 +2782,7 @@ declare namespace gapi.client {
2616
2782
  servingConfigs?: GoogleCloudDiscoveryengineV1alphaServingConfig[];
2617
2783
  }
2618
2784
  interface GoogleCloudDiscoveryengineV1alphaListSessionsRequest {
2619
- /** A filter to apply on the list results. The supported features are: user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred = true" */
2785
+ /** A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` Examples: "user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"" */
2620
2786
  filter?: string;
2621
2787
  /** A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` Example: * "update_time desc" * "create_time" * "is_pinned desc,update_time desc": list sessions by is_pinned first, then by update_time. */
2622
2788
  orderBy?: string;
@@ -2744,6 +2910,12 @@ declare namespace gapi.client {
2744
2910
  acceptDataUseTerms?: boolean;
2745
2911
  /** Required. The version of the [Terms for data use](https://cloud.google.com/retail/data-use-terms) that caller has read and would like to give consent to. Acceptable version is `2022-11-23`, and this may change over time. */
2746
2912
  dataUseTermsVersion?: string;
2913
+ /** Optional. Parameters for Agentspace. */
2914
+ saasParams?: GoogleCloudDiscoveryengineV1alphaProvisionProjectRequestSaasParams;
2915
+ }
2916
+ interface GoogleCloudDiscoveryengineV1alphaProvisionProjectRequestSaasParams {
2917
+ /** Optional. Set to `true` to specify that caller has read and would like to give consent to the [Terms for Agent Space quality of service]. */
2918
+ acceptBizQos?: boolean;
2747
2919
  }
2748
2920
  interface GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata {
2749
2921
  /** Operation create time. */
@@ -2886,7 +3058,7 @@ declare namespace gapi.client {
2886
3058
  model?: string;
2887
3059
  /** The query to use. */
2888
3060
  query?: string;
2889
- /** Required. A list of records to rank. At most 200 records to rank. */
3061
+ /** Required. A list of records to rank. */
2890
3062
  records?: GoogleCloudDiscoveryengineV1alphaRankingRecord[];
2891
3063
  /** The number of results to return. If this is unset or no bigger than zero, returns all results. */
2892
3064
  topN?: number;
@@ -3232,7 +3404,7 @@ declare namespace gapi.client {
3232
3404
  searchAsYouTypeSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec;
3233
3405
  /** Required. The resource name of the Search serving config, such as `projects/*‍/locations/global/collections/default_collection/engines/*‍/servingConfigs/default_serving_config`, or `projects/*‍/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
3234
3406
  servingConfig?: string;
3235
- /** The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is "How did Alphabet do in 2022?" and the current query is "How about 2023?", the current query will be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination between /search API calls and /answer API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. Auto-session mode: when `projects/.../sessions/-` is used, a new session gets automatically created. Otherwise, users can use the create-session API to create a session manually. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team. */
3407
+ /** The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is "How did Alphabet do in 2022?" and the current query is "How about 2023?", the current query will be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination between /search API calls and /answer API calls): Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team. */
3236
3408
  session?: string;
3237
3409
  /** Session specification. Can be used only when `session` is set. */
3238
3410
  sessionSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec;
@@ -3858,6 +4030,53 @@ declare namespace gapi.client {
3858
4030
  /** Timestamp to indicate the point in time from which data should be synced for Streaming/Batch Data Connectors. This field is only utilized for Healthcare Connectors. */
3859
4031
  syncSinceTimestamp?: string;
3860
4032
  }
4033
+ interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequest {
4034
+ /** Optional. Specification of the generation configuration for the request. */
4035
+ generationSpec?: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec;
4036
+ /** Optional. Current user query. Empty query is only supported if `file_ids` are provided. In this case, the answer will be generated based on those context files. */
4037
+ query?: GoogleCloudDiscoveryengineV1alphaQuery;
4038
+ /** Optional. The session to use for the request. If specified, the assistant has access to the session history, and the query and the answer are stored there. If `-` is specified as the session ID, or it is left empty, then a new session is created with an automatically generated ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` */
4039
+ session?: string;
4040
+ /** Optional. Specification of tools that are used to serve the request. */
4041
+ toolsSpec?: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpec;
4042
+ /** Optional. Information about the user initiating the query. */
4043
+ userMetadata?: GoogleCloudDiscoveryengineV1alphaAssistUserMetadata;
4044
+ }
4045
+ interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec {
4046
+ /** Optional. The Vertex AI model_id used for the generative model. If not set, the default Assistant model will be used. */
4047
+ modelId?: string;
4048
+ }
4049
+ interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpec {
4050
+ /** Optional. Specification of the image generation tool. */
4051
+ imageGenerationSpec?: any;
4052
+ /** Optional. Specification of the Vertex AI Search tool. */
4053
+ vertexAiSearchSpec?: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVertexAiSearchSpec;
4054
+ /** Optional. Specification of the video generation tool. */
4055
+ videoGenerationSpec?: any;
4056
+ /** Optional. Specification of the web grounding tool. If field is present, enables grounding with web search. Works only if Assistant.web_grounding_type is WEB_GROUNDING_TYPE_GOOGLE_SEARCH or WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH. */
4057
+ webGroundingSpec?: any;
4058
+ }
4059
+ interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecImageGenerationSpec {}
4060
+ interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVertexAiSearchSpec {
4061
+ /** Optional. Specs defining DataStores to filter on in a search call and configurations for those data stores. This is only considered for Engines with multiple data stores. */
4062
+ dataStoreSpecs?: GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec[];
4063
+ /** Optional. The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customer might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) */
4064
+ filter?: string;
4065
+ }
4066
+ interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVideoGenerationSpec {}
4067
+ interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecWebGroundingSpec {}
4068
+ interface GoogleCloudDiscoveryengineV1alphaStreamAssistResponse {
4069
+ /** Assist answer resource object containing parts of the assistant's final answer for the user's query. Not present if the current response doesn't add anything to previously sent AssistAnswer.replies. Observe AssistAnswer.state to see if more parts are to be expected. While the state is `IN_PROGRESS`, the AssistAnswer.replies field in each response will contain replies (reply fragments) to be appended to the ones received in previous responses. AssistAnswer.name won't be filled. If the state is `SUCCEEDED`, `FAILED` or `SKIPPED`, the response is the last response and AssistAnswer.name will have a value. */
4070
+ answer?: GoogleCloudDiscoveryengineV1alphaAssistAnswer;
4071
+ /** A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support. */
4072
+ assistToken?: string;
4073
+ /** Session information. */
4074
+ sessionInfo?: GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo;
4075
+ }
4076
+ interface GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo {
4077
+ /** Name of the newly generated or continued session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`. */
4078
+ session?: string;
4079
+ }
3861
4080
  interface GoogleCloudDiscoveryengineV1alphaSuggestionDenyListEntry {
3862
4081
  /** Required. Phrase to block from suggestions served. Can be maximum 125 characters. */
3863
4082
  blockPhrase?: string;
@@ -4068,6 +4287,24 @@ declare namespace gapi.client {
4068
4287
  /** Optional. The user profile. We user user full name(First name + Last name) as user profile. */
4069
4288
  userProfile?: string;
4070
4289
  }
4290
+ interface GoogleCloudDiscoveryengineV1alphaVideoCharacteristics {
4291
+ /** Output only. Bitrate of the audio in kbps. */
4292
+ audioBitrateKbps?: number;
4293
+ /** Output only. Audio codecs used in the video. */
4294
+ audioCodecs?: string[];
4295
+ /** Output only. Video duration. */
4296
+ duration?: string;
4297
+ /** Output only. Frame rate (frames per second). */
4298
+ frameRate?: number;
4299
+ /** Output only. Video height in pixels. */
4300
+ height?: number;
4301
+ /** Output only. Bitrate of the video in kbps. */
4302
+ videoBitrateKbps?: number;
4303
+ /** Output only. Video codecs used in the video. */
4304
+ videoCodecs?: string[];
4305
+ /** Output only. Video width in pixels. */
4306
+ width?: number;
4307
+ }
4071
4308
  interface GoogleCloudDiscoveryengineV1alphaWidgetConfig {
4072
4309
  /** Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties. */
4073
4310
  accessSettings?: GoogleCloudDiscoveryengineV1alphaWidgetConfigAccessSettings;
@@ -4261,7 +4498,7 @@ declare namespace gapi.client {
4261
4498
  enableSearchAsYouType?: boolean;
4262
4499
  /** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
4263
4500
  enableVisualContentSummary?: boolean;
4264
- /** Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` */
4501
+ /** Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` - Enables personalization based on user preferences. */
4265
4502
  features?: {[P in string]: string};
4266
4503
  /** Describes generative answer configuration. */
4267
4504
  generativeAnswerConfig?: GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig;
@@ -4324,6 +4561,10 @@ declare namespace gapi.client {
4324
4561
  /** Optional. The top-p value to be used for the user defined classifier. */
4325
4562
  topP?: number;
4326
4563
  }
4564
+ interface GoogleCloudDiscoveryengineV1Assistant {
4565
+ /** 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. */
4566
+ name?: string;
4567
+ }
4327
4568
  interface GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata {
4328
4569
  /** Operation create time. */
4329
4570
  createTime?: string;
@@ -4385,9 +4626,9 @@ declare namespace gapi.client {
4385
4626
  interface GoogleCloudDiscoveryengineV1betaCmekConfig {
4386
4627
  /** Output only. The default CmekConfig for the Customer. */
4387
4628
  isDefault?: boolean;
4388
- /** KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
4629
+ /** Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
4389
4630
  kmsKey?: string;
4390
- /** KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
4631
+ /** Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
4391
4632
  kmsKeyVersion?: string;
4392
4633
  /** Output only. The timestamp of the last key rotation. */
4393
4634
  lastRotationTimestampMicros?: string;
@@ -4674,6 +4915,8 @@ declare namespace gapi.client {
4674
4915
  }
4675
4916
  interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig {}
4676
4917
  interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig {
4918
+ /** Optional. If true, the processed document will be made available for the GetProcessedDocument API. */
4919
+ enableGetProcessedDocument?: boolean;
4677
4920
  /** Optional. If true, the LLM based annotation is added to the image during parsing. */
4678
4921
  enableImageAnnotation?: boolean;
4679
4922
  /** Optional. If true, the LLM based annotation is added to the table during parsing. */
@@ -4715,7 +4958,7 @@ declare namespace gapi.client {
4715
4958
  disableAnalytics?: boolean;
4716
4959
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
4717
4960
  displayName?: string;
4718
- /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` */
4961
+ /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` - Enables personalization based on user preferences. */
4719
4962
  features?: {[P in string]: string};
4720
4963
  /** Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. */
4721
4964
  industryVertical?: string;
@@ -5140,7 +5383,7 @@ declare namespace gapi.client {
5140
5383
  searchAsYouTypeSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec;
5141
5384
  /** Required. The resource name of the Search serving config, such as `projects/*‍/locations/global/collections/default_collection/engines/*‍/servingConfigs/default_serving_config`, or `projects/*‍/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
5142
5385
  servingConfig?: string;
5143
- /** The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is "How did Alphabet do in 2022?" and the current query is "How about 2023?", the current query will be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination between /search API calls and /answer API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. Auto-session mode: when `projects/.../sessions/-` is used, a new session gets automatically created. Otherwise, users can use the create-session API to create a session manually. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team. */
5386
+ /** The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is "How did Alphabet do in 2022?" and the current query is "How about 2023?", the current query will be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination between /search API calls and /answer API calls): Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team. */
5144
5387
  session?: string;
5145
5388
  /** Session specification. Can be used only when `session` is set. */
5146
5389
  sessionSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec;
@@ -5475,9 +5718,9 @@ declare namespace gapi.client {
5475
5718
  interface GoogleCloudDiscoveryengineV1CmekConfig {
5476
5719
  /** Output only. The default CmekConfig for the Customer. */
5477
5720
  isDefault?: boolean;
5478
- /** KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
5721
+ /** Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
5479
5722
  kmsKey?: string;
5480
- /** KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
5723
+ /** Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
5481
5724
  kmsKeyVersion?: string;
5482
5725
  /** Output only. The timestamp of the last key rotation. */
5483
5726
  lastRotationTimestampMicros?: string;
@@ -5751,6 +5994,8 @@ declare namespace gapi.client {
5751
5994
  }
5752
5995
  interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig {}
5753
5996
  interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig {
5997
+ /** Optional. If true, the processed document will be made available for the GetProcessedDocument API. */
5998
+ enableGetProcessedDocument?: boolean;
5754
5999
  /** Optional. If true, the LLM based annotation is added to the image during parsing. */
5755
6000
  enableImageAnnotation?: boolean;
5756
6001
  /** Optional. If true, the LLM based annotation is added to the table during parsing. */
@@ -5792,7 +6037,7 @@ declare namespace gapi.client {
5792
6037
  disableAnalytics?: boolean;
5793
6038
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
5794
6039
  displayName?: string;
5795
- /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` */
6040
+ /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` - Enables personalization based on user preferences. */
5796
6041
  features?: {[P in string]: string};
5797
6042
  /** Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. */
5798
6043
  industryVertical?: string;
@@ -9103,7 +9348,7 @@ declare namespace gapi.client {
9103
9348
  callback?: string;
9104
9349
  /** Selector specifying which fields to include in a partial response. */
9105
9350
  fields?: string;
9106
- /** A filter to apply on the list results. The supported features are: user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred = true" */
9351
+ /** A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` Examples: "user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"" */
9107
9352
  filter?: string;
9108
9353
  /** 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. */
9109
9354
  key?: string;
@@ -10862,6 +11107,66 @@ declare namespace gapi.client {
10862
11107
  userEvents: UserEventsResource;
10863
11108
  widgetConfigs: WidgetConfigsResource;
10864
11109
  }
11110
+ interface AssistantsResource {
11111
+ /** Assists the user with a query in a streaming fashion. */
11112
+ streamAssist(request: {
11113
+ /** V1 error format. */
11114
+ '$.xgafv'?: string;
11115
+ /** OAuth access token. */
11116
+ access_token?: string;
11117
+ /** Data format for response. */
11118
+ alt?: string;
11119
+ /** JSONP */
11120
+ callback?: string;
11121
+ /** Selector specifying which fields to include in a partial response. */
11122
+ fields?: string;
11123
+ /** 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. */
11124
+ key?: string;
11125
+ /** Required. The resource name of the Assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
11126
+ name: string;
11127
+ /** OAuth 2.0 token for the current user. */
11128
+ oauth_token?: string;
11129
+ /** Returns response with indentations and line breaks. */
11130
+ prettyPrint?: boolean;
11131
+ /** 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. */
11132
+ quotaUser?: string;
11133
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11134
+ upload_protocol?: string;
11135
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11136
+ uploadType?: string;
11137
+ /** Request body */
11138
+ resource: GoogleCloudDiscoveryengineV1alphaStreamAssistRequest;
11139
+ }): Request<GoogleCloudDiscoveryengineV1alphaStreamAssistResponse>;
11140
+ streamAssist(
11141
+ request: {
11142
+ /** V1 error format. */
11143
+ '$.xgafv'?: string;
11144
+ /** OAuth access token. */
11145
+ access_token?: string;
11146
+ /** Data format for response. */
11147
+ alt?: string;
11148
+ /** JSONP */
11149
+ callback?: string;
11150
+ /** Selector specifying which fields to include in a partial response. */
11151
+ fields?: string;
11152
+ /** 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. */
11153
+ key?: string;
11154
+ /** Required. The resource name of the Assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
11155
+ name: string;
11156
+ /** OAuth 2.0 token for the current user. */
11157
+ oauth_token?: string;
11158
+ /** Returns response with indentations and line breaks. */
11159
+ prettyPrint?: boolean;
11160
+ /** 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. */
11161
+ quotaUser?: string;
11162
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11163
+ upload_protocol?: string;
11164
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11165
+ uploadType?: string;
11166
+ },
11167
+ body: GoogleCloudDiscoveryengineV1alphaStreamAssistRequest,
11168
+ ): Request<GoogleCloudDiscoveryengineV1alphaStreamAssistResponse>;
11169
+ }
10865
11170
  interface CompletionConfigResource {
10866
11171
  /** Completes the user input with advanced keyword suggestions. */
10867
11172
  completeQuery(request: {
@@ -11965,6 +12270,41 @@ declare namespace gapi.client {
11965
12270
  uploadType?: string;
11966
12271
  }): Request<GoogleCloudDiscoveryengineV1alphaAnswer>;
11967
12272
  }
12273
+ interface FilesResource {
12274
+ /** Lists metadata for all files in the current session. */
12275
+ list(request?: {
12276
+ /** V1 error format. */
12277
+ '$.xgafv'?: string;
12278
+ /** OAuth access token. */
12279
+ access_token?: string;
12280
+ /** Data format for response. */
12281
+ alt?: string;
12282
+ /** JSONP */
12283
+ callback?: string;
12284
+ /** Selector specifying which fields to include in a partial response. */
12285
+ fields?: string;
12286
+ /** Optional. The filter syntax consists of an expression language for constructing a predicate from one or more fields of the files being filtered. Filter expression is case-sensitive. Currently supported field names are: * upload_time * last_add_time * last_use_time * file_name * mime_type Some examples of filters would be: * "file_name = 'file_1'" * "file_name = 'file_1' AND mime_type = 'text/plain'" * "last_use_time > '2025-06-14T12:00:00Z'" For a full description of the filter format, please see https://google.aip.dev/160. */
12287
+ filter?: string;
12288
+ /** 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. */
12289
+ key?: string;
12290
+ /** OAuth 2.0 token for the current user. */
12291
+ oauth_token?: string;
12292
+ /** Optional. The maximum number of files to return. The service may return fewer than this value. If unspecified, at most 100 files will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. If user specifies a value less than or equal to 0 - the request will be rejected with an INVALID_ARGUMENT error. */
12293
+ pageSize?: number;
12294
+ /** Optional. A page token received from a previous `ListFiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFiles` must match the call that provided the page token (except `page_size`, which may differ). */
12295
+ pageToken?: string;
12296
+ /** Required. The resource name of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` Name of the session resource to which the file belong. */
12297
+ parent: string;
12298
+ /** Returns response with indentations and line breaks. */
12299
+ prettyPrint?: boolean;
12300
+ /** 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. */
12301
+ quotaUser?: string;
12302
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12303
+ upload_protocol?: string;
12304
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12305
+ uploadType?: string;
12306
+ }): Request<GoogleCloudDiscoveryengineV1alphaListFilesResponse>;
12307
+ }
11968
12308
  interface SessionsResource {
11969
12309
  /** Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned. */
11970
12310
  create(request: {
@@ -12092,7 +12432,7 @@ declare namespace gapi.client {
12092
12432
  callback?: string;
12093
12433
  /** Selector specifying which fields to include in a partial response. */
12094
12434
  fields?: string;
12095
- /** A filter to apply on the list results. The supported features are: user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred = true" */
12435
+ /** A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` Examples: "user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"" */
12096
12436
  filter?: string;
12097
12437
  /** 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. */
12098
12438
  key?: string;
@@ -12178,6 +12518,7 @@ declare namespace gapi.client {
12178
12518
  body: GoogleCloudDiscoveryengineV1alphaSession,
12179
12519
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
12180
12520
  answers: AnswersResource;
12521
+ files: FilesResource;
12181
12522
  }
12182
12523
  interface WidgetConfigsResource {
12183
12524
  /** Gets a WidgetConfig. */
@@ -12598,6 +12939,7 @@ declare namespace gapi.client {
12598
12939
  },
12599
12940
  body: GoogleCloudDiscoveryengineV1alphaTuneEngineRequest,
12600
12941
  ): Request<GoogleLongrunningOperation>;
12942
+ assistants: AssistantsResource;
12601
12943
  completionConfig: CompletionConfigResource;
12602
12944
  controls: ControlsResource;
12603
12945
  conversations: ConversationsResource;
@@ -15058,7 +15400,7 @@ declare namespace gapi.client {
15058
15400
  callback?: string;
15059
15401
  /** Selector specifying which fields to include in a partial response. */
15060
15402
  fields?: string;
15061
- /** A filter to apply on the list results. The supported features are: user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred = true" */
15403
+ /** A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` Examples: "user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"" */
15062
15404
  filter?: string;
15063
15405
  /** 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. */
15064
15406
  key?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.0.20250714",
3
+ "version": "0.0.20250722",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",