@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.1.20251203 → 0.1.20251217

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.
Files changed (2) hide show
  1. package/index.d.ts +318 -6
  2. 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: 20251203
12
+ // Revision: 20251217
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -213,9 +213,17 @@ declare namespace gapi.client {
213
213
  enrollState?: string;
214
214
  }
215
215
  interface GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition {
216
+ /** Optional. Configuration specific to agents that are deployed from Cloud Marketplace. */
217
+ cloudMarketplaceConfig?: GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig;
216
218
  /** Optional. The agent card is a JSON string. */
217
219
  jsonAgentCard?: string;
218
220
  }
221
+ interface GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig {
222
+ /** Required. The Marketplace Entitlement this agent is associated with. Format: `projects/{project}/entitlements/{entitlement}`. */
223
+ entitlement?: string;
224
+ /** Output only. The Marketplace Order this agent belongs to. Format: `billingAccounts/{billing_account}/orders/{order}` */
225
+ order?: string;
226
+ }
219
227
  interface GoogleCloudDiscoveryengineV1alphaAclConfig {
220
228
  /** Identity provider config. */
221
229
  idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
@@ -376,6 +384,8 @@ declare namespace gapi.client {
376
384
  icon?: GoogleCloudDiscoveryengineV1alphaAgentImage;
377
385
  /** Optional. The code of the language of the text in the description, display_name and starter_prompts fields. */
378
386
  languageCode?: string;
387
+ /** Optional. The behavior of the Google managed agent. */
388
+ managedAgentDefinition?: any;
379
389
  /** Identifier. Resource name of the agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` */
380
390
  name?: string;
381
391
  /** Output only. The reason why the agent was rejected. Only set if the state is PRIVATE, and got there via rejection. */
@@ -3188,6 +3198,7 @@ declare namespace gapi.client {
3188
3198
  /** All the customer's UserLicenses. */
3189
3199
  userLicenses?: GoogleCloudDiscoveryengineV1alphaUserLicense[];
3190
3200
  }
3201
+ interface GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition {}
3191
3202
  interface GoogleCloudDiscoveryengineV1alphaMediaInfo {
3192
3203
  /** 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. */
3193
3204
  mediaProgressDuration?: string;
@@ -3817,7 +3828,7 @@ declare namespace gapi.client {
3817
3828
  oneBoxPageSize?: number;
3818
3829
  /** 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. */
3819
3830
  orderBy?: string;
3820
- /** 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` */
3831
+ /** 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` */
3821
3832
  pageCategories?: string[];
3822
3833
  /** 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. */
3823
3834
  pageSize?: number;
@@ -3837,9 +3848,11 @@ declare namespace gapi.client {
3837
3848
  rankingExpressionBackend?: string;
3838
3849
  /** The Unicode country/region code (CLDR) of a location, such as "US" and "419". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). If set, then results will be boosted based on the region_code provided. */
3839
3850
  regionCode?: string;
3851
+ /** Optional. The granular relevance filtering specification. If not specified, the global `relevance_threshold` will be used for all sub-searches. If specified, this overrides the global `relevance_threshold` to use thresholds on a per sub-search basis. This feature is currently supported only for custom and site search. */
3852
+ relevanceFilterSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec;
3840
3853
  /** Optional. The specification for returning the relevance score. */
3841
3854
  relevanceScoreSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec;
3842
- /** The relevance threshold of the search results. Default to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. This feature is not supported for healthcare search. */
3855
+ /** The global relevance threshold of the search results. Defaults to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. If more granular relevance filtering is required, use the `relevance_filter_spec` instead. This feature is not supported for healthcare search. */
3843
3856
  relevanceThreshold?: string;
3844
3857
  /** Whether to turn on safe search. This is only supported for website search. */
3845
3858
  safeSearch?: boolean;
@@ -4048,6 +4061,18 @@ declare namespace gapi.client {
4048
4061
  /** Whether to pin unexpanded results. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results. */
4049
4062
  pinUnexpandedResults?: boolean;
4050
4063
  }
4064
+ interface GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec {
4065
+ /** Optional. Relevance filtering threshold specification for keyword search. */
4066
+ keywordSearchThreshold?: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec;
4067
+ /** Optional. Relevance filtering threshold specification for semantic search. */
4068
+ semanticSearchThreshold?: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec;
4069
+ }
4070
+ interface GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec {
4071
+ /** Pre-defined relevance threshold for the sub-search. */
4072
+ relevanceThreshold?: string;
4073
+ /** Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0]. */
4074
+ semanticRelevanceThreshold?: number;
4075
+ }
4051
4076
  interface GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec {
4052
4077
  /** Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query. */
4053
4078
  returnRelevanceScore?: boolean;
@@ -4745,7 +4770,7 @@ declare namespace gapi.client {
4745
4770
  eventTime?: string;
4746
4771
  /** 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. */
4747
4772
  eventType?: string;
4748
- /** 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. */
4773
+ /** 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. */
4749
4774
  filter?: string;
4750
4775
  /** Media-specific info. */
4751
4776
  mediaInfo?: GoogleCloudDiscoveryengineV1alphaMediaInfo;
@@ -6048,7 +6073,7 @@ declare namespace gapi.client {
6048
6073
  oneBoxPageSize?: number;
6049
6074
  /** 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. */
6050
6075
  orderBy?: string;
6051
- /** 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` */
6076
+ /** 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` */
6052
6077
  pageCategories?: string[];
6053
6078
  /** 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. */
6054
6079
  pageSize?: number;
@@ -6068,9 +6093,11 @@ declare namespace gapi.client {
6068
6093
  rankingExpressionBackend?: string;
6069
6094
  /** The Unicode country/region code (CLDR) of a location, such as "US" and "419". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). If set, then results will be boosted based on the region_code provided. */
6070
6095
  regionCode?: string;
6096
+ /** Optional. The granular relevance filtering specification. If not specified, the global `relevance_threshold` will be used for all sub-searches. If specified, this overrides the global `relevance_threshold` to use thresholds on a per sub-search basis. This feature is currently supported only for custom and site search. */
6097
+ relevanceFilterSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec;
6071
6098
  /** Optional. The specification for returning the relevance score. */
6072
6099
  relevanceScoreSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec;
6073
- /** The relevance threshold of the search results. Default to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. This feature is not supported for healthcare search. */
6100
+ /** The global relevance threshold of the search results. Defaults to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. If more granular relevance filtering is required, use the `relevance_filter_spec` instead. This feature is not supported for healthcare search. */
6074
6101
  relevanceThreshold?: string;
6075
6102
  /** Whether to turn on safe search. This is only supported for website search. */
6076
6103
  safeSearch?: boolean;
@@ -6277,6 +6304,18 @@ declare namespace gapi.client {
6277
6304
  /** Whether to pin unexpanded results. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results. */
6278
6305
  pinUnexpandedResults?: boolean;
6279
6306
  }
6307
+ interface GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec {
6308
+ /** Optional. Relevance filtering threshold specification for keyword search. */
6309
+ keywordSearchThreshold?: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec;
6310
+ /** Optional. Relevance filtering threshold specification for semantic search. */
6311
+ semanticSearchThreshold?: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec;
6312
+ }
6313
+ interface GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec {
6314
+ /** Pre-defined relevance threshold for the sub-search. */
6315
+ relevanceThreshold?: string;
6316
+ /** Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0]. */
6317
+ semanticRelevanceThreshold?: number;
6318
+ }
6280
6319
  interface GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec {
6281
6320
  /** Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query. */
6282
6321
  returnRelevanceScore?: boolean;
@@ -6755,6 +6794,8 @@ declare namespace gapi.client {
6755
6794
  kmsKeyName?: string;
6756
6795
  /** 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. */
6757
6796
  name?: string;
6797
+ /** Optional. Configuration for Natural Language Query Understanding. */
6798
+ naturalLanguageQueryUnderstandingConfig?: GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig;
6758
6799
  /** Optional. Stores serving config at DataStore level. */
6759
6800
  servingConfigDataStore?: GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore;
6760
6801
  /** 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. */
@@ -7147,6 +7188,10 @@ declare namespace gapi.client {
7147
7188
  /** Required. Subscription tier information for the license config. */
7148
7189
  subscriptionTier?: string;
7149
7190
  }
7191
+ interface GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig {
7192
+ /** Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. */
7193
+ mode?: string;
7194
+ }
7150
7195
  interface GoogleCloudDiscoveryengineV1Project {
7151
7196
  /** Output only. The current status of the project's configurable billing. */
7152
7197
  configurableBillingStatus?: GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus;
@@ -10512,6 +10557,95 @@ declare namespace gapi.client {
10512
10557
  },
10513
10558
  body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
10514
10559
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
10560
+ /** Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned. */
10561
+ create(request: {
10562
+ /** V1 error format. */
10563
+ '$.xgafv'?: string;
10564
+ /** OAuth access token. */
10565
+ access_token?: string;
10566
+ /** Data format for response. */
10567
+ alt?: string;
10568
+ /** JSONP */
10569
+ callback?: string;
10570
+ /** Selector specifying which fields to include in a partial response. */
10571
+ fields?: string;
10572
+ /** 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. */
10573
+ key?: string;
10574
+ /** OAuth 2.0 token for the current user. */
10575
+ oauth_token?: string;
10576
+ /** Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
10577
+ parent: string;
10578
+ /** Returns response with indentations and line breaks. */
10579
+ prettyPrint?: boolean;
10580
+ /** 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. */
10581
+ quotaUser?: string;
10582
+ /** Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. */
10583
+ servingConfigId?: string;
10584
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10585
+ upload_protocol?: string;
10586
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10587
+ uploadType?: string;
10588
+ /** Request body */
10589
+ resource: GoogleCloudDiscoveryengineV1alphaServingConfig;
10590
+ }): Request<GoogleCloudDiscoveryengineV1alphaServingConfig>;
10591
+ create(
10592
+ request: {
10593
+ /** V1 error format. */
10594
+ '$.xgafv'?: string;
10595
+ /** OAuth access token. */
10596
+ access_token?: string;
10597
+ /** Data format for response. */
10598
+ alt?: string;
10599
+ /** JSONP */
10600
+ callback?: string;
10601
+ /** Selector specifying which fields to include in a partial response. */
10602
+ fields?: string;
10603
+ /** 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. */
10604
+ key?: string;
10605
+ /** OAuth 2.0 token for the current user. */
10606
+ oauth_token?: string;
10607
+ /** Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
10608
+ parent: string;
10609
+ /** Returns response with indentations and line breaks. */
10610
+ prettyPrint?: boolean;
10611
+ /** 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. */
10612
+ quotaUser?: string;
10613
+ /** Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. */
10614
+ servingConfigId?: string;
10615
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10616
+ upload_protocol?: string;
10617
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10618
+ uploadType?: string;
10619
+ },
10620
+ body: GoogleCloudDiscoveryengineV1alphaServingConfig,
10621
+ ): Request<GoogleCloudDiscoveryengineV1alphaServingConfig>;
10622
+ /** Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. */
10623
+ delete(request?: {
10624
+ /** V1 error format. */
10625
+ '$.xgafv'?: string;
10626
+ /** OAuth access token. */
10627
+ access_token?: string;
10628
+ /** Data format for response. */
10629
+ alt?: string;
10630
+ /** JSONP */
10631
+ callback?: string;
10632
+ /** Selector specifying which fields to include in a partial response. */
10633
+ fields?: string;
10634
+ /** 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. */
10635
+ key?: string;
10636
+ /** Required. The resource name of the ServingConfig to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` */
10637
+ name: string;
10638
+ /** OAuth 2.0 token for the current user. */
10639
+ oauth_token?: string;
10640
+ /** Returns response with indentations and line breaks. */
10641
+ prettyPrint?: boolean;
10642
+ /** 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. */
10643
+ quotaUser?: string;
10644
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10645
+ upload_protocol?: string;
10646
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10647
+ uploadType?: string;
10648
+ }): Request<{}>;
10515
10649
  /** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
10516
10650
  get(request?: {
10517
10651
  /** V1 error format. */
@@ -14631,6 +14765,95 @@ declare namespace gapi.client {
14631
14765
  },
14632
14766
  body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
14633
14767
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
14768
+ /** Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned. */
14769
+ create(request: {
14770
+ /** V1 error format. */
14771
+ '$.xgafv'?: string;
14772
+ /** OAuth access token. */
14773
+ access_token?: string;
14774
+ /** Data format for response. */
14775
+ alt?: string;
14776
+ /** JSONP */
14777
+ callback?: string;
14778
+ /** Selector specifying which fields to include in a partial response. */
14779
+ fields?: string;
14780
+ /** 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. */
14781
+ key?: string;
14782
+ /** OAuth 2.0 token for the current user. */
14783
+ oauth_token?: string;
14784
+ /** Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
14785
+ parent: string;
14786
+ /** Returns response with indentations and line breaks. */
14787
+ prettyPrint?: boolean;
14788
+ /** 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. */
14789
+ quotaUser?: string;
14790
+ /** Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. */
14791
+ servingConfigId?: string;
14792
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14793
+ upload_protocol?: string;
14794
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14795
+ uploadType?: string;
14796
+ /** Request body */
14797
+ resource: GoogleCloudDiscoveryengineV1alphaServingConfig;
14798
+ }): Request<GoogleCloudDiscoveryengineV1alphaServingConfig>;
14799
+ create(
14800
+ request: {
14801
+ /** V1 error format. */
14802
+ '$.xgafv'?: string;
14803
+ /** OAuth access token. */
14804
+ access_token?: string;
14805
+ /** Data format for response. */
14806
+ alt?: string;
14807
+ /** JSONP */
14808
+ callback?: string;
14809
+ /** Selector specifying which fields to include in a partial response. */
14810
+ fields?: string;
14811
+ /** 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. */
14812
+ key?: string;
14813
+ /** OAuth 2.0 token for the current user. */
14814
+ oauth_token?: string;
14815
+ /** Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
14816
+ parent: string;
14817
+ /** Returns response with indentations and line breaks. */
14818
+ prettyPrint?: boolean;
14819
+ /** 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. */
14820
+ quotaUser?: string;
14821
+ /** Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. */
14822
+ servingConfigId?: string;
14823
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14824
+ upload_protocol?: string;
14825
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14826
+ uploadType?: string;
14827
+ },
14828
+ body: GoogleCloudDiscoveryengineV1alphaServingConfig,
14829
+ ): Request<GoogleCloudDiscoveryengineV1alphaServingConfig>;
14830
+ /** Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. */
14831
+ delete(request?: {
14832
+ /** V1 error format. */
14833
+ '$.xgafv'?: string;
14834
+ /** OAuth access token. */
14835
+ access_token?: string;
14836
+ /** Data format for response. */
14837
+ alt?: string;
14838
+ /** JSONP */
14839
+ callback?: string;
14840
+ /** Selector specifying which fields to include in a partial response. */
14841
+ fields?: string;
14842
+ /** 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. */
14843
+ key?: string;
14844
+ /** Required. The resource name of the ServingConfig to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` */
14845
+ name: string;
14846
+ /** OAuth 2.0 token for the current user. */
14847
+ oauth_token?: string;
14848
+ /** Returns response with indentations and line breaks. */
14849
+ prettyPrint?: boolean;
14850
+ /** 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. */
14851
+ quotaUser?: string;
14852
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
14853
+ upload_protocol?: string;
14854
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14855
+ uploadType?: string;
14856
+ }): Request<{}>;
14634
14857
  /** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
14635
14858
  get(request?: {
14636
14859
  /** V1 error format. */
@@ -17855,6 +18078,95 @@ declare namespace gapi.client {
17855
18078
  },
17856
18079
  body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
17857
18080
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
18081
+ /** Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned. */
18082
+ create(request: {
18083
+ /** V1 error format. */
18084
+ '$.xgafv'?: string;
18085
+ /** OAuth access token. */
18086
+ access_token?: string;
18087
+ /** Data format for response. */
18088
+ alt?: string;
18089
+ /** JSONP */
18090
+ callback?: string;
18091
+ /** Selector specifying which fields to include in a partial response. */
18092
+ fields?: string;
18093
+ /** 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. */
18094
+ key?: string;
18095
+ /** OAuth 2.0 token for the current user. */
18096
+ oauth_token?: string;
18097
+ /** Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
18098
+ parent: string;
18099
+ /** Returns response with indentations and line breaks. */
18100
+ prettyPrint?: boolean;
18101
+ /** 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. */
18102
+ quotaUser?: string;
18103
+ /** Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. */
18104
+ servingConfigId?: string;
18105
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18106
+ upload_protocol?: string;
18107
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18108
+ uploadType?: string;
18109
+ /** Request body */
18110
+ resource: GoogleCloudDiscoveryengineV1alphaServingConfig;
18111
+ }): Request<GoogleCloudDiscoveryengineV1alphaServingConfig>;
18112
+ create(
18113
+ request: {
18114
+ /** V1 error format. */
18115
+ '$.xgafv'?: string;
18116
+ /** OAuth access token. */
18117
+ access_token?: string;
18118
+ /** Data format for response. */
18119
+ alt?: string;
18120
+ /** JSONP */
18121
+ callback?: string;
18122
+ /** Selector specifying which fields to include in a partial response. */
18123
+ fields?: string;
18124
+ /** 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. */
18125
+ key?: string;
18126
+ /** OAuth 2.0 token for the current user. */
18127
+ oauth_token?: string;
18128
+ /** Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
18129
+ parent: string;
18130
+ /** Returns response with indentations and line breaks. */
18131
+ prettyPrint?: boolean;
18132
+ /** 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. */
18133
+ quotaUser?: string;
18134
+ /** Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/. */
18135
+ servingConfigId?: string;
18136
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18137
+ upload_protocol?: string;
18138
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18139
+ uploadType?: string;
18140
+ },
18141
+ body: GoogleCloudDiscoveryengineV1alphaServingConfig,
18142
+ ): Request<GoogleCloudDiscoveryengineV1alphaServingConfig>;
18143
+ /** Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. */
18144
+ delete(request?: {
18145
+ /** V1 error format. */
18146
+ '$.xgafv'?: string;
18147
+ /** OAuth access token. */
18148
+ access_token?: string;
18149
+ /** Data format for response. */
18150
+ alt?: string;
18151
+ /** JSONP */
18152
+ callback?: string;
18153
+ /** Selector specifying which fields to include in a partial response. */
18154
+ fields?: string;
18155
+ /** 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. */
18156
+ key?: string;
18157
+ /** Required. The resource name of the ServingConfig to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` */
18158
+ name: string;
18159
+ /** OAuth 2.0 token for the current user. */
18160
+ oauth_token?: string;
18161
+ /** Returns response with indentations and line breaks. */
18162
+ prettyPrint?: boolean;
18163
+ /** 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. */
18164
+ quotaUser?: string;
18165
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18166
+ upload_protocol?: string;
18167
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18168
+ uploadType?: string;
18169
+ }): Request<{}>;
17858
18170
  /** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
17859
18171
  get(request?: {
17860
18172
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.1.20251203",
3
+ "version": "0.1.20251217",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",