@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20240131 → 0.0.20240213

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 +428 -1
  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=v1beta
12
- // Revision: 20240131
12
+ // Revision: 20240213
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -765,6 +765,10 @@ declare namespace gapi.client {
765
765
  /** Double values. */
766
766
  values?: number[];
767
767
  }
768
+ interface GoogleCloudDiscoveryengineV1betaEmbeddingConfig {
769
+ /** Full field path in the schema mapped as embedding field. */
770
+ fieldPath?: string;
771
+ }
768
772
  interface GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata {
769
773
  /** Operation create time. */
770
774
  createTime?: string;
@@ -979,6 +983,12 @@ declare namespace gapi.client {
979
983
  /** The Schemas. */
980
984
  schemas?: GoogleCloudDiscoveryengineV1betaSchema[];
981
985
  }
986
+ interface GoogleCloudDiscoveryengineV1betaListServingConfigsResponse {
987
+ /** Pagination token, if not returned indicates the last page. */
988
+ nextPageToken?: string;
989
+ /** All the ServingConfigs for a given dataStore. */
990
+ servingConfigs?: GoogleCloudDiscoveryengineV1betaServingConfig[];
991
+ }
982
992
  interface GoogleCloudDiscoveryengineV1betaListTargetSitesResponse {
983
993
  /** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
984
994
  nextPageToken?: string;
@@ -1352,6 +1362,7 @@ declare namespace gapi.client {
1352
1362
  summarySkippedReasons?: string[];
1353
1363
  /** The summary content. */
1354
1364
  summaryText?: string;
1365
+ /** Summary with metadata information. */
1355
1366
  summaryWithMetadata?: GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata;
1356
1367
  }
1357
1368
  interface GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation {
@@ -1392,6 +1403,62 @@ declare namespace gapi.client {
1392
1403
  /** Summary text with no citation information. */
1393
1404
  summary?: string;
1394
1405
  }
1406
+ interface GoogleCloudDiscoveryengineV1betaServingConfig {
1407
+ /** Boost controls to use in serving path. All triggered boost controls will be applied. Boost controls must be in the same data store as the serving config. Maximum of 20 boost controls. */
1408
+ boostControlIds?: string[];
1409
+ /** Output only. ServingConfig created timestamp. */
1410
+ createTime?: string;
1411
+ /** Required. The human readable serving config display name. Used in Discovery UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
1412
+ displayName?: string;
1413
+ /** Condition do not associate specifications. If multiple do not associate conditions match, all matching do not associate controls in the list will execute. Order does not matter. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. */
1414
+ dissociateControlIds?: string[];
1415
+ /** How much diversity to use in recommendation model results e.g. `medium-diversity` or `high-diversity`. Currently supported values: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` If not specified, we choose default based on recommendation model type. Default value: `no-diversity`. Can only be set if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
1416
+ diversityLevel?: string;
1417
+ /** Bring your own embedding config. The config is used for search semantic retrieval. The retrieval is based on the dot product of SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document embeddings that are provided by this EmbeddingConfig. If SearchRequest.EmbeddingSpec.EmbeddingVector.vector is provided, it overrides this ServingConfig.embedding_config. */
1418
+ embeddingConfig?: GoogleCloudDiscoveryengineV1betaEmbeddingConfig;
1419
+ /** Filter controls to use in serving path. All triggered filter controls will be applied. Filter controls must be in the same data store as the serving config. Maximum of 20 filter controls. */
1420
+ filterControlIds?: string[];
1421
+ /** The GenericConfig of the serving configuration. */
1422
+ genericConfig?: GoogleCloudDiscoveryengineV1betaServingConfigGenericConfig;
1423
+ /** Condition ignore specifications. If multiple ignore conditions match, all matching ignore controls in the list will execute. Order does not matter. Maximum number of specifications is 100. */
1424
+ ignoreControlIds?: string[];
1425
+ /** The MediaConfig of the serving configuration. */
1426
+ mediaConfig?: GoogleCloudDiscoveryengineV1betaServingConfigMediaConfig;
1427
+ /** The id of the model to use at serving time. Currently only RecommendationModels are supported. Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
1428
+ modelId?: string;
1429
+ /** Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}` */
1430
+ name?: string;
1431
+ /** Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. */
1432
+ onewaySynonymsControlIds?: string[];
1433
+ /** The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if SearchRequest.ranking_expression is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: relevance_score: pre-defined keywords, used for measure relevance between query and document. embedding_field_path: the document embedding field used with query embedding vector. dotProduct: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be 0.5 * relevance_score + 0.3 * dotProduct(doc_embedding). */
1434
+ rankingExpression?: string;
1435
+ /** IDs of the redirect controls. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. */
1436
+ redirectControlIds?: string[];
1437
+ /** Condition replacement specifications. Applied according to the order in the list. A previously replaced term can not be re-replaced. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. */
1438
+ replacementControlIds?: string[];
1439
+ /** Required. Immutable. Specifies the solution type that a serving config can be associated with. */
1440
+ solutionType?: string;
1441
+ /** Condition synonyms specifications. If multiple synonyms conditions match, all matching synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. */
1442
+ synonymsControlIds?: string[];
1443
+ /** Output only. ServingConfig updated timestamp. */
1444
+ updateTime?: string;
1445
+ }
1446
+ interface GoogleCloudDiscoveryengineV1betaServingConfigGenericConfig {
1447
+ /** Specifies the expected behavior of content search. Only valid for content-search enabled data store. */
1448
+ contentSearchSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec;
1449
+ }
1450
+ interface GoogleCloudDiscoveryengineV1betaServingConfigMediaConfig {
1451
+ /** Specifies the content freshness used for recommendation result. Contents will be demoted if contents were published for more than content freshness cutoff days. */
1452
+ contentFreshnessCutoffDays?: number;
1453
+ /** Specifies the content watched minutes threshold for demotion. */
1454
+ contentWatchedMinutesThreshold?: number;
1455
+ /** Specifies the content watched percentage threshold for demotion. Threshold value must be between [0, 1.0] inclusive. */
1456
+ contentWatchedPercentageThreshold?: number;
1457
+ /** Specifies the content watched minutes threshold for demotion. */
1458
+ contentWatchedSecondsThreshold?: number;
1459
+ /** Specifies the event type used for demoting recommendation result. Currently supported values: * `view-item`: Item viewed. * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. If unset, watch history demotion will not be applied. Content freshness demotion will still be applied. */
1460
+ demotionEventType?: string;
1461
+ }
1395
1462
  interface GoogleCloudDiscoveryengineV1betaSiteSearchEngine {
1396
1463
  /** The fully qualified resource name of the site search engine. Format: `projects/*‍/locations/*‍/dataStores/*‍/siteSearchEngine` */
1397
1464
  name?: string;
@@ -2946,6 +3013,126 @@ declare namespace gapi.client {
2946
3013
  operations: OperationsResource;
2947
3014
  }
2948
3015
  interface ServingConfigsResource {
3016
+ /** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
3017
+ get(request?: {
3018
+ /** V1 error format. */
3019
+ '$.xgafv'?: string;
3020
+ /** OAuth access token. */
3021
+ access_token?: string;
3022
+ /** Data format for response. */
3023
+ alt?: string;
3024
+ /** JSONP */
3025
+ callback?: string;
3026
+ /** Selector specifying which fields to include in a partial response. */
3027
+ fields?: string;
3028
+ /** 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. */
3029
+ key?: string;
3030
+ /** Required. The resource name of the ServingConfig to get. Format: `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config_id}` */
3031
+ name: string;
3032
+ /** OAuth 2.0 token for the current user. */
3033
+ oauth_token?: string;
3034
+ /** Returns response with indentations and line breaks. */
3035
+ prettyPrint?: boolean;
3036
+ /** 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. */
3037
+ quotaUser?: string;
3038
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3039
+ upload_protocol?: string;
3040
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3041
+ uploadType?: string;
3042
+ }): Request<GoogleCloudDiscoveryengineV1betaServingConfig>;
3043
+ /** Lists all ServingConfigs linked to this dataStore. */
3044
+ list(request?: {
3045
+ /** V1 error format. */
3046
+ '$.xgafv'?: string;
3047
+ /** OAuth access token. */
3048
+ access_token?: string;
3049
+ /** Data format for response. */
3050
+ alt?: string;
3051
+ /** JSONP */
3052
+ callback?: string;
3053
+ /** Selector specifying which fields to include in a partial response. */
3054
+ fields?: string;
3055
+ /** 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. */
3056
+ key?: string;
3057
+ /** OAuth 2.0 token for the current user. */
3058
+ oauth_token?: string;
3059
+ /** Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned. */
3060
+ pageSize?: number;
3061
+ /** Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page. */
3062
+ pageToken?: string;
3063
+ /** Required. The dataStore resource name. Format: `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}` */
3064
+ parent: string;
3065
+ /** Returns response with indentations and line breaks. */
3066
+ prettyPrint?: boolean;
3067
+ /** 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. */
3068
+ quotaUser?: string;
3069
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3070
+ upload_protocol?: string;
3071
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3072
+ uploadType?: string;
3073
+ }): Request<GoogleCloudDiscoveryengineV1betaListServingConfigsResponse>;
3074
+ /** Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. */
3075
+ patch(request: {
3076
+ /** V1 error format. */
3077
+ '$.xgafv'?: string;
3078
+ /** OAuth access token. */
3079
+ access_token?: string;
3080
+ /** Data format for response. */
3081
+ alt?: string;
3082
+ /** JSONP */
3083
+ callback?: string;
3084
+ /** Selector specifying which fields to include in a partial response. */
3085
+ fields?: string;
3086
+ /** 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. */
3087
+ key?: string;
3088
+ /** Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}` */
3089
+ name: string;
3090
+ /** OAuth 2.0 token for the current user. */
3091
+ oauth_token?: string;
3092
+ /** Returns response with indentations and line breaks. */
3093
+ prettyPrint?: boolean;
3094
+ /** 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. */
3095
+ quotaUser?: string;
3096
+ /** Indicates which fields in the provided ServingConfig to update. The following are NOT supported: * ServingConfig.name If not set, all supported fields are updated. */
3097
+ updateMask?: string;
3098
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3099
+ upload_protocol?: string;
3100
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3101
+ uploadType?: string;
3102
+ /** Request body */
3103
+ resource: GoogleCloudDiscoveryengineV1betaServingConfig;
3104
+ }): Request<GoogleCloudDiscoveryengineV1betaServingConfig>;
3105
+ patch(
3106
+ request: {
3107
+ /** V1 error format. */
3108
+ '$.xgafv'?: string;
3109
+ /** OAuth access token. */
3110
+ access_token?: string;
3111
+ /** Data format for response. */
3112
+ alt?: string;
3113
+ /** JSONP */
3114
+ callback?: string;
3115
+ /** Selector specifying which fields to include in a partial response. */
3116
+ fields?: string;
3117
+ /** 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. */
3118
+ key?: string;
3119
+ /** Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}` */
3120
+ name: string;
3121
+ /** OAuth 2.0 token for the current user. */
3122
+ oauth_token?: string;
3123
+ /** Returns response with indentations and line breaks. */
3124
+ prettyPrint?: boolean;
3125
+ /** 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. */
3126
+ quotaUser?: string;
3127
+ /** Indicates which fields in the provided ServingConfig to update. The following are NOT supported: * ServingConfig.name If not set, all supported fields are updated. */
3128
+ updateMask?: string;
3129
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3130
+ upload_protocol?: string;
3131
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3132
+ uploadType?: string;
3133
+ },
3134
+ body: GoogleCloudDiscoveryengineV1betaServingConfig
3135
+ ): Request<GoogleCloudDiscoveryengineV1betaServingConfig>;
2949
3136
  /** Makes a recommendation, which requires a contextual user event. */
2950
3137
  recommend(request: {
2951
3138
  /** V1 error format. */
@@ -4605,6 +4792,126 @@ declare namespace gapi.client {
4605
4792
  }): Request<GoogleLongrunningListOperationsResponse>;
4606
4793
  }
4607
4794
  interface ServingConfigsResource {
4795
+ /** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
4796
+ get(request?: {
4797
+ /** V1 error format. */
4798
+ '$.xgafv'?: string;
4799
+ /** OAuth access token. */
4800
+ access_token?: string;
4801
+ /** Data format for response. */
4802
+ alt?: string;
4803
+ /** JSONP */
4804
+ callback?: string;
4805
+ /** Selector specifying which fields to include in a partial response. */
4806
+ fields?: string;
4807
+ /** 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. */
4808
+ key?: string;
4809
+ /** Required. The resource name of the ServingConfig to get. Format: `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config_id}` */
4810
+ name: string;
4811
+ /** OAuth 2.0 token for the current user. */
4812
+ oauth_token?: string;
4813
+ /** Returns response with indentations and line breaks. */
4814
+ prettyPrint?: boolean;
4815
+ /** 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. */
4816
+ quotaUser?: string;
4817
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4818
+ upload_protocol?: string;
4819
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4820
+ uploadType?: string;
4821
+ }): Request<GoogleCloudDiscoveryengineV1betaServingConfig>;
4822
+ /** Lists all ServingConfigs linked to this dataStore. */
4823
+ list(request?: {
4824
+ /** V1 error format. */
4825
+ '$.xgafv'?: string;
4826
+ /** OAuth access token. */
4827
+ access_token?: string;
4828
+ /** Data format for response. */
4829
+ alt?: string;
4830
+ /** JSONP */
4831
+ callback?: string;
4832
+ /** Selector specifying which fields to include in a partial response. */
4833
+ fields?: string;
4834
+ /** 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. */
4835
+ key?: string;
4836
+ /** OAuth 2.0 token for the current user. */
4837
+ oauth_token?: string;
4838
+ /** Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned. */
4839
+ pageSize?: number;
4840
+ /** Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page. */
4841
+ pageToken?: string;
4842
+ /** Required. The dataStore resource name. Format: `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}` */
4843
+ parent: string;
4844
+ /** Returns response with indentations and line breaks. */
4845
+ prettyPrint?: boolean;
4846
+ /** 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. */
4847
+ quotaUser?: string;
4848
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4849
+ upload_protocol?: string;
4850
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4851
+ uploadType?: string;
4852
+ }): Request<GoogleCloudDiscoveryengineV1betaListServingConfigsResponse>;
4853
+ /** Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. */
4854
+ patch(request: {
4855
+ /** V1 error format. */
4856
+ '$.xgafv'?: string;
4857
+ /** OAuth access token. */
4858
+ access_token?: string;
4859
+ /** Data format for response. */
4860
+ alt?: string;
4861
+ /** JSONP */
4862
+ callback?: string;
4863
+ /** Selector specifying which fields to include in a partial response. */
4864
+ fields?: string;
4865
+ /** 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. */
4866
+ key?: string;
4867
+ /** Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}` */
4868
+ name: string;
4869
+ /** OAuth 2.0 token for the current user. */
4870
+ oauth_token?: string;
4871
+ /** Returns response with indentations and line breaks. */
4872
+ prettyPrint?: boolean;
4873
+ /** 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. */
4874
+ quotaUser?: string;
4875
+ /** Indicates which fields in the provided ServingConfig to update. The following are NOT supported: * ServingConfig.name If not set, all supported fields are updated. */
4876
+ updateMask?: string;
4877
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4878
+ upload_protocol?: string;
4879
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4880
+ uploadType?: string;
4881
+ /** Request body */
4882
+ resource: GoogleCloudDiscoveryengineV1betaServingConfig;
4883
+ }): Request<GoogleCloudDiscoveryengineV1betaServingConfig>;
4884
+ patch(
4885
+ request: {
4886
+ /** V1 error format. */
4887
+ '$.xgafv'?: string;
4888
+ /** OAuth access token. */
4889
+ access_token?: string;
4890
+ /** Data format for response. */
4891
+ alt?: string;
4892
+ /** JSONP */
4893
+ callback?: string;
4894
+ /** Selector specifying which fields to include in a partial response. */
4895
+ fields?: string;
4896
+ /** 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. */
4897
+ key?: string;
4898
+ /** Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}` */
4899
+ name: string;
4900
+ /** OAuth 2.0 token for the current user. */
4901
+ oauth_token?: string;
4902
+ /** Returns response with indentations and line breaks. */
4903
+ prettyPrint?: boolean;
4904
+ /** 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. */
4905
+ quotaUser?: string;
4906
+ /** Indicates which fields in the provided ServingConfig to update. The following are NOT supported: * ServingConfig.name If not set, all supported fields are updated. */
4907
+ updateMask?: string;
4908
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4909
+ upload_protocol?: string;
4910
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4911
+ uploadType?: string;
4912
+ },
4913
+ body: GoogleCloudDiscoveryengineV1betaServingConfig
4914
+ ): Request<GoogleCloudDiscoveryengineV1betaServingConfig>;
4608
4915
  /** Makes a recommendation, which requires a contextual user event. */
4609
4916
  recommend(request: {
4610
4917
  /** V1 error format. */
@@ -6007,6 +6314,126 @@ declare namespace gapi.client {
6007
6314
  ): Request<GoogleLongrunningOperation>;
6008
6315
  }
6009
6316
  interface ServingConfigsResource {
6317
+ /** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
6318
+ get(request?: {
6319
+ /** V1 error format. */
6320
+ '$.xgafv'?: string;
6321
+ /** OAuth access token. */
6322
+ access_token?: string;
6323
+ /** Data format for response. */
6324
+ alt?: string;
6325
+ /** JSONP */
6326
+ callback?: string;
6327
+ /** Selector specifying which fields to include in a partial response. */
6328
+ fields?: string;
6329
+ /** 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. */
6330
+ key?: string;
6331
+ /** Required. The resource name of the ServingConfig to get. Format: `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config_id}` */
6332
+ name: string;
6333
+ /** OAuth 2.0 token for the current user. */
6334
+ oauth_token?: string;
6335
+ /** Returns response with indentations and line breaks. */
6336
+ prettyPrint?: boolean;
6337
+ /** 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. */
6338
+ quotaUser?: string;
6339
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6340
+ upload_protocol?: string;
6341
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6342
+ uploadType?: string;
6343
+ }): Request<GoogleCloudDiscoveryengineV1betaServingConfig>;
6344
+ /** Lists all ServingConfigs linked to this dataStore. */
6345
+ list(request?: {
6346
+ /** V1 error format. */
6347
+ '$.xgafv'?: string;
6348
+ /** OAuth access token. */
6349
+ access_token?: string;
6350
+ /** Data format for response. */
6351
+ alt?: string;
6352
+ /** JSONP */
6353
+ callback?: string;
6354
+ /** Selector specifying which fields to include in a partial response. */
6355
+ fields?: string;
6356
+ /** 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. */
6357
+ key?: string;
6358
+ /** OAuth 2.0 token for the current user. */
6359
+ oauth_token?: string;
6360
+ /** Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned. */
6361
+ pageSize?: number;
6362
+ /** Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page. */
6363
+ pageToken?: string;
6364
+ /** Required. The dataStore resource name. Format: `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}` */
6365
+ parent: string;
6366
+ /** Returns response with indentations and line breaks. */
6367
+ prettyPrint?: boolean;
6368
+ /** 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. */
6369
+ quotaUser?: string;
6370
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6371
+ upload_protocol?: string;
6372
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6373
+ uploadType?: string;
6374
+ }): Request<GoogleCloudDiscoveryengineV1betaListServingConfigsResponse>;
6375
+ /** Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist. */
6376
+ patch(request: {
6377
+ /** V1 error format. */
6378
+ '$.xgafv'?: string;
6379
+ /** OAuth access token. */
6380
+ access_token?: string;
6381
+ /** Data format for response. */
6382
+ alt?: string;
6383
+ /** JSONP */
6384
+ callback?: string;
6385
+ /** Selector specifying which fields to include in a partial response. */
6386
+ fields?: string;
6387
+ /** 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. */
6388
+ key?: string;
6389
+ /** Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}` */
6390
+ name: string;
6391
+ /** OAuth 2.0 token for the current user. */
6392
+ oauth_token?: string;
6393
+ /** Returns response with indentations and line breaks. */
6394
+ prettyPrint?: boolean;
6395
+ /** 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. */
6396
+ quotaUser?: string;
6397
+ /** Indicates which fields in the provided ServingConfig to update. The following are NOT supported: * ServingConfig.name If not set, all supported fields are updated. */
6398
+ updateMask?: string;
6399
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6400
+ upload_protocol?: string;
6401
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6402
+ uploadType?: string;
6403
+ /** Request body */
6404
+ resource: GoogleCloudDiscoveryengineV1betaServingConfig;
6405
+ }): Request<GoogleCloudDiscoveryengineV1betaServingConfig>;
6406
+ patch(
6407
+ request: {
6408
+ /** V1 error format. */
6409
+ '$.xgafv'?: string;
6410
+ /** OAuth access token. */
6411
+ access_token?: string;
6412
+ /** Data format for response. */
6413
+ alt?: string;
6414
+ /** JSONP */
6415
+ callback?: string;
6416
+ /** Selector specifying which fields to include in a partial response. */
6417
+ fields?: string;
6418
+ /** 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. */
6419
+ key?: string;
6420
+ /** Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}` */
6421
+ name: string;
6422
+ /** OAuth 2.0 token for the current user. */
6423
+ oauth_token?: string;
6424
+ /** Returns response with indentations and line breaks. */
6425
+ prettyPrint?: boolean;
6426
+ /** 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. */
6427
+ quotaUser?: string;
6428
+ /** Indicates which fields in the provided ServingConfig to update. The following are NOT supported: * ServingConfig.name If not set, all supported fields are updated. */
6429
+ updateMask?: string;
6430
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6431
+ upload_protocol?: string;
6432
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6433
+ uploadType?: string;
6434
+ },
6435
+ body: GoogleCloudDiscoveryengineV1betaServingConfig
6436
+ ): Request<GoogleCloudDiscoveryengineV1betaServingConfig>;
6010
6437
  /** Makes a recommendation, which requires a contextual user event. */
6011
6438
  recommend(request: {
6012
6439
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.0.20240131",
3
+ "version": "0.0.20240213",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",