Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#fallback_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings
Corresponds to the JSON property
fallbackSettings. -
#generative_safety_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettings
Corresponds to the JSON property
generativeSafetySettings. -
#knowledge_connector_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings
Corresponds to the JSON property
knowledgeConnectorSettings. -
#language_code ⇒ String
Corresponds to the JSON property
languageCode. -
#llm_model_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmModelSettings
Corresponds to the JSON property
llmModelSettings. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1GenerativeSettings
constructor
A new instance of GoogleCloudDialogflowCxV3beta1GenerativeSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1GenerativeSettings
Returns a new instance of GoogleCloudDialogflowCxV3beta1GenerativeSettings.
7788 7789 7790 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7788 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fallback_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings
Corresponds to the JSON property fallbackSettings
7761 7762 7763 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7761 def fallback_settings @fallback_settings end |
#generative_safety_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SafetySettings
Corresponds to the JSON property generativeSafetySettings
7766 7767 7768 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7766 def generative_safety_settings @generative_safety_settings end |
#knowledge_connector_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings
Corresponds to the JSON property knowledgeConnectorSettings
7771 7772 7773 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7771 def knowledge_connector_settings @knowledge_connector_settings end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
7776 7777 7778 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7776 def language_code @language_code end |
#llm_model_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmModelSettings
Corresponds to the JSON property llmModelSettings
7781 7782 7783 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7781 def llm_model_settings @llm_model_settings end |
#name ⇒ String
Corresponds to the JSON property name
7786 7787 7788 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7786 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7793 7794 7795 7796 7797 7798 7799 7800 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7793 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 |