Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Playbook
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Playbook
- 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
-
#code_block ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CodeBlock
Corresponds to the JSON property
codeBlock. -
#create_time ⇒ String
Corresponds to the JSON property
createTime. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#goal ⇒ String
Corresponds to the JSON property
goal. -
#handlers ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Handler>
Corresponds to the JSON property
handlers. -
#inline_actions ⇒ Array<String>
Corresponds to the JSON property
inlineActions. -
#input_parameter_definitions ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition>
Corresponds to the JSON property
inputParameterDefinitions. -
#instruction ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInstruction
Corresponds to the JSON property
instruction. -
#llm_model_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmModelSettings
Corresponds to the JSON property
llmModelSettings. -
#name ⇒ String
Corresponds to the JSON property
name. -
#output_parameter_definitions ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition>
Corresponds to the JSON property
outputParameterDefinitions. -
#playbook_type ⇒ String
Corresponds to the JSON property
playbookType. -
#referenced_flows ⇒ Array<String>
Corresponds to the JSON property
referencedFlows. -
#referenced_playbooks ⇒ Array<String>
Corresponds to the JSON property
referencedPlaybooks. -
#referenced_tools ⇒ Array<String>
Corresponds to the JSON property
referencedTools. -
#speech_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
Corresponds to the JSON property
speechSettings. -
#token_count ⇒ Fixnum
Corresponds to the JSON property
tokenCount. -
#update_time ⇒ String
Corresponds to the JSON property
updateTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Playbook
constructor
A new instance of GoogleCloudDialogflowCxV3beta1Playbook.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Playbook
Returns a new instance of GoogleCloudDialogflowCxV3beta1Playbook.
10257 10258 10259 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10257 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code_block ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CodeBlock
Corresponds to the JSON property codeBlock
10170 10171 10172 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10170 def code_block @code_block end |
#create_time ⇒ String
Corresponds to the JSON property createTime
10175 10176 10177 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10175 def create_time @create_time end |
#display_name ⇒ String
Corresponds to the JSON property displayName
10180 10181 10182 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10180 def display_name @display_name end |
#goal ⇒ String
Corresponds to the JSON property goal
10185 10186 10187 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10185 def goal @goal end |
#handlers ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Handler>
Corresponds to the JSON property handlers
10190 10191 10192 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10190 def handlers @handlers end |
#inline_actions ⇒ Array<String>
Corresponds to the JSON property inlineActions
10195 10196 10197 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10195 def inline_actions @inline_actions end |
#input_parameter_definitions ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition>
Corresponds to the JSON property inputParameterDefinitions
10200 10201 10202 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10200 def input_parameter_definitions @input_parameter_definitions end |
#instruction ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInstruction
Corresponds to the JSON property instruction
10205 10206 10207 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10205 def instruction @instruction end |
#llm_model_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmModelSettings
Corresponds to the JSON property llmModelSettings
10210 10211 10212 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10210 def llm_model_settings @llm_model_settings end |
#name ⇒ String
Corresponds to the JSON property name
10215 10216 10217 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10215 def name @name end |
#output_parameter_definitions ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition>
Corresponds to the JSON property outputParameterDefinitions
10220 10221 10222 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10220 def output_parameter_definitions @output_parameter_definitions end |
#playbook_type ⇒ String
Corresponds to the JSON property playbookType
10225 10226 10227 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10225 def playbook_type @playbook_type end |
#referenced_flows ⇒ Array<String>
Corresponds to the JSON property referencedFlows
10230 10231 10232 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10230 def referenced_flows @referenced_flows end |
#referenced_playbooks ⇒ Array<String>
Corresponds to the JSON property referencedPlaybooks
10235 10236 10237 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10235 def referenced_playbooks @referenced_playbooks end |
#referenced_tools ⇒ Array<String>
Corresponds to the JSON property referencedTools
10240 10241 10242 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10240 def referenced_tools @referenced_tools end |
#speech_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
Corresponds to the JSON property speechSettings
10245 10246 10247 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10245 def speech_settings @speech_settings end |
#token_count ⇒ Fixnum
Corresponds to the JSON property tokenCount
10250 10251 10252 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10250 def token_count @token_count end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
10255 10256 10257 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10255 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10262 def update!(**args) @code_block = args[:code_block] if args.key?(:code_block) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @goal = args[:goal] if args.key?(:goal) @handlers = args[:handlers] if args.key?(:handlers) @inline_actions = args[:inline_actions] if args.key?(:inline_actions) @input_parameter_definitions = args[:input_parameter_definitions] if args.key?(:input_parameter_definitions) @instruction = args[:instruction] if args.key?(:instruction) @llm_model_settings = args[:llm_model_settings] if args.key?(:llm_model_settings) @name = args[:name] if args.key?(:name) @output_parameter_definitions = args[:output_parameter_definitions] if args.key?(:output_parameter_definitions) @playbook_type = args[:playbook_type] if args.key?(:playbook_type) @referenced_flows = args[:referenced_flows] if args.key?(:referenced_flows) @referenced_playbooks = args[:referenced_playbooks] if args.key?(:referenced_playbooks) @referenced_tools = args[:referenced_tools] if args.key?(:referenced_tools) @speech_settings = args[:speech_settings] if args.key?(:speech_settings) @token_count = args[:token_count] if args.key?(:token_count) @update_time = args[:update_time] if args.key?(:update_time) end |