pub struct GoogleCloudRetailV2GenerativeQuestionsFeatureConfig {
pub catalog: Option<String>,
pub feature_enabled: Option<bool>,
pub minimum_products: Option<i32>,
}Expand description
Configuration for overall generative question feature state.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations catalogs get generative question feature projects (response)
- locations catalogs update generative question feature projects (request|response)
Fields§
§catalog: Option<String>Required. Resource name of the affected catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}
feature_enabled: Option<bool>Optional. Determines whether questions will be used at serving time. Note: This feature cannot be enabled until initial data requirements are satisfied.
minimum_products: Option<i32>Optional. Minimum number of products in the response to trigger follow-up questions. Value must be 0 or positive.
Trait Implementations§
Source§impl Clone for GoogleCloudRetailV2GenerativeQuestionsFeatureConfig
impl Clone for GoogleCloudRetailV2GenerativeQuestionsFeatureConfig
Source§fn clone(&self) -> GoogleCloudRetailV2GenerativeQuestionsFeatureConfig
fn clone(&self) -> GoogleCloudRetailV2GenerativeQuestionsFeatureConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GoogleCloudRetailV2GenerativeQuestionsFeatureConfig
impl Default for GoogleCloudRetailV2GenerativeQuestionsFeatureConfig
Source§fn default() -> GoogleCloudRetailV2GenerativeQuestionsFeatureConfig
fn default() -> GoogleCloudRetailV2GenerativeQuestionsFeatureConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudRetailV2GenerativeQuestionsFeatureConfig
impl<'de> Deserialize<'de> for GoogleCloudRetailV2GenerativeQuestionsFeatureConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl RequestValue for GoogleCloudRetailV2GenerativeQuestionsFeatureConfig
impl ResponseResult for GoogleCloudRetailV2GenerativeQuestionsFeatureConfig
Auto Trait Implementations§
impl Freeze for GoogleCloudRetailV2GenerativeQuestionsFeatureConfig
impl RefUnwindSafe for GoogleCloudRetailV2GenerativeQuestionsFeatureConfig
impl Send for GoogleCloudRetailV2GenerativeQuestionsFeatureConfig
impl Sync for GoogleCloudRetailV2GenerativeQuestionsFeatureConfig
impl Unpin for GoogleCloudRetailV2GenerativeQuestionsFeatureConfig
impl UnwindSafe for GoogleCloudRetailV2GenerativeQuestionsFeatureConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more