Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Playbook
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Playbook
- 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
-
#code_block ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CodeBlock
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::DialogflowV3::GoogleCloudDialogflowCxV3Handler>
Corresponds to the JSON property
handlers. -
#inline_actions ⇒ Array<String>
Corresponds to the JSON property
inlineActions. -
#input_parameter_definitions ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ParameterDefinition>
Corresponds to the JSON property
inputParameterDefinitions. -
#instruction ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInstruction
Corresponds to the JSON property
instruction. -
#llm_model_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LlmModelSettings
Corresponds to the JSON property
llmModelSettings. -
#name ⇒ String
Corresponds to the JSON property
name. -
#output_parameter_definitions ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ParameterDefinition>
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. -
#token_count ⇒ Fixnum
Corresponds to the JSON property
tokenCount. -
#update_time ⇒ String
Corresponds to the JSON property
updateTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Playbook
constructor
A new instance of GoogleCloudDialogflowCxV3Playbook.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Playbook
Returns a new instance of GoogleCloudDialogflowCxV3Playbook.
5845 5846 5847 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5845 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code_block ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CodeBlock
Corresponds to the JSON property codeBlock
5763 5764 5765 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5763 def code_block @code_block end |
#create_time ⇒ String
Corresponds to the JSON property createTime
5768 5769 5770 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5768 def create_time @create_time end |
#display_name ⇒ String
Corresponds to the JSON property displayName
5773 5774 5775 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5773 def display_name @display_name end |
#goal ⇒ String
Corresponds to the JSON property goal
5778 5779 5780 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5778 def goal @goal end |
#handlers ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Handler>
Corresponds to the JSON property handlers
5783 5784 5785 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5783 def handlers @handlers end |
#inline_actions ⇒ Array<String>
Corresponds to the JSON property inlineActions
5788 5789 5790 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5788 def inline_actions @inline_actions end |
#input_parameter_definitions ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ParameterDefinition>
Corresponds to the JSON property inputParameterDefinitions
5793 5794 5795 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5793 def input_parameter_definitions @input_parameter_definitions end |
#instruction ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInstruction
Corresponds to the JSON property instruction
5798 5799 5800 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5798 def instruction @instruction end |
#llm_model_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LlmModelSettings
Corresponds to the JSON property llmModelSettings
5803 5804 5805 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5803 def llm_model_settings @llm_model_settings end |
#name ⇒ String
Corresponds to the JSON property name
5808 5809 5810 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5808 def name @name end |
#output_parameter_definitions ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ParameterDefinition>
Corresponds to the JSON property outputParameterDefinitions
5813 5814 5815 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5813 def output_parameter_definitions @output_parameter_definitions end |
#playbook_type ⇒ String
Corresponds to the JSON property playbookType
5818 5819 5820 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5818 def playbook_type @playbook_type end |
#referenced_flows ⇒ Array<String>
Corresponds to the JSON property referencedFlows
5823 5824 5825 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5823 def referenced_flows @referenced_flows end |
#referenced_playbooks ⇒ Array<String>
Corresponds to the JSON property referencedPlaybooks
5828 5829 5830 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5828 def referenced_playbooks @referenced_playbooks end |
#referenced_tools ⇒ Array<String>
Corresponds to the JSON property referencedTools
5833 5834 5835 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5833 def referenced_tools @referenced_tools end |
#token_count ⇒ Fixnum
Corresponds to the JSON property tokenCount
5838 5839 5840 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5838 def token_count @token_count end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
5843 5844 5845 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5843 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5850 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) @token_count = args[:token_count] if args.key?(:token_count) @update_time = args[:update_time] if args.key?(:update_time) end |