Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Generator
- 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
-
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#llm_model_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LlmModelSettings
Corresponds to the JSON property
llmModelSettings. -
#model_parameter ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GeneratorModelParameter
Corresponds to the JSON property
modelParameter. -
#name ⇒ String
Corresponds to the JSON property
name. -
#placeholders ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GeneratorPlaceholder>
Corresponds to the JSON property
placeholders. -
#prompt_text ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Phrase
Corresponds to the JSON property
promptText.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Generator
constructor
A new instance of GoogleCloudDialogflowCxV3Generator.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Generator
Returns a new instance of GoogleCloudDialogflowCxV3Generator.
3741 3742 3743 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3741 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Corresponds to the JSON property displayName
3714 3715 3716 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3714 def display_name @display_name end |
#llm_model_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LlmModelSettings
Corresponds to the JSON property llmModelSettings
3719 3720 3721 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3719 def llm_model_settings @llm_model_settings end |
#model_parameter ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GeneratorModelParameter
Corresponds to the JSON property modelParameter
3724 3725 3726 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3724 def model_parameter @model_parameter end |
#name ⇒ String
Corresponds to the JSON property name
3729 3730 3731 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3729 def name @name end |
#placeholders ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GeneratorPlaceholder>
Corresponds to the JSON property placeholders
3734 3735 3736 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3734 def placeholders @placeholders end |
#prompt_text ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Phrase
Corresponds to the JSON property promptText
3739 3740 3741 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3739 def prompt_text @prompt_text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3746 3747 3748 3749 3750 3751 3752 3753 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3746 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @llm_model_settings = args[:llm_model_settings] if args.key?(:llm_model_settings) @model_parameter = args[:model_parameter] if args.key?(:model_parameter) @name = args[:name] if args.key?(:name) @placeholders = args[:placeholders] if args.key?(:placeholders) @prompt_text = args[:prompt_text] if args.key?(:prompt_text) end |