@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20240517 → 0.0.20240530

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 +1136 -174
  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: 20240517
12
+ // Revision: 20240530
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -88,6 +88,20 @@ declare namespace gapi.client {
88
88
  /** Immutable. The full resource name of the acl configuration. Format: `projects/{project}/locations/{location}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
89
89
  name?: string;
90
90
  }
91
+ interface GoogleCloudDiscoveryengineV1alphaAlloyDbSource {
92
+ /** Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters. */
93
+ clusterId?: string;
94
+ /** Required. The AlloyDB database to copy the data from with a length limit of 256 characters. */
95
+ databaseId?: string;
96
+ /** Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the AlloyDB export to a specific Cloud Storage directory. Ensure that the AlloyDB service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory. */
97
+ gcsStagingDir?: string;
98
+ /** Required. The AlloyDB location to copy the data from with a length limit of 256 characters. */
99
+ locationId?: string;
100
+ /** The project ID that the AlloyDB source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request. */
101
+ projectId?: string;
102
+ /** Required. The AlloyDB table to copy the data from with a length limit of 256 characters. */
103
+ tableId?: string;
104
+ }
91
105
  interface GoogleCloudDiscoveryengineV1alphaAnswer {
92
106
  /** Additional answer-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set. */
93
107
  answerSkippedReasons?: string[];
@@ -141,6 +155,8 @@ declare namespace gapi.client {
141
155
  searchSpec?: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpec;
142
156
  /** The session resource name. Not required. When session field is not set, the API is in sessionless mode. We support auto session mode: users can use the wildcard symbol `-` as session ID. A new ID will be automatically generated and assigned. */
143
157
  session?: string;
158
+ /** The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details. */
159
+ userLabels?: {[P in string]: string};
144
160
  /** A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
145
161
  userPseudoId?: string;
146
162
  }
@@ -149,6 +165,8 @@ declare namespace gapi.client {
149
165
  answerLanguageCode?: string;
150
166
  /** Specifies whether to filter out adversarial queries. The default value is `false`. Google employs search-query classification to detect adversarial queries. No answer is returned if the search query is classified as an adversarial query. For example, a user might ask a question regarding negative comments about the company or submit a query designed to generate unsafe, policy-violating output. If this field is set to `true`, we skip generating answers for adversarial queries and return fallback messages instead. */
151
167
  ignoreAdversarialQuery?: boolean;
168
+ /** Specifies whether to filter out queries that have low relevance. If this field is set to `false`, all search results are used regardless of relevance to generate answers. If set to `true` or unset, the behavior will be determined automatically by the service. */
169
+ ignoreLowRelevantContent?: boolean;
152
170
  /** Specifies whether to filter out queries that are not answer-seeking. The default value is `false`. Google employs search-query classification to detect answer-seeking queries. No answer is returned if the search query is classified as a non-answer seeking query. If this field is set to `true`, we skip generating answers for non-answer seeking queries and return fallback messages instead. */
153
171
  ignoreNonAnswerSeekingQuery?: boolean;
154
172
  /** Specifies whether to include citation metadata in the answer. The default value is `false`. */
@@ -201,6 +219,8 @@ declare namespace gapi.client {
201
219
  boostSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec;
202
220
  /** Custom fine tuning configs. */
203
221
  customFineTuningSpec?: GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec;
222
+ /** Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level. */
223
+ dataStoreSpecs?: GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec[];
204
224
  /** 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. This will be used to filter search results which may affect the Answer response. 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 customers 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) */
205
225
  filter?: string;
206
226
  /** Number of search results to return. The default value is 10. */
@@ -297,6 +317,8 @@ declare namespace gapi.client {
297
317
  document?: string;
298
318
  /** Page identifier. */
299
319
  pageIdentifier?: string;
320
+ /** The structured JSON metadata for the document. It is populated from the struct data from the Chunk in search result. */
321
+ structData?: {[P in string]: any};
300
322
  /** Title. */
301
323
  title?: string;
302
324
  /** URI for the document. */
@@ -307,6 +329,8 @@ declare namespace gapi.client {
307
329
  chunkContents?: GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent[];
308
330
  /** Document resource name. */
309
331
  document?: string;
332
+ /** The structured JSON metadata for the document. It is populated from the struct data from the Chunk in search result. */
333
+ structData?: {[P in string]: any};
310
334
  /** Title. */
311
335
  title?: string;
312
336
  /** URI for the document. */
@@ -484,7 +508,7 @@ declare namespace gapi.client {
484
508
  name?: string;
485
509
  /** Page span of the chunk. */
486
510
  pageSpan?: GoogleCloudDiscoveryengineV1alphaChunkPageSpan;
487
- /** Represents the relevance score based on similarity. Higher score represents the chunk relevance. The score is in range [-1.0, 1.0]. Only populated on SearchService.SearchResponse */
511
+ /** Output only. Represents the relevance score based on similarity. Higher score indicates higher chunk relevance. The score is in range [-1.0, 1.0]. Only populated on SearchService.SearchResponse. */
488
512
  relevanceScore?: number;
489
513
  }
490
514
  interface GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata {
@@ -539,6 +563,68 @@ declare namespace gapi.client {
539
563
  /** End user selected CompleteQueryResponse.QuerySuggestion.suggestion. */
540
564
  selectedSuggestion?: string;
541
565
  }
566
+ interface GoogleCloudDiscoveryengineV1alphaCondition {
567
+ /** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
568
+ activeTimeRange?: GoogleCloudDiscoveryengineV1alphaConditionTimeRange[];
569
+ /** Search only A list of terms to match the query on. Maximum of 10 query terms. */
570
+ queryTerms?: GoogleCloudDiscoveryengineV1alphaConditionQueryTerm[];
571
+ }
572
+ interface GoogleCloudDiscoveryengineV1alphaConditionQueryTerm {
573
+ /** Whether the search query needs to exactly match the query term. */
574
+ fullMatch?: boolean;
575
+ /** The specific query value to match against Must be lowercase, must be UTF-8. Can have at most 3 space separated terms if full_match is true. Cannot be an empty string. Maximum length of 5000 characters. */
576
+ value?: string;
577
+ }
578
+ interface GoogleCloudDiscoveryengineV1alphaConditionTimeRange {
579
+ /** End of time range. Range is inclusive. Must be in the future. */
580
+ endTime?: string;
581
+ /** Start of time range. Range is inclusive. */
582
+ startTime?: string;
583
+ }
584
+ interface GoogleCloudDiscoveryengineV1alphaControl {
585
+ /** Output only. List of all ServingConfig ids this control is attached to. May take up to 10 minutes to update after changes. */
586
+ associatedServingConfigIds?: string[];
587
+ /** Defines a boost-type control */
588
+ boostAction?: GoogleCloudDiscoveryengineV1alphaControlBoostAction;
589
+ /** Determines when the associated action will trigger. Omit to always apply the action. Currently only a single condition may be specified. Otherwise an INVALID ARGUMENT error is thrown. */
590
+ conditions?: GoogleCloudDiscoveryengineV1alphaCondition[];
591
+ /** Required. Human readable name. The identifier used in UI views. Must be UTF-8 encoded string. Length limit is 128 characters. Otherwise an INVALID ARGUMENT error is thrown. */
592
+ displayName?: string;
593
+ /** Defines a filter-type control Currently not supported by Recommendation */
594
+ filterAction?: GoogleCloudDiscoveryengineV1alphaControlFilterAction;
595
+ /** Immutable. Fully qualified name `projects/*‍/locations/global/dataStore/*‍/controls/*` */
596
+ name?: string;
597
+ /** Defines a redirect-type control. */
598
+ redirectAction?: GoogleCloudDiscoveryengineV1alphaControlRedirectAction;
599
+ /** Required. Immutable. What solution the control belongs to. Must be compatible with vertical of resource. Otherwise an INVALID ARGUMENT error is thrown. */
600
+ solutionType?: string;
601
+ /** Treats a group of terms as synonyms of one another. */
602
+ synonymsAction?: GoogleCloudDiscoveryengineV1alphaControlSynonymsAction;
603
+ /** Specifies the use case for the control. Affects what condition fields can be set. Only applies to SOLUTION_TYPE_SEARCH. Currently only allow one use case per control. Must be set when solution_type is SolutionType.SOLUTION_TYPE_SEARCH. */
604
+ useCases?: string[];
605
+ }
606
+ interface GoogleCloudDiscoveryengineV1alphaControlBoostAction {
607
+ /** Required. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
608
+ boost?: number;
609
+ /** Required. Specifies which data store's documents can be boosted by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
610
+ dataStore?: string;
611
+ /** Required. Specifies which products to apply the boost to. If no filter is provided all products will be boosted (No-op). Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown. */
612
+ filter?: string;
613
+ }
614
+ interface GoogleCloudDiscoveryengineV1alphaControlFilterAction {
615
+ /** Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
616
+ dataStore?: string;
617
+ /** Required. A filter to apply on the matching condition results. Required Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown. */
618
+ filter?: string;
619
+ }
620
+ interface GoogleCloudDiscoveryengineV1alphaControlRedirectAction {
621
+ /** Required. The URI to which the shopper will be redirected. Required. URI must have length equal or less than 2000 characters. Otherwise an INVALID ARGUMENT error is thrown. */
622
+ redirectUri?: string;
623
+ }
624
+ interface GoogleCloudDiscoveryengineV1alphaControlSynonymsAction {
625
+ /** Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown. */
626
+ synonyms?: string[];
627
+ }
542
628
  interface GoogleCloudDiscoveryengineV1alphaConversation {
543
629
  /** Output only. The time the conversation finished. */
544
630
  endTime?: string;
@@ -642,6 +728,7 @@ declare namespace gapi.client {
642
728
  displayName?: string;
643
729
  /** The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). */
644
730
  modelState?: string;
731
+ /** The version of the model. */
645
732
  modelVersion?: string;
646
733
  /** Required. The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}` model must be an alpha-numerical string with limit of 40 characters. */
647
734
  name?: string;
@@ -859,7 +946,7 @@ declare namespace gapi.client {
859
946
  dialogflowAgent?: string;
860
947
  }
861
948
  interface GoogleCloudDiscoveryengineV1alphaEngineCommonConfig {
862
- /** Immutable. The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features. */
949
+ /** The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features. */
863
950
  companyName?: string;
864
951
  }
865
952
  interface GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig {
@@ -972,6 +1059,8 @@ declare namespace gapi.client {
972
1059
  recsFilterableOption?: string;
973
1060
  /** If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error. */
974
1061
  retrievableOption?: string;
1062
+ /** Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished */
1063
+ schemaOrgPaths?: string[];
975
1064
  /** 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. */
976
1065
  searchableOption?: string;
977
1066
  }
@@ -1028,6 +1117,8 @@ declare namespace gapi.client {
1028
1117
  updateTime?: string;
1029
1118
  }
1030
1119
  interface GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest {
1120
+ /** AlloyDB input source. */
1121
+ alloyDbSource?: GoogleCloudDiscoveryengineV1alphaAlloyDbSource;
1031
1122
  /** Whether to automatically generate IDs for the documents if absent. If set to `true`, Document.ids are automatically generated based on the hash of the payload, where IDs may not be consistent during multiple imports. In which case ReconciliationMode.FULL is highly recommended to avoid duplicate contents. If unset or set to `false`, Document.ids have to be specified using id_field, otherwise, documents without IDs fail to be imported. 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. */
1032
1123
  autoGenerateIds?: boolean;
1033
1124
  /** BigQuery input source. */
@@ -1143,6 +1234,12 @@ declare namespace gapi.client {
1143
1234
  /** A token that can be sent as ListChunksRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
1144
1235
  nextPageToken?: string;
1145
1236
  }
1237
+ interface GoogleCloudDiscoveryengineV1alphaListControlsResponse {
1238
+ /** All the Controls for a given data store. */
1239
+ controls?: GoogleCloudDiscoveryengineV1alphaControl[];
1240
+ /** Pagination token, if not returned indicates the last page. */
1241
+ nextPageToken?: string;
1242
+ }
1146
1243
  interface GoogleCloudDiscoveryengineV1alphaListConversationsResponse {
1147
1244
  /** All the Conversations for a given data store. */
1148
1245
  conversations?: GoogleCloudDiscoveryengineV1alphaConversation[];
@@ -1359,6 +1456,8 @@ declare namespace gapi.client {
1359
1456
  records?: GoogleCloudDiscoveryengineV1alphaRankingRecord[];
1360
1457
  /** The number of results to return. If this is unset or no bigger than zero, returns all results. */
1361
1458
  topN?: number;
1459
+ /** The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details. */
1460
+ userLabels?: {[P in string]: string};
1362
1461
  }
1363
1462
  interface GoogleCloudDiscoveryengineV1alphaRankResponse {
1364
1463
  /** A list of records sorted by descending score. */
@@ -2027,10 +2126,14 @@ declare namespace gapi.client {
2027
2126
  attributionToken?: string;
2028
2127
  /** CompletionService.CompleteQuery details related to the event. This field should be set for `search` event when autocomplete function is enabled and the user clicks a suggestion for search. */
2029
2128
  completionInfo?: GoogleCloudDiscoveryengineV1alphaCompletionInfo;
2129
+ /** The DataStore resource full name, of the form `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. Optional. Only required for user events whose data store can't by determined by UserEvent.engine or UserEvent.documents. If data store is set in the parent of write/import/collect user event requests, this field can be omitted. */
2130
+ dataStore?: string;
2030
2131
  /** Should set to true if the request is made directly from the end user, in which case the UserEvent.user_info.user_agent can be populated from the HTTP request. This flag should be set only if the API request is made directly from the end user such as a mobile app (and not if a gateway or a server is processing and pushing the user events). This should not be set when using the JavaScript tag in UserEventService.CollectUserEvent. */
2031
2132
  directUserRequest?: boolean;
2032
2133
  /** List of Documents associated with this user event. This field is optional except for the following event types: * `view-item` * `add-to-cart` * `purchase` * `media-play` * `media-complete` In a `search` event, this field represents the documents returned to the end user on the current page (the end user may have not finished browsing the whole page yet). When a new page is returned to the end user, after pagination/filtering/ordering even for the same query, a new `search` event with different UserEvent.documents is desired. */
2033
2134
  documents?: GoogleCloudDiscoveryengineV1alphaDocumentInfo[];
2135
+ /** The Engine resource name, in the form of `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. Optional. Only required for Engine produced user events. For example, user events from blended search. */
2136
+ engine?: string;
2034
2137
  /** Only required for UserEventService.ImportUserEvents method. Timestamp of when the user event happened. */
2035
2138
  eventTime?: string;
2036
2139
  /** Required. User event type. Allowed values are: Generic values: * `search`: Search for Documents. * `view-item`: Detailed page view of a Document. * `view-item-list`: View of a panel or ordered list of Documents. * `view-home-page`: View of the home page. * `view-category-page`: View of a category page, e.g. Home > Men > Jeans Retail-related values: * `add-to-cart`: Add an item(s) to cart, e.g. in Retail online shopping * `purchase`: Purchase an item(s) Media-related values: * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. */
@@ -2084,6 +2187,68 @@ declare namespace gapi.client {
2084
2187
  /** TargetSites created. */
2085
2188
  targetSites?: GoogleCloudDiscoveryengineV1betaTargetSite[];
2086
2189
  }
2190
+ interface GoogleCloudDiscoveryengineV1betaCondition {
2191
+ /** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
2192
+ activeTimeRange?: GoogleCloudDiscoveryengineV1betaConditionTimeRange[];
2193
+ /** Search only A list of terms to match the query on. Maximum of 10 query terms. */
2194
+ queryTerms?: GoogleCloudDiscoveryengineV1betaConditionQueryTerm[];
2195
+ }
2196
+ interface GoogleCloudDiscoveryengineV1betaConditionQueryTerm {
2197
+ /** Whether the search query needs to exactly match the query term. */
2198
+ fullMatch?: boolean;
2199
+ /** The specific query value to match against Must be lowercase, must be UTF-8. Can have at most 3 space separated terms if full_match is true. Cannot be an empty string. Maximum length of 5000 characters. */
2200
+ value?: string;
2201
+ }
2202
+ interface GoogleCloudDiscoveryengineV1betaConditionTimeRange {
2203
+ /** End of time range. Range is inclusive. Must be in the future. */
2204
+ endTime?: string;
2205
+ /** Start of time range. Range is inclusive. */
2206
+ startTime?: string;
2207
+ }
2208
+ interface GoogleCloudDiscoveryengineV1betaControl {
2209
+ /** Output only. List of all ServingConfig ids this control is attached to. May take up to 10 minutes to update after changes. */
2210
+ associatedServingConfigIds?: string[];
2211
+ /** Defines a boost-type control */
2212
+ boostAction?: GoogleCloudDiscoveryengineV1betaControlBoostAction;
2213
+ /** Determines when the associated action will trigger. Omit to always apply the action. Currently only a single condition may be specified. Otherwise an INVALID ARGUMENT error is thrown. */
2214
+ conditions?: GoogleCloudDiscoveryengineV1betaCondition[];
2215
+ /** Required. Human readable name. The identifier used in UI views. Must be UTF-8 encoded string. Length limit is 128 characters. Otherwise an INVALID ARGUMENT error is thrown. */
2216
+ displayName?: string;
2217
+ /** Defines a filter-type control Currently not supported by Recommendation */
2218
+ filterAction?: GoogleCloudDiscoveryengineV1betaControlFilterAction;
2219
+ /** Immutable. Fully qualified name `projects/*‍/locations/global/dataStore/*‍/controls/*` */
2220
+ name?: string;
2221
+ /** Defines a redirect-type control. */
2222
+ redirectAction?: GoogleCloudDiscoveryengineV1betaControlRedirectAction;
2223
+ /** Required. Immutable. What solution the control belongs to. Must be compatible with vertical of resource. Otherwise an INVALID ARGUMENT error is thrown. */
2224
+ solutionType?: string;
2225
+ /** Treats a group of terms as synonyms of one another. */
2226
+ synonymsAction?: GoogleCloudDiscoveryengineV1betaControlSynonymsAction;
2227
+ /** Specifies the use case for the control. Affects what condition fields can be set. Only applies to SOLUTION_TYPE_SEARCH. Currently only allow one use case per control. Must be set when solution_type is SolutionType.SOLUTION_TYPE_SEARCH. */
2228
+ useCases?: string[];
2229
+ }
2230
+ interface GoogleCloudDiscoveryengineV1betaControlBoostAction {
2231
+ /** Required. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
2232
+ boost?: number;
2233
+ /** Required. Specifies which data store's documents can be boosted by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
2234
+ dataStore?: string;
2235
+ /** Required. Specifies which products to apply the boost to. If no filter is provided all products will be boosted (No-op). Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown. */
2236
+ filter?: string;
2237
+ }
2238
+ interface GoogleCloudDiscoveryengineV1betaControlFilterAction {
2239
+ /** Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
2240
+ dataStore?: string;
2241
+ /** Required. A filter to apply on the matching condition results. Required Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown. */
2242
+ filter?: string;
2243
+ }
2244
+ interface GoogleCloudDiscoveryengineV1betaControlRedirectAction {
2245
+ /** Required. The URI to which the shopper will be redirected. Required. URI must have length equal or less than 2000 characters. Otherwise an INVALID ARGUMENT error is thrown. */
2246
+ redirectUri?: string;
2247
+ }
2248
+ interface GoogleCloudDiscoveryengineV1betaControlSynonymsAction {
2249
+ /** Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown. */
2250
+ synonyms?: string[];
2251
+ }
2087
2252
  interface GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata {
2088
2253
  /** Operation create time. */
2089
2254
  createTime?: string;
@@ -2115,6 +2280,7 @@ declare namespace gapi.client {
2115
2280
  displayName?: string;
2116
2281
  /** The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). */
2117
2282
  modelState?: string;
2283
+ /** The version of the model. */
2118
2284
  modelVersion?: string;
2119
2285
  /** Required. The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}` model must be an alpha-numerical string with limit of 40 characters. */
2120
2286
  name?: string;
@@ -2173,6 +2339,8 @@ declare namespace gapi.client {
2173
2339
  }
2174
2340
  interface GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse {}
2175
2341
  interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig {
2342
+ /** Whether chunking mode is enabled. */
2343
+ chunkingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig;
2176
2344
  /** Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing. */
2177
2345
  defaultParsingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
2178
2346
  /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
@@ -2182,13 +2350,26 @@ declare namespace gapi.client {
2182
2350
  [P in string]: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
2183
2351
  };
2184
2352
  }
2353
+ interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig {
2354
+ /** Configuration for the layout based chunking. */
2355
+ layoutBasedChunkingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig;
2356
+ }
2357
+ interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig {
2358
+ /** The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500. */
2359
+ chunkSize?: number;
2360
+ /** Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False. */
2361
+ includeAncestorHeadings?: boolean;
2362
+ }
2185
2363
  interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig {
2186
2364
  /** Configurations applied to digital parser. */
2187
2365
  digitalParsingConfig?: any;
2366
+ /** Configurations applied to layout parser. */
2367
+ layoutParsingConfig?: any;
2188
2368
  /** Configurations applied to OCR parser. Currently it only applies to PDFs. */
2189
2369
  ocrParsingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig;
2190
2370
  }
2191
2371
  interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig {}
2372
+ interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig {}
2192
2373
  interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig {
2193
2374
  /** [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`. */
2194
2375
  enhancedDocumentElements?: string[];
@@ -2247,7 +2428,7 @@ declare namespace gapi.client {
2247
2428
  dialogflowAgent?: string;
2248
2429
  }
2249
2430
  interface GoogleCloudDiscoveryengineV1betaEngineCommonConfig {
2250
- /** Immutable. The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features. */
2431
+ /** The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features. */
2251
2432
  companyName?: string;
2252
2433
  }
2253
2434
  interface GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig {
@@ -2316,6 +2497,31 @@ declare namespace gapi.client {
2316
2497
  /** List of custom tuning models. */
2317
2498
  models?: GoogleCloudDiscoveryengineV1betaCustomTuningModel[];
2318
2499
  }
2500
+ interface GoogleCloudDiscoveryengineV1betaProject {
2501
+ /** Output only. The timestamp when this project is created. */
2502
+ createTime?: string;
2503
+ /** Output only. Full resource name of the project, for example `projects/{project_number}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number. */
2504
+ name?: string;
2505
+ /** Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use. */
2506
+ provisionCompletionTime?: string;
2507
+ /** Output only. A map of terms of services. The key is the `id` of ServiceTerms. */
2508
+ serviceTermsMap?: {
2509
+ [P in string]: GoogleCloudDiscoveryengineV1betaProjectServiceTerms;
2510
+ };
2511
+ }
2512
+ interface GoogleCloudDiscoveryengineV1betaProjectServiceTerms {
2513
+ /** The last time when the project agreed to the terms of service. */
2514
+ acceptTime?: string;
2515
+ /** The last time when the project declined or revoked the agreement to terms of service. */
2516
+ declineTime?: string;
2517
+ /** The unique identifier of this terms of service. Available terms: * `GA_DATA_USE_TERMS`: [Terms for data use](https://cloud.google.com/retail/data-use-terms). When using this as `id`, the acceptable version to provide is `2022-11-23`. */
2518
+ id?: string;
2519
+ /** Whether the project has accepted/rejected the service terms or it is still pending. */
2520
+ state?: string;
2521
+ /** The version string of the terms of service. For acceptable values, see the comments for id above. */
2522
+ version?: string;
2523
+ }
2524
+ interface GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata {}
2319
2525
  interface GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata {
2320
2526
  /** Operation create time. */
2321
2527
  createTime?: string;
@@ -2425,6 +2631,68 @@ declare namespace gapi.client {
2425
2631
  /** Operation last update time. If the operation is done, this is also the finish time. */
2426
2632
  updateTime?: string;
2427
2633
  }
2634
+ interface GoogleCloudDiscoveryengineV1Condition {
2635
+ /** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
2636
+ activeTimeRange?: GoogleCloudDiscoveryengineV1ConditionTimeRange[];
2637
+ /** Search only A list of terms to match the query on. Maximum of 10 query terms. */
2638
+ queryTerms?: GoogleCloudDiscoveryengineV1ConditionQueryTerm[];
2639
+ }
2640
+ interface GoogleCloudDiscoveryengineV1ConditionQueryTerm {
2641
+ /** Whether the search query needs to exactly match the query term. */
2642
+ fullMatch?: boolean;
2643
+ /** The specific query value to match against Must be lowercase, must be UTF-8. Can have at most 3 space separated terms if full_match is true. Cannot be an empty string. Maximum length of 5000 characters. */
2644
+ value?: string;
2645
+ }
2646
+ interface GoogleCloudDiscoveryengineV1ConditionTimeRange {
2647
+ /** End of time range. Range is inclusive. Must be in the future. */
2648
+ endTime?: string;
2649
+ /** Start of time range. Range is inclusive. */
2650
+ startTime?: string;
2651
+ }
2652
+ interface GoogleCloudDiscoveryengineV1Control {
2653
+ /** Output only. List of all ServingConfig ids this control is attached to. May take up to 10 minutes to update after changes. */
2654
+ associatedServingConfigIds?: string[];
2655
+ /** Defines a boost-type control */
2656
+ boostAction?: GoogleCloudDiscoveryengineV1ControlBoostAction;
2657
+ /** Determines when the associated action will trigger. Omit to always apply the action. Currently only a single condition may be specified. Otherwise an INVALID ARGUMENT error is thrown. */
2658
+ conditions?: GoogleCloudDiscoveryengineV1Condition[];
2659
+ /** Required. Human readable name. The identifier used in UI views. Must be UTF-8 encoded string. Length limit is 128 characters. Otherwise an INVALID ARGUMENT error is thrown. */
2660
+ displayName?: string;
2661
+ /** Defines a filter-type control Currently not supported by Recommendation */
2662
+ filterAction?: GoogleCloudDiscoveryengineV1ControlFilterAction;
2663
+ /** Immutable. Fully qualified name `projects/*‍/locations/global/dataStore/*‍/controls/*` */
2664
+ name?: string;
2665
+ /** Defines a redirect-type control. */
2666
+ redirectAction?: GoogleCloudDiscoveryengineV1ControlRedirectAction;
2667
+ /** Required. Immutable. What solution the control belongs to. Must be compatible with vertical of resource. Otherwise an INVALID ARGUMENT error is thrown. */
2668
+ solutionType?: string;
2669
+ /** Treats a group of terms as synonyms of one another. */
2670
+ synonymsAction?: GoogleCloudDiscoveryengineV1ControlSynonymsAction;
2671
+ /** Specifies the use case for the control. Affects what condition fields can be set. Only applies to SOLUTION_TYPE_SEARCH. Currently only allow one use case per control. Must be set when solution_type is SolutionType.SOLUTION_TYPE_SEARCH. */
2672
+ useCases?: string[];
2673
+ }
2674
+ interface GoogleCloudDiscoveryengineV1ControlBoostAction {
2675
+ /** Required. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
2676
+ boost?: number;
2677
+ /** Required. Specifies which data store's documents can be boosted by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
2678
+ dataStore?: string;
2679
+ /** Required. Specifies which products to apply the boost to. If no filter is provided all products will be boosted (No-op). Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown. */
2680
+ filter?: string;
2681
+ }
2682
+ interface GoogleCloudDiscoveryengineV1ControlFilterAction {
2683
+ /** Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
2684
+ dataStore?: string;
2685
+ /** Required. A filter to apply on the matching condition results. Required Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown. */
2686
+ filter?: string;
2687
+ }
2688
+ interface GoogleCloudDiscoveryengineV1ControlRedirectAction {
2689
+ /** Required. The URI to which the shopper will be redirected. Required. URI must have length equal or less than 2000 characters. Otherwise an INVALID ARGUMENT error is thrown. */
2690
+ redirectUri?: string;
2691
+ }
2692
+ interface GoogleCloudDiscoveryengineV1ControlSynonymsAction {
2693
+ /** Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown. */
2694
+ synonyms?: string[];
2695
+ }
2428
2696
  interface GoogleCloudDiscoveryengineV1CreateDataStoreMetadata {
2429
2697
  /** Operation create time. */
2430
2698
  createTime?: string;
@@ -2501,6 +2769,8 @@ declare namespace gapi.client {
2501
2769
  }
2502
2770
  interface GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse {}
2503
2771
  interface GoogleCloudDiscoveryengineV1DocumentProcessingConfig {
2772
+ /** Whether chunking mode is enabled. */
2773
+ chunkingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig;
2504
2774
  /** Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing. */
2505
2775
  defaultParsingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
2506
2776
  /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
@@ -2510,13 +2780,26 @@ declare namespace gapi.client {
2510
2780
  [P in string]: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
2511
2781
  };
2512
2782
  }
2783
+ interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig {
2784
+ /** Configuration for the layout based chunking. */
2785
+ layoutBasedChunkingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig;
2786
+ }
2787
+ interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig {
2788
+ /** The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500. */
2789
+ chunkSize?: number;
2790
+ /** Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False. */
2791
+ includeAncestorHeadings?: boolean;
2792
+ }
2513
2793
  interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig {
2514
2794
  /** Configurations applied to digital parser. */
2515
2795
  digitalParsingConfig?: any;
2796
+ /** Configurations applied to layout parser. */
2797
+ layoutParsingConfig?: any;
2516
2798
  /** Configurations applied to OCR parser. Currently it only applies to PDFs. */
2517
2799
  ocrParsingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig;
2518
2800
  }
2519
2801
  interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig {}
2802
+ interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig {}
2520
2803
  interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig {
2521
2804
  /** [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`. */
2522
2805
  enhancedDocumentElements?: string[];
@@ -2575,7 +2858,7 @@ declare namespace gapi.client {
2575
2858
  dialogflowAgent?: string;
2576
2859
  }
2577
2860
  interface GoogleCloudDiscoveryengineV1EngineCommonConfig {
2578
- /** Immutable. The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features. */
2861
+ /** The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features. */
2579
2862
  companyName?: string;
2580
2863
  }
2581
2864
  interface GoogleCloudDiscoveryengineV1EngineSearchEngineConfig {
@@ -2640,6 +2923,31 @@ declare namespace gapi.client {
2640
2923
  /** Count of user events imported, but with Document information not found in the existing Branch. */
2641
2924
  unjoinedEventsCount?: string;
2642
2925
  }
2926
+ interface GoogleCloudDiscoveryengineV1Project {
2927
+ /** Output only. The timestamp when this project is created. */
2928
+ createTime?: string;
2929
+ /** Output only. Full resource name of the project, for example `projects/{project_number}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number. */
2930
+ name?: string;
2931
+ /** Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use. */
2932
+ provisionCompletionTime?: string;
2933
+ /** Output only. A map of terms of services. The key is the `id` of ServiceTerms. */
2934
+ serviceTermsMap?: {
2935
+ [P in string]: GoogleCloudDiscoveryengineV1ProjectServiceTerms;
2936
+ };
2937
+ }
2938
+ interface GoogleCloudDiscoveryengineV1ProjectServiceTerms {
2939
+ /** The last time when the project agreed to the terms of service. */
2940
+ acceptTime?: string;
2941
+ /** The last time when the project declined or revoked the agreement to terms of service. */
2942
+ declineTime?: string;
2943
+ /** The unique identifier of this terms of service. Available terms: * `GA_DATA_USE_TERMS`: [Terms for data use](https://cloud.google.com/retail/data-use-terms). When using this as `id`, the acceptable version to provide is `2022-11-23`. */
2944
+ id?: string;
2945
+ /** Whether the project has accepted/rejected the service terms or it is still pending. */
2946
+ state?: string;
2947
+ /** The version string of the terms of service. For acceptable values, see the comments for id above. */
2948
+ version?: string;
2949
+ }
2950
+ interface GoogleCloudDiscoveryengineV1ProvisionProjectMetadata {}
2643
2951
  interface GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata {
2644
2952
  /** Operation create time. */
2645
2953
  createTime?: string;
@@ -3374,66 +3682,8 @@ declare namespace gapi.client {
3374
3682
  documents: DocumentsResource;
3375
3683
  operations: OperationsResource;
3376
3684
  }
3377
- interface ConversationsResource {
3378
- /** Converses a conversation. */
3379
- converse(request: {
3380
- /** V1 error format. */
3381
- '$.xgafv'?: string;
3382
- /** OAuth access token. */
3383
- access_token?: string;
3384
- /** Data format for response. */
3385
- alt?: string;
3386
- /** JSONP */
3387
- callback?: string;
3388
- /** Selector specifying which fields to include in a partial response. */
3389
- fields?: string;
3390
- /** 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. */
3391
- key?: string;
3392
- /** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
3393
- name: string;
3394
- /** OAuth 2.0 token for the current user. */
3395
- oauth_token?: string;
3396
- /** Returns response with indentations and line breaks. */
3397
- prettyPrint?: boolean;
3398
- /** 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. */
3399
- quotaUser?: string;
3400
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3401
- upload_protocol?: string;
3402
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3403
- uploadType?: string;
3404
- /** Request body */
3405
- resource: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest;
3406
- }): Request<GoogleCloudDiscoveryengineV1alphaConverseConversationResponse>;
3407
- converse(
3408
- request: {
3409
- /** V1 error format. */
3410
- '$.xgafv'?: string;
3411
- /** OAuth access token. */
3412
- access_token?: string;
3413
- /** Data format for response. */
3414
- alt?: string;
3415
- /** JSONP */
3416
- callback?: string;
3417
- /** Selector specifying which fields to include in a partial response. */
3418
- fields?: string;
3419
- /** 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. */
3420
- key?: string;
3421
- /** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
3422
- name: string;
3423
- /** OAuth 2.0 token for the current user. */
3424
- oauth_token?: string;
3425
- /** Returns response with indentations and line breaks. */
3426
- prettyPrint?: boolean;
3427
- /** 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. */
3428
- quotaUser?: string;
3429
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3430
- upload_protocol?: string;
3431
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3432
- uploadType?: string;
3433
- },
3434
- body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest
3435
- ): Request<GoogleCloudDiscoveryengineV1alphaConverseConversationResponse>;
3436
- /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
3685
+ interface ControlsResource {
3686
+ /** Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned. */
3437
3687
  create(request: {
3438
3688
  /** V1 error format. */
3439
3689
  '$.xgafv'?: string;
@@ -3443,13 +3693,15 @@ declare namespace gapi.client {
3443
3693
  alt?: string;
3444
3694
  /** JSONP */
3445
3695
  callback?: string;
3696
+ /** Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value must be within 1-63 characters. Valid characters are /a-z-_/. */
3697
+ controlId?: string;
3446
3698
  /** Selector specifying which fields to include in a partial response. */
3447
3699
  fields?: string;
3448
3700
  /** 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. */
3449
3701
  key?: string;
3450
3702
  /** OAuth 2.0 token for the current user. */
3451
3703
  oauth_token?: string;
3452
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
3704
+ /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. */
3453
3705
  parent: string;
3454
3706
  /** Returns response with indentations and line breaks. */
3455
3707
  prettyPrint?: boolean;
@@ -3460,8 +3712,8 @@ declare namespace gapi.client {
3460
3712
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3461
3713
  uploadType?: string;
3462
3714
  /** Request body */
3463
- resource: GoogleCloudDiscoveryengineV1alphaConversation;
3464
- }): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
3715
+ resource: GoogleCloudDiscoveryengineV1alphaControl;
3716
+ }): Request<GoogleCloudDiscoveryengineV1alphaControl>;
3465
3717
  create(
3466
3718
  request: {
3467
3719
  /** V1 error format. */
@@ -3472,13 +3724,15 @@ declare namespace gapi.client {
3472
3724
  alt?: string;
3473
3725
  /** JSONP */
3474
3726
  callback?: string;
3727
+ /** Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value must be within 1-63 characters. Valid characters are /a-z-_/. */
3728
+ controlId?: string;
3475
3729
  /** Selector specifying which fields to include in a partial response. */
3476
3730
  fields?: string;
3477
3731
  /** 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. */
3478
3732
  key?: string;
3479
3733
  /** OAuth 2.0 token for the current user. */
3480
3734
  oauth_token?: string;
3481
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
3735
+ /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. */
3482
3736
  parent: string;
3483
3737
  /** Returns response with indentations and line breaks. */
3484
3738
  prettyPrint?: boolean;
@@ -3489,9 +3743,9 @@ declare namespace gapi.client {
3489
3743
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3490
3744
  uploadType?: string;
3491
3745
  },
3492
- body: GoogleCloudDiscoveryengineV1alphaConversation
3493
- ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
3494
- /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
3746
+ body: GoogleCloudDiscoveryengineV1alphaControl
3747
+ ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
3748
+ /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
3495
3749
  delete(request?: {
3496
3750
  /** V1 error format. */
3497
3751
  '$.xgafv'?: string;
@@ -3505,7 +3759,7 @@ declare namespace gapi.client {
3505
3759
  fields?: string;
3506
3760
  /** 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. */
3507
3761
  key?: string;
3508
- /** Required. The resource name of the Conversation to delete. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
3762
+ /** Required. The resource name of the Control to delete. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
3509
3763
  name: string;
3510
3764
  /** OAuth 2.0 token for the current user. */
3511
3765
  oauth_token?: string;
@@ -3518,7 +3772,7 @@ declare namespace gapi.client {
3518
3772
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3519
3773
  uploadType?: string;
3520
3774
  }): Request<{}>;
3521
- /** Gets a Conversation. */
3775
+ /** Gets a Control. */
3522
3776
  get(request?: {
3523
3777
  /** V1 error format. */
3524
3778
  '$.xgafv'?: string;
@@ -3532,7 +3786,7 @@ declare namespace gapi.client {
3532
3786
  fields?: string;
3533
3787
  /** 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. */
3534
3788
  key?: string;
3535
- /** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
3789
+ /** Required. The resource name of the Control to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
3536
3790
  name: string;
3537
3791
  /** OAuth 2.0 token for the current user. */
3538
3792
  oauth_token?: string;
@@ -3544,8 +3798,8 @@ declare namespace gapi.client {
3544
3798
  upload_protocol?: string;
3545
3799
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3546
3800
  uploadType?: string;
3547
- }): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
3548
- /** Lists all Conversations by their parent DataStore. */
3801
+ }): Request<GoogleCloudDiscoveryengineV1alphaControl>;
3802
+ /** Lists all Controls by their parent DataStore. */
3549
3803
  list(request?: {
3550
3804
  /** V1 error format. */
3551
3805
  '$.xgafv'?: string;
@@ -3557,19 +3811,17 @@ declare namespace gapi.client {
3557
3811
  callback?: string;
3558
3812
  /** Selector specifying which fields to include in a partial response. */
3559
3813
  fields?: string;
3560
- /** A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: "user_pseudo_id = some_id" */
3814
+ /** Optional. A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. Currently this field is unsupported. */
3561
3815
  filter?: string;
3562
3816
  /** 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. */
3563
3817
  key?: string;
3564
3818
  /** OAuth 2.0 token for the current user. */
3565
3819
  oauth_token?: string;
3566
- /** 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` * `conversation_name` Example: "update_time desc" "create_time" */
3567
- orderBy?: string;
3568
- /** Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000. */
3820
+ /** Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000. */
3569
3821
  pageSize?: number;
3570
- /** A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page. */
3822
+ /** Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page. */
3571
3823
  pageToken?: string;
3572
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
3824
+ /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. */
3573
3825
  parent: string;
3574
3826
  /** Returns response with indentations and line breaks. */
3575
3827
  prettyPrint?: boolean;
@@ -3579,8 +3831,8 @@ declare namespace gapi.client {
3579
3831
  upload_protocol?: string;
3580
3832
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3581
3833
  uploadType?: string;
3582
- }): Request<GoogleCloudDiscoveryengineV1alphaListConversationsResponse>;
3583
- /** Updates a Conversation. Conversation action type cannot be changed. If the Conversation to update does not exist, a NOT_FOUND error is returned. */
3834
+ }): Request<GoogleCloudDiscoveryengineV1alphaListControlsResponse>;
3835
+ /** Updates a Control. Control action type cannot be changed. If the Control to update does not exist, a NOT_FOUND error is returned. */
3584
3836
  patch(request: {
3585
3837
  /** V1 error format. */
3586
3838
  '$.xgafv'?: string;
@@ -3594,7 +3846,7 @@ declare namespace gapi.client {
3594
3846
  fields?: string;
3595
3847
  /** 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. */
3596
3848
  key?: string;
3597
- /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*‍/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*‍/conversations/*`. */
3849
+ /** Immutable. Fully qualified name `projects/*‍/locations/global/dataStore/*‍/controls/*` */
3598
3850
  name: string;
3599
3851
  /** OAuth 2.0 token for the current user. */
3600
3852
  oauth_token?: string;
@@ -3602,15 +3854,15 @@ declare namespace gapi.client {
3602
3854
  prettyPrint?: boolean;
3603
3855
  /** 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. */
3604
3856
  quotaUser?: string;
3605
- /** Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated. */
3857
+ /** Optional. Indicates which fields in the provided Control to update. The following are NOT supported: * Control.name * Control.solution_type If not set or empty, all supported fields are updated. */
3606
3858
  updateMask?: string;
3607
3859
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3608
3860
  upload_protocol?: string;
3609
3861
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3610
3862
  uploadType?: string;
3611
3863
  /** Request body */
3612
- resource: GoogleCloudDiscoveryengineV1alphaConversation;
3613
- }): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
3864
+ resource: GoogleCloudDiscoveryengineV1alphaControl;
3865
+ }): Request<GoogleCloudDiscoveryengineV1alphaControl>;
3614
3866
  patch(
3615
3867
  request: {
3616
3868
  /** V1 error format. */
@@ -3625,7 +3877,7 @@ declare namespace gapi.client {
3625
3877
  fields?: string;
3626
3878
  /** 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. */
3627
3879
  key?: string;
3628
- /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*‍/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*‍/conversations/*`. */
3880
+ /** Immutable. Fully qualified name `projects/*‍/locations/global/dataStore/*‍/controls/*` */
3629
3881
  name: string;
3630
3882
  /** OAuth 2.0 token for the current user. */
3631
3883
  oauth_token?: string;
@@ -3633,19 +3885,19 @@ declare namespace gapi.client {
3633
3885
  prettyPrint?: boolean;
3634
3886
  /** 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. */
3635
3887
  quotaUser?: string;
3636
- /** Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated. */
3888
+ /** Optional. Indicates which fields in the provided Control to update. The following are NOT supported: * Control.name * Control.solution_type If not set or empty, all supported fields are updated. */
3637
3889
  updateMask?: string;
3638
3890
  /** Upload protocol for media (e.g. "raw", "multipart"). */
3639
3891
  upload_protocol?: string;
3640
3892
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3641
3893
  uploadType?: string;
3642
3894
  },
3643
- body: GoogleCloudDiscoveryengineV1alphaConversation
3644
- ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
3895
+ body: GoogleCloudDiscoveryengineV1alphaControl
3896
+ ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
3645
3897
  }
3646
- interface CustomModelsResource {
3647
- /** Gets a list of all the custom models. */
3648
- list(request?: {
3898
+ interface ConversationsResource {
3899
+ /** Converses a conversation. */
3900
+ converse(request: {
3649
3901
  /** V1 error format. */
3650
3902
  '$.xgafv'?: string;
3651
3903
  /** OAuth access token. */
@@ -3654,12 +3906,12 @@ declare namespace gapi.client {
3654
3906
  alt?: string;
3655
3907
  /** JSONP */
3656
3908
  callback?: string;
3657
- /** Required. The resource name of the parent Data Store, such as `projects/*‍/locations/global/collections/default_collection/dataStores/default_data_store`. This field is used to identify the data store where to fetch the models from. */
3658
- dataStore: string;
3659
3909
  /** Selector specifying which fields to include in a partial response. */
3660
3910
  fields?: string;
3661
3911
  /** 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. */
3662
3912
  key?: string;
3913
+ /** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
3914
+ name: string;
3663
3915
  /** OAuth 2.0 token for the current user. */
3664
3916
  oauth_token?: string;
3665
3917
  /** Returns response with indentations and line breaks. */
@@ -3670,24 +3922,293 @@ declare namespace gapi.client {
3670
3922
  upload_protocol?: string;
3671
3923
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3672
3924
  uploadType?: string;
3673
- }): Request<GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse>;
3674
- }
3675
- interface OperationsResource {
3676
- /** 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. */
3677
- get(request?: {
3678
- /** V1 error format. */
3679
- '$.xgafv'?: string;
3680
- /** OAuth access token. */
3681
- access_token?: string;
3682
- /** Data format for response. */
3683
- alt?: string;
3684
- /** JSONP */
3685
- callback?: string;
3686
- /** Selector specifying which fields to include in a partial response. */
3687
- fields?: string;
3688
- /** 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. */
3689
- key?: string;
3690
- /** The name of the operation resource. */
3925
+ /** Request body */
3926
+ resource: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest;
3927
+ }): Request<GoogleCloudDiscoveryengineV1alphaConverseConversationResponse>;
3928
+ converse(
3929
+ request: {
3930
+ /** V1 error format. */
3931
+ '$.xgafv'?: string;
3932
+ /** OAuth access token. */
3933
+ access_token?: string;
3934
+ /** Data format for response. */
3935
+ alt?: string;
3936
+ /** JSONP */
3937
+ callback?: string;
3938
+ /** Selector specifying which fields to include in a partial response. */
3939
+ fields?: string;
3940
+ /** 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. */
3941
+ key?: string;
3942
+ /** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
3943
+ name: string;
3944
+ /** OAuth 2.0 token for the current user. */
3945
+ oauth_token?: string;
3946
+ /** Returns response with indentations and line breaks. */
3947
+ prettyPrint?: boolean;
3948
+ /** 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. */
3949
+ quotaUser?: string;
3950
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3951
+ upload_protocol?: string;
3952
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3953
+ uploadType?: string;
3954
+ },
3955
+ body: GoogleCloudDiscoveryengineV1alphaConverseConversationRequest
3956
+ ): Request<GoogleCloudDiscoveryengineV1alphaConverseConversationResponse>;
3957
+ /** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
3958
+ create(request: {
3959
+ /** V1 error format. */
3960
+ '$.xgafv'?: string;
3961
+ /** OAuth access token. */
3962
+ access_token?: string;
3963
+ /** Data format for response. */
3964
+ alt?: string;
3965
+ /** JSONP */
3966
+ callback?: string;
3967
+ /** Selector specifying which fields to include in a partial response. */
3968
+ fields?: string;
3969
+ /** 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. */
3970
+ key?: string;
3971
+ /** OAuth 2.0 token for the current user. */
3972
+ oauth_token?: string;
3973
+ /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
3974
+ parent: string;
3975
+ /** Returns response with indentations and line breaks. */
3976
+ prettyPrint?: boolean;
3977
+ /** 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. */
3978
+ quotaUser?: string;
3979
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3980
+ upload_protocol?: string;
3981
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3982
+ uploadType?: string;
3983
+ /** Request body */
3984
+ resource: GoogleCloudDiscoveryengineV1alphaConversation;
3985
+ }): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
3986
+ create(
3987
+ request: {
3988
+ /** V1 error format. */
3989
+ '$.xgafv'?: string;
3990
+ /** OAuth access token. */
3991
+ access_token?: string;
3992
+ /** Data format for response. */
3993
+ alt?: string;
3994
+ /** JSONP */
3995
+ callback?: string;
3996
+ /** Selector specifying which fields to include in a partial response. */
3997
+ fields?: string;
3998
+ /** 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. */
3999
+ key?: string;
4000
+ /** OAuth 2.0 token for the current user. */
4001
+ oauth_token?: string;
4002
+ /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
4003
+ parent: string;
4004
+ /** Returns response with indentations and line breaks. */
4005
+ prettyPrint?: boolean;
4006
+ /** 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. */
4007
+ quotaUser?: string;
4008
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4009
+ upload_protocol?: string;
4010
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4011
+ uploadType?: string;
4012
+ },
4013
+ body: GoogleCloudDiscoveryengineV1alphaConversation
4014
+ ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
4015
+ /** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
4016
+ delete(request?: {
4017
+ /** V1 error format. */
4018
+ '$.xgafv'?: string;
4019
+ /** OAuth access token. */
4020
+ access_token?: string;
4021
+ /** Data format for response. */
4022
+ alt?: string;
4023
+ /** JSONP */
4024
+ callback?: string;
4025
+ /** Selector specifying which fields to include in a partial response. */
4026
+ fields?: string;
4027
+ /** 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. */
4028
+ key?: string;
4029
+ /** Required. The resource name of the Conversation to delete. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
4030
+ name: string;
4031
+ /** OAuth 2.0 token for the current user. */
4032
+ oauth_token?: string;
4033
+ /** Returns response with indentations and line breaks. */
4034
+ prettyPrint?: boolean;
4035
+ /** 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. */
4036
+ quotaUser?: string;
4037
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4038
+ upload_protocol?: string;
4039
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4040
+ uploadType?: string;
4041
+ }): Request<{}>;
4042
+ /** Gets a Conversation. */
4043
+ get(request?: {
4044
+ /** V1 error format. */
4045
+ '$.xgafv'?: string;
4046
+ /** OAuth access token. */
4047
+ access_token?: string;
4048
+ /** Data format for response. */
4049
+ alt?: string;
4050
+ /** JSONP */
4051
+ callback?: string;
4052
+ /** Selector specifying which fields to include in a partial response. */
4053
+ fields?: string;
4054
+ /** 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. */
4055
+ key?: string;
4056
+ /** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
4057
+ name: string;
4058
+ /** OAuth 2.0 token for the current user. */
4059
+ oauth_token?: string;
4060
+ /** Returns response with indentations and line breaks. */
4061
+ prettyPrint?: boolean;
4062
+ /** 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. */
4063
+ quotaUser?: string;
4064
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4065
+ upload_protocol?: string;
4066
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4067
+ uploadType?: string;
4068
+ }): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
4069
+ /** Lists all Conversations by their parent DataStore. */
4070
+ list(request?: {
4071
+ /** V1 error format. */
4072
+ '$.xgafv'?: string;
4073
+ /** OAuth access token. */
4074
+ access_token?: string;
4075
+ /** Data format for response. */
4076
+ alt?: string;
4077
+ /** JSONP */
4078
+ callback?: string;
4079
+ /** Selector specifying which fields to include in a partial response. */
4080
+ fields?: string;
4081
+ /** A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: "user_pseudo_id = some_id" */
4082
+ filter?: string;
4083
+ /** 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. */
4084
+ key?: string;
4085
+ /** OAuth 2.0 token for the current user. */
4086
+ oauth_token?: string;
4087
+ /** 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` * `conversation_name` Example: "update_time desc" "create_time" */
4088
+ orderBy?: string;
4089
+ /** Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000. */
4090
+ pageSize?: number;
4091
+ /** A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page. */
4092
+ pageToken?: string;
4093
+ /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
4094
+ parent: string;
4095
+ /** Returns response with indentations and line breaks. */
4096
+ prettyPrint?: boolean;
4097
+ /** 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. */
4098
+ quotaUser?: string;
4099
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4100
+ upload_protocol?: string;
4101
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4102
+ uploadType?: string;
4103
+ }): Request<GoogleCloudDiscoveryengineV1alphaListConversationsResponse>;
4104
+ /** Updates a Conversation. Conversation action type cannot be changed. If the Conversation to update does not exist, a NOT_FOUND error is returned. */
4105
+ patch(request: {
4106
+ /** V1 error format. */
4107
+ '$.xgafv'?: string;
4108
+ /** OAuth access token. */
4109
+ access_token?: string;
4110
+ /** Data format for response. */
4111
+ alt?: string;
4112
+ /** JSONP */
4113
+ callback?: string;
4114
+ /** Selector specifying which fields to include in a partial response. */
4115
+ fields?: string;
4116
+ /** 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. */
4117
+ key?: string;
4118
+ /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*‍/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*‍/conversations/*`. */
4119
+ name: string;
4120
+ /** OAuth 2.0 token for the current user. */
4121
+ oauth_token?: string;
4122
+ /** Returns response with indentations and line breaks. */
4123
+ prettyPrint?: boolean;
4124
+ /** 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. */
4125
+ quotaUser?: string;
4126
+ /** Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated. */
4127
+ updateMask?: string;
4128
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4129
+ upload_protocol?: string;
4130
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4131
+ uploadType?: string;
4132
+ /** Request body */
4133
+ resource: GoogleCloudDiscoveryengineV1alphaConversation;
4134
+ }): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
4135
+ patch(
4136
+ request: {
4137
+ /** V1 error format. */
4138
+ '$.xgafv'?: string;
4139
+ /** OAuth access token. */
4140
+ access_token?: string;
4141
+ /** Data format for response. */
4142
+ alt?: string;
4143
+ /** JSONP */
4144
+ callback?: string;
4145
+ /** Selector specifying which fields to include in a partial response. */
4146
+ fields?: string;
4147
+ /** 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. */
4148
+ key?: string;
4149
+ /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*‍/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*‍/conversations/*`. */
4150
+ name: string;
4151
+ /** OAuth 2.0 token for the current user. */
4152
+ oauth_token?: string;
4153
+ /** Returns response with indentations and line breaks. */
4154
+ prettyPrint?: boolean;
4155
+ /** 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. */
4156
+ quotaUser?: string;
4157
+ /** Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated. */
4158
+ updateMask?: string;
4159
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4160
+ upload_protocol?: string;
4161
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4162
+ uploadType?: string;
4163
+ },
4164
+ body: GoogleCloudDiscoveryengineV1alphaConversation
4165
+ ): Request<GoogleCloudDiscoveryengineV1alphaConversation>;
4166
+ }
4167
+ interface CustomModelsResource {
4168
+ /** Gets a list of all the custom models. */
4169
+ list(request?: {
4170
+ /** V1 error format. */
4171
+ '$.xgafv'?: string;
4172
+ /** OAuth access token. */
4173
+ access_token?: string;
4174
+ /** Data format for response. */
4175
+ alt?: string;
4176
+ /** JSONP */
4177
+ callback?: string;
4178
+ /** Required. The resource name of the parent Data Store, such as `projects/*‍/locations/global/collections/default_collection/dataStores/default_data_store`. This field is used to identify the data store where to fetch the models from. */
4179
+ dataStore: string;
4180
+ /** Selector specifying which fields to include in a partial response. */
4181
+ fields?: string;
4182
+ /** 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. */
4183
+ key?: string;
4184
+ /** OAuth 2.0 token for the current user. */
4185
+ oauth_token?: string;
4186
+ /** Returns response with indentations and line breaks. */
4187
+ prettyPrint?: boolean;
4188
+ /** 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. */
4189
+ quotaUser?: string;
4190
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4191
+ upload_protocol?: string;
4192
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4193
+ uploadType?: string;
4194
+ }): Request<GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse>;
4195
+ }
4196
+ interface OperationsResource {
4197
+ /** 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. */
4198
+ get(request?: {
4199
+ /** V1 error format. */
4200
+ '$.xgafv'?: string;
4201
+ /** OAuth access token. */
4202
+ access_token?: string;
4203
+ /** Data format for response. */
4204
+ alt?: string;
4205
+ /** JSONP */
4206
+ callback?: string;
4207
+ /** Selector specifying which fields to include in a partial response. */
4208
+ fields?: string;
4209
+ /** 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. */
4210
+ key?: string;
4211
+ /** The name of the operation resource. */
3691
4212
  name: string;
3692
4213
  /** OAuth 2.0 token for the current user. */
3693
4214
  oauth_token?: string;
@@ -5557,6 +6078,8 @@ declare namespace gapi.client {
5557
6078
  upload_protocol?: string;
5558
6079
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5559
6080
  uploadType?: string;
6081
+ /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
6082
+ writeAsync?: boolean;
5560
6083
  /** Request body */
5561
6084
  resource: GoogleCloudDiscoveryengineV1alphaUserEvent;
5562
6085
  }): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
@@ -5586,6 +6109,8 @@ declare namespace gapi.client {
5586
6109
  upload_protocol?: string;
5587
6110
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5588
6111
  uploadType?: string;
6112
+ /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
6113
+ writeAsync?: boolean;
5589
6114
  },
5590
6115
  body: GoogleCloudDiscoveryengineV1alphaUserEvent
5591
6116
  ): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
@@ -5812,7 +6337,7 @@ declare namespace gapi.client {
5812
6337
  callback?: string;
5813
6338
  /** Selector specifying which fields to include in a partial response. */
5814
6339
  fields?: string;
5815
- /** Filter by solution type . For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH' */
6340
+ /** Filter by solution type . For example: `filter = 'solution_type:SOLUTION_TYPE_SEARCH'` */
5816
6341
  filter?: string;
5817
6342
  /** 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. */
5818
6343
  key?: string;
@@ -5905,14 +6430,270 @@ declare namespace gapi.client {
5905
6430
  alt?: string;
5906
6431
  /** JSONP */
5907
6432
  callback?: string;
5908
- /** Required. The resource name of the Data Store, such as `projects/*‍/locations/global/collections/default_collection/dataStores/default_data_store`. This field is used to identify the data store where to train the models. */
5909
- dataStore: string;
6433
+ /** Required. The resource name of the Data Store, such as `projects/*‍/locations/global/collections/default_collection/dataStores/default_data_store`. This field is used to identify the data store where to train the models. */
6434
+ dataStore: string;
6435
+ /** Selector specifying which fields to include in a partial response. */
6436
+ fields?: string;
6437
+ /** 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. */
6438
+ key?: string;
6439
+ /** OAuth 2.0 token for the current user. */
6440
+ oauth_token?: string;
6441
+ /** Returns response with indentations and line breaks. */
6442
+ prettyPrint?: boolean;
6443
+ /** 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. */
6444
+ quotaUser?: string;
6445
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6446
+ upload_protocol?: string;
6447
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6448
+ uploadType?: string;
6449
+ /** Request body */
6450
+ resource: GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest;
6451
+ }): Request<GoogleLongrunningOperation>;
6452
+ trainCustomModel(
6453
+ request: {
6454
+ /** V1 error format. */
6455
+ '$.xgafv'?: string;
6456
+ /** OAuth access token. */
6457
+ access_token?: string;
6458
+ /** Data format for response. */
6459
+ alt?: string;
6460
+ /** JSONP */
6461
+ callback?: string;
6462
+ /** Required. The resource name of the Data Store, such as `projects/*‍/locations/global/collections/default_collection/dataStores/default_data_store`. This field is used to identify the data store where to train the models. */
6463
+ dataStore: string;
6464
+ /** Selector specifying which fields to include in a partial response. */
6465
+ fields?: string;
6466
+ /** 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. */
6467
+ key?: string;
6468
+ /** OAuth 2.0 token for the current user. */
6469
+ oauth_token?: string;
6470
+ /** Returns response with indentations and line breaks. */
6471
+ prettyPrint?: boolean;
6472
+ /** 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. */
6473
+ quotaUser?: string;
6474
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6475
+ upload_protocol?: string;
6476
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6477
+ uploadType?: string;
6478
+ },
6479
+ body: GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest
6480
+ ): Request<GoogleLongrunningOperation>;
6481
+ /** Updates the DocumentProcessingConfig. DocumentProcessingConfig is a singleon resource of DataStore. It's empty when DataStore is created. The first call to this method will set up DocumentProcessingConfig. */
6482
+ updateDocumentProcessingConfig(request: {
6483
+ /** V1 error format. */
6484
+ '$.xgafv'?: string;
6485
+ /** OAuth access token. */
6486
+ access_token?: string;
6487
+ /** Data format for response. */
6488
+ alt?: string;
6489
+ /** JSONP */
6490
+ callback?: string;
6491
+ /** Selector specifying which fields to include in a partial response. */
6492
+ fields?: string;
6493
+ /** 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. */
6494
+ key?: string;
6495
+ /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
6496
+ name: string;
6497
+ /** OAuth 2.0 token for the current user. */
6498
+ oauth_token?: string;
6499
+ /** Returns response with indentations and line breaks. */
6500
+ prettyPrint?: boolean;
6501
+ /** 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. */
6502
+ quotaUser?: string;
6503
+ /** Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields: * DocumentProcessingConfig.ocr_config If not set, all supported fields are updated. */
6504
+ updateMask?: string;
6505
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6506
+ upload_protocol?: string;
6507
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6508
+ uploadType?: string;
6509
+ /** Request body */
6510
+ resource: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig;
6511
+ }): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
6512
+ updateDocumentProcessingConfig(
6513
+ request: {
6514
+ /** V1 error format. */
6515
+ '$.xgafv'?: string;
6516
+ /** OAuth access token. */
6517
+ access_token?: string;
6518
+ /** Data format for response. */
6519
+ alt?: string;
6520
+ /** JSONP */
6521
+ callback?: string;
6522
+ /** Selector specifying which fields to include in a partial response. */
6523
+ fields?: string;
6524
+ /** 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. */
6525
+ key?: string;
6526
+ /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
6527
+ name: string;
6528
+ /** OAuth 2.0 token for the current user. */
6529
+ oauth_token?: string;
6530
+ /** Returns response with indentations and line breaks. */
6531
+ prettyPrint?: boolean;
6532
+ /** 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. */
6533
+ quotaUser?: string;
6534
+ /** Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields: * DocumentProcessingConfig.ocr_config If not set, all supported fields are updated. */
6535
+ updateMask?: string;
6536
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6537
+ upload_protocol?: string;
6538
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6539
+ uploadType?: string;
6540
+ },
6541
+ body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
6542
+ ): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
6543
+ branches: BranchesResource;
6544
+ controls: ControlsResource;
6545
+ conversations: ConversationsResource;
6546
+ customModels: CustomModelsResource;
6547
+ models: ModelsResource;
6548
+ operations: OperationsResource;
6549
+ schemas: SchemasResource;
6550
+ servingConfigs: ServingConfigsResource;
6551
+ sessions: SessionsResource;
6552
+ siteSearchEngine: SiteSearchEngineResource;
6553
+ suggestionDenyListEntries: SuggestionDenyListEntriesResource;
6554
+ userEvents: UserEventsResource;
6555
+ }
6556
+ interface ControlsResource {
6557
+ /** Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned. */
6558
+ create(request: {
6559
+ /** V1 error format. */
6560
+ '$.xgafv'?: string;
6561
+ /** OAuth access token. */
6562
+ access_token?: string;
6563
+ /** Data format for response. */
6564
+ alt?: string;
6565
+ /** JSONP */
6566
+ callback?: string;
6567
+ /** Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value must be within 1-63 characters. Valid characters are /a-z-_/. */
6568
+ controlId?: string;
6569
+ /** Selector specifying which fields to include in a partial response. */
6570
+ fields?: string;
6571
+ /** 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. */
6572
+ key?: string;
6573
+ /** OAuth 2.0 token for the current user. */
6574
+ oauth_token?: string;
6575
+ /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. */
6576
+ parent: string;
6577
+ /** Returns response with indentations and line breaks. */
6578
+ prettyPrint?: boolean;
6579
+ /** 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. */
6580
+ quotaUser?: string;
6581
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6582
+ upload_protocol?: string;
6583
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6584
+ uploadType?: string;
6585
+ /** Request body */
6586
+ resource: GoogleCloudDiscoveryengineV1alphaControl;
6587
+ }): Request<GoogleCloudDiscoveryengineV1alphaControl>;
6588
+ create(
6589
+ request: {
6590
+ /** V1 error format. */
6591
+ '$.xgafv'?: string;
6592
+ /** OAuth access token. */
6593
+ access_token?: string;
6594
+ /** Data format for response. */
6595
+ alt?: string;
6596
+ /** JSONP */
6597
+ callback?: string;
6598
+ /** Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value must be within 1-63 characters. Valid characters are /a-z-_/. */
6599
+ controlId?: string;
6600
+ /** Selector specifying which fields to include in a partial response. */
6601
+ fields?: string;
6602
+ /** 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. */
6603
+ key?: string;
6604
+ /** OAuth 2.0 token for the current user. */
6605
+ oauth_token?: string;
6606
+ /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. */
6607
+ parent: string;
6608
+ /** Returns response with indentations and line breaks. */
6609
+ prettyPrint?: boolean;
6610
+ /** 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. */
6611
+ quotaUser?: string;
6612
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6613
+ upload_protocol?: string;
6614
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6615
+ uploadType?: string;
6616
+ },
6617
+ body: GoogleCloudDiscoveryengineV1alphaControl
6618
+ ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
6619
+ /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
6620
+ delete(request?: {
6621
+ /** V1 error format. */
6622
+ '$.xgafv'?: string;
6623
+ /** OAuth access token. */
6624
+ access_token?: string;
6625
+ /** Data format for response. */
6626
+ alt?: string;
6627
+ /** JSONP */
6628
+ callback?: string;
6629
+ /** Selector specifying which fields to include in a partial response. */
6630
+ fields?: string;
6631
+ /** 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. */
6632
+ key?: string;
6633
+ /** Required. The resource name of the Control to delete. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
6634
+ name: string;
6635
+ /** OAuth 2.0 token for the current user. */
6636
+ oauth_token?: string;
6637
+ /** Returns response with indentations and line breaks. */
6638
+ prettyPrint?: boolean;
6639
+ /** 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. */
6640
+ quotaUser?: string;
6641
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6642
+ upload_protocol?: string;
6643
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6644
+ uploadType?: string;
6645
+ }): Request<{}>;
6646
+ /** Gets a Control. */
6647
+ get(request?: {
6648
+ /** V1 error format. */
6649
+ '$.xgafv'?: string;
6650
+ /** OAuth access token. */
6651
+ access_token?: string;
6652
+ /** Data format for response. */
6653
+ alt?: string;
6654
+ /** JSONP */
6655
+ callback?: string;
6656
+ /** Selector specifying which fields to include in a partial response. */
6657
+ fields?: string;
6658
+ /** 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. */
6659
+ key?: string;
6660
+ /** Required. The resource name of the Control to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
6661
+ name: string;
6662
+ /** OAuth 2.0 token for the current user. */
6663
+ oauth_token?: string;
6664
+ /** Returns response with indentations and line breaks. */
6665
+ prettyPrint?: boolean;
6666
+ /** 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. */
6667
+ quotaUser?: string;
6668
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6669
+ upload_protocol?: string;
6670
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6671
+ uploadType?: string;
6672
+ }): Request<GoogleCloudDiscoveryengineV1alphaControl>;
6673
+ /** Lists all Controls by their parent DataStore. */
6674
+ list(request?: {
6675
+ /** V1 error format. */
6676
+ '$.xgafv'?: string;
6677
+ /** OAuth access token. */
6678
+ access_token?: string;
6679
+ /** Data format for response. */
6680
+ alt?: string;
6681
+ /** JSONP */
6682
+ callback?: string;
5910
6683
  /** Selector specifying which fields to include in a partial response. */
5911
6684
  fields?: string;
6685
+ /** Optional. A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. Currently this field is unsupported. */
6686
+ filter?: string;
5912
6687
  /** 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. */
5913
6688
  key?: string;
5914
6689
  /** OAuth 2.0 token for the current user. */
5915
6690
  oauth_token?: string;
6691
+ /** Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000. */
6692
+ pageSize?: number;
6693
+ /** Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page. */
6694
+ pageToken?: string;
6695
+ /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. */
6696
+ parent: string;
5916
6697
  /** Returns response with indentations and line breaks. */
5917
6698
  prettyPrint?: boolean;
5918
6699
  /** 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. */
@@ -5921,40 +6702,9 @@ declare namespace gapi.client {
5921
6702
  upload_protocol?: string;
5922
6703
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5923
6704
  uploadType?: string;
5924
- /** Request body */
5925
- resource: GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest;
5926
- }): Request<GoogleLongrunningOperation>;
5927
- trainCustomModel(
5928
- request: {
5929
- /** V1 error format. */
5930
- '$.xgafv'?: string;
5931
- /** OAuth access token. */
5932
- access_token?: string;
5933
- /** Data format for response. */
5934
- alt?: string;
5935
- /** JSONP */
5936
- callback?: string;
5937
- /** Required. The resource name of the Data Store, such as `projects/*‍/locations/global/collections/default_collection/dataStores/default_data_store`. This field is used to identify the data store where to train the models. */
5938
- dataStore: string;
5939
- /** Selector specifying which fields to include in a partial response. */
5940
- fields?: string;
5941
- /** 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. */
5942
- key?: string;
5943
- /** OAuth 2.0 token for the current user. */
5944
- oauth_token?: string;
5945
- /** Returns response with indentations and line breaks. */
5946
- prettyPrint?: boolean;
5947
- /** 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. */
5948
- quotaUser?: string;
5949
- /** Upload protocol for media (e.g. "raw", "multipart"). */
5950
- upload_protocol?: string;
5951
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5952
- uploadType?: string;
5953
- },
5954
- body: GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest
5955
- ): Request<GoogleLongrunningOperation>;
5956
- /** Updates the DocumentProcessingConfig. DocumentProcessingConfig is a singleon resource of DataStore. It's empty when DataStore is created. The first call to this method will set up DocumentProcessingConfig. */
5957
- updateDocumentProcessingConfig(request: {
6705
+ }): Request<GoogleCloudDiscoveryengineV1alphaListControlsResponse>;
6706
+ /** Updates a Control. Control action type cannot be changed. If the Control to update does not exist, a NOT_FOUND error is returned. */
6707
+ patch(request: {
5958
6708
  /** V1 error format. */
5959
6709
  '$.xgafv'?: string;
5960
6710
  /** OAuth access token. */
@@ -5967,7 +6717,7 @@ declare namespace gapi.client {
5967
6717
  fields?: string;
5968
6718
  /** 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. */
5969
6719
  key?: string;
5970
- /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
6720
+ /** Immutable. Fully qualified name `projects/*‍/locations/global/dataStore/*‍/controls/*` */
5971
6721
  name: string;
5972
6722
  /** OAuth 2.0 token for the current user. */
5973
6723
  oauth_token?: string;
@@ -5975,16 +6725,16 @@ declare namespace gapi.client {
5975
6725
  prettyPrint?: boolean;
5976
6726
  /** 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. */
5977
6727
  quotaUser?: string;
5978
- /** Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields: * DocumentProcessingConfig.ocr_config If not set, all supported fields are updated. */
6728
+ /** Optional. Indicates which fields in the provided Control to update. The following are NOT supported: * Control.name * Control.solution_type If not set or empty, all supported fields are updated. */
5979
6729
  updateMask?: string;
5980
6730
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5981
6731
  upload_protocol?: string;
5982
6732
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5983
6733
  uploadType?: string;
5984
6734
  /** Request body */
5985
- resource: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig;
5986
- }): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
5987
- updateDocumentProcessingConfig(
6735
+ resource: GoogleCloudDiscoveryengineV1alphaControl;
6736
+ }): Request<GoogleCloudDiscoveryengineV1alphaControl>;
6737
+ patch(
5988
6738
  request: {
5989
6739
  /** V1 error format. */
5990
6740
  '$.xgafv'?: string;
@@ -5998,7 +6748,7 @@ declare namespace gapi.client {
5998
6748
  fields?: string;
5999
6749
  /** 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. */
6000
6750
  key?: string;
6001
- /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
6751
+ /** Immutable. Fully qualified name `projects/*‍/locations/global/dataStore/*‍/controls/*` */
6002
6752
  name: string;
6003
6753
  /** OAuth 2.0 token for the current user. */
6004
6754
  oauth_token?: string;
@@ -6006,26 +6756,15 @@ declare namespace gapi.client {
6006
6756
  prettyPrint?: boolean;
6007
6757
  /** 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. */
6008
6758
  quotaUser?: string;
6009
- /** Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields: * DocumentProcessingConfig.ocr_config If not set, all supported fields are updated. */
6759
+ /** Optional. Indicates which fields in the provided Control to update. The following are NOT supported: * Control.name * Control.solution_type If not set or empty, all supported fields are updated. */
6010
6760
  updateMask?: string;
6011
6761
  /** Upload protocol for media (e.g. "raw", "multipart"). */
6012
6762
  upload_protocol?: string;
6013
6763
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6014
6764
  uploadType?: string;
6015
6765
  },
6016
- body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
6017
- ): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
6018
- branches: BranchesResource;
6019
- conversations: ConversationsResource;
6020
- customModels: CustomModelsResource;
6021
- models: ModelsResource;
6022
- operations: OperationsResource;
6023
- schemas: SchemasResource;
6024
- servingConfigs: ServingConfigsResource;
6025
- sessions: SessionsResource;
6026
- siteSearchEngine: SiteSearchEngineResource;
6027
- suggestionDenyListEntries: SuggestionDenyListEntriesResource;
6028
- userEvents: UserEventsResource;
6766
+ body: GoogleCloudDiscoveryengineV1alphaControl
6767
+ ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
6029
6768
  }
6030
6769
  interface ConversationsResource {
6031
6770
  /** Converses a conversation. */
@@ -7281,6 +8020,7 @@ declare namespace gapi.client {
7281
8020
  },
7282
8021
  body: GoogleCloudDiscoveryengineV1alphaTuneEngineRequest
7283
8022
  ): Request<GoogleLongrunningOperation>;
8023
+ controls: ControlsResource;
7284
8024
  conversations: ConversationsResource;
7285
8025
  operations: OperationsResource;
7286
8026
  servingConfigs: ServingConfigsResource;
@@ -7901,6 +8641,219 @@ declare namespace gapi.client {
7901
8641
  documents: DocumentsResource;
7902
8642
  operations: OperationsResource;
7903
8643
  }
8644
+ interface ControlsResource {
8645
+ /** Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned. */
8646
+ create(request: {
8647
+ /** V1 error format. */
8648
+ '$.xgafv'?: string;
8649
+ /** OAuth access token. */
8650
+ access_token?: string;
8651
+ /** Data format for response. */
8652
+ alt?: string;
8653
+ /** JSONP */
8654
+ callback?: string;
8655
+ /** Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value must be within 1-63 characters. Valid characters are /a-z-_/. */
8656
+ controlId?: string;
8657
+ /** Selector specifying which fields to include in a partial response. */
8658
+ fields?: string;
8659
+ /** 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. */
8660
+ key?: string;
8661
+ /** OAuth 2.0 token for the current user. */
8662
+ oauth_token?: string;
8663
+ /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. */
8664
+ parent: string;
8665
+ /** Returns response with indentations and line breaks. */
8666
+ prettyPrint?: boolean;
8667
+ /** 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. */
8668
+ quotaUser?: string;
8669
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8670
+ upload_protocol?: string;
8671
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8672
+ uploadType?: string;
8673
+ /** Request body */
8674
+ resource: GoogleCloudDiscoveryengineV1alphaControl;
8675
+ }): Request<GoogleCloudDiscoveryengineV1alphaControl>;
8676
+ create(
8677
+ request: {
8678
+ /** V1 error format. */
8679
+ '$.xgafv'?: string;
8680
+ /** OAuth access token. */
8681
+ access_token?: string;
8682
+ /** Data format for response. */
8683
+ alt?: string;
8684
+ /** JSONP */
8685
+ callback?: string;
8686
+ /** Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value must be within 1-63 characters. Valid characters are /a-z-_/. */
8687
+ controlId?: string;
8688
+ /** Selector specifying which fields to include in a partial response. */
8689
+ fields?: string;
8690
+ /** 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. */
8691
+ key?: string;
8692
+ /** OAuth 2.0 token for the current user. */
8693
+ oauth_token?: string;
8694
+ /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. */
8695
+ parent: string;
8696
+ /** Returns response with indentations and line breaks. */
8697
+ prettyPrint?: boolean;
8698
+ /** 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. */
8699
+ quotaUser?: string;
8700
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8701
+ upload_protocol?: string;
8702
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8703
+ uploadType?: string;
8704
+ },
8705
+ body: GoogleCloudDiscoveryengineV1alphaControl
8706
+ ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
8707
+ /** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
8708
+ delete(request?: {
8709
+ /** V1 error format. */
8710
+ '$.xgafv'?: string;
8711
+ /** OAuth access token. */
8712
+ access_token?: string;
8713
+ /** Data format for response. */
8714
+ alt?: string;
8715
+ /** JSONP */
8716
+ callback?: string;
8717
+ /** Selector specifying which fields to include in a partial response. */
8718
+ fields?: string;
8719
+ /** 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. */
8720
+ key?: string;
8721
+ /** Required. The resource name of the Control to delete. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
8722
+ name: string;
8723
+ /** OAuth 2.0 token for the current user. */
8724
+ oauth_token?: string;
8725
+ /** Returns response with indentations and line breaks. */
8726
+ prettyPrint?: boolean;
8727
+ /** 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. */
8728
+ quotaUser?: string;
8729
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8730
+ upload_protocol?: string;
8731
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8732
+ uploadType?: string;
8733
+ }): Request<{}>;
8734
+ /** Gets a Control. */
8735
+ get(request?: {
8736
+ /** V1 error format. */
8737
+ '$.xgafv'?: string;
8738
+ /** OAuth access token. */
8739
+ access_token?: string;
8740
+ /** Data format for response. */
8741
+ alt?: string;
8742
+ /** JSONP */
8743
+ callback?: string;
8744
+ /** Selector specifying which fields to include in a partial response. */
8745
+ fields?: string;
8746
+ /** 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. */
8747
+ key?: string;
8748
+ /** Required. The resource name of the Control to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
8749
+ name: string;
8750
+ /** OAuth 2.0 token for the current user. */
8751
+ oauth_token?: string;
8752
+ /** Returns response with indentations and line breaks. */
8753
+ prettyPrint?: boolean;
8754
+ /** 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. */
8755
+ quotaUser?: string;
8756
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8757
+ upload_protocol?: string;
8758
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8759
+ uploadType?: string;
8760
+ }): Request<GoogleCloudDiscoveryengineV1alphaControl>;
8761
+ /** Lists all Controls by their parent DataStore. */
8762
+ list(request?: {
8763
+ /** V1 error format. */
8764
+ '$.xgafv'?: string;
8765
+ /** OAuth access token. */
8766
+ access_token?: string;
8767
+ /** Data format for response. */
8768
+ alt?: string;
8769
+ /** JSONP */
8770
+ callback?: string;
8771
+ /** Selector specifying which fields to include in a partial response. */
8772
+ fields?: string;
8773
+ /** Optional. A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. Currently this field is unsupported. */
8774
+ filter?: string;
8775
+ /** 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. */
8776
+ key?: string;
8777
+ /** OAuth 2.0 token for the current user. */
8778
+ oauth_token?: string;
8779
+ /** Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000. */
8780
+ pageSize?: number;
8781
+ /** Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page. */
8782
+ pageToken?: string;
8783
+ /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. */
8784
+ parent: string;
8785
+ /** Returns response with indentations and line breaks. */
8786
+ prettyPrint?: boolean;
8787
+ /** 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. */
8788
+ quotaUser?: string;
8789
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8790
+ upload_protocol?: string;
8791
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8792
+ uploadType?: string;
8793
+ }): Request<GoogleCloudDiscoveryengineV1alphaListControlsResponse>;
8794
+ /** Updates a Control. Control action type cannot be changed. If the Control to update does not exist, a NOT_FOUND error is returned. */
8795
+ patch(request: {
8796
+ /** V1 error format. */
8797
+ '$.xgafv'?: string;
8798
+ /** OAuth access token. */
8799
+ access_token?: string;
8800
+ /** Data format for response. */
8801
+ alt?: string;
8802
+ /** JSONP */
8803
+ callback?: string;
8804
+ /** Selector specifying which fields to include in a partial response. */
8805
+ fields?: string;
8806
+ /** 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. */
8807
+ key?: string;
8808
+ /** Immutable. Fully qualified name `projects/*‍/locations/global/dataStore/*‍/controls/*` */
8809
+ name: string;
8810
+ /** OAuth 2.0 token for the current user. */
8811
+ oauth_token?: string;
8812
+ /** Returns response with indentations and line breaks. */
8813
+ prettyPrint?: boolean;
8814
+ /** 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. */
8815
+ quotaUser?: string;
8816
+ /** Optional. Indicates which fields in the provided Control to update. The following are NOT supported: * Control.name * Control.solution_type If not set or empty, all supported fields are updated. */
8817
+ updateMask?: string;
8818
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8819
+ upload_protocol?: string;
8820
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8821
+ uploadType?: string;
8822
+ /** Request body */
8823
+ resource: GoogleCloudDiscoveryengineV1alphaControl;
8824
+ }): Request<GoogleCloudDiscoveryengineV1alphaControl>;
8825
+ patch(
8826
+ request: {
8827
+ /** V1 error format. */
8828
+ '$.xgafv'?: string;
8829
+ /** OAuth access token. */
8830
+ access_token?: string;
8831
+ /** Data format for response. */
8832
+ alt?: string;
8833
+ /** JSONP */
8834
+ callback?: string;
8835
+ /** Selector specifying which fields to include in a partial response. */
8836
+ fields?: string;
8837
+ /** 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. */
8838
+ key?: string;
8839
+ /** Immutable. Fully qualified name `projects/*‍/locations/global/dataStore/*‍/controls/*` */
8840
+ name: string;
8841
+ /** OAuth 2.0 token for the current user. */
8842
+ oauth_token?: string;
8843
+ /** Returns response with indentations and line breaks. */
8844
+ prettyPrint?: boolean;
8845
+ /** 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. */
8846
+ quotaUser?: string;
8847
+ /** Optional. Indicates which fields in the provided Control to update. The following are NOT supported: * Control.name * Control.solution_type If not set or empty, all supported fields are updated. */
8848
+ updateMask?: string;
8849
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8850
+ upload_protocol?: string;
8851
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8852
+ uploadType?: string;
8853
+ },
8854
+ body: GoogleCloudDiscoveryengineV1alphaControl
8855
+ ): Request<GoogleCloudDiscoveryengineV1alphaControl>;
8856
+ }
7904
8857
  interface ConversationsResource {
7905
8858
  /** Converses a conversation. */
7906
8859
  converse(request: {
@@ -9777,6 +10730,8 @@ declare namespace gapi.client {
9777
10730
  upload_protocol?: string;
9778
10731
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9779
10732
  uploadType?: string;
10733
+ /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
10734
+ writeAsync?: boolean;
9780
10735
  /** Request body */
9781
10736
  resource: GoogleCloudDiscoveryengineV1alphaUserEvent;
9782
10737
  }): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
@@ -9806,6 +10761,8 @@ declare namespace gapi.client {
9806
10761
  upload_protocol?: string;
9807
10762
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9808
10763
  uploadType?: string;
10764
+ /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
10765
+ writeAsync?: boolean;
9809
10766
  },
9810
10767
  body: GoogleCloudDiscoveryengineV1alphaUserEvent
9811
10768
  ): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
@@ -10032,7 +10989,7 @@ declare namespace gapi.client {
10032
10989
  callback?: string;
10033
10990
  /** Selector specifying which fields to include in a partial response. */
10034
10991
  fields?: string;
10035
- /** Filter by solution type . For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH' */
10992
+ /** Filter by solution type . For example: `filter = 'solution_type:SOLUTION_TYPE_SEARCH'` */
10036
10993
  filter?: string;
10037
10994
  /** 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. */
10038
10995
  key?: string;
@@ -10178,6 +11135,7 @@ declare namespace gapi.client {
10178
11135
  body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
10179
11136
  ): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
10180
11137
  branches: BranchesResource;
11138
+ controls: ControlsResource;
10181
11139
  conversations: ConversationsResource;
10182
11140
  models: ModelsResource;
10183
11141
  operations: OperationsResource;
@@ -10461,6 +11419,8 @@ declare namespace gapi.client {
10461
11419
  upload_protocol?: string;
10462
11420
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10463
11421
  uploadType?: string;
11422
+ /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
11423
+ writeAsync?: boolean;
10464
11424
  /** Request body */
10465
11425
  resource: GoogleCloudDiscoveryengineV1alphaUserEvent;
10466
11426
  }): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
@@ -10490,6 +11450,8 @@ declare namespace gapi.client {
10490
11450
  upload_protocol?: string;
10491
11451
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10492
11452
  uploadType?: string;
11453
+ /** If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. */
11454
+ writeAsync?: boolean;
10493
11455
  },
10494
11456
  body: GoogleCloudDiscoveryengineV1alphaUserEvent
10495
11457
  ): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;