@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20250130 → 0.0.20250205

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 +55 -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: 20250130
12
+ // Revision: 20250205
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -485,6 +485,24 @@ declare namespace gapi.client {
485
485
  filter?: string;
486
486
  /** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
487
487
  fixedBoost?: number;
488
+ /** Optional. Complex specification for custom ranking based on customer defined attribute value. */
489
+ interpolationBoostSpec?: GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec;
490
+ }
491
+ interface GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec {
492
+ /** Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value). */
493
+ attributeType?: string;
494
+ /** Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here. */
495
+ controlPoints?: GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint[];
496
+ /** Optional. The name of the field whose value will be used to determine the boost amount. */
497
+ fieldName?: string;
498
+ /** Optional. The interpolation type to be applied to connect the control points listed below. */
499
+ interpolationType?: string;
500
+ }
501
+ interface GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint {
502
+ /** Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. */
503
+ attributeValue?: string;
504
+ /** Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above. */
505
+ boostAmount?: number;
488
506
  }
489
507
  interface GoogleCloudDiscoveryengineV1alphaControlFilterAction {
490
508
  /** Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
@@ -2512,6 +2530,24 @@ declare namespace gapi.client {
2512
2530
  filter?: string;
2513
2531
  /** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
2514
2532
  fixedBoost?: number;
2533
+ /** Optional. Complex specification for custom ranking based on customer defined attribute value. */
2534
+ interpolationBoostSpec?: GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec;
2535
+ }
2536
+ interface GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec {
2537
+ /** Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value). */
2538
+ attributeType?: string;
2539
+ /** Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here. */
2540
+ controlPoints?: GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint[];
2541
+ /** Optional. The name of the field whose value will be used to determine the boost amount. */
2542
+ fieldName?: string;
2543
+ /** Optional. The interpolation type to be applied to connect the control points listed below. */
2544
+ interpolationType?: string;
2545
+ }
2546
+ interface GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint {
2547
+ /** Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. */
2548
+ attributeValue?: string;
2549
+ /** Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above. */
2550
+ boostAmount?: number;
2515
2551
  }
2516
2552
  interface GoogleCloudDiscoveryengineV1betaControlFilterAction {
2517
2553
  /** Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
@@ -4631,6 +4667,24 @@ declare namespace gapi.client {
4631
4667
  filter?: string;
4632
4668
  /** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
4633
4669
  fixedBoost?: number;
4670
+ /** Optional. Complex specification for custom ranking based on customer defined attribute value. */
4671
+ interpolationBoostSpec?: GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec;
4672
+ }
4673
+ interface GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec {
4674
+ /** Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value). */
4675
+ attributeType?: string;
4676
+ /** Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here. */
4677
+ controlPoints?: GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint[];
4678
+ /** Optional. The name of the field whose value will be used to determine the boost amount. */
4679
+ fieldName?: string;
4680
+ /** Optional. The interpolation type to be applied to connect the control points listed below. */
4681
+ interpolationType?: string;
4682
+ }
4683
+ interface GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint {
4684
+ /** Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. */
4685
+ attributeValue?: string;
4686
+ /** Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above. */
4687
+ boostAmount?: number;
4634
4688
  }
4635
4689
  interface GoogleCloudDiscoveryengineV1ControlFilterAction {
4636
4690
  /** Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.0.20250130",
3
+ "version": "0.0.20250205",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",