@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20240323 → 0.0.20240329

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 +83 -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: 20240323
12
+ // Revision: 20240329
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -615,6 +615,58 @@ declare namespace gapi.client {
615
615
  /** Required. The BigQuery table to copy the data from with a length limit of 1,024 characters. */
616
616
  tableId?: string;
617
617
  }
618
+ interface GoogleCloudDiscoveryengineV1betaBigtableOptions {
619
+ /** The mapping from family names to an object that contains column families level information for the given column family. If a family is not present in this map it will be ignored. */
620
+ families?: {
621
+ [P in string]: GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumnFamily;
622
+ };
623
+ /** The field name used for saving row key value in the UCS document. The name has to match a-zA-Z0-9* */
624
+ keyFieldName?: string;
625
+ }
626
+ interface GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumn {
627
+ /** Optional. The encoding mode of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. This can be overridden for a specific column by listing that column in 'columns' and specifying an encoding for it. */
628
+ encoding?: string;
629
+ /** The field name to use for this column in the UCS document. The name has to match a-zA-Z0-9* If not set, we will parse it from the qualifier bytes with best effort. However, field name collisions could happen, where parsing behavior is undefined. */
630
+ fieldName?: string;
631
+ /** Required. Qualifier of the column. If cannot decode with utf-8, store a base-64 encoded string. */
632
+ qualifier?: string;
633
+ /** Optional. The type of values in this column family. The values are expected to be encoded using HBase Bytes.toBytes function when the encoding value is set to BINARY. */
634
+ type?: string;
635
+ }
636
+ interface GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumnFamily {
637
+ /** The list of objects that contains column level information for each column. If a column is not present in this list it will be ignored. */
638
+ columns?: GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumn[];
639
+ /** Optional. The encoding mode of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. This can be overridden for a specific column by listing that column in 'columns' and specifying an encoding for it. */
640
+ encoding?: string;
641
+ /** The field name to use for this column family in the UCS document. The name has to match a-zA-Z0-9* If not set, we will parse it from the family name with best effort. However, due to difference naming pattern, there could be field name collisions, where parsing behavior is undefined. */
642
+ fieldName?: string;
643
+ /** Optional. The type of values in this column family. The values are expected to be encoded using HBase Bytes.toBytes function when the encoding value is set to BINARY. */
644
+ type?: string;
645
+ }
646
+ interface GoogleCloudDiscoveryengineV1betaBigtableSource {
647
+ /** Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations. */
648
+ bigtableOptions?: GoogleCloudDiscoveryengineV1betaBigtableOptions;
649
+ /** Required. The instance ID of the Cloud Bigtable that needs to be exported. */
650
+ instanceId?: string;
651
+ /** The project ID (can be project # or ID) that the Bigtable source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request. */
652
+ projectId?: string;
653
+ /** Required. The table ID of the Cloud Bigtable that needs to be exported. */
654
+ tableId?: string;
655
+ }
656
+ interface GoogleCloudDiscoveryengineV1betaCloudSqlSource {
657
+ /** Required. The Cloud SQL database to copy the data from with a length limit of 256 characters. */
658
+ databaseId?: string;
659
+ /** Optional. Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Cloud SQL export to a specific Cloud Storage directory. Please ensure that the Cloud SQL service account has the necessary GCS Storage Admin permissions to access the specified GCS directory. */
660
+ gcsStagingDir?: string;
661
+ /** Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters. */
662
+ instanceId?: string;
663
+ /** Optional. Option for serverless export. Enabling this option will incur additional cost. More info: https://cloud.google.com/sql/pricing#serverless */
664
+ offload?: boolean;
665
+ /** Optional. The project ID (can be project # or ID) that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request. */
666
+ projectId?: string;
667
+ /** Required. The Cloud SQL table to copy the data from with a length limit of 256 characters. */
668
+ tableId?: string;
669
+ }
618
670
  interface GoogleCloudDiscoveryengineV1betaCompleteQueryResponse {
619
671
  /** Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion. */
620
672
  querySuggestions?: GoogleCloudDiscoveryengineV1betaCompleteQueryResponseQuerySuggestion[];
@@ -924,6 +976,16 @@ declare namespace gapi.client {
924
976
  /** Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the FhirStore export to a specific Cloud Storage directory. */
925
977
  gcsStagingDir?: string;
926
978
  }
979
+ interface GoogleCloudDiscoveryengineV1betaFirestoreSource {
980
+ /** Required. The Firestore collection to copy the data from with a length limit of 1500 characters. */
981
+ collectionId?: string;
982
+ /** Required. The Firestore database to copy the data from with a length limit of 256 characters. */
983
+ databaseId?: string;
984
+ /** Optional. Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Firestore export to a specific Cloud Storage directory. Please ensure that the Firestore service account has the necessary GCS Storage Admin permissions to access the specified GCS directory. */
985
+ gcsStagingDir?: string;
986
+ /** Optional. The project ID (can be project # or ID) that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request. */
987
+ projectId?: string;
988
+ }
927
989
  interface GoogleCloudDiscoveryengineV1betaGcsSource {
928
990
  /** The schema to use when parsing the data from the source. Supported values for document imports: * `document` (default): One JSON Document per line. Each document must have a valid Document.id. * `content`: Unstructured data (e.g. PDF, HTML). Each file matched by `input_uris` becomes a document, with the ID set to the first 128 bits of SHA256(URI) encoded as a hex string. * `custom`: One custom data JSON per row in arbitrary format that conforms to the defined Schema of the data store. This can only be used by Gen App Builder. * `csv`: A CSV file with header conforming to the defined Schema of the data store. Each entry after the header is imported as a Document. This can only be used by Gen App Builder. Supported values for user even imports: * `user_event` (default): One JSON UserEvent per line. */
929
991
  dataSchema?: string;
@@ -949,10 +1011,16 @@ declare namespace gapi.client {
949
1011
  autoGenerateIds?: boolean;
950
1012
  /** BigQuery input source. */
951
1013
  bigquerySource?: GoogleCloudDiscoveryengineV1betaBigQuerySource;
1014
+ /** Cloud Bigtable input source. */
1015
+ bigtableSource?: GoogleCloudDiscoveryengineV1betaBigtableSource;
1016
+ /** Cloud SQL input source. */
1017
+ cloudSqlSource?: GoogleCloudDiscoveryengineV1betaCloudSqlSource;
952
1018
  /** The desired location of errors incurred during the Import. */
953
1019
  errorConfig?: GoogleCloudDiscoveryengineV1betaImportErrorConfig;
954
1020
  /** FhirStore input source. */
955
1021
  fhirStoreSource?: GoogleCloudDiscoveryengineV1betaFhirStoreSource;
1022
+ /** Firestore input source. */
1023
+ firestoreSource?: GoogleCloudDiscoveryengineV1betaFirestoreSource;
956
1024
  /** Cloud Storage location for the input content. */
957
1025
  gcsSource?: GoogleCloudDiscoveryengineV1betaGcsSource;
958
1026
  /** The field indicates the ID field or column to be used as unique IDs of the documents. For GcsSource it is the key of the JSON field. For instance, `my_id` for JSON `{"my_id": "some_uuid"}`. For others, it may be the column name of the table where the unique ids are stored. The values of the JSON field or the table column are used as the Document.ids. The JSON field or the table column must be of string type, and the values must be set as valid strings conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with 1-63 characters. Otherwise, documents without valid IDs fail to be imported. Only set this field when auto_generate_ids is unset or set as `false`. Otherwise, an INVALID_ARGUMENT error is thrown. If it is unset, a default value `_id` is used when importing from the allowed data sources. Supported data sources: * GcsSource. GcsSource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * BigQuerySource. BigQuerySource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * SpannerSource * CloudSqlSource * FirestoreSource * BigtableSource */
@@ -961,6 +1029,8 @@ declare namespace gapi.client {
961
1029
  inlineSource?: GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource;
962
1030
  /** The mode of reconciliation between existing documents and the documents to be imported. Defaults to ReconciliationMode.INCREMENTAL. */
963
1031
  reconciliationMode?: string;
1032
+ /** Spanner input source. */
1033
+ spannerSource?: GoogleCloudDiscoveryengineV1betaSpannerSource;
964
1034
  }
965
1035
  interface GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource {
966
1036
  /** Required. A list of documents to update/create. Each document must have a valid Document.id. Recommended max of 100 items. */
@@ -1606,6 +1676,18 @@ declare namespace gapi.client {
1606
1676
  /** Latest site verification time. */
1607
1677
  verifyTime?: string;
1608
1678
  }
1679
+ interface GoogleCloudDiscoveryengineV1betaSpannerSource {
1680
+ /** Required. The database ID of the source Spanner table. */
1681
+ databaseId?: string;
1682
+ /** Optional. Whether to apply data boost on Spanner export. Enabling this option will incur additional cost. More info: https://cloud.google.com/spanner/docs/databoost/databoost-overview#billing_and_quotas */
1683
+ enableDataBoost?: boolean;
1684
+ /** Required. The instance ID of the source Spanner table. */
1685
+ instanceId?: string;
1686
+ /** The project ID that the Spanner source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request. */
1687
+ projectId?: string;
1688
+ /** Required. The table name of the Spanner database that needs to be imported. */
1689
+ tableId?: string;
1690
+ }
1609
1691
  interface GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry {
1610
1692
  /** Required. Phrase to block from suggestions served. Can be maximum 125 characters. */
1611
1693
  blockPhrase?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.0.20240323",
3
+ "version": "0.0.20240329",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",