Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate
- 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. -
#frozen ⇒ Boolean
(also: #frozen?)
Corresponds to the JSON property
frozen. -
#prompt_text ⇒ String
Corresponds to the JSON property
promptText.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate
constructor
A new instance of GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate
Returns a new instance of GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate.
3651 3652 3653 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3651 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Corresponds to the JSON property displayName
3638 3639 3640 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3638 def display_name @display_name end |
#frozen ⇒ Boolean Also known as: frozen?
Corresponds to the JSON property frozen
3643 3644 3645 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3643 def frozen @frozen end |
#prompt_text ⇒ String
Corresponds to the JSON property promptText
3649 3650 3651 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3649 def prompt_text @prompt_text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3656 3657 3658 3659 3660 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3656 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @frozen = args[:frozen] if args.key?(:frozen) @prompt_text = args[:prompt_text] if args.key?(:prompt_text) end |