@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20250331 → 0.0.20250410

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 +16 -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=v1beta
12
- // Revision: 20250331
12
+ // Revision: 20250410
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -453,7 +453,7 @@ declare namespace gapi.client {
453
453
  interface GoogleCloudDiscoveryengineV1alphaCondition {
454
454
  /** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
455
455
  activeTimeRange?: GoogleCloudDiscoveryengineV1alphaConditionTimeRange[];
456
- /** Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. This is currently supporting promotion use case. */
456
+ /** Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. Only supported for Basic Site Search promotion serving controls. */
457
457
  queryRegex?: string;
458
458
  /** Search only A list of terms to match the query on. Cannot be set when Condition.query_regex is set. Maximum of 10 query terms. */
459
459
  queryTerms?: GoogleCloudDiscoveryengineV1alphaConditionQueryTerm[];
@@ -1449,6 +1449,8 @@ declare namespace gapi.client {
1449
1449
  interface GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion {
1450
1450
  /** Optional. The Promotion description. Maximum length: 200 characters. */
1451
1451
  description?: string;
1452
+ /** Optional. The Document the user wants to promote. For site search, leave unset and only populate uri. Can be set along with uri. */
1453
+ document?: string;
1452
1454
  /** Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only. */
1453
1455
  enabled?: boolean;
1454
1456
  /** Optional. The promotion thumbnail image url. */
@@ -2541,10 +2543,14 @@ declare namespace gapi.client {
2541
2543
  citationThreshold?: number;
2542
2544
  }
2543
2545
  interface GoogleCloudDiscoveryengineV1betaChunk {
2546
+ /** Output only. Annotation contents if the current chunk contains annotations. */
2547
+ annotationContents?: string[];
2544
2548
  /** Output only. Metadata of the current chunk. */
2545
2549
  chunkMetadata?: GoogleCloudDiscoveryengineV1betaChunkChunkMetadata;
2546
2550
  /** Content is a string from a document (parsed content). */
2547
2551
  content?: string;
2552
+ /** Output only. Image Data URLs if the current chunk contains images. Data URLs are composed of four parts: a prefix (data:), a MIME type indicating the type of data, an optional base64 token if non-textual, and the data itself: data:, */
2553
+ dataUrls?: string[];
2548
2554
  /** Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document. */
2549
2555
  derivedStructData?: {[P in string]: any};
2550
2556
  /** Metadata of the document from the current chunk. */
@@ -2647,7 +2653,7 @@ declare namespace gapi.client {
2647
2653
  interface GoogleCloudDiscoveryengineV1betaCondition {
2648
2654
  /** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
2649
2655
  activeTimeRange?: GoogleCloudDiscoveryengineV1betaConditionTimeRange[];
2650
- /** Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. This is currently supporting promotion use case. */
2656
+ /** Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. Only supported for Basic Site Search promotion serving controls. */
2651
2657
  queryRegex?: string;
2652
2658
  /** Search only A list of terms to match the query on. Cannot be set when Condition.query_regex is set. Maximum of 10 query terms. */
2653
2659
  queryTerms?: GoogleCloudDiscoveryengineV1betaConditionQueryTerm[];
@@ -2976,7 +2982,7 @@ declare namespace gapi.client {
2976
2982
  interface GoogleCloudDiscoveryengineV1betaDocument {
2977
2983
  /** Access control information for the document. */
2978
2984
  aclInfo?: GoogleCloudDiscoveryengineV1betaDocumentAclInfo;
2979
- /** The unstructured data linked to this document. Content must be set if this document is under a `CONTENT_REQUIRED` data store. */
2985
+ /** The unstructured data linked to this document. Content can only be set and must be set if this document is under a `CONTENT_REQUIRED` data store. */
2980
2986
  content?: GoogleCloudDiscoveryengineV1betaDocumentContent;
2981
2987
  /** Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document. */
2982
2988
  derivedStructData?: {[P in string]: any};
@@ -3008,7 +3014,7 @@ declare namespace gapi.client {
3008
3014
  principals?: GoogleCloudDiscoveryengineV1betaPrincipal[];
3009
3015
  }
3010
3016
  interface GoogleCloudDiscoveryengineV1betaDocumentContent {
3011
- /** The MIME type of the content. Supported types: * `application/pdf` (PDF, only native PDFs are supported for now) * `text/html` (HTML) * `application/vnd.openxmlformats-officedocument.wordprocessingml.document` (DOCX) * `application/vnd.openxmlformats-officedocument.presentationml.presentation` (PPTX) * `text/plain` (TXT) See https://www.iana.org/assignments/media-types/media-types.xhtml. */
3017
+ /** The MIME type of the content. Supported types: * `application/pdf` (PDF, only native PDFs are supported for now) * `text/html` (HTML) * `text/plain` (TXT) * `text/xml` (XML) * `application/json` (JSON) * `application/vnd.openxmlformats-officedocument.wordprocessingml.document` (DOCX) * `application/vnd.openxmlformats-officedocument.presentationml.presentation` (PPTX) * `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet` (XLSX) * `application/vnd.ms-excel.sheet.macroenabled.12` (XLSM) The following types are supported only if layout parser is enabled in the data store: * `image/bmp` (BMP) * `image/gif` (GIF) * `image/jpeg` (JPEG) * `image/png` (PNG) * `image/tiff` (TIFF) See https://www.iana.org/assignments/media-types/media-types.xhtml. */
3012
3018
  mimeType?: string;
3013
3019
  /** The content represented as a stream of bytes. The maximum length is 1,000,000 bytes (1 MB / ~0.95 MiB). Note: As with all `bytes` fields, this field is represented as pure binary in Protocol Buffers and base64-encoded string in JSON. For example, `abc123!?$*&()'-=@~` should be represented as `YWJjMTIzIT8kKiYoKSctPUB+` in JSON. See https://developers.google.com/protocol-buffers/docs/proto3#json. */
3014
3020
  rawBytes?: string;
@@ -3955,6 +3961,8 @@ declare namespace gapi.client {
3955
3961
  interface GoogleCloudDiscoveryengineV1betaSearchLinkPromotion {
3956
3962
  /** Optional. The Promotion description. Maximum length: 200 characters. */
3957
3963
  description?: string;
3964
+ /** Optional. The Document the user wants to promote. For site search, leave unset and only populate uri. Can be set along with uri. */
3965
+ document?: string;
3958
3966
  /** Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only. */
3959
3967
  enabled?: boolean;
3960
3968
  /** Optional. The promotion thumbnail image url. */
@@ -4804,7 +4812,7 @@ declare namespace gapi.client {
4804
4812
  interface GoogleCloudDiscoveryengineV1Condition {
4805
4813
  /** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
4806
4814
  activeTimeRange?: GoogleCloudDiscoveryengineV1ConditionTimeRange[];
4807
- /** Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. This is currently supporting promotion use case. */
4815
+ /** Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. Only supported for Basic Site Search promotion serving controls. */
4808
4816
  queryRegex?: string;
4809
4817
  /** Search only A list of terms to match the query on. Cannot be set when Condition.query_regex is set. Maximum of 10 query terms. */
4810
4818
  queryTerms?: GoogleCloudDiscoveryengineV1ConditionQueryTerm[];
@@ -5306,6 +5314,8 @@ declare namespace gapi.client {
5306
5314
  interface GoogleCloudDiscoveryengineV1SearchLinkPromotion {
5307
5315
  /** Optional. The Promotion description. Maximum length: 200 characters. */
5308
5316
  description?: string;
5317
+ /** Optional. The Document the user wants to promote. For site search, leave unset and only populate uri. Can be set along with uri. */
5318
+ document?: string;
5309
5319
  /** Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only. */
5310
5320
  enabled?: boolean;
5311
5321
  /** Optional. The promotion thumbnail image url. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.0.20250331",
3
+ "version": "0.0.20250410",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",