Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#fallback_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings
Corresponds to the JSON property
fallbackSettings. -
#generative_safety_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SafetySettings
Corresponds to the JSON property
generativeSafetySettings. -
#knowledge_connector_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
Corresponds to the JSON property
knowledgeConnectorSettings. -
#language_code ⇒ String
Corresponds to the JSON property
languageCode. -
#llm_model_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LlmModelSettings
Corresponds to the JSON property
llmModelSettings. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3GenerativeSettings
constructor
A new instance of GoogleCloudDialogflowCxV3GenerativeSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3GenerativeSettings
Returns a new instance of GoogleCloudDialogflowCxV3GenerativeSettings.
3585 3586 3587 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3585 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fallback_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings
Corresponds to the JSON property fallbackSettings
3558 3559 3560 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3558 def fallback_settings @fallback_settings end |
#generative_safety_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SafetySettings
Corresponds to the JSON property generativeSafetySettings
3563 3564 3565 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3563 def generative_safety_settings @generative_safety_settings end |
#knowledge_connector_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
Corresponds to the JSON property knowledgeConnectorSettings
3568 3569 3570 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3568 def knowledge_connector_settings @knowledge_connector_settings end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
3573 3574 3575 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3573 def language_code @language_code end |
#llm_model_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LlmModelSettings
Corresponds to the JSON property llmModelSettings
3578 3579 3580 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3578 def llm_model_settings @llm_model_settings end |
#name ⇒ String
Corresponds to the JSON property name
3583 3584 3585 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3583 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3590 3591 3592 3593 3594 3595 3596 3597 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3590 def update!(**args) @fallback_settings = args[:fallback_settings] if args.key?(:fallback_settings) @generative_safety_settings = args[:generative_safety_settings] if args.key?(:generative_safety_settings) @knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings) @language_code = args[:language_code] if args.key?(:language_code) @llm_model_settings = args[:llm_model_settings] if args.key?(:llm_model_settings) @name = args[:name] if args.key?(:name) end |