@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20241010 → 0.0.20241020
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 +60 -36
- 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: 20241020
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -146,12 +146,19 @@ declare namespace gapi.client {
|
|
|
146
146
|
/** Human-readable name of a function or method—for example, `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend`. */
|
|
147
147
|
functionName?: string;
|
|
148
148
|
}
|
|
149
|
+
interface GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig {}
|
|
149
150
|
interface GoogleCloudDiscoveryengineV1alphaAclConfig {
|
|
150
151
|
/** Identity provider config. */
|
|
151
152
|
idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
152
153
|
/** 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. */
|
|
153
154
|
name?: string;
|
|
154
155
|
}
|
|
156
|
+
interface GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig {
|
|
157
|
+
/** If set true, automatic refresh is disabled for the DataStore. */
|
|
158
|
+
disableAutomaticRefresh?: boolean;
|
|
159
|
+
/** If set true, initial indexing is disabled for the DataStore. */
|
|
160
|
+
disableInitialIndex?: boolean;
|
|
161
|
+
}
|
|
155
162
|
interface GoogleCloudDiscoveryengineV1alphaAlloyDbSource {
|
|
156
163
|
/** Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters. */
|
|
157
164
|
clusterId?: string;
|
|
@@ -455,7 +462,7 @@ declare namespace gapi.client {
|
|
|
455
462
|
document?: string;
|
|
456
463
|
/** If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets. */
|
|
457
464
|
snippetInfo?: GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo[];
|
|
458
|
-
/** Data representation. The structured JSON data for the document. It's populated from the struct data from the Document, or the Chunk in search result.
|
|
465
|
+
/** Data representation. The structured JSON data for the document. It's populated from the struct data from the Document, or the Chunk in search result. */
|
|
459
466
|
structData?: {[P in string]: any};
|
|
460
467
|
/** Title. */
|
|
461
468
|
title?: string;
|
|
@@ -509,7 +516,7 @@ declare namespace gapi.client {
|
|
|
509
516
|
state?: string;
|
|
510
517
|
}
|
|
511
518
|
interface GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue {
|
|
512
|
-
/**
|
|
519
|
+
/** Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} */
|
|
513
520
|
fhirResource?: string;
|
|
514
521
|
/** If match by URI, the URI of the Document. */
|
|
515
522
|
uri?: string;
|
|
@@ -568,7 +575,7 @@ declare namespace gapi.client {
|
|
|
568
575
|
tableId?: string;
|
|
569
576
|
}
|
|
570
577
|
interface GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest {
|
|
571
|
-
/** Answer candidate to check.
|
|
578
|
+
/** Answer candidate to check. It can have a maximum length of 4096 tokens. */
|
|
572
579
|
answerCandidate?: string;
|
|
573
580
|
/** List of facts for the grounding check. We support up to 200 facts. */
|
|
574
581
|
facts?: GoogleCloudDiscoveryengineV1alphaGroundingFact[];
|
|
@@ -579,7 +586,7 @@ declare namespace gapi.client {
|
|
|
579
586
|
}
|
|
580
587
|
interface GoogleCloudDiscoveryengineV1alphaCheckGroundingResponse {
|
|
581
588
|
/** List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request. */
|
|
582
|
-
citedChunks?:
|
|
589
|
+
citedChunks?: GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseFactChunk[];
|
|
583
590
|
/** Claim texts and citation info across all claims in the answer candidate. */
|
|
584
591
|
claims?: GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim[];
|
|
585
592
|
/** The support score for the input answer candidate. Higher the score, higher is the fraction of claims that are supported by the provided facts. This is always set when a response is returned. */
|
|
@@ -597,6 +604,12 @@ declare namespace gapi.client {
|
|
|
597
604
|
/** Position indicating the start of the claim in the answer candidate, measured in bytes. */
|
|
598
605
|
startPos?: number;
|
|
599
606
|
}
|
|
607
|
+
interface GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseFactChunk {
|
|
608
|
+
/** Text content of the fact chunk. Can be at most 10K characters long. */
|
|
609
|
+
chunkText?: string;
|
|
610
|
+
/** Source from which this fact chunk was retrieved. For a fact chunk retrieved from inline facts, this field will contain the index of the specific fact from which this chunk was retrieved. */
|
|
611
|
+
source?: string;
|
|
612
|
+
}
|
|
600
613
|
interface GoogleCloudDiscoveryengineV1alphaCheckGroundingSpec {
|
|
601
614
|
/** The threshold (in [0,1]) used for determining whether a fact must be cited for a claim in the answer candidate. Choosing a higher threshold will lead to fewer but very strong citations, while choosing a lower threshold may lead to more but somewhat weaker citations. If unset, the threshold will default to 0.6. */
|
|
602
615
|
citationThreshold?: number;
|
|
@@ -734,7 +747,9 @@ declare namespace gapi.client {
|
|
|
734
747
|
interface GoogleCloudDiscoveryengineV1alphaCondition {
|
|
735
748
|
/** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
|
|
736
749
|
activeTimeRange?: GoogleCloudDiscoveryengineV1alphaConditionTimeRange[];
|
|
737
|
-
/**
|
|
750
|
+
/** Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. This is currently supporting promotion use case. */
|
|
751
|
+
queryRegex?: string;
|
|
752
|
+
/** Search only A list of terms to match the query on. Cannot be set when Condition.query_regex is set. Maximum of 10 query terms. */
|
|
738
753
|
queryTerms?: GoogleCloudDiscoveryengineV1alphaConditionQueryTerm[];
|
|
739
754
|
}
|
|
740
755
|
interface GoogleCloudDiscoveryengineV1alphaConditionQueryTerm {
|
|
@@ -891,7 +906,7 @@ declare namespace gapi.client {
|
|
|
891
906
|
enableSearchAdaptor?: boolean;
|
|
892
907
|
}
|
|
893
908
|
interface GoogleCloudDiscoveryengineV1alphaCustomTuningModel {
|
|
894
|
-
/** Timestamp the Model was created at. */
|
|
909
|
+
/** Deprecated: Timestamp the Model was created at. */
|
|
895
910
|
createTime?: string;
|
|
896
911
|
/** The display name of the model. */
|
|
897
912
|
displayName?: string;
|
|
@@ -911,6 +926,8 @@ declare namespace gapi.client {
|
|
|
911
926
|
interface GoogleCloudDiscoveryengineV1alphaDataStore {
|
|
912
927
|
/** Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. */
|
|
913
928
|
aclEnabled?: boolean;
|
|
929
|
+
/** Optional. Configuration for advanced site search. */
|
|
930
|
+
advancedSiteSearchConfig?: GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig;
|
|
914
931
|
/** Output only. Data size estimation for billing. */
|
|
915
932
|
billingEstimation?: GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation;
|
|
916
933
|
/** Output only. CMEK-related information for the DataStore. */
|
|
@@ -938,7 +955,7 @@ declare namespace gapi.client {
|
|
|
938
955
|
/** Optional. Configuration for Natural Language Query Understanding. */
|
|
939
956
|
naturalLanguageQueryUnderstandingConfig?: GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig;
|
|
940
957
|
/** Optional. Stores serving config at DataStore level. */
|
|
941
|
-
servingConfigDataStore?:
|
|
958
|
+
servingConfigDataStore?: GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore;
|
|
942
959
|
/** The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */
|
|
943
960
|
solutionTypes?: string[];
|
|
944
961
|
/** The start schema to use for this DataStore when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by CreateDataStore API, and will be ignored if used in other APIs. This field will be omitted from all API responses including CreateDataStore API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). */
|
|
@@ -960,6 +977,10 @@ declare namespace gapi.client {
|
|
|
960
977
|
/** Last updated timestamp for websites. */
|
|
961
978
|
websiteDataUpdateTime?: string;
|
|
962
979
|
}
|
|
980
|
+
interface GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore {
|
|
981
|
+
/** If set true, the DataStore will not be available for serving search requests. */
|
|
982
|
+
disabledForServing?: boolean;
|
|
983
|
+
}
|
|
963
984
|
interface GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata {
|
|
964
985
|
/** Operation create time. */
|
|
965
986
|
createTime?: string;
|
|
@@ -1259,16 +1280,6 @@ declare namespace gapi.client {
|
|
|
1259
1280
|
/** Required. The full resource name of the SampleQuerySet used for the evaluation, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. */
|
|
1260
1281
|
sampleQuerySet?: string;
|
|
1261
1282
|
}
|
|
1262
|
-
interface GoogleCloudDiscoveryengineV1alphaFactChunk {
|
|
1263
|
-
/** Text content of the fact chunk. Can be at most 10K characters long. */
|
|
1264
|
-
chunkText?: string;
|
|
1265
|
-
/** The index of this chunk. Currently, only used for the streaming mode. */
|
|
1266
|
-
index?: number;
|
|
1267
|
-
/** Source from which this fact chunk was retrieved. If it was retrieved from the GroundingFacts provided in the request then this field will contain the index of the specific fact from which this chunk was retrieved. */
|
|
1268
|
-
source?: string;
|
|
1269
|
-
/** More fine-grained information for the source reference. */
|
|
1270
|
-
sourceMetadata?: {[P in string]: string};
|
|
1271
|
-
}
|
|
1272
1283
|
interface GoogleCloudDiscoveryengineV1alphaFetchDomainVerificationStatusResponse {
|
|
1273
1284
|
/** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
1274
1285
|
nextPageToken?: string;
|
|
@@ -1900,8 +1911,10 @@ declare namespace gapi.client {
|
|
|
1900
1911
|
interface GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata {
|
|
1901
1912
|
/** Operation create time. */
|
|
1902
1913
|
createTime?: string;
|
|
1903
|
-
/** Unique URIs in the request that
|
|
1914
|
+
/** Unique URIs in the request that have invalid format. Sample limited to 1000. */
|
|
1904
1915
|
invalidUris?: string[];
|
|
1916
|
+
/** Total number of unique URIs in the request that have invalid format. */
|
|
1917
|
+
invalidUrisCount?: number;
|
|
1905
1918
|
/** Total number of URIs that have yet to be crawled. */
|
|
1906
1919
|
pendingCount?: number;
|
|
1907
1920
|
/** Total number of URIs that were rejected due to insufficient indexing resources. */
|
|
@@ -1910,6 +1923,10 @@ declare namespace gapi.client {
|
|
|
1910
1923
|
successCount?: number;
|
|
1911
1924
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1912
1925
|
updateTime?: string;
|
|
1926
|
+
/** Unique URIs in the request that don't match any TargetSite in the DataStore, only match TargetSites that haven't been fully indexed, or match a TargetSite with type EXCLUDE. Sample limited to 1000. */
|
|
1927
|
+
urisNotMatchingTargetSites?: string[];
|
|
1928
|
+
/** Total number of URIs that don't match any TargetSites. */
|
|
1929
|
+
urisNotMatchingTargetSitesCount?: number;
|
|
1913
1930
|
/** Total number of unique URIs in the request that are not in invalid_uris. */
|
|
1914
1931
|
validUrisCount?: number;
|
|
1915
1932
|
}
|
|
@@ -2559,10 +2576,6 @@ declare namespace gapi.client {
|
|
|
2559
2576
|
/** Output only. ServingConfig updated timestamp. */
|
|
2560
2577
|
updateTime?: string;
|
|
2561
2578
|
}
|
|
2562
|
-
interface GoogleCloudDiscoveryengineV1alphaServingConfigDataStore {
|
|
2563
|
-
/** If set true, the DataStore will not be available for serving search requests. */
|
|
2564
|
-
disabledForServing?: boolean;
|
|
2565
|
-
}
|
|
2566
2579
|
interface GoogleCloudDiscoveryengineV1alphaServingConfigGenericConfig {
|
|
2567
2580
|
/** Specifies the expected behavior of content search. Only valid for content-search enabled data store. */
|
|
2568
2581
|
contentSearchSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec;
|
|
@@ -2574,6 +2587,8 @@ declare namespace gapi.client {
|
|
|
2574
2587
|
contentWatchedPercentageThreshold?: number;
|
|
2575
2588
|
/** Specifies the content watched minutes threshold for demotion. */
|
|
2576
2589
|
contentWatchedSecondsThreshold?: number;
|
|
2590
|
+
/** 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. */
|
|
2591
|
+
demoteContentWatchedPastDays?: number;
|
|
2577
2592
|
/** 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. */
|
|
2578
2593
|
demotionEventType?: string;
|
|
2579
2594
|
}
|
|
@@ -2822,6 +2837,7 @@ declare namespace gapi.client {
|
|
|
2822
2837
|
/** TargetSites created. */
|
|
2823
2838
|
targetSites?: GoogleCloudDiscoveryengineV1TargetSite[];
|
|
2824
2839
|
}
|
|
2840
|
+
interface GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig {}
|
|
2825
2841
|
interface GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata {
|
|
2826
2842
|
/** Operation create time. */
|
|
2827
2843
|
createTime?: string;
|
|
@@ -2849,7 +2865,9 @@ declare namespace gapi.client {
|
|
|
2849
2865
|
interface GoogleCloudDiscoveryengineV1betaCondition {
|
|
2850
2866
|
/** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
|
|
2851
2867
|
activeTimeRange?: GoogleCloudDiscoveryengineV1betaConditionTimeRange[];
|
|
2852
|
-
/**
|
|
2868
|
+
/** Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. This is currently supporting promotion use case. */
|
|
2869
|
+
queryRegex?: string;
|
|
2870
|
+
/** Search only A list of terms to match the query on. Cannot be set when Condition.query_regex is set. Maximum of 10 query terms. */
|
|
2853
2871
|
queryTerms?: GoogleCloudDiscoveryengineV1betaConditionQueryTerm[];
|
|
2854
2872
|
}
|
|
2855
2873
|
interface GoogleCloudDiscoveryengineV1betaConditionQueryTerm {
|
|
@@ -2934,7 +2952,7 @@ declare namespace gapi.client {
|
|
|
2934
2952
|
updateTime?: string;
|
|
2935
2953
|
}
|
|
2936
2954
|
interface GoogleCloudDiscoveryengineV1betaCustomTuningModel {
|
|
2937
|
-
/** Timestamp the Model was created at. */
|
|
2955
|
+
/** Deprecated: Timestamp the Model was created at. */
|
|
2938
2956
|
createTime?: string;
|
|
2939
2957
|
/** The display name of the model. */
|
|
2940
2958
|
displayName?: string;
|
|
@@ -2952,6 +2970,8 @@ declare namespace gapi.client {
|
|
|
2952
2970
|
trainingStartTime?: string;
|
|
2953
2971
|
}
|
|
2954
2972
|
interface GoogleCloudDiscoveryengineV1betaDataStore {
|
|
2973
|
+
/** Optional. Configuration for advanced site search. */
|
|
2974
|
+
advancedSiteSearchConfig?: any;
|
|
2955
2975
|
/** Output only. Data size estimation for billing. */
|
|
2956
2976
|
billingEstimation?: GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation;
|
|
2957
2977
|
/** Output only. CMEK-related information for the DataStore. */
|
|
@@ -2977,7 +2997,7 @@ declare namespace gapi.client {
|
|
|
2977
2997
|
/** Optional. Configuration for Natural Language Query Understanding. */
|
|
2978
2998
|
naturalLanguageQueryUnderstandingConfig?: GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig;
|
|
2979
2999
|
/** Optional. Stores serving config at DataStore level. */
|
|
2980
|
-
servingConfigDataStore?:
|
|
3000
|
+
servingConfigDataStore?: GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore;
|
|
2981
3001
|
/** The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */
|
|
2982
3002
|
solutionTypes?: string[];
|
|
2983
3003
|
/** The start schema to use for this DataStore when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by CreateDataStore API, and will be ignored if used in other APIs. This field will be omitted from all API responses including CreateDataStore API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). */
|
|
@@ -2999,6 +3019,10 @@ declare namespace gapi.client {
|
|
|
2999
3019
|
/** Last updated timestamp for websites. */
|
|
3000
3020
|
websiteDataUpdateTime?: string;
|
|
3001
3021
|
}
|
|
3022
|
+
interface GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore {
|
|
3023
|
+
/** If set true, the DataStore will not be available for serving search requests. */
|
|
3024
|
+
disabledForServing?: boolean;
|
|
3025
|
+
}
|
|
3002
3026
|
interface GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata {
|
|
3003
3027
|
/** Operation create time. */
|
|
3004
3028
|
createTime?: string;
|
|
@@ -3600,10 +3624,6 @@ declare namespace gapi.client {
|
|
|
3600
3624
|
/** The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO. */
|
|
3601
3625
|
mode?: string;
|
|
3602
3626
|
}
|
|
3603
|
-
interface GoogleCloudDiscoveryengineV1betaServingConfigDataStore {
|
|
3604
|
-
/** If set true, the DataStore will not be available for serving search requests. */
|
|
3605
|
-
disabledForServing?: boolean;
|
|
3606
|
-
}
|
|
3607
3627
|
interface GoogleCloudDiscoveryengineV1betaSiteVerificationInfo {
|
|
3608
3628
|
/** Site verification state indicating the ownership and validity. */
|
|
3609
3629
|
siteVerificationState?: string;
|
|
@@ -3708,7 +3728,9 @@ declare namespace gapi.client {
|
|
|
3708
3728
|
interface GoogleCloudDiscoveryengineV1Condition {
|
|
3709
3729
|
/** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
|
|
3710
3730
|
activeTimeRange?: GoogleCloudDiscoveryengineV1ConditionTimeRange[];
|
|
3711
|
-
/**
|
|
3731
|
+
/** Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. This is currently supporting promotion use case. */
|
|
3732
|
+
queryRegex?: string;
|
|
3733
|
+
/** Search only A list of terms to match the query on. Cannot be set when Condition.query_regex is set. Maximum of 10 query terms. */
|
|
3712
3734
|
queryTerms?: GoogleCloudDiscoveryengineV1ConditionQueryTerm[];
|
|
3713
3735
|
}
|
|
3714
3736
|
interface GoogleCloudDiscoveryengineV1ConditionQueryTerm {
|
|
@@ -3792,6 +3814,8 @@ declare namespace gapi.client {
|
|
|
3792
3814
|
updateTime?: string;
|
|
3793
3815
|
}
|
|
3794
3816
|
interface GoogleCloudDiscoveryengineV1DataStore {
|
|
3817
|
+
/** Optional. Configuration for advanced site search. */
|
|
3818
|
+
advancedSiteSearchConfig?: any;
|
|
3795
3819
|
/** Output only. Data size estimation for billing. */
|
|
3796
3820
|
billingEstimation?: GoogleCloudDiscoveryengineV1DataStoreBillingEstimation;
|
|
3797
3821
|
/** Output only. CMEK-related information for the DataStore. */
|
|
@@ -3813,7 +3837,7 @@ declare namespace gapi.client {
|
|
|
3813
3837
|
/** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
3814
3838
|
name?: string;
|
|
3815
3839
|
/** Optional. Stores serving config at DataStore level. */
|
|
3816
|
-
servingConfigDataStore?:
|
|
3840
|
+
servingConfigDataStore?: GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore;
|
|
3817
3841
|
/** The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */
|
|
3818
3842
|
solutionTypes?: string[];
|
|
3819
3843
|
/** The start schema to use for this DataStore when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by CreateDataStore API, and will be ignored if used in other APIs. This field will be omitted from all API responses including CreateDataStore API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). */
|
|
@@ -3835,6 +3859,10 @@ declare namespace gapi.client {
|
|
|
3835
3859
|
/** Last updated timestamp for websites. */
|
|
3836
3860
|
websiteDataUpdateTime?: string;
|
|
3837
3861
|
}
|
|
3862
|
+
interface GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore {
|
|
3863
|
+
/** If set true, the DataStore will not be available for serving search requests. */
|
|
3864
|
+
disabledForServing?: boolean;
|
|
3865
|
+
}
|
|
3838
3866
|
interface GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata {
|
|
3839
3867
|
/** Operation create time. */
|
|
3840
3868
|
createTime?: string;
|
|
@@ -4114,10 +4142,6 @@ declare namespace gapi.client {
|
|
|
4114
4142
|
/** The structured representation of the schema. */
|
|
4115
4143
|
structSchema?: {[P in string]: any};
|
|
4116
4144
|
}
|
|
4117
|
-
interface GoogleCloudDiscoveryengineV1ServingConfigDataStore {
|
|
4118
|
-
/** If set true, the DataStore will not be available for serving search requests. */
|
|
4119
|
-
disabledForServing?: boolean;
|
|
4120
|
-
}
|
|
4121
4145
|
interface GoogleCloudDiscoveryengineV1SiteVerificationInfo {
|
|
4122
4146
|
/** Site verification state indicating the ownership and validity. */
|
|
4123
4147
|
siteVerificationState?: string;
|