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.



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

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

Instance Attribute Details

#code_blockGoogle::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_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


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

def create_time
  @create_time
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


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

def display_name
  @display_name
end

#goalString

Corresponds to the JSON property goal

Returns:

  • (String)


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

def goal
  @goal
end

#handlersArray<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_actionsArray<String>

Corresponds to the JSON property inlineActions

Returns:

  • (Array<String>)


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

def inline_actions
  @inline_actions
end

#input_parameter_definitionsArray<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

#instructionGoogle::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_settingsGoogle::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

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#output_parameter_definitionsArray<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_typeString

Corresponds to the JSON property playbookType

Returns:

  • (String)


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

def playbook_type
  @playbook_type
end

#referenced_flowsArray<String>

Corresponds to the JSON property referencedFlows

Returns:

  • (Array<String>)


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

def referenced_flows
  @referenced_flows
end

#referenced_playbooksArray<String>

Corresponds to the JSON property referencedPlaybooks

Returns:

  • (Array<String>)


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

def referenced_playbooks
  @referenced_playbooks
end

#referenced_toolsArray<String>

Corresponds to the JSON property referencedTools

Returns:

  • (Array<String>)


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

def referenced_tools
  @referenced_tools
end

#token_countFixnum

Corresponds to the JSON property tokenCount

Returns:

  • (Fixnum)


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

def token_count
  @token_count
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


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