@@ -37,6 +37,19 @@ class GoogleCloudDiscoveryengineV1Assistant extends \Google\Model
3737 public const WEB_GROUNDING_TYPE_WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH = 'WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH ' ;
3838 protected $ customerPolicyType = GoogleCloudDiscoveryengineV1AssistantCustomerPolicy::class;
3939 protected $ customerPolicyDataType = '' ;
40+ /**
41+ * Optional. This field controls the default web grounding toggle for end
42+ * users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH`
43+ * or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is
44+ * set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH`
45+ * or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web
46+ * grounding enabled by default on UI. If true, grounding toggle will be
47+ * disabled by default on UI. End users can still enable web grounding in the
48+ * UI if web grounding is enabled.
49+ *
50+ * @var bool
51+ */
52+ public $ defaultWebGroundingToggleOff ;
4053 /**
4154 * Optional. Description for additional information. Expected to be shown on
4255 * the configuration UI, not to the users of the assistant.
@@ -87,6 +100,29 @@ public function getCustomerPolicy()
87100 {
88101 return $ this ->customerPolicy ;
89102 }
103+ /**
104+ * Optional. This field controls the default web grounding toggle for end
105+ * users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH`
106+ * or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is
107+ * set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH`
108+ * or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web
109+ * grounding enabled by default on UI. If true, grounding toggle will be
110+ * disabled by default on UI. End users can still enable web grounding in the
111+ * UI if web grounding is enabled.
112+ *
113+ * @param bool $defaultWebGroundingToggleOff
114+ */
115+ public function setDefaultWebGroundingToggleOff ($ defaultWebGroundingToggleOff )
116+ {
117+ $ this ->defaultWebGroundingToggleOff = $ defaultWebGroundingToggleOff ;
118+ }
119+ /**
120+ * @return bool
121+ */
122+ public function getDefaultWebGroundingToggleOff ()
123+ {
124+ return $ this ->defaultWebGroundingToggleOff ;
125+ }
90126 /**
91127 * Optional. Description for additional information. Expected to be shown on
92128 * the configuration UI, not to the users of the assistant.
0 commit comments