@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20241123 → 0.0.20241205
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +368 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20241205
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -268,6 +268,10 @@ declare namespace gapi.client {
|
|
|
268
268
|
completeTime?: string;
|
|
269
269
|
/** Output only. Answer creation timestamp. */
|
|
270
270
|
createTime?: string;
|
|
271
|
+
/** A score in the range of [0, 1] describing how grounded the answer is by the reference chunks. */
|
|
272
|
+
groundingScore?: number;
|
|
273
|
+
/** Optional. Grounding supports. */
|
|
274
|
+
groundingSupports?: GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport[];
|
|
271
275
|
/** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*/answers/*` */
|
|
272
276
|
name?: string;
|
|
273
277
|
/** Query understanding information. */
|
|
@@ -293,6 +297,18 @@ declare namespace gapi.client {
|
|
|
293
297
|
/** ID of the citation source. */
|
|
294
298
|
referenceId?: string;
|
|
295
299
|
}
|
|
300
|
+
interface GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport {
|
|
301
|
+
/** Required. End of the claim, exclusive. */
|
|
302
|
+
endIndex?: string;
|
|
303
|
+
/** Indicates that this claim required grounding check. When the system decided this claim didn't require attribution/grounding check, this field is set to false. In that case, no grounding check was done for the claim and therefore `grounding_score`, `sources` is not returned. */
|
|
304
|
+
groundingCheckRequired?: boolean;
|
|
305
|
+
/** A score in the range of [0, 1] describing how grounded is a specific claim by the references. Higher value means that the claim is better supported by the reference chunks. */
|
|
306
|
+
groundingScore?: number;
|
|
307
|
+
/** Optional. Citation sources for the claim. */
|
|
308
|
+
sources?: GoogleCloudDiscoveryengineV1alphaAnswerCitationSource[];
|
|
309
|
+
/** Required. Index indicates the start of the claim, measured in bytes (UTF-8 unicode). */
|
|
310
|
+
startIndex?: string;
|
|
311
|
+
}
|
|
296
312
|
interface GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest {
|
|
297
313
|
/** Answer generation specification. */
|
|
298
314
|
answerGenerationSpec?: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpec;
|
|
@@ -364,6 +380,12 @@ declare namespace gapi.client {
|
|
|
364
380
|
disable?: boolean;
|
|
365
381
|
/** Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it will be set to 1 by default. */
|
|
366
382
|
maxRephraseSteps?: number;
|
|
383
|
+
/** Optional. Query Rephraser Model specification. */
|
|
384
|
+
modelSpec?: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec;
|
|
385
|
+
}
|
|
386
|
+
interface GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec {
|
|
387
|
+
/** Optional. Enabled query rephraser model type. If not set, it will use LARGE by default. */
|
|
388
|
+
modelType?: string;
|
|
367
389
|
}
|
|
368
390
|
interface GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestRelatedQuestionsSpec {
|
|
369
391
|
/** Enable related questions feature if true. */
|
|
@@ -1115,6 +1137,10 @@ declare namespace gapi.client {
|
|
|
1115
1137
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1116
1138
|
updateTime?: string;
|
|
1117
1139
|
}
|
|
1140
|
+
interface GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest {
|
|
1141
|
+
/** Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
|
|
1142
|
+
name?: string;
|
|
1143
|
+
}
|
|
1118
1144
|
interface GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata {
|
|
1119
1145
|
/** Operation create time. */
|
|
1120
1146
|
createTime?: string;
|
|
@@ -1437,6 +1463,8 @@ declare namespace gapi.client {
|
|
|
1437
1463
|
gcsStagingDir?: string;
|
|
1438
1464
|
/** The FHIR resource types to import. The resource types should be a subset of all [supported FHIR resource types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). Default to all supported FHIR resource types if empty. */
|
|
1439
1465
|
resourceTypes?: string[];
|
|
1466
|
+
/** Optional. Whether to update the DataStore schema to the latest predefined schema. If true, the DataStore schema will be updated to include any FHIR fields or resource types that have been added since the last import and corresponding FHIR resources will be imported from the FHIR store. Note this field cannot be used in conjunction with `resource_types`. It should be used after initial import. */
|
|
1467
|
+
updateFromLatestPredefinedSchema?: boolean;
|
|
1440
1468
|
}
|
|
1441
1469
|
interface GoogleCloudDiscoveryengineV1alphaFieldConfig {
|
|
1442
1470
|
/** If this field is set, only the corresponding source will be indexed for this field. Otherwise, the values from different sources are merged. Assuming a page with `` in meta tag, and `` in page map: if this enum is set to METATAGS, we will only index ``; if this enum is not set, we will merge them and index ``. */
|
|
@@ -1480,6 +1508,12 @@ declare namespace gapi.client {
|
|
|
1480
1508
|
/** Required. Cloud Storage URIs to input files. Each URI can be up to 2000 characters long. URIs can match the full object path (for example, `gs://bucket/directory/object.json`) or a pattern matching one or more files, such as `gs://bucket/directory/*.json`. A request can contain at most 100 files (or 100,000 files if `data_schema` is `content`). Each file can be up to 2 GB (or 100 MB if `data_schema` is `content`). */
|
|
1481
1509
|
inputUris?: string[];
|
|
1482
1510
|
}
|
|
1511
|
+
interface GoogleCloudDiscoveryengineV1alphaGetSessionRequest {
|
|
1512
|
+
/** Optional. If set to true, the full session including all answer details will be returned. */
|
|
1513
|
+
includeAnswerDetails?: boolean;
|
|
1514
|
+
/** Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
|
|
1515
|
+
name?: string;
|
|
1516
|
+
}
|
|
1483
1517
|
interface GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse {
|
|
1484
1518
|
/** Document data keyed by URI pattern. For example: document_data_map = { "www.url1.com/*": { "Categories": ["category1", "category2"] }, "www.url2.com/*": { "Categories": ["category3"] } } */
|
|
1485
1519
|
documentDataMap?: {[P in string]: {[P in string]: any}};
|
|
@@ -1790,6 +1824,18 @@ declare namespace gapi.client {
|
|
|
1790
1824
|
/** All the ServingConfigs for a given dataStore. */
|
|
1791
1825
|
servingConfigs?: GoogleCloudDiscoveryengineV1alphaServingConfig[];
|
|
1792
1826
|
}
|
|
1827
|
+
interface GoogleCloudDiscoveryengineV1alphaListSessionsRequest {
|
|
1828
|
+
/** A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: "user_pseudo_id = some_id" */
|
|
1829
|
+
filter?: string;
|
|
1830
|
+
/** A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` Example: "update_time desc" "create_time" */
|
|
1831
|
+
orderBy?: string;
|
|
1832
|
+
/** Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000. */
|
|
1833
|
+
pageSize?: number;
|
|
1834
|
+
/** A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page. */
|
|
1835
|
+
pageToken?: string;
|
|
1836
|
+
/** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
|
|
1837
|
+
parent?: string;
|
|
1838
|
+
}
|
|
1793
1839
|
interface GoogleCloudDiscoveryengineV1alphaListSessionsResponse {
|
|
1794
1840
|
/** Pagination token, if not returned indicates the last page. */
|
|
1795
1841
|
nextPageToken?: string;
|
|
@@ -2420,6 +2466,8 @@ declare namespace gapi.client {
|
|
|
2420
2466
|
version?: string;
|
|
2421
2467
|
}
|
|
2422
2468
|
interface GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec {
|
|
2469
|
+
/** Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) */
|
|
2470
|
+
boostSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec;
|
|
2423
2471
|
/** Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. */
|
|
2424
2472
|
dataStore?: string;
|
|
2425
2473
|
/** Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) */
|
|
@@ -2775,8 +2823,12 @@ declare namespace gapi.client {
|
|
|
2775
2823
|
demotionEventType?: string;
|
|
2776
2824
|
}
|
|
2777
2825
|
interface GoogleCloudDiscoveryengineV1alphaSession {
|
|
2826
|
+
/** Optional. The display name of the session. This field is used to identify the session in the UI. By default, the display name is the first turn query text in the session. */
|
|
2827
|
+
displayName?: string;
|
|
2778
2828
|
/** Output only. The time the session finished. */
|
|
2779
2829
|
endTime?: string;
|
|
2830
|
+
/** Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list. */
|
|
2831
|
+
isPinned?: boolean;
|
|
2780
2832
|
/** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` */
|
|
2781
2833
|
name?: string;
|
|
2782
2834
|
/** Output only. The time the session started. */
|
|
@@ -2953,6 +3005,12 @@ declare namespace gapi.client {
|
|
|
2953
3005
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
2954
3006
|
updateTime?: string;
|
|
2955
3007
|
}
|
|
3008
|
+
interface GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest {
|
|
3009
|
+
/** Required. The Session to update. */
|
|
3010
|
+
session?: GoogleCloudDiscoveryengineV1alphaSession;
|
|
3011
|
+
/** Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If not set or empty, all supported fields are updated. */
|
|
3012
|
+
updateMask?: string;
|
|
3013
|
+
}
|
|
2956
3014
|
interface GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata {
|
|
2957
3015
|
/** Operation create time. */
|
|
2958
3016
|
createTime?: string;
|
|
@@ -3785,6 +3843,8 @@ declare namespace gapi.client {
|
|
|
3785
3843
|
version?: string;
|
|
3786
3844
|
}
|
|
3787
3845
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec {
|
|
3846
|
+
/** Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) */
|
|
3847
|
+
boostSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec;
|
|
3788
3848
|
/** Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. */
|
|
3789
3849
|
dataStore?: string;
|
|
3790
3850
|
/** Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) */
|
|
@@ -4406,6 +4466,130 @@ declare namespace gapi.client {
|
|
|
4406
4466
|
/** Required. The URL for the page the user wants to promote. */
|
|
4407
4467
|
uri?: string;
|
|
4408
4468
|
}
|
|
4469
|
+
interface GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec {
|
|
4470
|
+
/** Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS */
|
|
4471
|
+
chunkSpec?: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec;
|
|
4472
|
+
/** If there is no extractive_content_spec provided, there will be no extractive answer in the search response. */
|
|
4473
|
+
extractiveContentSpec?: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec;
|
|
4474
|
+
/** Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. */
|
|
4475
|
+
searchResultMode?: string;
|
|
4476
|
+
/** If `snippetSpec` is not specified, snippets are not included in the search response. */
|
|
4477
|
+
snippetSpec?: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec;
|
|
4478
|
+
/** If `summarySpec` is not specified, summaries are not included in the search response. */
|
|
4479
|
+
summarySpec?: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec;
|
|
4480
|
+
}
|
|
4481
|
+
interface GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec {
|
|
4482
|
+
/** The number of next chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no next chunks will be returned. */
|
|
4483
|
+
numNextChunks?: number;
|
|
4484
|
+
/** The number of previous chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no previous chunks will be returned. */
|
|
4485
|
+
numPreviousChunks?: number;
|
|
4486
|
+
}
|
|
4487
|
+
interface GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec {
|
|
4488
|
+
/** The maximum number of extractive answers returned in each search result. An extractive answer is a verbatim answer extracted from the original document, which provides a precise and contextually relevant answer to the search query. If the number of matching answers is less than the `max_extractive_answer_count`, return all of the answers. Otherwise, return the `max_extractive_answer_count`. At most five answers are returned for each SearchResult. */
|
|
4489
|
+
maxExtractiveAnswerCount?: number;
|
|
4490
|
+
/** The max number of extractive segments returned in each search result. Only applied if the DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED or DataStore.solution_types is SOLUTION_TYPE_CHAT. An extractive segment is a text segment extracted from the original document that is relevant to the search query, and, in general, more verbose than an extractive answer. The segment could then be used as input for LLMs to generate summaries and answers. If the number of matching segments is less than `max_extractive_segment_count`, return all of the segments. Otherwise, return the `max_extractive_segment_count`. */
|
|
4491
|
+
maxExtractiveSegmentCount?: number;
|
|
4492
|
+
/** Return at most `num_next_segments` segments after each selected segments. */
|
|
4493
|
+
numNextSegments?: number;
|
|
4494
|
+
/** Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments. */
|
|
4495
|
+
numPreviousSegments?: number;
|
|
4496
|
+
/** Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, contact your Customer Engineer. The default value is `false`. */
|
|
4497
|
+
returnExtractiveSegmentScore?: boolean;
|
|
4498
|
+
}
|
|
4499
|
+
interface GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec {
|
|
4500
|
+
/** [DEPRECATED] This field is deprecated. To control snippet return, use `return_snippet` field. For backwards compatibility, we will return snippet if max_snippet_count > 0. */
|
|
4501
|
+
maxSnippetCount?: number;
|
|
4502
|
+
/** [DEPRECATED] This field is deprecated and will have no affect on the snippet. */
|
|
4503
|
+
referenceOnly?: boolean;
|
|
4504
|
+
/** If `true`, then return snippet. If no snippet can be generated, we return "No snippet is available for this page." A `snippet_status` with `SUCCESS` or `NO_SNIPPET_AVAILABLE` will also be returned. */
|
|
4505
|
+
returnSnippet?: boolean;
|
|
4506
|
+
}
|
|
4507
|
+
interface GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec {
|
|
4508
|
+
/** Specifies whether to filter out adversarial queries. The default value is `false`. Google employs search-query classification to detect adversarial queries. No summary 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 summaries for adversarial queries and return fallback messages instead. */
|
|
4509
|
+
ignoreAdversarialQuery?: boolean;
|
|
4510
|
+
/** Optional. Specifies whether to filter out jail-breaking queries. The default value is `false`. Google employs search-query classification to detect jail-breaking queries. No summary is returned if the search query is classified as a jail-breaking query. A user might add instructions to the query to change the tone, style, language, content of the answer, or ask the model to act as a different entity, e.g. "Reply in the tone of a competing company's CEO". If this field is set to `true`, we skip generating summaries for jail-breaking queries and return fallback messages instead. */
|
|
4511
|
+
ignoreJailBreakingQuery?: boolean;
|
|
4512
|
+
/** Specifies whether to filter out queries that have low relevance. The default value is `false`. If this field is set to `false`, all search results are used regardless of relevance to generate answers. If set to `true`, only queries with high relevance search results will generate answers. */
|
|
4513
|
+
ignoreLowRelevantContent?: boolean;
|
|
4514
|
+
/** Specifies whether to filter out queries that are not summary-seeking. The default value is `false`. Google employs search-query classification to detect summary-seeking queries. No summary is returned if the search query is classified as a non-summary seeking query. For example, `why is the sky blue` and `Who is the best soccer player in the world?` are summary-seeking queries, but `SFO airport` and `world cup 2026` are not. They are most likely navigational queries. If this field is set to `true`, we skip generating summaries for non-summary seeking queries and return fallback messages instead. */
|
|
4515
|
+
ignoreNonSummarySeekingQuery?: boolean;
|
|
4516
|
+
/** Specifies whether to include citations in the summary. The default value is `false`. When this field is set to `true`, summaries include in-line citation numbers. Example summary including citations: BigQuery is Google Cloud's fully managed and completely serverless enterprise data warehouse [1]. BigQuery supports all data types, works across clouds, and has built-in machine learning and business intelligence, all within a unified platform [2, 3]. The citation numbers refer to the returned search results and are 1-indexed. For example, [1] means that the sentence is attributed to the first search result. [2, 3] means that the sentence is attributed to both the second and third search results. */
|
|
4517
|
+
includeCitations?: boolean;
|
|
4518
|
+
/** Language code for Summary. Use language tags defined by [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an experimental feature. */
|
|
4519
|
+
languageCode?: string;
|
|
4520
|
+
/** If specified, the spec will be used to modify the prompt provided to the LLM. */
|
|
4521
|
+
modelPromptSpec?: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec;
|
|
4522
|
+
/** If specified, the spec will be used to modify the model specification provided to the LLM. */
|
|
4523
|
+
modelSpec?: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec;
|
|
4524
|
+
/** The number of top results to generate the summary from. If the number of results returned is less than `summaryResultCount`, the summary is generated from all of the results. At most 10 results for documents mode, or 50 for chunks mode, can be used to generate a summary. The chunks mode is used when SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS. */
|
|
4525
|
+
summaryResultCount?: number;
|
|
4526
|
+
/** If true, answer will be generated from most relevant chunks from top search results. This feature will improve summary quality. Note that with this feature enabled, not all top search results will be referenced and included in the reference list, so the citation source index only points to the search results listed in the reference list. */
|
|
4527
|
+
useSemanticChunks?: boolean;
|
|
4528
|
+
}
|
|
4529
|
+
interface GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec {
|
|
4530
|
+
/** Text at the beginning of the prompt that instructs the assistant. Examples are available in the user guide. */
|
|
4531
|
+
preamble?: string;
|
|
4532
|
+
}
|
|
4533
|
+
interface GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec {
|
|
4534
|
+
/** The model version used to generate the summary. Supported values are: * `stable`: string. Default value when no value is specified. Uses a generally available, fine-tuned model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). * `preview`: string. (Public preview) Uses a preview model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). */
|
|
4535
|
+
version?: string;
|
|
4536
|
+
}
|
|
4537
|
+
interface GoogleCloudDiscoveryengineV1ServingConfig {
|
|
4538
|
+
/** Boost controls to use in serving path. All triggered boost controls will be applied. Boost controls must be in the same data store as the serving config. Maximum of 20 boost controls. */
|
|
4539
|
+
boostControlIds?: string[];
|
|
4540
|
+
/** Output only. ServingConfig created timestamp. */
|
|
4541
|
+
createTime?: string;
|
|
4542
|
+
/** Required. The human readable serving config display name. Used in Discovery UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
4543
|
+
displayName?: string;
|
|
4544
|
+
/** Condition do not associate specifications. If multiple do not associate conditions match, all matching do not associate controls in the list will execute. Order does not matter. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. */
|
|
4545
|
+
dissociateControlIds?: string[];
|
|
4546
|
+
/** How much diversity to use in recommendation model results e.g. `medium-diversity` or `high-diversity`. Currently supported values: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` If not specified, we choose default based on recommendation model type. Default value: `no-diversity`. Can only be set if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
|
|
4547
|
+
diversityLevel?: string;
|
|
4548
|
+
/** Filter controls to use in serving path. All triggered filter controls will be applied. Filter controls must be in the same data store as the serving config. Maximum of 20 filter controls. */
|
|
4549
|
+
filterControlIds?: string[];
|
|
4550
|
+
/** The GenericConfig of the serving configuration. */
|
|
4551
|
+
genericConfig?: GoogleCloudDiscoveryengineV1ServingConfigGenericConfig;
|
|
4552
|
+
/** Condition ignore specifications. If multiple ignore conditions match, all matching ignore controls in the list will execute. Order does not matter. Maximum number of specifications is 100. */
|
|
4553
|
+
ignoreControlIds?: string[];
|
|
4554
|
+
/** The MediaConfig of the serving configuration. */
|
|
4555
|
+
mediaConfig?: GoogleCloudDiscoveryengineV1ServingConfigMediaConfig;
|
|
4556
|
+
/** The id of the model to use at serving time. Currently only RecommendationModels are supported. Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
|
|
4557
|
+
modelId?: string;
|
|
4558
|
+
/** Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}` */
|
|
4559
|
+
name?: string;
|
|
4560
|
+
/** Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. */
|
|
4561
|
+
onewaySynonymsControlIds?: string[];
|
|
4562
|
+
/** Condition promote specifications. Maximum number of specifications is 100. */
|
|
4563
|
+
promoteControlIds?: string[];
|
|
4564
|
+
/** The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if SearchRequest.ranking_expression is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. */
|
|
4565
|
+
rankingExpression?: string;
|
|
4566
|
+
/** IDs of the redirect controls. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. */
|
|
4567
|
+
redirectControlIds?: string[];
|
|
4568
|
+
/** Condition replacement specifications. Applied according to the order in the list. A previously replaced term can not be re-replaced. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. */
|
|
4569
|
+
replacementControlIds?: string[];
|
|
4570
|
+
/** Required. Immutable. Specifies the solution type that a serving config can be associated with. */
|
|
4571
|
+
solutionType?: string;
|
|
4572
|
+
/** Condition synonyms specifications. If multiple synonyms conditions match, all matching synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. */
|
|
4573
|
+
synonymsControlIds?: string[];
|
|
4574
|
+
/** Output only. ServingConfig updated timestamp. */
|
|
4575
|
+
updateTime?: string;
|
|
4576
|
+
}
|
|
4577
|
+
interface GoogleCloudDiscoveryengineV1ServingConfigGenericConfig {
|
|
4578
|
+
/** Specifies the expected behavior of content search. Only valid for content-search enabled data store. */
|
|
4579
|
+
contentSearchSpec?: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec;
|
|
4580
|
+
}
|
|
4581
|
+
interface GoogleCloudDiscoveryengineV1ServingConfigMediaConfig {
|
|
4582
|
+
/** Specifies the content freshness used for recommendation result. Contents will be demoted if contents were published for more than content freshness cutoff days. */
|
|
4583
|
+
contentFreshnessCutoffDays?: number;
|
|
4584
|
+
/** Specifies the content watched percentage threshold for demotion. Threshold value must be between [0, 1.0] inclusive. */
|
|
4585
|
+
contentWatchedPercentageThreshold?: number;
|
|
4586
|
+
/** Specifies the content watched minutes threshold for demotion. */
|
|
4587
|
+
contentWatchedSecondsThreshold?: number;
|
|
4588
|
+
/** Optional. Specifies the number of days to look back for demoting watched content. If set to zero or unset, defaults to the maximum of 365 days. */
|
|
4589
|
+
demoteContentWatchedPastDays?: number;
|
|
4590
|
+
/** Specifies the event type used for demoting recommendation result. Currently supported values: * `view-item`: Item viewed. * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. If unset, watch history demotion will not be applied. Content freshness demotion will still be applied. */
|
|
4591
|
+
demotionEventType?: string;
|
|
4592
|
+
}
|
|
4409
4593
|
interface GoogleCloudDiscoveryengineV1SiteVerificationInfo {
|
|
4410
4594
|
/** Site verification state indicating the ownership and validity. */
|
|
4411
4595
|
siteVerificationState?: string;
|
|
@@ -6780,6 +6964,64 @@ declare namespace gapi.client {
|
|
|
6780
6964
|
},
|
|
6781
6965
|
body: GoogleCloudDiscoveryengineV1alphaSearchRequest
|
|
6782
6966
|
): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
|
|
6967
|
+
/** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
|
|
6968
|
+
streamAnswer(request: {
|
|
6969
|
+
/** V1 error format. */
|
|
6970
|
+
'$.xgafv'?: string;
|
|
6971
|
+
/** OAuth access token. */
|
|
6972
|
+
access_token?: string;
|
|
6973
|
+
/** Data format for response. */
|
|
6974
|
+
alt?: string;
|
|
6975
|
+
/** JSONP */
|
|
6976
|
+
callback?: string;
|
|
6977
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6978
|
+
fields?: string;
|
|
6979
|
+
/** 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. */
|
|
6980
|
+
key?: string;
|
|
6981
|
+
/** OAuth 2.0 token for the current user. */
|
|
6982
|
+
oauth_token?: string;
|
|
6983
|
+
/** Returns response with indentations and line breaks. */
|
|
6984
|
+
prettyPrint?: boolean;
|
|
6985
|
+
/** 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. */
|
|
6986
|
+
quotaUser?: string;
|
|
6987
|
+
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
6988
|
+
servingConfig: string;
|
|
6989
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6990
|
+
upload_protocol?: string;
|
|
6991
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6992
|
+
uploadType?: string;
|
|
6993
|
+
/** Request body */
|
|
6994
|
+
resource: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest;
|
|
6995
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
|
|
6996
|
+
streamAnswer(
|
|
6997
|
+
request: {
|
|
6998
|
+
/** V1 error format. */
|
|
6999
|
+
'$.xgafv'?: string;
|
|
7000
|
+
/** OAuth access token. */
|
|
7001
|
+
access_token?: string;
|
|
7002
|
+
/** Data format for response. */
|
|
7003
|
+
alt?: string;
|
|
7004
|
+
/** JSONP */
|
|
7005
|
+
callback?: string;
|
|
7006
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7007
|
+
fields?: string;
|
|
7008
|
+
/** 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. */
|
|
7009
|
+
key?: string;
|
|
7010
|
+
/** OAuth 2.0 token for the current user. */
|
|
7011
|
+
oauth_token?: string;
|
|
7012
|
+
/** Returns response with indentations and line breaks. */
|
|
7013
|
+
prettyPrint?: boolean;
|
|
7014
|
+
/** 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. */
|
|
7015
|
+
quotaUser?: string;
|
|
7016
|
+
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
7017
|
+
servingConfig: string;
|
|
7018
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7019
|
+
upload_protocol?: string;
|
|
7020
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7021
|
+
uploadType?: string;
|
|
7022
|
+
},
|
|
7023
|
+
body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
|
|
7024
|
+
): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
|
|
6783
7025
|
}
|
|
6784
7026
|
interface AnswersResource {
|
|
6785
7027
|
/** Gets a Answer. */
|
|
@@ -6908,6 +7150,8 @@ declare namespace gapi.client {
|
|
|
6908
7150
|
callback?: string;
|
|
6909
7151
|
/** Selector specifying which fields to include in a partial response. */
|
|
6910
7152
|
fields?: string;
|
|
7153
|
+
/** Optional. If set to true, the full session including all answer details will be returned. */
|
|
7154
|
+
includeAnswerDetails?: boolean;
|
|
6911
7155
|
/** 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. */
|
|
6912
7156
|
key?: string;
|
|
6913
7157
|
/** Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
|
|
@@ -7985,7 +8229,7 @@ declare namespace gapi.client {
|
|
|
7985
8229
|
key?: string;
|
|
7986
8230
|
/** OAuth 2.0 token for the current user. */
|
|
7987
8231
|
oauth_token?: string;
|
|
7988
|
-
/** Required. The parent
|
|
8232
|
+
/** Required. The parent resource name. If the collect user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the collect user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`. */
|
|
7989
8233
|
parent: string;
|
|
7990
8234
|
/** Returns response with indentations and line breaks. */
|
|
7991
8235
|
prettyPrint?: boolean;
|
|
@@ -9588,6 +9832,64 @@ declare namespace gapi.client {
|
|
|
9588
9832
|
},
|
|
9589
9833
|
body: GoogleCloudDiscoveryengineV1alphaSearchRequest
|
|
9590
9834
|
): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
|
|
9835
|
+
/** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
|
|
9836
|
+
streamAnswer(request: {
|
|
9837
|
+
/** V1 error format. */
|
|
9838
|
+
'$.xgafv'?: string;
|
|
9839
|
+
/** OAuth access token. */
|
|
9840
|
+
access_token?: string;
|
|
9841
|
+
/** Data format for response. */
|
|
9842
|
+
alt?: string;
|
|
9843
|
+
/** JSONP */
|
|
9844
|
+
callback?: string;
|
|
9845
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9846
|
+
fields?: string;
|
|
9847
|
+
/** 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. */
|
|
9848
|
+
key?: string;
|
|
9849
|
+
/** OAuth 2.0 token for the current user. */
|
|
9850
|
+
oauth_token?: string;
|
|
9851
|
+
/** Returns response with indentations and line breaks. */
|
|
9852
|
+
prettyPrint?: boolean;
|
|
9853
|
+
/** 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. */
|
|
9854
|
+
quotaUser?: string;
|
|
9855
|
+
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
9856
|
+
servingConfig: string;
|
|
9857
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9858
|
+
upload_protocol?: string;
|
|
9859
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9860
|
+
uploadType?: string;
|
|
9861
|
+
/** Request body */
|
|
9862
|
+
resource: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest;
|
|
9863
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
|
|
9864
|
+
streamAnswer(
|
|
9865
|
+
request: {
|
|
9866
|
+
/** V1 error format. */
|
|
9867
|
+
'$.xgafv'?: string;
|
|
9868
|
+
/** OAuth access token. */
|
|
9869
|
+
access_token?: string;
|
|
9870
|
+
/** Data format for response. */
|
|
9871
|
+
alt?: string;
|
|
9872
|
+
/** JSONP */
|
|
9873
|
+
callback?: string;
|
|
9874
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9875
|
+
fields?: string;
|
|
9876
|
+
/** 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. */
|
|
9877
|
+
key?: string;
|
|
9878
|
+
/** OAuth 2.0 token for the current user. */
|
|
9879
|
+
oauth_token?: string;
|
|
9880
|
+
/** Returns response with indentations and line breaks. */
|
|
9881
|
+
prettyPrint?: boolean;
|
|
9882
|
+
/** 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. */
|
|
9883
|
+
quotaUser?: string;
|
|
9884
|
+
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
9885
|
+
servingConfig: string;
|
|
9886
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9887
|
+
upload_protocol?: string;
|
|
9888
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9889
|
+
uploadType?: string;
|
|
9890
|
+
},
|
|
9891
|
+
body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
|
|
9892
|
+
): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
|
|
9591
9893
|
}
|
|
9592
9894
|
interface AnswersResource {
|
|
9593
9895
|
/** Gets a Answer. */
|
|
@@ -9716,6 +10018,8 @@ declare namespace gapi.client {
|
|
|
9716
10018
|
callback?: string;
|
|
9717
10019
|
/** Selector specifying which fields to include in a partial response. */
|
|
9718
10020
|
fields?: string;
|
|
10021
|
+
/** Optional. If set to true, the full session including all answer details will be returned. */
|
|
10022
|
+
includeAnswerDetails?: boolean;
|
|
9719
10023
|
/** 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. */
|
|
9720
10024
|
key?: string;
|
|
9721
10025
|
/** Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
|
|
@@ -12220,6 +12524,64 @@ declare namespace gapi.client {
|
|
|
12220
12524
|
},
|
|
12221
12525
|
body: GoogleCloudDiscoveryengineV1alphaSearchRequest
|
|
12222
12526
|
): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
|
|
12527
|
+
/** Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream. */
|
|
12528
|
+
streamAnswer(request: {
|
|
12529
|
+
/** V1 error format. */
|
|
12530
|
+
'$.xgafv'?: string;
|
|
12531
|
+
/** OAuth access token. */
|
|
12532
|
+
access_token?: string;
|
|
12533
|
+
/** Data format for response. */
|
|
12534
|
+
alt?: string;
|
|
12535
|
+
/** JSONP */
|
|
12536
|
+
callback?: string;
|
|
12537
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12538
|
+
fields?: string;
|
|
12539
|
+
/** 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. */
|
|
12540
|
+
key?: string;
|
|
12541
|
+
/** OAuth 2.0 token for the current user. */
|
|
12542
|
+
oauth_token?: string;
|
|
12543
|
+
/** Returns response with indentations and line breaks. */
|
|
12544
|
+
prettyPrint?: boolean;
|
|
12545
|
+
/** 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. */
|
|
12546
|
+
quotaUser?: string;
|
|
12547
|
+
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
12548
|
+
servingConfig: string;
|
|
12549
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12550
|
+
upload_protocol?: string;
|
|
12551
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12552
|
+
uploadType?: string;
|
|
12553
|
+
/** Request body */
|
|
12554
|
+
resource: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest;
|
|
12555
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
|
|
12556
|
+
streamAnswer(
|
|
12557
|
+
request: {
|
|
12558
|
+
/** V1 error format. */
|
|
12559
|
+
'$.xgafv'?: string;
|
|
12560
|
+
/** OAuth access token. */
|
|
12561
|
+
access_token?: string;
|
|
12562
|
+
/** Data format for response. */
|
|
12563
|
+
alt?: string;
|
|
12564
|
+
/** JSONP */
|
|
12565
|
+
callback?: string;
|
|
12566
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12567
|
+
fields?: string;
|
|
12568
|
+
/** 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. */
|
|
12569
|
+
key?: string;
|
|
12570
|
+
/** OAuth 2.0 token for the current user. */
|
|
12571
|
+
oauth_token?: string;
|
|
12572
|
+
/** Returns response with indentations and line breaks. */
|
|
12573
|
+
prettyPrint?: boolean;
|
|
12574
|
+
/** 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. */
|
|
12575
|
+
quotaUser?: string;
|
|
12576
|
+
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
12577
|
+
servingConfig: string;
|
|
12578
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12579
|
+
upload_protocol?: string;
|
|
12580
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12581
|
+
uploadType?: string;
|
|
12582
|
+
},
|
|
12583
|
+
body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest
|
|
12584
|
+
): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
|
|
12223
12585
|
}
|
|
12224
12586
|
interface AnswersResource {
|
|
12225
12587
|
/** Gets a Answer. */
|
|
@@ -12348,6 +12710,8 @@ declare namespace gapi.client {
|
|
|
12348
12710
|
callback?: string;
|
|
12349
12711
|
/** Selector specifying which fields to include in a partial response. */
|
|
12350
12712
|
fields?: string;
|
|
12713
|
+
/** Optional. If set to true, the full session including all answer details will be returned. */
|
|
12714
|
+
includeAnswerDetails?: boolean;
|
|
12351
12715
|
/** 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. */
|
|
12352
12716
|
key?: string;
|
|
12353
12717
|
/** Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
|
|
@@ -13154,7 +13518,7 @@ declare namespace gapi.client {
|
|
|
13154
13518
|
key?: string;
|
|
13155
13519
|
/** OAuth 2.0 token for the current user. */
|
|
13156
13520
|
oauth_token?: string;
|
|
13157
|
-
/** Required. The parent
|
|
13521
|
+
/** Required. The parent resource name. If the collect user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the collect user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`. */
|
|
13158
13522
|
parent: string;
|
|
13159
13523
|
/** Returns response with indentations and line breaks. */
|
|
13160
13524
|
prettyPrint?: boolean;
|
|
@@ -14757,7 +15121,7 @@ declare namespace gapi.client {
|
|
|
14757
15121
|
key?: string;
|
|
14758
15122
|
/** OAuth 2.0 token for the current user. */
|
|
14759
15123
|
oauth_token?: string;
|
|
14760
|
-
/** Required. The parent
|
|
15124
|
+
/** Required. The parent resource name. If the collect user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the collect user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`. */
|
|
14761
15125
|
parent: string;
|
|
14762
15126
|
/** Returns response with indentations and line breaks. */
|
|
14763
15127
|
prettyPrint?: boolean;
|