Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2WebhookResponse

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

Returns a new instance of GoogleCloudDialogflowV2WebhookResponse.



17037
17038
17039
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17037

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

Instance Attribute Details

#followup_event_inputGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2EventInput

Corresponds to the JSON property followupEventInput



17005
17006
17007
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17005

def followup_event_input
  @followup_event_input
end

#fulfillment_messagesArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessage>

Corresponds to the JSON property fulfillmentMessages



17010
17011
17012
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17010

def fulfillment_messages
  @fulfillment_messages
end

#fulfillment_textString

Corresponds to the JSON property fulfillmentText

Returns:

  • (String)


17015
17016
17017
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17015

def fulfillment_text
  @fulfillment_text
end

#output_contextsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2Context>

Corresponds to the JSON property outputContexts



17020
17021
17022
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17020

def output_contexts
  @output_contexts
end

#payloadHash<String,Object>

Corresponds to the JSON property payload

Returns:

  • (Hash<String,Object>)


17025
17026
17027
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17025

def payload
  @payload
end

#session_entity_typesArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SessionEntityType>

Corresponds to the JSON property sessionEntityTypes



17030
17031
17032
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17030

def session_entity_types
  @session_entity_types
end

#sourceString

Corresponds to the JSON property source

Returns:

  • (String)


17035
17036
17037
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17035

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17042
17043
17044
17045
17046
17047
17048
17049
17050
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17042

def update!(**args)
  @followup_event_input = args[:followup_event_input] if args.key?(:followup_event_input)
  @fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
  @fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
  @output_contexts = args[:output_contexts] if args.key?(:output_contexts)
  @payload = args[:payload] if args.key?(:payload)
  @session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types)
  @source = args[:source] if args.key?(:source)
end