@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.1.20251116 → 0.1.20251209
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 +173 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20251209
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -376,6 +376,8 @@ declare namespace gapi.client {
|
|
|
376
376
|
icon?: GoogleCloudDiscoveryengineV1alphaAgentImage;
|
|
377
377
|
/** Optional. The code of the language of the text in the description, display_name and starter_prompts fields. */
|
|
378
378
|
languageCode?: string;
|
|
379
|
+
/** Optional. The behavior of the Google managed agent. */
|
|
380
|
+
managedAgentDefinition?: any;
|
|
379
381
|
/** Identifier. Resource name of the agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` */
|
|
380
382
|
name?: string;
|
|
381
383
|
/** Output only. The reason why the agent was rejected. Only set if the state is PRIVATE, and got there via rejection. */
|
|
@@ -980,6 +982,8 @@ declare namespace gapi.client {
|
|
|
980
982
|
customerPolicy?: GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy;
|
|
981
983
|
/** Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant. */
|
|
982
984
|
description?: string;
|
|
985
|
+
/** Optional. Indicates whether to disable user location context. By default, user location context is enabled. */
|
|
986
|
+
disableLocationContext?: boolean;
|
|
983
987
|
/** Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters. */
|
|
984
988
|
displayName?: string;
|
|
985
989
|
/** Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this assistant. The keys are connector name, for example "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The values consist of admin enabled tools towards the connector instance. Admin can selectively enable multiple tools on any of the connector instances that they created in the project. For example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } */
|
|
@@ -2429,6 +2433,8 @@ declare namespace gapi.client {
|
|
|
2429
2433
|
tuningOperation?: string;
|
|
2430
2434
|
}
|
|
2431
2435
|
interface GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig {
|
|
2436
|
+
/** Optional. The required subscription tier of this engine. They cannot be modified after engine creation. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine. */
|
|
2437
|
+
requiredSubscriptionTier?: string;
|
|
2432
2438
|
/** The add-on that this search engine enables. */
|
|
2433
2439
|
searchAddOns?: string[];
|
|
2434
2440
|
/** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
|
|
@@ -2691,6 +2697,8 @@ declare namespace gapi.client {
|
|
|
2691
2697
|
interface GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry {
|
|
2692
2698
|
/** Required. Identity outside the customer identity provider. The length limit of external identity will be of 100 characters. */
|
|
2693
2699
|
externalIdentity?: string;
|
|
2700
|
+
/** Optional. The name of the external identity. */
|
|
2701
|
+
externalIdentityName?: string;
|
|
2694
2702
|
/** Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider, group_id is the mapped group identifier configured during the workforcepool config. */
|
|
2695
2703
|
groupId?: string;
|
|
2696
2704
|
/** User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider, user_id is the mapped user identifier configured during the workforcepool config. */
|
|
@@ -3182,6 +3190,7 @@ declare namespace gapi.client {
|
|
|
3182
3190
|
/** All the customer's UserLicenses. */
|
|
3183
3191
|
userLicenses?: GoogleCloudDiscoveryengineV1alphaUserLicense[];
|
|
3184
3192
|
}
|
|
3193
|
+
interface GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition {}
|
|
3185
3194
|
interface GoogleCloudDiscoveryengineV1alphaMediaInfo {
|
|
3186
3195
|
/** The media progress time in seconds, if applicable. For example, if the end user has finished 90 seconds of a playback video, then MediaInfo.media_progress_duration.seconds should be set to 90. */
|
|
3187
3196
|
mediaProgressDuration?: string;
|
|
@@ -3811,7 +3820,7 @@ declare namespace gapi.client {
|
|
|
3811
3820
|
oneBoxPageSize?: number;
|
|
3812
3821
|
/** The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
|
|
3813
3822
|
orderBy?: string;
|
|
3814
|
-
/** Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. To represent full path of a category, use '>' character to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where "RTX > 4090" represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders Edition` */
|
|
3823
|
+
/** Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. If the field contains more than one element, only the first element will be used. To represent full path of a category, use '>' character to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where "RTX > 4090" represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders Edition` */
|
|
3815
3824
|
pageCategories?: string[];
|
|
3816
3825
|
/** Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned. */
|
|
3817
3826
|
pageSize?: number;
|
|
@@ -4094,6 +4103,8 @@ declare namespace gapi.client {
|
|
|
4094
4103
|
results?: GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult[];
|
|
4095
4104
|
/** Promotions for site search. */
|
|
4096
4105
|
searchLinkPromotions?: GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion[];
|
|
4106
|
+
/** Output only. Indicates the semantic state of the search response. */
|
|
4107
|
+
semanticState?: string;
|
|
4097
4108
|
/** Session information. Only set if SearchRequest.session is provided. See its description for more details. */
|
|
4098
4109
|
sessionInfo?: GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo;
|
|
4099
4110
|
/** Corrected query with low confidence, AKA did you mean query. Compared with corrected_query, this field is set when SpellCorrector returned a response, but FPR(full page replacement) is not triggered because the corrction is of low confidence(eg, reversed because there are matches of the original query in document corpus). */
|
|
@@ -4737,7 +4748,7 @@ declare namespace gapi.client {
|
|
|
4737
4748
|
eventTime?: string;
|
|
4738
4749
|
/** 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. Custom conversion value: * `conversion`: Customer defined conversion event. */
|
|
4739
4750
|
eventType?: string;
|
|
4740
|
-
/** 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. */
|
|
4751
|
+
/** Optional. 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. */
|
|
4741
4752
|
filter?: string;
|
|
4742
4753
|
/** Media-specific info. */
|
|
4743
4754
|
mediaInfo?: GoogleCloudDiscoveryengineV1alphaMediaInfo;
|
|
@@ -5653,6 +5664,8 @@ declare namespace gapi.client {
|
|
|
5653
5664
|
contextEventType?: string;
|
|
5654
5665
|
}
|
|
5655
5666
|
interface GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig {
|
|
5667
|
+
/** Optional. The required subscription tier of this engine. They cannot be modified after engine creation. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine. */
|
|
5668
|
+
requiredSubscriptionTier?: string;
|
|
5656
5669
|
/** The add-on that this search engine enables. */
|
|
5657
5670
|
searchAddOns?: string[];
|
|
5658
5671
|
/** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
|
|
@@ -6038,7 +6051,7 @@ declare namespace gapi.client {
|
|
|
6038
6051
|
oneBoxPageSize?: number;
|
|
6039
6052
|
/** The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
|
|
6040
6053
|
orderBy?: string;
|
|
6041
|
-
/** Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. To represent full path of a category, use '>' character to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where "RTX > 4090" represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders Edition` */
|
|
6054
|
+
/** Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. If the field contains more than one element, only the first element will be used. To represent full path of a category, use '>' character to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where "RTX > 4090" represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders Edition` */
|
|
6042
6055
|
pageCategories?: string[];
|
|
6043
6056
|
/** Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned. */
|
|
6044
6057
|
pageSize?: number;
|
|
@@ -6745,6 +6758,8 @@ declare namespace gapi.client {
|
|
|
6745
6758
|
kmsKeyName?: string;
|
|
6746
6759
|
/** Immutable. Identifier. 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. */
|
|
6747
6760
|
name?: string;
|
|
6761
|
+
/** Optional. Configuration for Natural Language Query Understanding. */
|
|
6762
|
+
naturalLanguageQueryUnderstandingConfig?: GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig;
|
|
6748
6763
|
/** Optional. Stores serving config at DataStore level. */
|
|
6749
6764
|
servingConfigDataStore?: GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore;
|
|
6750
6765
|
/** 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. */
|
|
@@ -7002,6 +7017,8 @@ declare namespace gapi.client {
|
|
|
7002
7017
|
contextEventType?: string;
|
|
7003
7018
|
}
|
|
7004
7019
|
interface GoogleCloudDiscoveryengineV1EngineSearchEngineConfig {
|
|
7020
|
+
/** Optional. The required subscription tier of this engine. They cannot be modified after engine creation. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine. */
|
|
7021
|
+
requiredSubscriptionTier?: string;
|
|
7005
7022
|
/** The add-on that this search engine enables. */
|
|
7006
7023
|
searchAddOns?: string[];
|
|
7007
7024
|
/** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
|
|
@@ -7135,6 +7152,10 @@ declare namespace gapi.client {
|
|
|
7135
7152
|
/** Required. Subscription tier information for the license config. */
|
|
7136
7153
|
subscriptionTier?: string;
|
|
7137
7154
|
}
|
|
7155
|
+
interface GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig {
|
|
7156
|
+
/** Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. */
|
|
7157
|
+
mode?: string;
|
|
7158
|
+
}
|
|
7138
7159
|
interface GoogleCloudDiscoveryengineV1Project {
|
|
7139
7160
|
/** Output only. The current status of the project's configurable billing. */
|
|
7140
7161
|
configurableBillingStatus?: GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus;
|
|
@@ -10500,6 +10521,33 @@ declare namespace gapi.client {
|
|
|
10500
10521
|
},
|
|
10501
10522
|
body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
|
|
10502
10523
|
): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
|
|
10524
|
+
/** Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. */
|
|
10525
|
+
delete(request?: {
|
|
10526
|
+
/** V1 error format. */
|
|
10527
|
+
'$.xgafv'?: string;
|
|
10528
|
+
/** OAuth access token. */
|
|
10529
|
+
access_token?: string;
|
|
10530
|
+
/** Data format for response. */
|
|
10531
|
+
alt?: string;
|
|
10532
|
+
/** JSONP */
|
|
10533
|
+
callback?: string;
|
|
10534
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10535
|
+
fields?: string;
|
|
10536
|
+
/** 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. */
|
|
10537
|
+
key?: string;
|
|
10538
|
+
/** Required. The resource name of the ServingConfig to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` */
|
|
10539
|
+
name: string;
|
|
10540
|
+
/** OAuth 2.0 token for the current user. */
|
|
10541
|
+
oauth_token?: string;
|
|
10542
|
+
/** Returns response with indentations and line breaks. */
|
|
10543
|
+
prettyPrint?: boolean;
|
|
10544
|
+
/** 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. */
|
|
10545
|
+
quotaUser?: string;
|
|
10546
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10547
|
+
upload_protocol?: string;
|
|
10548
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10549
|
+
uploadType?: string;
|
|
10550
|
+
}): Request<{}>;
|
|
10503
10551
|
/** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
|
|
10504
10552
|
get(request?: {
|
|
10505
10553
|
/** V1 error format. */
|
|
@@ -13156,6 +13204,8 @@ declare namespace gapi.client {
|
|
|
13156
13204
|
'$.xgafv'?: string;
|
|
13157
13205
|
/** OAuth access token. */
|
|
13158
13206
|
access_token?: string;
|
|
13207
|
+
/** Optional. Indicates whether to consider if the caller is an admin. If set, and the caller is an admin, the response will consider admin-only permissions. Otherwise, a caller with admin permissions will get a response as an unprivileged user. */
|
|
13208
|
+
adminView?: boolean;
|
|
13159
13209
|
/** Data format for response. */
|
|
13160
13210
|
alt?: string;
|
|
13161
13211
|
/** JSONP */
|
|
@@ -13734,6 +13784,8 @@ declare namespace gapi.client {
|
|
|
13734
13784
|
'$.xgafv'?: string;
|
|
13735
13785
|
/** OAuth access token. */
|
|
13736
13786
|
access_token?: string;
|
|
13787
|
+
/** Optional. Indicates whether to consider if the caller is an admin. If set, and the caller is an admin, the response will consider admin-only permissions. Otherwise, a caller with admin permissions will get a response as an unprivileged user. */
|
|
13788
|
+
adminView?: boolean;
|
|
13737
13789
|
/** Optional. The origin of the Agent. */
|
|
13738
13790
|
agentOrigin?: string;
|
|
13739
13791
|
/** Data format for response. */
|
|
@@ -14615,6 +14667,33 @@ declare namespace gapi.client {
|
|
|
14615
14667
|
},
|
|
14616
14668
|
body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
|
|
14617
14669
|
): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
|
|
14670
|
+
/** Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. */
|
|
14671
|
+
delete(request?: {
|
|
14672
|
+
/** V1 error format. */
|
|
14673
|
+
'$.xgafv'?: string;
|
|
14674
|
+
/** OAuth access token. */
|
|
14675
|
+
access_token?: string;
|
|
14676
|
+
/** Data format for response. */
|
|
14677
|
+
alt?: string;
|
|
14678
|
+
/** JSONP */
|
|
14679
|
+
callback?: string;
|
|
14680
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14681
|
+
fields?: string;
|
|
14682
|
+
/** 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. */
|
|
14683
|
+
key?: string;
|
|
14684
|
+
/** Required. The resource name of the ServingConfig to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` */
|
|
14685
|
+
name: string;
|
|
14686
|
+
/** OAuth 2.0 token for the current user. */
|
|
14687
|
+
oauth_token?: string;
|
|
14688
|
+
/** Returns response with indentations and line breaks. */
|
|
14689
|
+
prettyPrint?: boolean;
|
|
14690
|
+
/** 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. */
|
|
14691
|
+
quotaUser?: string;
|
|
14692
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14693
|
+
upload_protocol?: string;
|
|
14694
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14695
|
+
uploadType?: string;
|
|
14696
|
+
}): Request<{}>;
|
|
14618
14697
|
/** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
|
|
14619
14698
|
get(request?: {
|
|
14620
14699
|
/** V1 error format. */
|
|
@@ -14968,6 +15047,38 @@ declare namespace gapi.client {
|
|
|
14968
15047
|
body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
|
|
14969
15048
|
): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
|
|
14970
15049
|
}
|
|
15050
|
+
interface OperationsResource {
|
|
15051
|
+
/** 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. */
|
|
15052
|
+
get(request?: {
|
|
15053
|
+
/** V1 error format. */
|
|
15054
|
+
'$.xgafv'?: string;
|
|
15055
|
+
/** OAuth access token. */
|
|
15056
|
+
access_token?: string;
|
|
15057
|
+
/** Data format for response. */
|
|
15058
|
+
alt?: string;
|
|
15059
|
+
/** JSONP */
|
|
15060
|
+
callback?: string;
|
|
15061
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15062
|
+
fields?: string;
|
|
15063
|
+
/** 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. */
|
|
15064
|
+
key?: string;
|
|
15065
|
+
/** The name of the operation resource. */
|
|
15066
|
+
name: string;
|
|
15067
|
+
/** OAuth 2.0 token for the current user. */
|
|
15068
|
+
oauth_token?: string;
|
|
15069
|
+
/** Returns response with indentations and line breaks. */
|
|
15070
|
+
prettyPrint?: boolean;
|
|
15071
|
+
/** 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. */
|
|
15072
|
+
quotaUser?: string;
|
|
15073
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15074
|
+
upload_protocol?: string;
|
|
15075
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15076
|
+
uploadType?: string;
|
|
15077
|
+
}): Request<GoogleLongrunningOperation>;
|
|
15078
|
+
}
|
|
15079
|
+
interface AlphaEvolveExperimentsResource {
|
|
15080
|
+
operations: OperationsResource;
|
|
15081
|
+
}
|
|
14971
15082
|
interface AnswersResource {
|
|
14972
15083
|
/** Gets a Answer. */
|
|
14973
15084
|
get(request?: {
|
|
@@ -15034,6 +15145,35 @@ declare namespace gapi.client {
|
|
|
15034
15145
|
uploadType?: string;
|
|
15035
15146
|
}): Request<GoogleCloudDiscoveryengineV1alphaListFilesResponse>;
|
|
15036
15147
|
}
|
|
15148
|
+
interface OperationsResource {
|
|
15149
|
+
/** 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. */
|
|
15150
|
+
get(request?: {
|
|
15151
|
+
/** V1 error format. */
|
|
15152
|
+
'$.xgafv'?: string;
|
|
15153
|
+
/** OAuth access token. */
|
|
15154
|
+
access_token?: string;
|
|
15155
|
+
/** Data format for response. */
|
|
15156
|
+
alt?: string;
|
|
15157
|
+
/** JSONP */
|
|
15158
|
+
callback?: string;
|
|
15159
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15160
|
+
fields?: string;
|
|
15161
|
+
/** 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. */
|
|
15162
|
+
key?: string;
|
|
15163
|
+
/** The name of the operation resource. */
|
|
15164
|
+
name: string;
|
|
15165
|
+
/** OAuth 2.0 token for the current user. */
|
|
15166
|
+
oauth_token?: string;
|
|
15167
|
+
/** Returns response with indentations and line breaks. */
|
|
15168
|
+
prettyPrint?: boolean;
|
|
15169
|
+
/** 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. */
|
|
15170
|
+
quotaUser?: string;
|
|
15171
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15172
|
+
upload_protocol?: string;
|
|
15173
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15174
|
+
uploadType?: string;
|
|
15175
|
+
}): Request<GoogleLongrunningOperation>;
|
|
15176
|
+
}
|
|
15037
15177
|
interface SessionsResource {
|
|
15038
15178
|
/** Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned. */
|
|
15039
15179
|
create(request: {
|
|
@@ -15246,8 +15386,10 @@ declare namespace gapi.client {
|
|
|
15246
15386
|
},
|
|
15247
15387
|
body: GoogleCloudDiscoveryengineV1alphaSession,
|
|
15248
15388
|
): Request<GoogleCloudDiscoveryengineV1alphaSession>;
|
|
15389
|
+
alphaEvolveExperiments: AlphaEvolveExperimentsResource;
|
|
15249
15390
|
answers: AnswersResource;
|
|
15250
15391
|
files: FilesResource;
|
|
15392
|
+
operations: OperationsResource;
|
|
15251
15393
|
}
|
|
15252
15394
|
interface WidgetConfigsResource {
|
|
15253
15395
|
/** Gets a WidgetConfig. */
|
|
@@ -17776,6 +17918,33 @@ declare namespace gapi.client {
|
|
|
17776
17918
|
},
|
|
17777
17919
|
body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
|
|
17778
17920
|
): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
|
|
17921
|
+
/** Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. */
|
|
17922
|
+
delete(request?: {
|
|
17923
|
+
/** V1 error format. */
|
|
17924
|
+
'$.xgafv'?: string;
|
|
17925
|
+
/** OAuth access token. */
|
|
17926
|
+
access_token?: string;
|
|
17927
|
+
/** Data format for response. */
|
|
17928
|
+
alt?: string;
|
|
17929
|
+
/** JSONP */
|
|
17930
|
+
callback?: string;
|
|
17931
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
17932
|
+
fields?: string;
|
|
17933
|
+
/** 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. */
|
|
17934
|
+
key?: string;
|
|
17935
|
+
/** Required. The resource name of the ServingConfig to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` */
|
|
17936
|
+
name: string;
|
|
17937
|
+
/** OAuth 2.0 token for the current user. */
|
|
17938
|
+
oauth_token?: string;
|
|
17939
|
+
/** Returns response with indentations and line breaks. */
|
|
17940
|
+
prettyPrint?: boolean;
|
|
17941
|
+
/** 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. */
|
|
17942
|
+
quotaUser?: string;
|
|
17943
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
17944
|
+
upload_protocol?: string;
|
|
17945
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
17946
|
+
uploadType?: string;
|
|
17947
|
+
}): Request<{}>;
|
|
17779
17948
|
/** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
|
|
17780
17949
|
get(request?: {
|
|
17781
17950
|
/** V1 error format. */
|