@maxim_mazurok/gapi.client.discoveryengine-v1 0.0.20241206 → 0.0.20241208

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 +4 -48
  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=v1
12
- // Revision: 20241206
12
+ // Revision: 20241208
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -490,24 +490,6 @@ declare namespace gapi.client {
490
490
  /** Whether or not to enable and include custom fine tuned search adaptor model. */
491
491
  enableSearchAdaptor?: boolean;
492
492
  }
493
- interface GoogleCloudDiscoveryengineV1alphaCustomTuningModel {
494
- /** Deprecated: Timestamp the Model was created at. */
495
- createTime?: string;
496
- /** The display name of the model. */
497
- displayName?: string;
498
- /** Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`. */
499
- errorMessage?: string;
500
- /** The metrics of the trained model. */
501
- metrics?: {[P in string]: number};
502
- /** The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). */
503
- modelState?: string;
504
- /** The version of the model. */
505
- modelVersion?: string;
506
- /** Required. The fully qualified resource name of the model. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`. Model must be an alpha-numerical string with limit of 40 characters. */
507
- name?: string;
508
- /** Timestamp the model training was initiated. */
509
- trainingStartTime?: string;
510
- }
511
493
  interface GoogleCloudDiscoveryengineV1alphaDataStore {
512
494
  /** Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. */
513
495
  aclEnabled?: boolean;
@@ -673,7 +655,7 @@ declare namespace gapi.client {
673
655
  disableAnalytics?: boolean;
674
656
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
675
657
  displayName?: string;
676
- /** The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine. */
658
+ /** The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. */
677
659
  industryVertical?: string;
678
660
  /** Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. */
679
661
  mediaRecommendationEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig;
@@ -949,10 +931,6 @@ declare namespace gapi.client {
949
931
  /** Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``. */
950
932
  region?: string;
951
933
  }
952
- interface GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse {
953
- /** List of custom tuning models. */
954
- models?: GoogleCloudDiscoveryengineV1alphaCustomTuningModel[];
955
- }
956
934
  interface GoogleCloudDiscoveryengineV1alphaListSessionsRequest {
957
935
  /** A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: "user_pseudo_id = some_id" */
958
936
  filter?: string;
@@ -2047,24 +2025,6 @@ declare namespace gapi.client {
2047
2025
  /** Operation last update time. If the operation is done, this is also the finish time. */
2048
2026
  updateTime?: string;
2049
2027
  }
2050
- interface GoogleCloudDiscoveryengineV1betaCustomTuningModel {
2051
- /** Deprecated: Timestamp the Model was created at. */
2052
- createTime?: string;
2053
- /** The display name of the model. */
2054
- displayName?: string;
2055
- /** Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`. */
2056
- errorMessage?: string;
2057
- /** The metrics of the trained model. */
2058
- metrics?: {[P in string]: number};
2059
- /** The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). */
2060
- modelState?: string;
2061
- /** The version of the model. */
2062
- modelVersion?: string;
2063
- /** Required. The fully qualified resource name of the model. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`. Model must be an alpha-numerical string with limit of 40 characters. */
2064
- name?: string;
2065
- /** Timestamp the model training was initiated. */
2066
- trainingStartTime?: string;
2067
- }
2068
2028
  interface GoogleCloudDiscoveryengineV1betaDataStore {
2069
2029
  /** Optional. Configuration for advanced site search. */
2070
2030
  advancedSiteSearchConfig?: any;
@@ -2216,7 +2176,7 @@ declare namespace gapi.client {
2216
2176
  disableAnalytics?: boolean;
2217
2177
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
2218
2178
  displayName?: string;
2219
- /** The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine. */
2179
+ /** The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. */
2220
2180
  industryVertical?: string;
2221
2181
  /** Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*‍/. Otherwise, an INVALID_ARGUMENT error is returned. */
2222
2182
  name?: string;
@@ -2403,10 +2363,6 @@ declare namespace gapi.client {
2403
2363
  /** Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``. */
2404
2364
  region?: string;
2405
2365
  }
2406
- interface GoogleCloudDiscoveryengineV1betaListCustomModelsResponse {
2407
- /** List of custom tuning models. */
2408
- models?: GoogleCloudDiscoveryengineV1betaCustomTuningModel[];
2409
- }
2410
2366
  interface GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig {
2411
2367
  /** Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. */
2412
2368
  mode?: string;
@@ -3410,7 +3366,7 @@ declare namespace gapi.client {
3410
3366
  disableAnalytics?: boolean;
3411
3367
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
3412
3368
  displayName?: string;
3413
- /** The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine. */
3369
+ /** The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. */
3414
3370
  industryVertical?: string;
3415
3371
  /** Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*‍/. Otherwise, an INVALID_ARGUMENT error is returned. */
3416
3372
  name?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1",
3
- "version": "0.0.20241206",
3
+ "version": "0.0.20241208",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",