Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AutomatedAgentReply
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AutomatedAgentReply
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/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. -
#cx_current_page ⇒ String
Corresponds to the JSON property
cxCurrentPage. -
#detect_intent_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse
Corresponds to the JSON property
detectIntentResponse.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2AutomatedAgentReply
constructor
A new instance of GoogleCloudDialogflowV2AutomatedAgentReply.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2AutomatedAgentReply
Returns a new instance of GoogleCloudDialogflowV2AutomatedAgentReply.
7736 7737 7738 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7736 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_cancellation ⇒ Boolean Also known as: allow_cancellation?
Corresponds to the JSON property allowCancellation
7718 7719 7720 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7718 def allow_cancellation @allow_cancellation end |
#automated_agent_reply_type ⇒ String
Corresponds to the JSON property automatedAgentReplyType
7724 7725 7726 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7724 def automated_agent_reply_type @automated_agent_reply_type end |
#cx_current_page ⇒ String
Corresponds to the JSON property cxCurrentPage
7729 7730 7731 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7729 def cx_current_page @cx_current_page end |
#detect_intent_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse
Corresponds to the JSON property detectIntentResponse
7734 7735 7736 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7734 def detect_intent_response @detect_intent_response end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7741 7742 7743 7744 7745 7746 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7741 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) @cx_current_page = args[:cx_current_page] if args.key?(:cx_current_page) @detect_intent_response = args[:detect_intent_response] if args.key?(:detect_intent_response) end |