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.
10269 10270 10271 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10269 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code_block ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CodeBlock
Corresponds to the JSON property codeBlock
10182 10183 10184 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10182 def code_block @code_block end |
#create_time ⇒ String
Corresponds to the JSON property createTime
10187 10188 10189 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10187 def create_time @create_time end |
#display_name ⇒ String
Corresponds to the JSON property displayName
10192 10193 10194 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10192 def display_name @display_name end |
#goal ⇒ String
Corresponds to the JSON property goal
10197 10198 10199 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10197 def goal @goal end |
#handlers ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Handler>
Corresponds to the JSON property handlers
10202 10203 10204 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10202 def handlers @handlers end |
#inline_actions ⇒ Array<String>
Corresponds to the JSON property inlineActions
10207 10208 10209 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10207 def inline_actions @inline_actions end |
#input_parameter_definitions ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition>
Corresponds to the JSON property inputParameterDefinitions
10212 10213 10214 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10212 def input_parameter_definitions @input_parameter_definitions end |
#instruction ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInstruction
Corresponds to the JSON property instruction
10217 10218 10219 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10217 def instruction @instruction end |
#llm_model_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmModelSettings
Corresponds to the JSON property llmModelSettings
10222 10223 10224 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10222 def llm_model_settings @llm_model_settings end |
#name ⇒ String
Corresponds to the JSON property name
10227 10228 10229 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10227 def name @name end |
#output_parameter_definitions ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition>
Corresponds to the JSON property outputParameterDefinitions
10232 10233 10234 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10232 def output_parameter_definitions @output_parameter_definitions end |
#playbook_type ⇒ String
Corresponds to the JSON property playbookType
10237 10238 10239 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10237 def playbook_type @playbook_type end |
#referenced_flows ⇒ Array<String>
Corresponds to the JSON property referencedFlows
10242 10243 10244 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10242 def referenced_flows @referenced_flows end |
#referenced_playbooks ⇒ Array<String>
Corresponds to the JSON property referencedPlaybooks
10247 10248 10249 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10247 def referenced_playbooks @referenced_playbooks end |
#referenced_tools ⇒ Array<String>
Corresponds to the JSON property referencedTools
10252 10253 10254 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10252 def referenced_tools @referenced_tools end |
#speech_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
Corresponds to the JSON property speechSettings
10257 10258 10259 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10257 def speech_settings @speech_settings end |
#token_count ⇒ Fixnum
Corresponds to the JSON property tokenCount
10262 10263 10264 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10262 def token_count @token_count end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
10267 10268 10269 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10267 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10274 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 |