Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeInfo

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

Overview

Represents the information of a query if handled by generative agent resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1GenerativeInfo

Returns a new instance of GoogleCloudDialogflowCxV3beta1GenerativeInfo.



8896
8897
8898
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8896

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

Instance Attribute Details

#action_tracing_infoGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Example

Example represents a sample execution of the playbook in the conversation. An example consists of a list of ordered actions performed by end user or Dialogflow agent according the playbook instructions to fulfill the task. Corresponds to the JSON property actionTracingInfo



8888
8889
8890
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8888

def action_tracing_info
  @action_tracing_info
end

#current_playbooksArray<String>

The stack of playbooks that the conversation has currently entered, with the most recent one on the top. Corresponds to the JSON property currentPlaybooks

Returns:

  • (Array<String>)


8894
8895
8896
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8894

def current_playbooks
  @current_playbooks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8901
8902
8903
8904
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8901

def update!(**args)
  @action_tracing_info = args[:action_tracing_info] if args.key?(:action_tracing_info)
  @current_playbooks = args[:current_playbooks] if args.key?(:current_playbooks)
end