@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20250130 → 0.0.20250202
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.
- package/index.d.ts +55 -1
- 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=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250202
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1014,6 +1014,24 @@ declare namespace gapi.client {
|
|
|
1014
1014
|
filter?: string;
|
|
1015
1015
|
/** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
|
|
1016
1016
|
fixedBoost?: number;
|
|
1017
|
+
/** Optional. Complex specification for custom ranking based on customer defined attribute value. */
|
|
1018
|
+
interpolationBoostSpec?: GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec;
|
|
1019
|
+
}
|
|
1020
|
+
interface GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec {
|
|
1021
|
+
/** 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). */
|
|
1022
|
+
attributeType?: string;
|
|
1023
|
+
/** 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. */
|
|
1024
|
+
controlPoints?: GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint[];
|
|
1025
|
+
/** Optional. The name of the field whose value will be used to determine the boost amount. */
|
|
1026
|
+
fieldName?: string;
|
|
1027
|
+
/** Optional. The interpolation type to be applied to connect the control points listed below. */
|
|
1028
|
+
interpolationType?: string;
|
|
1029
|
+
}
|
|
1030
|
+
interface GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint {
|
|
1031
|
+
/** 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]`. */
|
|
1032
|
+
attributeValue?: string;
|
|
1033
|
+
/** Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above. */
|
|
1034
|
+
boostAmount?: number;
|
|
1017
1035
|
}
|
|
1018
1036
|
interface GoogleCloudDiscoveryengineV1alphaControlFilterAction {
|
|
1019
1037
|
/** 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 */
|
|
@@ -3704,6 +3722,24 @@ declare namespace gapi.client {
|
|
|
3704
3722
|
filter?: string;
|
|
3705
3723
|
/** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
|
|
3706
3724
|
fixedBoost?: number;
|
|
3725
|
+
/** Optional. Complex specification for custom ranking based on customer defined attribute value. */
|
|
3726
|
+
interpolationBoostSpec?: GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec;
|
|
3727
|
+
}
|
|
3728
|
+
interface GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec {
|
|
3729
|
+
/** 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). */
|
|
3730
|
+
attributeType?: string;
|
|
3731
|
+
/** 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. */
|
|
3732
|
+
controlPoints?: GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint[];
|
|
3733
|
+
/** Optional. The name of the field whose value will be used to determine the boost amount. */
|
|
3734
|
+
fieldName?: string;
|
|
3735
|
+
/** Optional. The interpolation type to be applied to connect the control points listed below. */
|
|
3736
|
+
interpolationType?: string;
|
|
3737
|
+
}
|
|
3738
|
+
interface GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint {
|
|
3739
|
+
/** 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]`. */
|
|
3740
|
+
attributeValue?: string;
|
|
3741
|
+
/** Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above. */
|
|
3742
|
+
boostAmount?: number;
|
|
3707
3743
|
}
|
|
3708
3744
|
interface GoogleCloudDiscoveryengineV1betaControlFilterAction {
|
|
3709
3745
|
/** 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 */
|