@maxim_mazurok/gapi.client.discoveryengine-v1 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=v1
12
- // Revision: 20250130
12
+ // Revision: 20250205
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -499,6 +499,24 @@ declare namespace gapi.client {
499
499
  filter?: string;
500
500
  /** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
501
501
  fixedBoost?: number;
502
+ /** Optional. Complex specification for custom ranking based on customer defined attribute value. */
503
+ interpolationBoostSpec?: GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec;
504
+ }
505
+ interface GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec {
506
+ /** 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). */
507
+ attributeType?: string;
508
+ /** 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. */
509
+ controlPoints?: GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint[];
510
+ /** Optional. The name of the field whose value will be used to determine the boost amount. */
511
+ fieldName?: string;
512
+ /** Optional. The interpolation type to be applied to connect the control points listed below. */
513
+ interpolationType?: string;
514
+ }
515
+ interface GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint {
516
+ /** 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]`. */
517
+ attributeValue?: string;
518
+ /** Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above. */
519
+ boostAmount?: number;
502
520
  }
503
521
  interface GoogleCloudDiscoveryengineV1alphaControlFilterAction {
504
522
  /** 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 */
@@ -2252,6 +2270,24 @@ declare namespace gapi.client {
2252
2270
  filter?: string;
2253
2271
  /** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
2254
2272
  fixedBoost?: number;
2273
+ /** Optional. Complex specification for custom ranking based on customer defined attribute value. */
2274
+ interpolationBoostSpec?: GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec;
2275
+ }
2276
+ interface GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec {
2277
+ /** 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). */
2278
+ attributeType?: string;
2279
+ /** 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. */
2280
+ controlPoints?: GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint[];
2281
+ /** Optional. The name of the field whose value will be used to determine the boost amount. */
2282
+ fieldName?: string;
2283
+ /** Optional. The interpolation type to be applied to connect the control points listed below. */
2284
+ interpolationType?: string;
2285
+ }
2286
+ interface GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint {
2287
+ /** 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]`. */
2288
+ attributeValue?: string;
2289
+ /** Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above. */
2290
+ boostAmount?: number;
2255
2291
  }
2256
2292
  interface GoogleCloudDiscoveryengineV1betaControlFilterAction {
2257
2293
  /** 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 */
@@ -3357,6 +3393,24 @@ declare namespace gapi.client {
3357
3393
  filter?: string;
3358
3394
  /** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
3359
3395
  fixedBoost?: number;
3396
+ /** Optional. Complex specification for custom ranking based on customer defined attribute value. */
3397
+ interpolationBoostSpec?: GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec;
3398
+ }
3399
+ interface GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec {
3400
+ /** 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). */
3401
+ attributeType?: string;
3402
+ /** 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. */
3403
+ controlPoints?: GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint[];
3404
+ /** Optional. The name of the field whose value will be used to determine the boost amount. */
3405
+ fieldName?: string;
3406
+ /** Optional. The interpolation type to be applied to connect the control points listed below. */
3407
+ interpolationType?: string;
3408
+ }
3409
+ interface GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint {
3410
+ /** 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]`. */
3411
+ attributeValue?: string;
3412
+ /** Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above. */
3413
+ boostAmount?: number;
3360
3414
  }
3361
3415
  interface GoogleCloudDiscoveryengineV1ControlFilterAction {
3362
3416
  /** 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-v1",
3
- "version": "0.0.20250130",
3
+ "version": "0.0.20250205",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",