Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Playbook

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Playbook

Returns a new instance of GoogleCloudDialogflowCxV3Playbook.



5851
5852
5853
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5851

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#code_blockGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CodeBlock

Corresponds to the JSON property codeBlock



5769
5770
5771
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5769

def code_block
  @code_block
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


5774
5775
5776
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5774

def create_time
  @create_time
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


5779
5780
5781
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5779

def display_name
  @display_name
end

#goalString

Corresponds to the JSON property goal

Returns:

  • (String)


5784
5785
5786
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5784

def goal
  @goal
end

#handlersArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Handler>

Corresponds to the JSON property handlers



5789
5790
5791
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5789

def handlers
  @handlers
end

#inline_actionsArray<String>

Corresponds to the JSON property inlineActions

Returns:

  • (Array<String>)


5794
5795
5796
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5794

def inline_actions
  @inline_actions
end

#input_parameter_definitionsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ParameterDefinition>

Corresponds to the JSON property inputParameterDefinitions



5799
5800
5801
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5799

def input_parameter_definitions
  @input_parameter_definitions
end

#instructionGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInstruction

Corresponds to the JSON property instruction



5804
5805
5806
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5804

def instruction
  @instruction
end

#llm_model_settingsGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LlmModelSettings

Corresponds to the JSON property llmModelSettings



5809
5810
5811
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5809

def llm_model_settings
  @llm_model_settings
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


5814
5815
5816
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5814

def name
  @name
end

#output_parameter_definitionsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ParameterDefinition>

Corresponds to the JSON property outputParameterDefinitions



5819
5820
5821
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5819

def output_parameter_definitions
  @output_parameter_definitions
end

#playbook_typeString

Corresponds to the JSON property playbookType

Returns:

  • (String)


5824
5825
5826
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5824

def playbook_type
  @playbook_type
end

#referenced_flowsArray<String>

Corresponds to the JSON property referencedFlows

Returns:

  • (Array<String>)


5829
5830
5831
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5829

def referenced_flows
  @referenced_flows
end

#referenced_playbooksArray<String>

Corresponds to the JSON property referencedPlaybooks

Returns:

  • (Array<String>)


5834
5835
5836
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5834

def referenced_playbooks
  @referenced_playbooks
end

#referenced_toolsArray<String>

Corresponds to the JSON property referencedTools

Returns:

  • (Array<String>)


5839
5840
5841
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5839

def referenced_tools
  @referenced_tools
end

#token_countFixnum

Corresponds to the JSON property tokenCount

Returns:

  • (Fixnum)


5844
5845
5846
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5844

def token_count
  @token_count
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


5849
5850
5851
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5849

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5856

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