@maxim_mazurok/gapi.client.discoveryengine-v1 0.2.20260620 → 0.3.20260620
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 +36 -82
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -610,9 +610,7 @@ declare namespace gapi.client {
|
|
|
610
610
|
interface GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion {
|
|
611
611
|
/** The type of the content suggestion. */
|
|
612
612
|
contentType?:
|
|
613
|
-
| '
|
|
614
|
-
| 'GOOGLE_WORKSPACE'
|
|
615
|
-
| 'THIRD_PARTY';
|
|
613
|
+
'CONTENT_TYPE_UNSPECIFIED' | 'GOOGLE_WORKSPACE' | 'THIRD_PARTY';
|
|
616
614
|
/** The name of the dataStore that this suggestion belongs to. */
|
|
617
615
|
dataStore?: string;
|
|
618
616
|
/** The destination uri of the content suggestion. */
|
|
@@ -637,9 +635,7 @@ declare namespace gapi.client {
|
|
|
637
635
|
document?: GoogleCloudDiscoveryengineV1Document;
|
|
638
636
|
/** The type of the person. */
|
|
639
637
|
personType?:
|
|
640
|
-
| '
|
|
641
|
-
| 'CLOUD_IDENTITY'
|
|
642
|
-
| 'THIRD_PARTY_IDENTITY';
|
|
638
|
+
'PERSON_TYPE_UNSPECIFIED' | 'CLOUD_IDENTITY' | 'THIRD_PARTY_IDENTITY';
|
|
643
639
|
/** The score of each suggestion. The score is in the range of [0, 1]. */
|
|
644
640
|
score?: number;
|
|
645
641
|
/** The suggestion for the query. */
|
|
@@ -1935,7 +1931,9 @@ declare namespace gapi.client {
|
|
|
1935
1931
|
name?: string;
|
|
1936
1932
|
/** Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported. */
|
|
1937
1933
|
parsingConfigOverrides?: {
|
|
1938
|
-
[
|
|
1934
|
+
[
|
|
1935
|
+
P in string
|
|
1936
|
+
]: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
|
|
1939
1937
|
};
|
|
1940
1938
|
}
|
|
1941
1939
|
interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig {
|
|
@@ -2054,9 +2052,7 @@ declare namespace gapi.client {
|
|
|
2054
2052
|
/** Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it. */
|
|
2055
2053
|
modelConfigs?: {
|
|
2056
2054
|
[P in string]:
|
|
2057
|
-
| '
|
|
2058
|
-
| 'MODEL_ENABLED'
|
|
2059
|
-
| 'MODEL_DISABLED';
|
|
2055
|
+
'MODEL_STATE_UNSPECIFIED' | 'MODEL_ENABLED' | 'MODEL_DISABLED';
|
|
2060
2056
|
};
|
|
2061
2057
|
/** Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
2062
2058
|
name?: string;
|
|
@@ -2170,10 +2166,7 @@ declare namespace gapi.client {
|
|
|
2170
2166
|
lastTuneTime?: string;
|
|
2171
2167
|
/** Output only. The serving state of the engine: `ACTIVE`, `NOT_ACTIVE`. */
|
|
2172
2168
|
servingState?:
|
|
2173
|
-
| '
|
|
2174
|
-
| 'INACTIVE'
|
|
2175
|
-
| 'ACTIVE'
|
|
2176
|
-
| 'TUNED';
|
|
2169
|
+
'SERVING_STATE_UNSPECIFIED' | 'INACTIVE' | 'ACTIVE' | 'TUNED';
|
|
2177
2170
|
/** Output only. The latest tune operation id associated with the engine. Only applicable on Media Recommendation engines. If present, this operation id can be used to determine if there is an ongoing tune for this engine. To check the operation status, send the GetOperation request with this operation id in the engine resource format. If no tuning has happened for this engine, the string is empty. */
|
|
2178
2171
|
tuningOperation?: string;
|
|
2179
2172
|
}
|
|
@@ -2231,11 +2224,7 @@ declare namespace gapi.client {
|
|
|
2231
2224
|
qualityMetrics?: GoogleCloudDiscoveryengineV1alphaQualityMetrics;
|
|
2232
2225
|
/** Output only. The state of the evaluation. */
|
|
2233
2226
|
state?:
|
|
2234
|
-
| '
|
|
2235
|
-
| 'PENDING'
|
|
2236
|
-
| 'RUNNING'
|
|
2237
|
-
| 'SUCCEEDED'
|
|
2238
|
-
| 'FAILED';
|
|
2227
|
+
'STATE_UNSPECIFIED' | 'PENDING' | 'RUNNING' | 'SUCCEEDED' | 'FAILED';
|
|
2239
2228
|
}
|
|
2240
2229
|
interface GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec {
|
|
2241
2230
|
/** Optional. The specification of the query set. */
|
|
@@ -3089,9 +3078,7 @@ declare namespace gapi.client {
|
|
|
3089
3078
|
extractiveContentSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec;
|
|
3090
3079
|
/** Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. */
|
|
3091
3080
|
searchResultMode?:
|
|
3092
|
-
| '
|
|
3093
|
-
| 'DOCUMENTS'
|
|
3094
|
-
| 'CHUNKS';
|
|
3081
|
+
'SEARCH_RESULT_MODE_UNSPECIFIED' | 'DOCUMENTS' | 'CHUNKS';
|
|
3095
3082
|
/** If `snippetSpec` is not specified, snippets are not included in the search response. */
|
|
3096
3083
|
snippetSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec;
|
|
3097
3084
|
/** If `summarySpec` is not specified, summaries are not included in the search response. */
|
|
@@ -3242,14 +3229,10 @@ declare namespace gapi.client {
|
|
|
3242
3229
|
allowedFieldNames?: string[];
|
|
3243
3230
|
/** Optional. Controls behavior of how extracted filters are applied to the search. The default behavior depends on the request. For single datastore structured search, the default is `HARD_FILTER`. For multi-datastore search, the default behavior is `SOFT_BOOST`. Location-based filters are always applied as hard filters, and the `SOFT_BOOST` setting will not affect them. This field is only used if SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition is set to FilterExtractionCondition.ENABLED. */
|
|
3244
3231
|
extractedFilterBehavior?:
|
|
3245
|
-
| '
|
|
3246
|
-
| 'HARD_FILTER'
|
|
3247
|
-
| 'SOFT_BOOST';
|
|
3232
|
+
'EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED' | 'HARD_FILTER' | 'SOFT_BOOST';
|
|
3248
3233
|
/** The condition under which filter extraction should occur. Server behavior defaults to `DISABLED`. */
|
|
3249
3234
|
filterExtractionCondition?:
|
|
3250
|
-
| '
|
|
3251
|
-
| 'DISABLED'
|
|
3252
|
-
| 'ENABLED';
|
|
3235
|
+
'CONDITION_UNSPECIFIED' | 'DISABLED' | 'ENABLED';
|
|
3253
3236
|
/** Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. */
|
|
3254
3237
|
geoSearchQueryDetectionFieldNames?: string[];
|
|
3255
3238
|
}
|
|
@@ -3788,9 +3771,7 @@ declare namespace gapi.client {
|
|
|
3788
3771
|
orderBy?: string;
|
|
3789
3772
|
/** Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents) */
|
|
3790
3773
|
searchResultMode?:
|
|
3791
|
-
| '
|
|
3792
|
-
| 'DOCUMENTS'
|
|
3793
|
-
| 'CHUNKS';
|
|
3774
|
+
'SEARCH_RESULT_MODE_UNSPECIFIED' | 'DOCUMENTS' | 'CHUNKS';
|
|
3794
3775
|
}
|
|
3795
3776
|
interface GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList {
|
|
3796
3777
|
/** Search results. */
|
|
@@ -4260,10 +4241,7 @@ declare namespace gapi.client {
|
|
|
4260
4241
|
matcherValue?: GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue;
|
|
4261
4242
|
/** The state of the document. */
|
|
4262
4243
|
state?:
|
|
4263
|
-
| '
|
|
4264
|
-
| 'INDEXED'
|
|
4265
|
-
| 'NOT_IN_TARGET_SITE'
|
|
4266
|
-
| 'NOT_IN_INDEX';
|
|
4244
|
+
'STATE_UNSPECIFIED' | 'INDEXED' | 'NOT_IN_TARGET_SITE' | 'NOT_IN_INDEX';
|
|
4267
4245
|
}
|
|
4268
4246
|
interface GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue {
|
|
4269
4247
|
/** Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} */
|
|
@@ -4709,7 +4687,9 @@ declare namespace gapi.client {
|
|
|
4709
4687
|
name?: string;
|
|
4710
4688
|
/** Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported. */
|
|
4711
4689
|
parsingConfigOverrides?: {
|
|
4712
|
-
[
|
|
4690
|
+
[
|
|
4691
|
+
P in string
|
|
4692
|
+
]: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
|
|
4713
4693
|
};
|
|
4714
4694
|
}
|
|
4715
4695
|
interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig {
|
|
@@ -4818,9 +4798,7 @@ declare namespace gapi.client {
|
|
|
4818
4798
|
/** Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it. */
|
|
4819
4799
|
modelConfigs?: {
|
|
4820
4800
|
[P in string]:
|
|
4821
|
-
| '
|
|
4822
|
-
| 'MODEL_ENABLED'
|
|
4823
|
-
| 'MODEL_DISABLED';
|
|
4801
|
+
'MODEL_STATE_UNSPECIFIED' | 'MODEL_ENABLED' | 'MODEL_DISABLED';
|
|
4824
4802
|
};
|
|
4825
4803
|
/** Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
4826
4804
|
name?: string;
|
|
@@ -4964,11 +4942,7 @@ declare namespace gapi.client {
|
|
|
4964
4942
|
qualityMetrics?: GoogleCloudDiscoveryengineV1betaQualityMetrics;
|
|
4965
4943
|
/** Output only. The state of the evaluation. */
|
|
4966
4944
|
state?:
|
|
4967
|
-
| '
|
|
4968
|
-
| 'PENDING'
|
|
4969
|
-
| 'RUNNING'
|
|
4970
|
-
| 'SUCCEEDED'
|
|
4971
|
-
| 'FAILED';
|
|
4945
|
+
'STATE_UNSPECIFIED' | 'PENDING' | 'RUNNING' | 'SUCCEEDED' | 'FAILED';
|
|
4972
4946
|
}
|
|
4973
4947
|
interface GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec {
|
|
4974
4948
|
/** Optional. The specification of the query set. */
|
|
@@ -5518,9 +5492,7 @@ declare namespace gapi.client {
|
|
|
5518
5492
|
extractiveContentSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec;
|
|
5519
5493
|
/** Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. */
|
|
5520
5494
|
searchResultMode?:
|
|
5521
|
-
| '
|
|
5522
|
-
| 'DOCUMENTS'
|
|
5523
|
-
| 'CHUNKS';
|
|
5495
|
+
'SEARCH_RESULT_MODE_UNSPECIFIED' | 'DOCUMENTS' | 'CHUNKS';
|
|
5524
5496
|
/** If `snippetSpec` is not specified, snippets are not included in the search response. */
|
|
5525
5497
|
snippetSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec;
|
|
5526
5498
|
/** If `summarySpec` is not specified, summaries are not included in the search response. */
|
|
@@ -5671,14 +5643,10 @@ declare namespace gapi.client {
|
|
|
5671
5643
|
allowedFieldNames?: string[];
|
|
5672
5644
|
/** Optional. Controls behavior of how extracted filters are applied to the search. The default behavior depends on the request. For single datastore structured search, the default is `HARD_FILTER`. For multi-datastore search, the default behavior is `SOFT_BOOST`. Location-based filters are always applied as hard filters, and the `SOFT_BOOST` setting will not affect them. This field is only used if SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition is set to FilterExtractionCondition.ENABLED. */
|
|
5673
5645
|
extractedFilterBehavior?:
|
|
5674
|
-
| '
|
|
5675
|
-
| 'HARD_FILTER'
|
|
5676
|
-
| 'SOFT_BOOST';
|
|
5646
|
+
'EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED' | 'HARD_FILTER' | 'SOFT_BOOST';
|
|
5677
5647
|
/** The condition under which filter extraction should occur. Server behavior defaults to `DISABLED`. */
|
|
5678
5648
|
filterExtractionCondition?:
|
|
5679
|
-
| '
|
|
5680
|
-
| 'DISABLED'
|
|
5681
|
-
| 'ENABLED';
|
|
5649
|
+
'CONDITION_UNSPECIFIED' | 'DISABLED' | 'ENABLED';
|
|
5682
5650
|
/** Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. */
|
|
5683
5651
|
geoSearchQueryDetectionFieldNames?: string[];
|
|
5684
5652
|
}
|
|
@@ -5927,7 +5895,9 @@ declare namespace gapi.client {
|
|
|
5927
5895
|
interface GoogleCloudDiscoveryengineV1BigtableOptions {
|
|
5928
5896
|
/** The mapping from family names to an object that contains column families level information for the given column family. If a family is not present in this map it will be ignored. */
|
|
5929
5897
|
families?: {
|
|
5930
|
-
[
|
|
5898
|
+
[
|
|
5899
|
+
P in string
|
|
5900
|
+
]: GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily;
|
|
5931
5901
|
};
|
|
5932
5902
|
/** The field name used for saving row key value in the document. The name has to match the pattern `a-zA-Z0-9*`. */
|
|
5933
5903
|
keyFieldName?: string;
|
|
@@ -6901,7 +6871,9 @@ declare namespace gapi.client {
|
|
|
6901
6871
|
name?: string;
|
|
6902
6872
|
/** Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported. */
|
|
6903
6873
|
parsingConfigOverrides?: {
|
|
6904
|
-
[
|
|
6874
|
+
[
|
|
6875
|
+
P in string
|
|
6876
|
+
]: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
|
|
6905
6877
|
};
|
|
6906
6878
|
}
|
|
6907
6879
|
interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig {
|
|
@@ -7025,9 +6997,7 @@ declare namespace gapi.client {
|
|
|
7025
6997
|
/** Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it. */
|
|
7026
6998
|
modelConfigs?: {
|
|
7027
6999
|
[P in string]:
|
|
7028
|
-
| '
|
|
7029
|
-
| 'MODEL_ENABLED'
|
|
7030
|
-
| 'MODEL_DISABLED';
|
|
7000
|
+
'MODEL_STATE_UNSPECIFIED' | 'MODEL_ENABLED' | 'MODEL_DISABLED';
|
|
7031
7001
|
};
|
|
7032
7002
|
/** Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
7033
7003
|
name?: string;
|
|
@@ -7382,9 +7352,7 @@ declare namespace gapi.client {
|
|
|
7382
7352
|
inlineSource?: GoogleCloudDiscoveryengineV1ImportDocumentsRequestInlineSource;
|
|
7383
7353
|
/** The mode of reconciliation between existing documents and the documents to be imported. Defaults to ReconciliationMode.INCREMENTAL. */
|
|
7384
7354
|
reconciliationMode?:
|
|
7385
|
-
| '
|
|
7386
|
-
| 'INCREMENTAL'
|
|
7387
|
-
| 'FULL';
|
|
7355
|
+
'RECONCILIATION_MODE_UNSPECIFIED' | 'INCREMENTAL' | 'FULL';
|
|
7388
7356
|
/** Spanner input source. */
|
|
7389
7357
|
spannerSource?: GoogleCloudDiscoveryengineV1SpannerSource;
|
|
7390
7358
|
/** Indicates which fields in the provided imported documents to update. If not set, the default is to update all fields. */
|
|
@@ -8152,9 +8120,7 @@ declare namespace gapi.client {
|
|
|
8152
8120
|
extractiveContentSpec?: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec;
|
|
8153
8121
|
/** Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. */
|
|
8154
8122
|
searchResultMode?:
|
|
8155
|
-
| '
|
|
8156
|
-
| 'DOCUMENTS'
|
|
8157
|
-
| 'CHUNKS';
|
|
8123
|
+
'SEARCH_RESULT_MODE_UNSPECIFIED' | 'DOCUMENTS' | 'CHUNKS';
|
|
8158
8124
|
/** If `snippetSpec` is not specified, snippets are not included in the search response. */
|
|
8159
8125
|
snippetSpec?: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec;
|
|
8160
8126
|
/** If `summarySpec` is not specified, summaries are not included in the search response. */
|
|
@@ -8285,14 +8251,10 @@ declare namespace gapi.client {
|
|
|
8285
8251
|
allowedFieldNames?: string[];
|
|
8286
8252
|
/** Optional. Controls behavior of how extracted filters are applied to the search. The default behavior depends on the request. For single datastore structured search, the default is `HARD_FILTER`. For multi-datastore search, the default behavior is `SOFT_BOOST`. Location-based filters are always applied as hard filters, and the `SOFT_BOOST` setting will not affect them. This field is only used if SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition is set to FilterExtractionCondition.ENABLED. */
|
|
8287
8253
|
extractedFilterBehavior?:
|
|
8288
|
-
| '
|
|
8289
|
-
| 'HARD_FILTER'
|
|
8290
|
-
| 'SOFT_BOOST';
|
|
8254
|
+
'EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED' | 'HARD_FILTER' | 'SOFT_BOOST';
|
|
8291
8255
|
/** The condition under which filter extraction should occur. Server behavior defaults to `DISABLED`. */
|
|
8292
8256
|
filterExtractionCondition?:
|
|
8293
|
-
| '
|
|
8294
|
-
| 'DISABLED'
|
|
8295
|
-
| 'ENABLED';
|
|
8257
|
+
'CONDITION_UNSPECIFIED' | 'DISABLED' | 'ENABLED';
|
|
8296
8258
|
/** Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. */
|
|
8297
8259
|
geoSearchQueryDetectionFieldNames?: string[];
|
|
8298
8260
|
}
|
|
@@ -9070,9 +9032,7 @@ declare namespace gapi.client {
|
|
|
9070
9032
|
nodes?: GoogleCloudDiscoveryengineV1WidgetConfigNode[];
|
|
9071
9033
|
/** The type of snippet to display in UCS widget. - RESULT_DISPLAY_TYPE_UNSPECIFIED for existing users. - SNIPPET for new non-enterprise search users. - EXTRACTIVE_ANSWER for new enterprise search users. */
|
|
9072
9034
|
resultDisplayType?:
|
|
9073
|
-
| '
|
|
9074
|
-
| 'SNIPPET'
|
|
9075
|
-
| 'EXTRACTIVE_ANSWER';
|
|
9035
|
+
'RESULT_DISPLAY_TYPE_UNSPECIFIED' | 'SNIPPET' | 'EXTRACTIVE_ANSWER';
|
|
9076
9036
|
/** Required. Immutable. Specifies the solution type that this WidgetConfig can be used for. */
|
|
9077
9037
|
solutionType?:
|
|
9078
9038
|
| 'SOLUTION_TYPE_UNSPECIFIED'
|
|
@@ -9220,9 +9180,7 @@ declare namespace gapi.client {
|
|
|
9220
9180
|
interface GoogleCloudDiscoveryengineV1WidgetConfigUIComponentField {
|
|
9221
9181
|
/** The field visibility on different types of devices. */
|
|
9222
9182
|
deviceVisibility?:
|
|
9223
|
-
| '
|
|
9224
|
-
| 'MOBILE'
|
|
9225
|
-
| 'DESKTOP'[];
|
|
9183
|
+
'DEVICE_VISIBILITY_UNSPECIFIED' | 'MOBILE' | 'DESKTOP'[];
|
|
9226
9184
|
/** The template to customize how the field is displayed. An example value would be a string that looks like: "Price: {value}". */
|
|
9227
9185
|
displayTemplate?: string;
|
|
9228
9186
|
/** Required. Registered field name. The format is `field.abc`. */
|
|
@@ -9269,15 +9227,11 @@ declare namespace gapi.client {
|
|
|
9269
9227
|
/** Output only. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it. */
|
|
9270
9228
|
modelConfigs?: {
|
|
9271
9229
|
[P in string]:
|
|
9272
|
-
| '
|
|
9273
|
-
| 'MODEL_ENABLED'
|
|
9274
|
-
| 'MODEL_DISABLED';
|
|
9230
|
+
'MODEL_STATE_UNSPECIFIED' | 'MODEL_ENABLED' | 'MODEL_DISABLED';
|
|
9275
9231
|
};
|
|
9276
9232
|
/** Controls whether result extract is display and how (snippet or extractive answer). Default to no result if unspecified. */
|
|
9277
9233
|
resultDescriptionType?:
|
|
9278
|
-
| '
|
|
9279
|
-
| 'SNIPPET'
|
|
9280
|
-
| 'EXTRACTIVE_ANSWER';
|
|
9234
|
+
'RESULT_DISPLAY_TYPE_UNSPECIFIED' | 'SNIPPET' | 'EXTRACTIVE_ANSWER';
|
|
9281
9235
|
}
|
|
9282
9236
|
interface GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsGenerativeAnswerConfig {
|
|
9283
9237
|
/** Whether generated answer contains suggested related questions. */
|