@maxim_mazurok/gapi.client.discoveryengine-v1 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=v1
12
- // Revision: 20250331
12
+ // Revision: 20250410
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -467,7 +467,7 @@ declare namespace gapi.client {
467
467
  interface GoogleCloudDiscoveryengineV1alphaCondition {
468
468
  /** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
469
469
  activeTimeRange?: GoogleCloudDiscoveryengineV1alphaConditionTimeRange[];
470
- /** 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. */
470
+ /** 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. */
471
471
  queryRegex?: string;
472
472
  /** 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. */
473
473
  queryTerms?: GoogleCloudDiscoveryengineV1alphaConditionQueryTerm[];
@@ -1463,6 +1463,8 @@ declare namespace gapi.client {
1463
1463
  interface GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion {
1464
1464
  /** Optional. The Promotion description. Maximum length: 200 characters. */
1465
1465
  description?: string;
1466
+ /** Optional. The Document the user wants to promote. For site search, leave unset and only populate uri. Can be set along with uri. */
1467
+ document?: string;
1466
1468
  /** 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. */
1467
1469
  enabled?: boolean;
1468
1470
  /** Optional. The promotion thumbnail image url. */
@@ -2347,7 +2349,7 @@ declare namespace gapi.client {
2347
2349
  interface GoogleCloudDiscoveryengineV1betaCondition {
2348
2350
  /** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
2349
2351
  activeTimeRange?: GoogleCloudDiscoveryengineV1betaConditionTimeRange[];
2350
- /** 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. */
2352
+ /** 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. */
2351
2353
  queryRegex?: string;
2352
2354
  /** 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. */
2353
2355
  queryTerms?: GoogleCloudDiscoveryengineV1betaConditionQueryTerm[];
@@ -2970,6 +2972,8 @@ declare namespace gapi.client {
2970
2972
  interface GoogleCloudDiscoveryengineV1betaSearchLinkPromotion {
2971
2973
  /** Optional. The Promotion description. Maximum length: 200 characters. */
2972
2974
  description?: string;
2975
+ /** Optional. The Document the user wants to promote. For site search, leave unset and only populate uri. Can be set along with uri. */
2976
+ document?: string;
2973
2977
  /** 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. */
2974
2978
  enabled?: boolean;
2975
2979
  /** Optional. The promotion thumbnail image url. */
@@ -3445,10 +3449,14 @@ declare namespace gapi.client {
3445
3449
  citationThreshold?: number;
3446
3450
  }
3447
3451
  interface GoogleCloudDiscoveryengineV1Chunk {
3452
+ /** Output only. Annotation contents if the current chunk contains annotations. */
3453
+ annotationContents?: string[];
3448
3454
  /** Output only. Metadata of the current chunk. */
3449
3455
  chunkMetadata?: GoogleCloudDiscoveryengineV1ChunkChunkMetadata;
3450
3456
  /** Content is a string from a document (parsed content). */
3451
3457
  content?: string;
3458
+ /** 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:, */
3459
+ dataUrls?: string[];
3452
3460
  /** Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document. */
3453
3461
  derivedStructData?: {[P in string]: any};
3454
3462
  /** Metadata of the document from the current chunk. */
@@ -3551,7 +3559,7 @@ declare namespace gapi.client {
3551
3559
  interface GoogleCloudDiscoveryengineV1Condition {
3552
3560
  /** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
3553
3561
  activeTimeRange?: GoogleCloudDiscoveryengineV1ConditionTimeRange[];
3554
- /** 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. */
3562
+ /** 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. */
3555
3563
  queryRegex?: string;
3556
3564
  /** 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. */
3557
3565
  queryTerms?: GoogleCloudDiscoveryengineV1ConditionQueryTerm[];
@@ -3865,7 +3873,7 @@ declare namespace gapi.client {
3865
3873
  interface GoogleCloudDiscoveryengineV1Document {
3866
3874
  /** Access control information for the document. */
3867
3875
  aclInfo?: GoogleCloudDiscoveryengineV1DocumentAclInfo;
3868
- /** The unstructured data linked to this document. Content must be set if this document is under a `CONTENT_REQUIRED` data store. */
3876
+ /** 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. */
3869
3877
  content?: GoogleCloudDiscoveryengineV1DocumentContent;
3870
3878
  /** Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document. */
3871
3879
  derivedStructData?: {[P in string]: any};
@@ -3897,7 +3905,7 @@ declare namespace gapi.client {
3897
3905
  principals?: GoogleCloudDiscoveryengineV1Principal[];
3898
3906
  }
3899
3907
  interface GoogleCloudDiscoveryengineV1DocumentContent {
3900
- /** 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. */
3908
+ /** 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. */
3901
3909
  mimeType?: string;
3902
3910
  /** 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. */
3903
3911
  rawBytes?: string;
@@ -4623,6 +4631,8 @@ declare namespace gapi.client {
4623
4631
  interface GoogleCloudDiscoveryengineV1SearchLinkPromotion {
4624
4632
  /** Optional. The Promotion description. Maximum length: 200 characters. */
4625
4633
  description?: string;
4634
+ /** Optional. The Document the user wants to promote. For site search, leave unset and only populate uri. Can be set along with uri. */
4635
+ document?: string;
4626
4636
  /** 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. */
4627
4637
  enabled?: boolean;
4628
4638
  /** Optional. The promotion thumbnail image url. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1",
3
- "version": "0.0.20250331",
3
+ "version": "0.0.20250410",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",