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.



8036
8037
8038
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8036

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



8028
8029
8030
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8028

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


8034
8035
8036
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8034

def current_playbooks
  @current_playbooks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8041
8042
8043
8044
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8041

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