Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentReply
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentReply
- 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
-
#allow_cancellation ⇒ Boolean
(also: #allow_cancellation?)
Corresponds to the JSON property
allowCancellation. -
#automated_agent_reply_type ⇒ String
Corresponds to the JSON property
automatedAgentReplyType. -
#call_companion_auth_code ⇒ String
Corresponds to the JSON property
callCompanionAuthCodeNOTE: Values are automatically base64 encoded/decoded in the client library. -
#cx_current_page ⇒ String
Corresponds to the JSON property
cxCurrentPage. -
#cx_session_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property
cxSessionParameters. -
#detect_intent_response ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse
Corresponds to the JSON property
detectIntentResponse. -
#event ⇒ String
Corresponds to the JSON property
event. -
#intent ⇒ String
Corresponds to the JSON property
intent. -
#match_confidence ⇒ Float
Corresponds to the JSON property
matchConfidence. -
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property
parameters. -
#response_messages ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage>
Corresponds to the JSON property
responseMessages.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AutomatedAgentReply
constructor
A new instance of GoogleCloudDialogflowV2beta1AutomatedAgentReply.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AutomatedAgentReply
Returns a new instance of GoogleCloudDialogflowV2beta1AutomatedAgentReply.
11812 11813 11814 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11812 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_cancellation ⇒ Boolean Also known as: allow_cancellation?
Corresponds to the JSON property allowCancellation
11758 11759 11760 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11758 def allow_cancellation @allow_cancellation end |
#automated_agent_reply_type ⇒ String
Corresponds to the JSON property automatedAgentReplyType
11764 11765 11766 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11764 def automated_agent_reply_type @automated_agent_reply_type end |
#call_companion_auth_code ⇒ String
Corresponds to the JSON property callCompanionAuthCode
NOTE: Values are automatically base64 encoded/decoded in the client library.
11770 11771 11772 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11770 def call_companion_auth_code @call_companion_auth_code end |
#cx_current_page ⇒ String
Corresponds to the JSON property cxCurrentPage
11775 11776 11777 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11775 def cx_current_page @cx_current_page end |
#cx_session_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property cxSessionParameters
11780 11781 11782 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11780 def cx_session_parameters @cx_session_parameters end |
#detect_intent_response ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse
Corresponds to the JSON property detectIntentResponse
11785 11786 11787 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11785 def detect_intent_response @detect_intent_response end |
#event ⇒ String
Corresponds to the JSON property event
11790 11791 11792 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11790 def event @event end |
#intent ⇒ String
Corresponds to the JSON property intent
11795 11796 11797 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11795 def intent @intent end |
#match_confidence ⇒ Float
Corresponds to the JSON property matchConfidence
11800 11801 11802 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11800 def match_confidence @match_confidence end |
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property parameters
11805 11806 11807 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11805 def parameters @parameters end |
#response_messages ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage>
Corresponds to the JSON property responseMessages
11810 11811 11812 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11810 def @response_messages end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11817 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 |