@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20241020 → 0.0.20241030
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 +801 -35
- 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: 20241030
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -94,12 +94,24 @@ declare namespace gapi.client {
|
|
|
94
94
|
/** Application specific response metadata. Must be set in the first response for streaming APIs. */
|
|
95
95
|
extensions?: Array<{[P in string]: any}>;
|
|
96
96
|
}
|
|
97
|
+
interface GoogleApiMetric {
|
|
98
|
+
/** The set of label values that uniquely identify this metric. All labels listed in the `MetricDescriptor` must be assigned values. */
|
|
99
|
+
labels?: {[P in string]: string};
|
|
100
|
+
/** An existing metric type, see google.api.MetricDescriptor. For example, `custom.googleapis.com/invoice/paid/amount`. */
|
|
101
|
+
type?: string;
|
|
102
|
+
}
|
|
97
103
|
interface GoogleApiMonitoredResource {
|
|
98
104
|
/** Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels `"project_id"`, `"instance_id"`, and `"zone"`. */
|
|
99
105
|
labels?: {[P in string]: string};
|
|
100
106
|
/** Required. The monitored resource type. This field must match the `type` field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is `gce_instance`. Some descriptors include the service name in the type; for example, the type of a Datastream stream is `datastream.googleapis.com/Stream`. */
|
|
101
107
|
type?: string;
|
|
102
108
|
}
|
|
109
|
+
interface GoogleApiMonitoredResourceMetadata {
|
|
110
|
+
/** Output only. Values for predefined system metadata labels. System labels are a kind of metadata extracted by Google, including "machine_image", "vpc", "subnet_id", "security_group", "name", etc. System label values can be only strings, Boolean values, or a list of strings. For example: { "name": "my-test-instance", "security_group": ["a", "b", "c"], "spot_instance": false } */
|
|
111
|
+
systemLabels?: {[P in string]: any};
|
|
112
|
+
/** Output only. A map of user-defined metadata labels. */
|
|
113
|
+
userLabels?: {[P in string]: string};
|
|
114
|
+
}
|
|
103
115
|
interface GoogleCloudDiscoveryengineLoggingErrorContext {
|
|
104
116
|
/** The HTTP request which was processed when the error was triggered. */
|
|
105
117
|
httpRequest?: GoogleCloudDiscoveryengineLoggingHttpRequestContext;
|
|
@@ -153,6 +165,78 @@ declare namespace gapi.client {
|
|
|
153
165
|
/** 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. */
|
|
154
166
|
name?: string;
|
|
155
167
|
}
|
|
168
|
+
interface GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest {
|
|
169
|
+
/** Optional. Specification to boost suggestions matching the condition. */
|
|
170
|
+
boostSpec?: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpec;
|
|
171
|
+
/** Indicates if tail suggestions should be returned if there are no suggestions that match the full query. Even if set to true, if there are suggestions that match the full query, those are returned and no tail suggestions are returned. */
|
|
172
|
+
includeTailSuggestions?: boolean;
|
|
173
|
+
/** Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters. The query can not be empty for most of the suggestion types. If it is empty, an `INVALID_ARGUMENT` error is returned. The exception is when the suggestion_types contains only the type `RECENT_SEARCH`, the query can be an empty string. The is called "zero prefix" feature, which returns user's recently searched queries given the empty query. */
|
|
174
|
+
query?: string;
|
|
175
|
+
/** Specifies the autocomplete data model. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores. */
|
|
176
|
+
queryModel?: string;
|
|
177
|
+
/** Optional. Suggestion types to return. If empty or unspecified, query suggestions are returned. Only one suggestion type is supported at the moment. */
|
|
178
|
+
suggestionTypes?: string[];
|
|
179
|
+
/** Optional. Information about the end user. This should be the same identifier information as UserEvent.user_info and SearchRequest.user_info. */
|
|
180
|
+
userInfo?: GoogleCloudDiscoveryengineV1alphaUserInfo;
|
|
181
|
+
/** A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 */
|
|
182
|
+
userPseudoId?: string;
|
|
183
|
+
}
|
|
184
|
+
interface GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpec {
|
|
185
|
+
/** Condition boost specifications. If a suggestion matches multiple conditions in the specifictions, boost values from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. Note: Currently only support language condition boost. */
|
|
186
|
+
conditionBoostSpecs?: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec[];
|
|
187
|
+
}
|
|
188
|
+
interface GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec {
|
|
189
|
+
/** Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the suggestions a big promotion. However, it does not necessarily mean that the top result will be a boosted suggestion. Setting to -1.0 gives the suggestions a big demotion. However, other suggestions that are relevant might still be shown. Setting to 0.0 means no boost applied. The boosting condition is ignored. */
|
|
190
|
+
boost?: number;
|
|
191
|
+
/** An expression which specifies a boost condition. The syntax is the same as [filter expression syntax](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax). Currently, the only supported condition is a list of BCP-47 lang codes. Example: * To boost suggestions in languages `en` or `fr`: `(lang_code: ANY("en", "fr"))` */
|
|
192
|
+
condition?: string;
|
|
193
|
+
}
|
|
194
|
+
interface GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse {
|
|
195
|
+
/** Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion. */
|
|
196
|
+
contentSuggestions?: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion[];
|
|
197
|
+
/** Results of the matched people suggestions. The result list is ordered and the first result is the top suggestion. */
|
|
198
|
+
peopleSuggestions?: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSuggestion[];
|
|
199
|
+
/** Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion. */
|
|
200
|
+
querySuggestions?: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseQuerySuggestion[];
|
|
201
|
+
/** Results of the matched "recent search" suggestions. The result list is ordered and the first result is the top suggestion. */
|
|
202
|
+
recentSearchSuggestions?: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseRecentSearchSuggestion[];
|
|
203
|
+
/** True if the returned suggestions are all tail suggestions. For tail matching to be triggered, include_tail_suggestions in the request must be true and there must be no suggestions that match the full query. */
|
|
204
|
+
tailMatchTriggered?: boolean;
|
|
205
|
+
}
|
|
206
|
+
interface GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion {
|
|
207
|
+
/** The type of the content suggestion. */
|
|
208
|
+
contentType?: string;
|
|
209
|
+
/** The name of the dataStore that this suggestion belongs to. */
|
|
210
|
+
dataStore?: string;
|
|
211
|
+
/** The document data snippet in the suggestion. Only a subset of fields will be populated. */
|
|
212
|
+
document?: GoogleCloudDiscoveryengineV1alphaDocument;
|
|
213
|
+
/** The suggestion for the query. */
|
|
214
|
+
suggestion?: string;
|
|
215
|
+
}
|
|
216
|
+
interface GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSuggestion {
|
|
217
|
+
/** The name of the dataStore that this suggestion belongs to. */
|
|
218
|
+
dataStore?: string;
|
|
219
|
+
/** The document data snippet in the suggestion. Only a subset of fields is populated. */
|
|
220
|
+
document?: GoogleCloudDiscoveryengineV1alphaDocument;
|
|
221
|
+
/** The type of the person. */
|
|
222
|
+
personType?: string;
|
|
223
|
+
/** The suggestion for the query. */
|
|
224
|
+
suggestion?: string;
|
|
225
|
+
}
|
|
226
|
+
interface GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseQuerySuggestion {
|
|
227
|
+
/** The unique document field paths that serve as the source of this suggestion if it was generated from completable fields. This field is only populated for the document-completable model. */
|
|
228
|
+
completableFieldPaths?: string[];
|
|
229
|
+
/** The name of the dataStore that this suggestion belongs to. */
|
|
230
|
+
dataStore?: string[];
|
|
231
|
+
/** The suggestion for the query. */
|
|
232
|
+
suggestion?: string;
|
|
233
|
+
}
|
|
234
|
+
interface GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseRecentSearchSuggestion {
|
|
235
|
+
/** The time when this recent rearch happened. */
|
|
236
|
+
recentSearchTime?: string;
|
|
237
|
+
/** The suggestion for the query. */
|
|
238
|
+
suggestion?: string;
|
|
239
|
+
}
|
|
156
240
|
interface GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig {
|
|
157
241
|
/** If set true, automatic refresh is disabled for the DataStore. */
|
|
158
242
|
disableAutomaticRefresh?: boolean;
|
|
@@ -214,6 +298,8 @@ declare namespace gapi.client {
|
|
|
214
298
|
answerGenerationSpec?: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpec;
|
|
215
299
|
/** Deprecated: This field is deprecated. Streaming Answer API will be supported. Asynchronous mode control. If enabled, the response will be returned with answer/session resource name without final answer. The API users need to do the polling to get the latest status of answer/session by calling ConversationalSearchService.GetAnswer or ConversationalSearchService.GetSession method. */
|
|
216
300
|
asynchronousMode?: boolean;
|
|
301
|
+
/** Optional. Grounding specification. */
|
|
302
|
+
groundingSpec?: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestGroundingSpec;
|
|
217
303
|
/** Required. Current user query. */
|
|
218
304
|
query?: GoogleCloudDiscoveryengineV1alphaQuery;
|
|
219
305
|
/** Query understanding specification. */
|
|
@@ -257,6 +343,12 @@ declare namespace gapi.client {
|
|
|
257
343
|
/** Customized preamble. */
|
|
258
344
|
preamble?: string;
|
|
259
345
|
}
|
|
346
|
+
interface GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestGroundingSpec {
|
|
347
|
+
/** Optional. Specifies whether to enable the filtering based on grounding score and at what level. */
|
|
348
|
+
filteringLevel?: string;
|
|
349
|
+
/** Optional. Specifies whether to include grounding_supports in the answer. The default value is `false`. When this field is set to `true`, returned answer will have `grounding_score` and will contain GroundingSupports for each claim. */
|
|
350
|
+
includeGroundingSupports?: boolean;
|
|
351
|
+
}
|
|
260
352
|
interface GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec {
|
|
261
353
|
/** Query classification specification. */
|
|
262
354
|
queryClassificationSpec?: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec;
|
|
@@ -864,6 +956,10 @@ declare namespace gapi.client {
|
|
|
864
956
|
/** Search Results. */
|
|
865
957
|
searchResults?: GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult[];
|
|
866
958
|
}
|
|
959
|
+
interface GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries {
|
|
960
|
+
/** The QPS of the crawl rate. */
|
|
961
|
+
qpsTimeSeries?: GoogleMonitoringV3TimeSeries;
|
|
962
|
+
}
|
|
867
963
|
interface GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata {
|
|
868
964
|
/** Operation create time. */
|
|
869
965
|
createTime?: string;
|
|
@@ -883,6 +979,12 @@ declare namespace gapi.client {
|
|
|
883
979
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
884
980
|
updateTime?: string;
|
|
885
981
|
}
|
|
982
|
+
interface GoogleCloudDiscoveryengineV1alphaCreateSitemapMetadata {
|
|
983
|
+
/** Operation create time. */
|
|
984
|
+
createTime?: string;
|
|
985
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
986
|
+
updateTime?: string;
|
|
987
|
+
}
|
|
886
988
|
interface GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata {
|
|
887
989
|
/** Operation create time. */
|
|
888
990
|
createTime?: string;
|
|
@@ -981,6 +1083,12 @@ declare namespace gapi.client {
|
|
|
981
1083
|
/** If set true, the DataStore will not be available for serving search requests. */
|
|
982
1084
|
disabledForServing?: boolean;
|
|
983
1085
|
}
|
|
1086
|
+
interface GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries {
|
|
1087
|
+
/** Vertex AI's dedicated crawl rate time series of auto-refresh, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is set, and the crawl rate is for best effort use cases like refreshing urls periodically. */
|
|
1088
|
+
autoRefreshCrawlRate?: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
|
|
1089
|
+
/** Vertex AI's dedicated crawl rate time series of user triggered crawl, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is set, and user triggered crawl rate is for deterministic use cases like crawling urls or sitemaps specified by users. */
|
|
1090
|
+
userTriggeredCrawlRate?: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
|
|
1091
|
+
}
|
|
984
1092
|
interface GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata {
|
|
985
1093
|
/** Operation create time. */
|
|
986
1094
|
createTime?: string;
|
|
@@ -999,6 +1107,12 @@ declare namespace gapi.client {
|
|
|
999
1107
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1000
1108
|
updateTime?: string;
|
|
1001
1109
|
}
|
|
1110
|
+
interface GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata {
|
|
1111
|
+
/** Operation create time. */
|
|
1112
|
+
createTime?: string;
|
|
1113
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1114
|
+
updateTime?: string;
|
|
1115
|
+
}
|
|
1002
1116
|
interface GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata {
|
|
1003
1117
|
/** Operation create time. */
|
|
1004
1118
|
createTime?: string;
|
|
@@ -1288,6 +1402,14 @@ declare namespace gapi.client {
|
|
|
1288
1402
|
/** The total number of items matching the request. This will always be populated in the response. */
|
|
1289
1403
|
totalSize?: number;
|
|
1290
1404
|
}
|
|
1405
|
+
interface GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse {
|
|
1406
|
+
/** List of Sitemaps fetched. */
|
|
1407
|
+
sitemapsMetadata?: GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata[];
|
|
1408
|
+
}
|
|
1409
|
+
interface GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata {
|
|
1410
|
+
/** The Sitemap. */
|
|
1411
|
+
sitemap?: GoogleCloudDiscoveryengineV1alphaSitemap;
|
|
1412
|
+
}
|
|
1291
1413
|
interface GoogleCloudDiscoveryengineV1alphaFhirStoreSource {
|
|
1292
1414
|
/** Required. The full resource name of the FHIR store to import data from, in the format of `projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}`. */
|
|
1293
1415
|
fhirStore?: string;
|
|
@@ -1672,6 +1794,22 @@ declare namespace gapi.client {
|
|
|
1672
1794
|
/** Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. */
|
|
1673
1795
|
mode?: string;
|
|
1674
1796
|
}
|
|
1797
|
+
interface GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse {
|
|
1798
|
+
/** The historical dedicated crawl rate timeseries data, used for monitoring. */
|
|
1799
|
+
dedicatedCrawlRateTimeSeries?: GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries;
|
|
1800
|
+
/** Errors from service when handling the request. */
|
|
1801
|
+
error?: GoogleRpcStatus;
|
|
1802
|
+
/** The historical organic crawl rate timeseries data, used for monitoring. */
|
|
1803
|
+
organicCrawlRateTimeSeries?: GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries;
|
|
1804
|
+
/** Output only. The state of the response. */
|
|
1805
|
+
state?: string;
|
|
1806
|
+
}
|
|
1807
|
+
interface GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries {
|
|
1808
|
+
/** Google's organic crawl rate time series, which is the sum of all googlebots' crawl rate. Please refer to https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers for more details about googlebots. */
|
|
1809
|
+
googleOrganicCrawlRate?: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
|
|
1810
|
+
/** Vertex AI's organic crawl rate time series, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is not set. Please refer to https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers#google-cloudvertexbot for more details about Google-CloudVertexBot. */
|
|
1811
|
+
vertexAiOrganicCrawlRate?: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
|
|
1812
|
+
}
|
|
1675
1813
|
interface GoogleCloudDiscoveryengineV1alphaPageInfo {
|
|
1676
1814
|
/** The most specific category associated with a category page. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: `"pageCategory" : "Sales > 2017 Black Friday Deals"`. Required for `view-category-page` events. Other event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
1677
1815
|
pageCategory?: string;
|
|
@@ -2627,6 +2765,14 @@ declare namespace gapi.client {
|
|
|
2627
2765
|
schema?: {[P in string]: any};
|
|
2628
2766
|
}
|
|
2629
2767
|
interface GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse {}
|
|
2768
|
+
interface GoogleCloudDiscoveryengineV1alphaSitemap {
|
|
2769
|
+
/** Output only. The sitemap's creation time. */
|
|
2770
|
+
createTime?: string;
|
|
2771
|
+
/** Output only. The fully qualified resource name of the sitemap. `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*` The `sitemap_id` suffix is system-generated. */
|
|
2772
|
+
name?: string;
|
|
2773
|
+
/** Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`. */
|
|
2774
|
+
uri?: string;
|
|
2775
|
+
}
|
|
2630
2776
|
interface GoogleCloudDiscoveryengineV1alphaSiteSearchEngine {
|
|
2631
2777
|
/** The fully qualified resource name of the site search engine. Format: `projects/*/locations/*/dataStores/*/siteSearchEngine` */
|
|
2632
2778
|
name?: string;
|
|
@@ -2786,7 +2932,7 @@ declare namespace gapi.client {
|
|
|
2786
2932
|
engine?: string;
|
|
2787
2933
|
/** Only required for UserEventService.ImportUserEvents method. Timestamp of when the user event happened. */
|
|
2788
2934
|
eventTime?: string;
|
|
2789
|
-
/** Required. User event type. Allowed values are: Generic values: * `search`: Search for Documents. * `view-item`: Detailed page view of a Document. * `view-item-list`: View of a panel or ordered list of Documents. * `view-home-page`: View of the home page. * `view-category-page`: View of a category page, e.g. Home > Men > Jeans Retail-related values: * `add-to-cart`: Add an item(s) to cart, e.g. in Retail online shopping * `purchase`: Purchase an item(s) Media-related values: * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. */
|
|
2935
|
+
/** Required. User event type. Allowed values are: Generic values: * `search`: Search for Documents. * `view-item`: Detailed page view of a Document. * `view-item-list`: View of a panel or ordered list of Documents. * `view-home-page`: View of the home page. * `view-category-page`: View of a category page, e.g. Home > Men > Jeans * `add-feedback`: Add a user feedback. Retail-related values: * `add-to-cart`: Add an item(s) to cart, e.g. in Retail online shopping * `purchase`: Purchase an item(s) Media-related values: * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. */
|
|
2790
2936
|
eventType?: string;
|
|
2791
2937
|
/** The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. One example is for `search` events, the associated SearchRequest may contain a filter expression in SearchRequest.filter conforming to https://google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are generated from a RecommendRequest, this field may be populated directly from RecommendRequest.filter conforming to https://google.aip.dev/160#filtering. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
2792
2938
|
filter?: string;
|
|
@@ -2945,6 +3091,12 @@ declare namespace gapi.client {
|
|
|
2945
3091
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
2946
3092
|
updateTime?: string;
|
|
2947
3093
|
}
|
|
3094
|
+
interface GoogleCloudDiscoveryengineV1betaCreateSitemapMetadata {
|
|
3095
|
+
/** Operation create time. */
|
|
3096
|
+
createTime?: string;
|
|
3097
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
3098
|
+
updateTime?: string;
|
|
3099
|
+
}
|
|
2948
3100
|
interface GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata {
|
|
2949
3101
|
/** Operation create time. */
|
|
2950
3102
|
createTime?: string;
|
|
@@ -3041,6 +3193,12 @@ declare namespace gapi.client {
|
|
|
3041
3193
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
3042
3194
|
updateTime?: string;
|
|
3043
3195
|
}
|
|
3196
|
+
interface GoogleCloudDiscoveryengineV1betaDeleteSitemapMetadata {
|
|
3197
|
+
/** Operation create time. */
|
|
3198
|
+
createTime?: string;
|
|
3199
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
3200
|
+
updateTime?: string;
|
|
3201
|
+
}
|
|
3044
3202
|
interface GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata {
|
|
3045
3203
|
/** Operation create time. */
|
|
3046
3204
|
createTime?: string;
|
|
@@ -3183,6 +3341,14 @@ declare namespace gapi.client {
|
|
|
3183
3341
|
/** Required. The full resource name of the SampleQuerySet used for the evaluation, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. */
|
|
3184
3342
|
sampleQuerySet?: string;
|
|
3185
3343
|
}
|
|
3344
|
+
interface GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse {
|
|
3345
|
+
/** List of Sitemaps fetched. */
|
|
3346
|
+
sitemapsMetadata?: GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata[];
|
|
3347
|
+
}
|
|
3348
|
+
interface GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata {
|
|
3349
|
+
/** The Sitemap. */
|
|
3350
|
+
sitemap?: GoogleCloudDiscoveryengineV1betaSitemap;
|
|
3351
|
+
}
|
|
3186
3352
|
interface GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata {
|
|
3187
3353
|
/** Operation create time. */
|
|
3188
3354
|
createTime?: string;
|
|
@@ -3624,6 +3790,14 @@ declare namespace gapi.client {
|
|
|
3624
3790
|
/** The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO. */
|
|
3625
3791
|
mode?: string;
|
|
3626
3792
|
}
|
|
3793
|
+
interface GoogleCloudDiscoveryengineV1betaSitemap {
|
|
3794
|
+
/** Output only. The sitemap's creation time. */
|
|
3795
|
+
createTime?: string;
|
|
3796
|
+
/** Output only. The fully qualified resource name of the sitemap. `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*` The `sitemap_id` suffix is system-generated. */
|
|
3797
|
+
name?: string;
|
|
3798
|
+
/** Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`. */
|
|
3799
|
+
uri?: string;
|
|
3800
|
+
}
|
|
3627
3801
|
interface GoogleCloudDiscoveryengineV1betaSiteVerificationInfo {
|
|
3628
3802
|
/** Site verification state indicating the ownership and validity. */
|
|
3629
3803
|
siteVerificationState?: string;
|
|
@@ -4243,6 +4417,36 @@ declare namespace gapi.client {
|
|
|
4243
4417
|
/** The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. */
|
|
4244
4418
|
response?: {[P in string]: any};
|
|
4245
4419
|
}
|
|
4420
|
+
interface GoogleMonitoringV3Point {
|
|
4421
|
+
/** The time interval to which the data point applies. For `GAUGE` metrics, the start time is optional, but if it is supplied, it must equal the end time. For `DELTA` metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For `CUMULATIVE` metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points. */
|
|
4422
|
+
interval?: GoogleMonitoringV3TimeInterval;
|
|
4423
|
+
/** The value of the data point. */
|
|
4424
|
+
value?: GoogleMonitoringV3TypedValue;
|
|
4425
|
+
}
|
|
4426
|
+
interface GoogleMonitoringV3TimeInterval {
|
|
4427
|
+
/** Required. The end of the time interval. */
|
|
4428
|
+
endTime?: string;
|
|
4429
|
+
/** Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time. */
|
|
4430
|
+
startTime?: string;
|
|
4431
|
+
}
|
|
4432
|
+
interface GoogleMonitoringV3TimeSeries {
|
|
4433
|
+
/** Input only. A detailed description of the time series that will be associated with the google.api.MetricDescriptor for the metric. Once set, this field cannot be changed through CreateTimeSeries. */
|
|
4434
|
+
description?: string;
|
|
4435
|
+
/** Output only. The associated monitored resource metadata. When reading a time series, this field will include metadata labels that are explicitly named in the reduction. When creating a time series, this field is ignored. */
|
|
4436
|
+
metadata?: GoogleApiMonitoredResourceMetadata;
|
|
4437
|
+
/** The associated metric. A fully-specified metric used to identify the time series. */
|
|
4438
|
+
metric?: GoogleApiMetric;
|
|
4439
|
+
/** The metric kind of the time series. When listing time series, this metric kind might be different from the metric kind of the associated metric if this time series is an alignment or reduction of other time series. When creating a time series, this field is optional. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either `GAUGE` (the default) or `CUMULATIVE`. */
|
|
4440
|
+
metricKind?: string;
|
|
4441
|
+
/** The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`. */
|
|
4442
|
+
points?: GoogleMonitoringV3Point[];
|
|
4443
|
+
/** The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data. For more information, see [Monitored resources for custom metrics](https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources). */
|
|
4444
|
+
resource?: GoogleApiMonitoredResource;
|
|
4445
|
+
/** The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values. This field can only be changed through CreateTimeSeries when it is empty. */
|
|
4446
|
+
unit?: string;
|
|
4447
|
+
/** The value type of the time series. When listing time series, this value type might be different from the value type of the associated metric if this time series is an alignment or reduction of other time series. When creating a time series, this field is optional. If present, it must be the same as the type of the data in the `points` field. */
|
|
4448
|
+
valueType?: string;
|
|
4449
|
+
}
|
|
4246
4450
|
interface GoogleMonitoringV3TypedValue {
|
|
4247
4451
|
/** A Boolean value: `true` or `false`. */
|
|
4248
4452
|
boolValue?: boolean;
|
|
@@ -5043,6 +5247,66 @@ declare namespace gapi.client {
|
|
|
5043
5247
|
documents: DocumentsResource;
|
|
5044
5248
|
operations: OperationsResource;
|
|
5045
5249
|
}
|
|
5250
|
+
interface CompletionConfigResource {
|
|
5251
|
+
/** Completes the user input with advanced keyword suggestions. */
|
|
5252
|
+
completeQuery(request: {
|
|
5253
|
+
/** V1 error format. */
|
|
5254
|
+
'$.xgafv'?: string;
|
|
5255
|
+
/** OAuth access token. */
|
|
5256
|
+
access_token?: string;
|
|
5257
|
+
/** Data format for response. */
|
|
5258
|
+
alt?: string;
|
|
5259
|
+
/** JSONP */
|
|
5260
|
+
callback?: string;
|
|
5261
|
+
/** Required. The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/*/completionConfig` `projects/*/locations/global/collections/default_collection/engines/*/completionConfig`. */
|
|
5262
|
+
completionConfig: string;
|
|
5263
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5264
|
+
fields?: string;
|
|
5265
|
+
/** 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. */
|
|
5266
|
+
key?: string;
|
|
5267
|
+
/** OAuth 2.0 token for the current user. */
|
|
5268
|
+
oauth_token?: string;
|
|
5269
|
+
/** Returns response with indentations and line breaks. */
|
|
5270
|
+
prettyPrint?: boolean;
|
|
5271
|
+
/** 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. */
|
|
5272
|
+
quotaUser?: string;
|
|
5273
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5274
|
+
upload_protocol?: string;
|
|
5275
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5276
|
+
uploadType?: string;
|
|
5277
|
+
/** Request body */
|
|
5278
|
+
resource: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest;
|
|
5279
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse>;
|
|
5280
|
+
completeQuery(
|
|
5281
|
+
request: {
|
|
5282
|
+
/** V1 error format. */
|
|
5283
|
+
'$.xgafv'?: string;
|
|
5284
|
+
/** OAuth access token. */
|
|
5285
|
+
access_token?: string;
|
|
5286
|
+
/** Data format for response. */
|
|
5287
|
+
alt?: string;
|
|
5288
|
+
/** JSONP */
|
|
5289
|
+
callback?: string;
|
|
5290
|
+
/** Required. The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/*/completionConfig` `projects/*/locations/global/collections/default_collection/engines/*/completionConfig`. */
|
|
5291
|
+
completionConfig: string;
|
|
5292
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5293
|
+
fields?: string;
|
|
5294
|
+
/** 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. */
|
|
5295
|
+
key?: string;
|
|
5296
|
+
/** OAuth 2.0 token for the current user. */
|
|
5297
|
+
oauth_token?: string;
|
|
5298
|
+
/** Returns response with indentations and line breaks. */
|
|
5299
|
+
prettyPrint?: boolean;
|
|
5300
|
+
/** 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. */
|
|
5301
|
+
quotaUser?: string;
|
|
5302
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5303
|
+
upload_protocol?: string;
|
|
5304
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5305
|
+
uploadType?: string;
|
|
5306
|
+
},
|
|
5307
|
+
body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest
|
|
5308
|
+
): Request<GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse>;
|
|
5309
|
+
}
|
|
5046
5310
|
interface CompletionSuggestionsResource {
|
|
5047
5311
|
/** Imports CompletionSuggestions for a DataStore. */
|
|
5048
5312
|
import(request: {
|
|
@@ -6368,6 +6632,64 @@ declare namespace gapi.client {
|
|
|
6368
6632
|
},
|
|
6369
6633
|
body: GoogleCloudDiscoveryengineV1alphaSearchRequest
|
|
6370
6634
|
): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
|
|
6635
|
+
/** Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security. */
|
|
6636
|
+
searchLite(request: {
|
|
6637
|
+
/** V1 error format. */
|
|
6638
|
+
'$.xgafv'?: string;
|
|
6639
|
+
/** OAuth access token. */
|
|
6640
|
+
access_token?: string;
|
|
6641
|
+
/** Data format for response. */
|
|
6642
|
+
alt?: string;
|
|
6643
|
+
/** JSONP */
|
|
6644
|
+
callback?: string;
|
|
6645
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6646
|
+
fields?: string;
|
|
6647
|
+
/** 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. */
|
|
6648
|
+
key?: string;
|
|
6649
|
+
/** OAuth 2.0 token for the current user. */
|
|
6650
|
+
oauth_token?: string;
|
|
6651
|
+
/** Returns response with indentations and line breaks. */
|
|
6652
|
+
prettyPrint?: boolean;
|
|
6653
|
+
/** 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. */
|
|
6654
|
+
quotaUser?: string;
|
|
6655
|
+
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
6656
|
+
servingConfig: string;
|
|
6657
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6658
|
+
upload_protocol?: string;
|
|
6659
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6660
|
+
uploadType?: string;
|
|
6661
|
+
/** Request body */
|
|
6662
|
+
resource: GoogleCloudDiscoveryengineV1alphaSearchRequest;
|
|
6663
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
|
|
6664
|
+
searchLite(
|
|
6665
|
+
request: {
|
|
6666
|
+
/** V1 error format. */
|
|
6667
|
+
'$.xgafv'?: string;
|
|
6668
|
+
/** OAuth access token. */
|
|
6669
|
+
access_token?: string;
|
|
6670
|
+
/** Data format for response. */
|
|
6671
|
+
alt?: string;
|
|
6672
|
+
/** JSONP */
|
|
6673
|
+
callback?: string;
|
|
6674
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6675
|
+
fields?: string;
|
|
6676
|
+
/** 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. */
|
|
6677
|
+
key?: string;
|
|
6678
|
+
/** OAuth 2.0 token for the current user. */
|
|
6679
|
+
oauth_token?: string;
|
|
6680
|
+
/** Returns response with indentations and line breaks. */
|
|
6681
|
+
prettyPrint?: boolean;
|
|
6682
|
+
/** 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. */
|
|
6683
|
+
quotaUser?: string;
|
|
6684
|
+
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
6685
|
+
servingConfig: string;
|
|
6686
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6687
|
+
upload_protocol?: string;
|
|
6688
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6689
|
+
uploadType?: string;
|
|
6690
|
+
},
|
|
6691
|
+
body: GoogleCloudDiscoveryengineV1alphaSearchRequest
|
|
6692
|
+
): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
|
|
6371
6693
|
}
|
|
6372
6694
|
interface AnswersResource {
|
|
6373
6695
|
/** Gets a Answer. */
|
|
@@ -6672,9 +6994,9 @@ declare namespace gapi.client {
|
|
|
6672
6994
|
uploadType?: string;
|
|
6673
6995
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
6674
6996
|
}
|
|
6675
|
-
interface
|
|
6676
|
-
/**
|
|
6677
|
-
|
|
6997
|
+
interface SitemapsResource {
|
|
6998
|
+
/** Creates a Sitemap. */
|
|
6999
|
+
create(request: {
|
|
6678
7000
|
/** V1 error format. */
|
|
6679
7001
|
'$.xgafv'?: string;
|
|
6680
7002
|
/** OAuth access token. */
|
|
@@ -6687,10 +7009,10 @@ declare namespace gapi.client {
|
|
|
6687
7009
|
fields?: string;
|
|
6688
7010
|
/** 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. */
|
|
6689
7011
|
key?: string;
|
|
6690
|
-
/** The name of the operation resource. */
|
|
6691
|
-
name: string;
|
|
6692
7012
|
/** OAuth 2.0 token for the current user. */
|
|
6693
7013
|
oauth_token?: string;
|
|
7014
|
+
/** Required. Parent resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. */
|
|
7015
|
+
parent: string;
|
|
6694
7016
|
/** Returns response with indentations and line breaks. */
|
|
6695
7017
|
prettyPrint?: boolean;
|
|
6696
7018
|
/** 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. */
|
|
@@ -6699,9 +7021,40 @@ declare namespace gapi.client {
|
|
|
6699
7021
|
upload_protocol?: string;
|
|
6700
7022
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6701
7023
|
uploadType?: string;
|
|
7024
|
+
/** Request body */
|
|
7025
|
+
resource: GoogleCloudDiscoveryengineV1alphaSitemap;
|
|
6702
7026
|
}): Request<GoogleLongrunningOperation>;
|
|
6703
|
-
|
|
6704
|
-
|
|
7027
|
+
create(
|
|
7028
|
+
request: {
|
|
7029
|
+
/** V1 error format. */
|
|
7030
|
+
'$.xgafv'?: string;
|
|
7031
|
+
/** OAuth access token. */
|
|
7032
|
+
access_token?: string;
|
|
7033
|
+
/** Data format for response. */
|
|
7034
|
+
alt?: string;
|
|
7035
|
+
/** JSONP */
|
|
7036
|
+
callback?: string;
|
|
7037
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7038
|
+
fields?: string;
|
|
7039
|
+
/** 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. */
|
|
7040
|
+
key?: string;
|
|
7041
|
+
/** OAuth 2.0 token for the current user. */
|
|
7042
|
+
oauth_token?: string;
|
|
7043
|
+
/** Required. Parent resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. */
|
|
7044
|
+
parent: string;
|
|
7045
|
+
/** Returns response with indentations and line breaks. */
|
|
7046
|
+
prettyPrint?: boolean;
|
|
7047
|
+
/** 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. */
|
|
7048
|
+
quotaUser?: string;
|
|
7049
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7050
|
+
upload_protocol?: string;
|
|
7051
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7052
|
+
uploadType?: string;
|
|
7053
|
+
},
|
|
7054
|
+
body: GoogleCloudDiscoveryengineV1alphaSitemap
|
|
7055
|
+
): Request<GoogleLongrunningOperation>;
|
|
7056
|
+
/** Deletes a Sitemap. */
|
|
7057
|
+
delete(request?: {
|
|
6705
7058
|
/** V1 error format. */
|
|
6706
7059
|
'$.xgafv'?: string;
|
|
6707
7060
|
/** OAuth access token. */
|
|
@@ -6712,18 +7065,12 @@ declare namespace gapi.client {
|
|
|
6712
7065
|
callback?: string;
|
|
6713
7066
|
/** Selector specifying which fields to include in a partial response. */
|
|
6714
7067
|
fields?: string;
|
|
6715
|
-
/** The standard list filter. */
|
|
6716
|
-
filter?: string;
|
|
6717
7068
|
/** 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. */
|
|
6718
7069
|
key?: string;
|
|
6719
|
-
/**
|
|
7070
|
+
/** Required. Full resource name of Sitemap, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}`. If the caller does not have permission to access the Sitemap, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested Sitemap does not exist, a NOT_FOUND error is returned. */
|
|
6720
7071
|
name: string;
|
|
6721
7072
|
/** OAuth 2.0 token for the current user. */
|
|
6722
7073
|
oauth_token?: string;
|
|
6723
|
-
/** The standard list page size. */
|
|
6724
|
-
pageSize?: number;
|
|
6725
|
-
/** The standard list page token. */
|
|
6726
|
-
pageToken?: string;
|
|
6727
7074
|
/** Returns response with indentations and line breaks. */
|
|
6728
7075
|
prettyPrint?: boolean;
|
|
6729
7076
|
/** 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. */
|
|
@@ -6732,11 +7079,11 @@ declare namespace gapi.client {
|
|
|
6732
7079
|
upload_protocol?: string;
|
|
6733
7080
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6734
7081
|
uploadType?: string;
|
|
6735
|
-
}): Request<
|
|
7082
|
+
}): Request<GoogleLongrunningOperation>;
|
|
6736
7083
|
}
|
|
6737
|
-
interface
|
|
6738
|
-
/**
|
|
6739
|
-
|
|
7084
|
+
interface OperationsResource {
|
|
7085
|
+
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
7086
|
+
get(request?: {
|
|
6740
7087
|
/** V1 error format. */
|
|
6741
7088
|
'$.xgafv'?: string;
|
|
6742
7089
|
/** OAuth access token. */
|
|
@@ -6749,10 +7096,10 @@ declare namespace gapi.client {
|
|
|
6749
7096
|
fields?: string;
|
|
6750
7097
|
/** 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. */
|
|
6751
7098
|
key?: string;
|
|
7099
|
+
/** The name of the operation resource. */
|
|
7100
|
+
name: string;
|
|
6752
7101
|
/** OAuth 2.0 token for the current user. */
|
|
6753
7102
|
oauth_token?: string;
|
|
6754
|
-
/** Required. The parent resource shared by all TargetSites being created. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. The parent field in the CreateBookRequest messages must either be empty or match this field. */
|
|
6755
|
-
parent: string;
|
|
6756
7103
|
/** Returns response with indentations and line breaks. */
|
|
6757
7104
|
prettyPrint?: boolean;
|
|
6758
7105
|
/** 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. */
|
|
@@ -6761,20 +7108,82 @@ declare namespace gapi.client {
|
|
|
6761
7108
|
upload_protocol?: string;
|
|
6762
7109
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6763
7110
|
uploadType?: string;
|
|
6764
|
-
/** Request body */
|
|
6765
|
-
resource: GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest;
|
|
6766
7111
|
}): Request<GoogleLongrunningOperation>;
|
|
6767
|
-
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
6777
|
-
|
|
7112
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
7113
|
+
list(request?: {
|
|
7114
|
+
/** V1 error format. */
|
|
7115
|
+
'$.xgafv'?: string;
|
|
7116
|
+
/** OAuth access token. */
|
|
7117
|
+
access_token?: string;
|
|
7118
|
+
/** Data format for response. */
|
|
7119
|
+
alt?: string;
|
|
7120
|
+
/** JSONP */
|
|
7121
|
+
callback?: string;
|
|
7122
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7123
|
+
fields?: string;
|
|
7124
|
+
/** The standard list filter. */
|
|
7125
|
+
filter?: string;
|
|
7126
|
+
/** 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. */
|
|
7127
|
+
key?: string;
|
|
7128
|
+
/** The name of the operation's parent resource. */
|
|
7129
|
+
name: string;
|
|
7130
|
+
/** OAuth 2.0 token for the current user. */
|
|
7131
|
+
oauth_token?: string;
|
|
7132
|
+
/** The standard list page size. */
|
|
7133
|
+
pageSize?: number;
|
|
7134
|
+
/** The standard list page token. */
|
|
7135
|
+
pageToken?: string;
|
|
7136
|
+
/** Returns response with indentations and line breaks. */
|
|
7137
|
+
prettyPrint?: boolean;
|
|
7138
|
+
/** 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. */
|
|
7139
|
+
quotaUser?: string;
|
|
7140
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7141
|
+
upload_protocol?: string;
|
|
7142
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7143
|
+
uploadType?: string;
|
|
7144
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
7145
|
+
}
|
|
7146
|
+
interface TargetSitesResource {
|
|
7147
|
+
/** Creates TargetSite in a batch. */
|
|
7148
|
+
batchCreate(request: {
|
|
7149
|
+
/** V1 error format. */
|
|
7150
|
+
'$.xgafv'?: string;
|
|
7151
|
+
/** OAuth access token. */
|
|
7152
|
+
access_token?: string;
|
|
7153
|
+
/** Data format for response. */
|
|
7154
|
+
alt?: string;
|
|
7155
|
+
/** JSONP */
|
|
7156
|
+
callback?: string;
|
|
7157
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7158
|
+
fields?: string;
|
|
7159
|
+
/** 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. */
|
|
7160
|
+
key?: string;
|
|
7161
|
+
/** OAuth 2.0 token for the current user. */
|
|
7162
|
+
oauth_token?: string;
|
|
7163
|
+
/** Required. The parent resource shared by all TargetSites being created. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. The parent field in the CreateBookRequest messages must either be empty or match this field. */
|
|
7164
|
+
parent: string;
|
|
7165
|
+
/** Returns response with indentations and line breaks. */
|
|
7166
|
+
prettyPrint?: boolean;
|
|
7167
|
+
/** 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. */
|
|
7168
|
+
quotaUser?: string;
|
|
7169
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7170
|
+
upload_protocol?: string;
|
|
7171
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7172
|
+
uploadType?: string;
|
|
7173
|
+
/** Request body */
|
|
7174
|
+
resource: GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest;
|
|
7175
|
+
}): Request<GoogleLongrunningOperation>;
|
|
7176
|
+
batchCreate(
|
|
7177
|
+
request: {
|
|
7178
|
+
/** V1 error format. */
|
|
7179
|
+
'$.xgafv'?: string;
|
|
7180
|
+
/** OAuth access token. */
|
|
7181
|
+
access_token?: string;
|
|
7182
|
+
/** Data format for response. */
|
|
7183
|
+
alt?: string;
|
|
7184
|
+
/** JSONP */
|
|
7185
|
+
callback?: string;
|
|
7186
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6778
7187
|
fields?: string;
|
|
6779
7188
|
/** 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. */
|
|
6780
7189
|
key?: string;
|
|
@@ -7346,6 +7755,7 @@ declare namespace gapi.client {
|
|
|
7346
7755
|
body: GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest
|
|
7347
7756
|
): Request<GoogleLongrunningOperation>;
|
|
7348
7757
|
operations: OperationsResource;
|
|
7758
|
+
sitemaps: SitemapsResource;
|
|
7349
7759
|
targetSites: TargetSitesResource;
|
|
7350
7760
|
}
|
|
7351
7761
|
interface SuggestionDenyListEntriesResource {
|
|
@@ -8117,6 +8527,7 @@ declare namespace gapi.client {
|
|
|
8117
8527
|
body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
|
|
8118
8528
|
): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
|
|
8119
8529
|
branches: BranchesResource;
|
|
8530
|
+
completionConfig: CompletionConfigResource;
|
|
8120
8531
|
completionSuggestions: CompletionSuggestionsResource;
|
|
8121
8532
|
controls: ControlsResource;
|
|
8122
8533
|
conversations: ConversationsResource;
|
|
@@ -8130,6 +8541,66 @@ declare namespace gapi.client {
|
|
|
8130
8541
|
suggestionDenyListEntries: SuggestionDenyListEntriesResource;
|
|
8131
8542
|
userEvents: UserEventsResource;
|
|
8132
8543
|
}
|
|
8544
|
+
interface CompletionConfigResource {
|
|
8545
|
+
/** Completes the user input with advanced keyword suggestions. */
|
|
8546
|
+
completeQuery(request: {
|
|
8547
|
+
/** V1 error format. */
|
|
8548
|
+
'$.xgafv'?: string;
|
|
8549
|
+
/** OAuth access token. */
|
|
8550
|
+
access_token?: string;
|
|
8551
|
+
/** Data format for response. */
|
|
8552
|
+
alt?: string;
|
|
8553
|
+
/** JSONP */
|
|
8554
|
+
callback?: string;
|
|
8555
|
+
/** Required. The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/*/completionConfig` `projects/*/locations/global/collections/default_collection/engines/*/completionConfig`. */
|
|
8556
|
+
completionConfig: string;
|
|
8557
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8558
|
+
fields?: string;
|
|
8559
|
+
/** 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. */
|
|
8560
|
+
key?: string;
|
|
8561
|
+
/** OAuth 2.0 token for the current user. */
|
|
8562
|
+
oauth_token?: string;
|
|
8563
|
+
/** Returns response with indentations and line breaks. */
|
|
8564
|
+
prettyPrint?: boolean;
|
|
8565
|
+
/** 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. */
|
|
8566
|
+
quotaUser?: string;
|
|
8567
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8568
|
+
upload_protocol?: string;
|
|
8569
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8570
|
+
uploadType?: string;
|
|
8571
|
+
/** Request body */
|
|
8572
|
+
resource: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest;
|
|
8573
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse>;
|
|
8574
|
+
completeQuery(
|
|
8575
|
+
request: {
|
|
8576
|
+
/** V1 error format. */
|
|
8577
|
+
'$.xgafv'?: string;
|
|
8578
|
+
/** OAuth access token. */
|
|
8579
|
+
access_token?: string;
|
|
8580
|
+
/** Data format for response. */
|
|
8581
|
+
alt?: string;
|
|
8582
|
+
/** JSONP */
|
|
8583
|
+
callback?: string;
|
|
8584
|
+
/** Required. The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/*/completionConfig` `projects/*/locations/global/collections/default_collection/engines/*/completionConfig`. */
|
|
8585
|
+
completionConfig: string;
|
|
8586
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8587
|
+
fields?: string;
|
|
8588
|
+
/** 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. */
|
|
8589
|
+
key?: string;
|
|
8590
|
+
/** OAuth 2.0 token for the current user. */
|
|
8591
|
+
oauth_token?: string;
|
|
8592
|
+
/** Returns response with indentations and line breaks. */
|
|
8593
|
+
prettyPrint?: boolean;
|
|
8594
|
+
/** 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. */
|
|
8595
|
+
quotaUser?: string;
|
|
8596
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8597
|
+
upload_protocol?: string;
|
|
8598
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8599
|
+
uploadType?: string;
|
|
8600
|
+
},
|
|
8601
|
+
body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest
|
|
8602
|
+
): Request<GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse>;
|
|
8603
|
+
}
|
|
8133
8604
|
interface ControlsResource {
|
|
8134
8605
|
/** Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned. */
|
|
8135
8606
|
create(request: {
|
|
@@ -8969,6 +9440,64 @@ declare namespace gapi.client {
|
|
|
8969
9440
|
},
|
|
8970
9441
|
body: GoogleCloudDiscoveryengineV1alphaSearchRequest
|
|
8971
9442
|
): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
|
|
9443
|
+
/** Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security. */
|
|
9444
|
+
searchLite(request: {
|
|
9445
|
+
/** V1 error format. */
|
|
9446
|
+
'$.xgafv'?: string;
|
|
9447
|
+
/** OAuth access token. */
|
|
9448
|
+
access_token?: string;
|
|
9449
|
+
/** Data format for response. */
|
|
9450
|
+
alt?: string;
|
|
9451
|
+
/** JSONP */
|
|
9452
|
+
callback?: string;
|
|
9453
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9454
|
+
fields?: string;
|
|
9455
|
+
/** 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. */
|
|
9456
|
+
key?: string;
|
|
9457
|
+
/** OAuth 2.0 token for the current user. */
|
|
9458
|
+
oauth_token?: string;
|
|
9459
|
+
/** Returns response with indentations and line breaks. */
|
|
9460
|
+
prettyPrint?: boolean;
|
|
9461
|
+
/** 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. */
|
|
9462
|
+
quotaUser?: string;
|
|
9463
|
+
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
9464
|
+
servingConfig: string;
|
|
9465
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9466
|
+
upload_protocol?: string;
|
|
9467
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9468
|
+
uploadType?: string;
|
|
9469
|
+
/** Request body */
|
|
9470
|
+
resource: GoogleCloudDiscoveryengineV1alphaSearchRequest;
|
|
9471
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
|
|
9472
|
+
searchLite(
|
|
9473
|
+
request: {
|
|
9474
|
+
/** V1 error format. */
|
|
9475
|
+
'$.xgafv'?: string;
|
|
9476
|
+
/** OAuth access token. */
|
|
9477
|
+
access_token?: string;
|
|
9478
|
+
/** Data format for response. */
|
|
9479
|
+
alt?: string;
|
|
9480
|
+
/** JSONP */
|
|
9481
|
+
callback?: string;
|
|
9482
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9483
|
+
fields?: string;
|
|
9484
|
+
/** 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. */
|
|
9485
|
+
key?: string;
|
|
9486
|
+
/** OAuth 2.0 token for the current user. */
|
|
9487
|
+
oauth_token?: string;
|
|
9488
|
+
/** Returns response with indentations and line breaks. */
|
|
9489
|
+
prettyPrint?: boolean;
|
|
9490
|
+
/** 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. */
|
|
9491
|
+
quotaUser?: string;
|
|
9492
|
+
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
9493
|
+
servingConfig: string;
|
|
9494
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9495
|
+
upload_protocol?: string;
|
|
9496
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9497
|
+
uploadType?: string;
|
|
9498
|
+
},
|
|
9499
|
+
body: GoogleCloudDiscoveryengineV1alphaSearchRequest
|
|
9500
|
+
): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
|
|
8972
9501
|
}
|
|
8973
9502
|
interface AnswersResource {
|
|
8974
9503
|
/** Gets a Answer. */
|
|
@@ -9597,6 +10126,7 @@ declare namespace gapi.client {
|
|
|
9597
10126
|
},
|
|
9598
10127
|
body: GoogleCloudDiscoveryengineV1alphaTuneEngineRequest
|
|
9599
10128
|
): Request<GoogleLongrunningOperation>;
|
|
10129
|
+
completionConfig: CompletionConfigResource;
|
|
9600
10130
|
controls: ControlsResource;
|
|
9601
10131
|
conversations: ConversationsResource;
|
|
9602
10132
|
operations: OperationsResource;
|
|
@@ -10249,6 +10779,66 @@ declare namespace gapi.client {
|
|
|
10249
10779
|
documents: DocumentsResource;
|
|
10250
10780
|
operations: OperationsResource;
|
|
10251
10781
|
}
|
|
10782
|
+
interface CompletionConfigResource {
|
|
10783
|
+
/** Completes the user input with advanced keyword suggestions. */
|
|
10784
|
+
completeQuery(request: {
|
|
10785
|
+
/** V1 error format. */
|
|
10786
|
+
'$.xgafv'?: string;
|
|
10787
|
+
/** OAuth access token. */
|
|
10788
|
+
access_token?: string;
|
|
10789
|
+
/** Data format for response. */
|
|
10790
|
+
alt?: string;
|
|
10791
|
+
/** JSONP */
|
|
10792
|
+
callback?: string;
|
|
10793
|
+
/** Required. The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/*/completionConfig` `projects/*/locations/global/collections/default_collection/engines/*/completionConfig`. */
|
|
10794
|
+
completionConfig: string;
|
|
10795
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10796
|
+
fields?: string;
|
|
10797
|
+
/** 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. */
|
|
10798
|
+
key?: string;
|
|
10799
|
+
/** OAuth 2.0 token for the current user. */
|
|
10800
|
+
oauth_token?: string;
|
|
10801
|
+
/** Returns response with indentations and line breaks. */
|
|
10802
|
+
prettyPrint?: boolean;
|
|
10803
|
+
/** 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. */
|
|
10804
|
+
quotaUser?: string;
|
|
10805
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10806
|
+
upload_protocol?: string;
|
|
10807
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10808
|
+
uploadType?: string;
|
|
10809
|
+
/** Request body */
|
|
10810
|
+
resource: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest;
|
|
10811
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse>;
|
|
10812
|
+
completeQuery(
|
|
10813
|
+
request: {
|
|
10814
|
+
/** V1 error format. */
|
|
10815
|
+
'$.xgafv'?: string;
|
|
10816
|
+
/** OAuth access token. */
|
|
10817
|
+
access_token?: string;
|
|
10818
|
+
/** Data format for response. */
|
|
10819
|
+
alt?: string;
|
|
10820
|
+
/** JSONP */
|
|
10821
|
+
callback?: string;
|
|
10822
|
+
/** Required. The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/*/completionConfig` `projects/*/locations/global/collections/default_collection/engines/*/completionConfig`. */
|
|
10823
|
+
completionConfig: string;
|
|
10824
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10825
|
+
fields?: string;
|
|
10826
|
+
/** 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. */
|
|
10827
|
+
key?: string;
|
|
10828
|
+
/** OAuth 2.0 token for the current user. */
|
|
10829
|
+
oauth_token?: string;
|
|
10830
|
+
/** Returns response with indentations and line breaks. */
|
|
10831
|
+
prettyPrint?: boolean;
|
|
10832
|
+
/** 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. */
|
|
10833
|
+
quotaUser?: string;
|
|
10834
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10835
|
+
upload_protocol?: string;
|
|
10836
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10837
|
+
uploadType?: string;
|
|
10838
|
+
},
|
|
10839
|
+
body: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest
|
|
10840
|
+
): Request<GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse>;
|
|
10841
|
+
}
|
|
10252
10842
|
interface CompletionSuggestionsResource {
|
|
10253
10843
|
/** Imports CompletionSuggestions for a DataStore. */
|
|
10254
10844
|
import(request: {
|
|
@@ -11482,6 +12072,64 @@ declare namespace gapi.client {
|
|
|
11482
12072
|
},
|
|
11483
12073
|
body: GoogleCloudDiscoveryengineV1alphaSearchRequest
|
|
11484
12074
|
): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
|
|
12075
|
+
/** Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security. */
|
|
12076
|
+
searchLite(request: {
|
|
12077
|
+
/** V1 error format. */
|
|
12078
|
+
'$.xgafv'?: string;
|
|
12079
|
+
/** OAuth access token. */
|
|
12080
|
+
access_token?: string;
|
|
12081
|
+
/** Data format for response. */
|
|
12082
|
+
alt?: string;
|
|
12083
|
+
/** JSONP */
|
|
12084
|
+
callback?: string;
|
|
12085
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12086
|
+
fields?: string;
|
|
12087
|
+
/** 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. */
|
|
12088
|
+
key?: string;
|
|
12089
|
+
/** OAuth 2.0 token for the current user. */
|
|
12090
|
+
oauth_token?: string;
|
|
12091
|
+
/** Returns response with indentations and line breaks. */
|
|
12092
|
+
prettyPrint?: boolean;
|
|
12093
|
+
/** 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. */
|
|
12094
|
+
quotaUser?: string;
|
|
12095
|
+
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
12096
|
+
servingConfig: string;
|
|
12097
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12098
|
+
upload_protocol?: string;
|
|
12099
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12100
|
+
uploadType?: string;
|
|
12101
|
+
/** Request body */
|
|
12102
|
+
resource: GoogleCloudDiscoveryengineV1alphaSearchRequest;
|
|
12103
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
|
|
12104
|
+
searchLite(
|
|
12105
|
+
request: {
|
|
12106
|
+
/** V1 error format. */
|
|
12107
|
+
'$.xgafv'?: string;
|
|
12108
|
+
/** OAuth access token. */
|
|
12109
|
+
access_token?: string;
|
|
12110
|
+
/** Data format for response. */
|
|
12111
|
+
alt?: string;
|
|
12112
|
+
/** JSONP */
|
|
12113
|
+
callback?: string;
|
|
12114
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12115
|
+
fields?: string;
|
|
12116
|
+
/** 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. */
|
|
12117
|
+
key?: string;
|
|
12118
|
+
/** OAuth 2.0 token for the current user. */
|
|
12119
|
+
oauth_token?: string;
|
|
12120
|
+
/** Returns response with indentations and line breaks. */
|
|
12121
|
+
prettyPrint?: boolean;
|
|
12122
|
+
/** 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. */
|
|
12123
|
+
quotaUser?: string;
|
|
12124
|
+
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
12125
|
+
servingConfig: string;
|
|
12126
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12127
|
+
upload_protocol?: string;
|
|
12128
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12129
|
+
uploadType?: string;
|
|
12130
|
+
},
|
|
12131
|
+
body: GoogleCloudDiscoveryengineV1alphaSearchRequest
|
|
12132
|
+
): Request<GoogleCloudDiscoveryengineV1alphaSearchResponse>;
|
|
11485
12133
|
}
|
|
11486
12134
|
interface AnswersResource {
|
|
11487
12135
|
/** Gets a Answer. */
|
|
@@ -11724,6 +12372,122 @@ declare namespace gapi.client {
|
|
|
11724
12372
|
): Request<GoogleCloudDiscoveryengineV1alphaSession>;
|
|
11725
12373
|
answers: AnswersResource;
|
|
11726
12374
|
}
|
|
12375
|
+
interface SitemapsResource {
|
|
12376
|
+
/** Creates a Sitemap. */
|
|
12377
|
+
create(request: {
|
|
12378
|
+
/** V1 error format. */
|
|
12379
|
+
'$.xgafv'?: string;
|
|
12380
|
+
/** OAuth access token. */
|
|
12381
|
+
access_token?: string;
|
|
12382
|
+
/** Data format for response. */
|
|
12383
|
+
alt?: string;
|
|
12384
|
+
/** JSONP */
|
|
12385
|
+
callback?: string;
|
|
12386
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12387
|
+
fields?: string;
|
|
12388
|
+
/** 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. */
|
|
12389
|
+
key?: string;
|
|
12390
|
+
/** OAuth 2.0 token for the current user. */
|
|
12391
|
+
oauth_token?: string;
|
|
12392
|
+
/** Required. Parent resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. */
|
|
12393
|
+
parent: string;
|
|
12394
|
+
/** Returns response with indentations and line breaks. */
|
|
12395
|
+
prettyPrint?: boolean;
|
|
12396
|
+
/** 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. */
|
|
12397
|
+
quotaUser?: string;
|
|
12398
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12399
|
+
upload_protocol?: string;
|
|
12400
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12401
|
+
uploadType?: string;
|
|
12402
|
+
/** Request body */
|
|
12403
|
+
resource: GoogleCloudDiscoveryengineV1alphaSitemap;
|
|
12404
|
+
}): Request<GoogleLongrunningOperation>;
|
|
12405
|
+
create(
|
|
12406
|
+
request: {
|
|
12407
|
+
/** V1 error format. */
|
|
12408
|
+
'$.xgafv'?: string;
|
|
12409
|
+
/** OAuth access token. */
|
|
12410
|
+
access_token?: string;
|
|
12411
|
+
/** Data format for response. */
|
|
12412
|
+
alt?: string;
|
|
12413
|
+
/** JSONP */
|
|
12414
|
+
callback?: string;
|
|
12415
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12416
|
+
fields?: string;
|
|
12417
|
+
/** 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. */
|
|
12418
|
+
key?: string;
|
|
12419
|
+
/** OAuth 2.0 token for the current user. */
|
|
12420
|
+
oauth_token?: string;
|
|
12421
|
+
/** Required. Parent resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. */
|
|
12422
|
+
parent: string;
|
|
12423
|
+
/** Returns response with indentations and line breaks. */
|
|
12424
|
+
prettyPrint?: boolean;
|
|
12425
|
+
/** 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. */
|
|
12426
|
+
quotaUser?: string;
|
|
12427
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12428
|
+
upload_protocol?: string;
|
|
12429
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12430
|
+
uploadType?: string;
|
|
12431
|
+
},
|
|
12432
|
+
body: GoogleCloudDiscoveryengineV1alphaSitemap
|
|
12433
|
+
): Request<GoogleLongrunningOperation>;
|
|
12434
|
+
/** Deletes a Sitemap. */
|
|
12435
|
+
delete(request?: {
|
|
12436
|
+
/** V1 error format. */
|
|
12437
|
+
'$.xgafv'?: string;
|
|
12438
|
+
/** OAuth access token. */
|
|
12439
|
+
access_token?: string;
|
|
12440
|
+
/** Data format for response. */
|
|
12441
|
+
alt?: string;
|
|
12442
|
+
/** JSONP */
|
|
12443
|
+
callback?: string;
|
|
12444
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12445
|
+
fields?: string;
|
|
12446
|
+
/** 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. */
|
|
12447
|
+
key?: string;
|
|
12448
|
+
/** Required. Full resource name of Sitemap, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}`. If the caller does not have permission to access the Sitemap, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested Sitemap does not exist, a NOT_FOUND error is returned. */
|
|
12449
|
+
name: string;
|
|
12450
|
+
/** OAuth 2.0 token for the current user. */
|
|
12451
|
+
oauth_token?: string;
|
|
12452
|
+
/** Returns response with indentations and line breaks. */
|
|
12453
|
+
prettyPrint?: boolean;
|
|
12454
|
+
/** 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. */
|
|
12455
|
+
quotaUser?: string;
|
|
12456
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12457
|
+
upload_protocol?: string;
|
|
12458
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12459
|
+
uploadType?: string;
|
|
12460
|
+
}): Request<GoogleLongrunningOperation>;
|
|
12461
|
+
/** Fetch Sitemaps in a DataStore. */
|
|
12462
|
+
fetch(request?: {
|
|
12463
|
+
/** V1 error format. */
|
|
12464
|
+
'$.xgafv'?: string;
|
|
12465
|
+
/** OAuth access token. */
|
|
12466
|
+
access_token?: string;
|
|
12467
|
+
/** Data format for response. */
|
|
12468
|
+
alt?: string;
|
|
12469
|
+
/** JSONP */
|
|
12470
|
+
callback?: string;
|
|
12471
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12472
|
+
fields?: string;
|
|
12473
|
+
/** 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. */
|
|
12474
|
+
key?: string;
|
|
12475
|
+
/** The Sitemap uris. */
|
|
12476
|
+
'matcher.urisMatcher.uris'?: string | string[];
|
|
12477
|
+
/** OAuth 2.0 token for the current user. */
|
|
12478
|
+
oauth_token?: string;
|
|
12479
|
+
/** Required. Parent resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. */
|
|
12480
|
+
parent: string;
|
|
12481
|
+
/** Returns response with indentations and line breaks. */
|
|
12482
|
+
prettyPrint?: boolean;
|
|
12483
|
+
/** 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. */
|
|
12484
|
+
quotaUser?: string;
|
|
12485
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12486
|
+
upload_protocol?: string;
|
|
12487
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12488
|
+
uploadType?: string;
|
|
12489
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse>;
|
|
12490
|
+
}
|
|
11727
12491
|
interface TargetSitesResource {
|
|
11728
12492
|
/** Creates TargetSite in a batch. */
|
|
11729
12493
|
batchCreate(request: {
|
|
@@ -12160,6 +12924,7 @@ declare namespace gapi.client {
|
|
|
12160
12924
|
},
|
|
12161
12925
|
body: GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest
|
|
12162
12926
|
): Request<GoogleLongrunningOperation>;
|
|
12927
|
+
sitemaps: SitemapsResource;
|
|
12163
12928
|
targetSites: TargetSitesResource;
|
|
12164
12929
|
}
|
|
12165
12930
|
interface SuggestionDenyListEntriesResource {
|
|
@@ -12873,6 +13638,7 @@ declare namespace gapi.client {
|
|
|
12873
13638
|
body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
|
|
12874
13639
|
): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
|
|
12875
13640
|
branches: BranchesResource;
|
|
13641
|
+
completionConfig: CompletionConfigResource;
|
|
12876
13642
|
completionSuggestions: CompletionSuggestionsResource;
|
|
12877
13643
|
controls: ControlsResource;
|
|
12878
13644
|
conversations: ConversationsResource;
|