@maxim_mazurok/gapi.client.discoveryengine-v1 0.0.20240415 → 0.0.20240503

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 +48 -4
  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: 20240415
12
+ // Revision: 20240503
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -260,6 +260,19 @@ declare namespace gapi.client {
260
260
  /** Operation last update time. If the operation is done, this is also the finish time. */
261
261
  updateTime?: string;
262
262
  }
263
+ interface GoogleCloudDiscoveryengineV1alphaCustomTuningModel {
264
+ /** Timestamp the Model was created at. */
265
+ createTime?: string;
266
+ /** The display name of the model. */
267
+ displayName?: string;
268
+ /** The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). */
269
+ modelState?: string;
270
+ modelVersion?: string;
271
+ /** Required. The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}` model must be an alpha-numerical string with limit of 40 characters. */
272
+ name?: string;
273
+ /** Timestamp the model training was initiated. */
274
+ trainingStartTime?: string;
275
+ }
263
276
  interface GoogleCloudDiscoveryengineV1alphaDataStore {
264
277
  /** 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. */
265
278
  aclEnabled?: boolean;
@@ -545,6 +558,10 @@ declare namespace gapi.client {
545
558
  /** Count of user events imported, but with Document information not found in the existing Branch. */
546
559
  unjoinedEventsCount?: string;
547
560
  }
561
+ interface GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse {
562
+ /** List of custom tuning models. */
563
+ models?: GoogleCloudDiscoveryengineV1alphaCustomTuningModel[];
564
+ }
548
565
  interface GoogleCloudDiscoveryengineV1alphaProject {
549
566
  /** Output only. The timestamp when this project is created. */
550
567
  createTime?: string;
@@ -703,6 +720,8 @@ declare namespace gapi.client {
703
720
  name?: string;
704
721
  /** Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated. */
705
722
  providedUriPattern?: string;
723
+ /** Output only. Root domain of the provided_uri_pattern. */
724
+ rootDomainUri?: string;
706
725
  /** Output only. Site ownership and validity verification status. */
707
726
  siteVerificationInfo?: GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo;
708
727
  /** The type of the target site, e.g., whether the site is to be included or excluded. */
@@ -731,6 +750,8 @@ declare namespace gapi.client {
731
750
  errorSamples?: GoogleRpcStatus[];
732
751
  /** The metrics of the trained model. */
733
752
  metrics?: {[P in string]: number};
753
+ /** Fully qualified name of the CustomTuningModel. */
754
+ modelName?: string;
734
755
  /** The trained model status. Possible values are: * **bad-data**: The training data quality is bad. * **no-improvement**: Tuning didn't improve performance. Won't deploy. * **in-progress**: Model training job creation is in progress. * **training**: Model is actively training. * **evaluating**: The model is evaluating trained metrics. * **indexing**: The model trained metrics are indexing. * **ready**: The model is ready for serving. */
735
756
  modelStatus?: string;
736
757
  }
@@ -800,6 +821,19 @@ declare namespace gapi.client {
800
821
  /** Operation last update time. If the operation is done, this is also the finish time. */
801
822
  updateTime?: string;
802
823
  }
824
+ interface GoogleCloudDiscoveryengineV1betaCustomTuningModel {
825
+ /** Timestamp the Model was created at. */
826
+ createTime?: string;
827
+ /** The display name of the model. */
828
+ displayName?: string;
829
+ /** The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). */
830
+ modelState?: string;
831
+ modelVersion?: string;
832
+ /** Required. The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}` model must be an alpha-numerical string with limit of 40 characters. */
833
+ name?: string;
834
+ /** Timestamp the model training was initiated. */
835
+ trainingStartTime?: string;
836
+ }
803
837
  interface GoogleCloudDiscoveryengineV1betaDataStore {
804
838
  /** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
805
839
  contentConfig?: string;
@@ -991,6 +1025,10 @@ declare namespace gapi.client {
991
1025
  /** Count of user events imported, but with Document information not found in the existing Branch. */
992
1026
  unjoinedEventsCount?: string;
993
1027
  }
1028
+ interface GoogleCloudDiscoveryengineV1betaListCustomModelsResponse {
1029
+ /** List of custom tuning models. */
1030
+ models?: GoogleCloudDiscoveryengineV1betaCustomTuningModel[];
1031
+ }
994
1032
  interface GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata {
995
1033
  /** Operation create time. */
996
1034
  createTime?: string;
@@ -1048,6 +1086,8 @@ declare namespace gapi.client {
1048
1086
  name?: string;
1049
1087
  /** Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated. */
1050
1088
  providedUriPattern?: string;
1089
+ /** Output only. Root domain of the provided_uri_pattern. */
1090
+ rootDomainUri?: string;
1051
1091
  /** Output only. Site ownership and validity verification status. */
1052
1092
  siteVerificationInfo?: GoogleCloudDiscoveryengineV1betaSiteVerificationInfo;
1053
1093
  /** The type of the target site, e.g., whether the site is to be included or excluded. */
@@ -1076,6 +1116,8 @@ declare namespace gapi.client {
1076
1116
  errorSamples?: GoogleRpcStatus[];
1077
1117
  /** The metrics of the trained model. */
1078
1118
  metrics?: {[P in string]: number};
1119
+ /** Fully qualified name of the CustomTuningModel. */
1120
+ modelName?: string;
1079
1121
  /** The trained model status. Possible values are: * **bad-data**: The training data quality is bad. * **no-improvement**: Tuning didn't improve performance. Won't deploy. * **in-progress**: Model training job creation is in progress. * **training**: Model is actively training. * **evaluating**: The model is evaluating trained metrics. * **indexing**: The model trained metrics are indexing. * **ready**: The model is ready for serving. */
1080
1122
  modelStatus?: string;
1081
1123
  }
@@ -1775,7 +1817,7 @@ declare namespace gapi.client {
1775
1817
  imageQuery?: GoogleCloudDiscoveryengineV1SearchRequestImageQuery;
1776
1818
  /** A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. */
1777
1819
  offset?: number;
1778
- /** 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, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
1820
+ /** 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 for retail search, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
1779
1821
  orderBy?: string;
1780
1822
  /** 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. */
1781
1823
  pageSize?: number;
@@ -2051,6 +2093,8 @@ declare namespace gapi.client {
2051
2093
  name?: string;
2052
2094
  /** Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated. */
2053
2095
  providedUriPattern?: string;
2096
+ /** Output only. Root domain of the provided_uri_pattern. */
2097
+ rootDomainUri?: string;
2054
2098
  /** Output only. Site ownership and validity verification status. */
2055
2099
  siteVerificationInfo?: GoogleCloudDiscoveryengineV1SiteVerificationInfo;
2056
2100
  /** The type of the target site, e.g., whether the site is to be included or excluded. */
@@ -4544,7 +4588,7 @@ declare namespace gapi.client {
4544
4588
  callback?: string;
4545
4589
  /** Selector specifying which fields to include in a partial response. */
4546
4590
  fields?: string;
4547
- /** Filter by solution type. For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH' */
4591
+ /** Filter by solution type . For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH' */
4548
4592
  filter?: string;
4549
4593
  /** 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. */
4550
4594
  key?: string;
@@ -7394,7 +7438,7 @@ declare namespace gapi.client {
7394
7438
  callback?: string;
7395
7439
  /** Selector specifying which fields to include in a partial response. */
7396
7440
  fields?: string;
7397
- /** Filter by solution type. For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH' */
7441
+ /** Filter by solution type . For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH' */
7398
7442
  filter?: string;
7399
7443
  /** 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. */
7400
7444
  key?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1",
3
- "version": "0.0.20240415",
3
+ "version": "0.0.20240503",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",