Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentReply

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AutomatedAgentReply

Returns a new instance of GoogleCloudDialogflowV2beta1AutomatedAgentReply.



11732
11733
11734
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11732

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

Instance Attribute Details

#allow_cancellationBoolean Also known as: allow_cancellation?

Corresponds to the JSON property allowCancellation

Returns:

  • (Boolean)


11678
11679
11680
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11678

def allow_cancellation
  @allow_cancellation
end

#automated_agent_reply_typeString

Corresponds to the JSON property automatedAgentReplyType

Returns:

  • (String)


11684
11685
11686
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11684

def automated_agent_reply_type
  @automated_agent_reply_type
end

#call_companion_auth_codeString

Corresponds to the JSON property callCompanionAuthCode NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


11690
11691
11692
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11690

def call_companion_auth_code
  @call_companion_auth_code
end

#cx_current_pageString

Corresponds to the JSON property cxCurrentPage

Returns:

  • (String)


11695
11696
11697
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11695

def cx_current_page
  @cx_current_page
end

#cx_session_parametersHash<String,Object>

Corresponds to the JSON property cxSessionParameters

Returns:

  • (Hash<String,Object>)


11700
11701
11702
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11700

def cx_session_parameters
  @cx_session_parameters
end

#detect_intent_responseGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse

Corresponds to the JSON property detectIntentResponse



11705
11706
11707
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11705

def detect_intent_response
  @detect_intent_response
end

#eventString

Corresponds to the JSON property event

Returns:

  • (String)


11710
11711
11712
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11710

def event
  @event
end

#intentString

Corresponds to the JSON property intent

Returns:

  • (String)


11715
11716
11717
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11715

def intent
  @intent
end

#match_confidenceFloat

Corresponds to the JSON property matchConfidence

Returns:

  • (Float)


11720
11721
11722
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11720

def match_confidence
  @match_confidence
end

#parametersHash<String,Object>

Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


11725
11726
11727
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11725

def parameters
  @parameters
end

#response_messagesArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage>

Corresponds to the JSON property responseMessages



11730
11731
11732
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11730

def response_messages
  @response_messages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11737

def update!(**args)
  @allow_cancellation = args[:allow_cancellation] if args.key?(:allow_cancellation)
  @automated_agent_reply_type = args[:automated_agent_reply_type] if args.key?(:automated_agent_reply_type)
  @call_companion_auth_code = args[:call_companion_auth_code] if args.key?(:call_companion_auth_code)
  @cx_current_page = args[:cx_current_page] if args.key?(:cx_current_page)
  @cx_session_parameters = args[:cx_session_parameters] if args.key?(:cx_session_parameters)
  @detect_intent_response = args[:detect_intent_response] if args.key?(:detect_intent_response)
  @event = args[:event] if args.key?(:event)
  @intent = args[:intent] if args.key?(:intent)
  @match_confidence = args[:match_confidence] if args.key?(:match_confidence)
  @parameters = args[:parameters] if args.key?(:parameters)
  @response_messages = args[:response_messages] if args.key?(:response_messages)
end