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.



8064
8065
8066
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8064

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



8056
8057
8058
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8056

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>)


8062
8063
8064
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8062

def current_playbooks
  @current_playbooks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8069
8070
8071
8072
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8069

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