Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CreateMessageRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CreateMessageRequest
- 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
Overview
The request message to create one Message. Currently it is only used in BatchCreateMessagesRequest.
Instance Attribute Summary collapse
-
#message ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message
Represents a message posted into a conversation.
-
#parent ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1CreateMessageRequest
constructor
A new instance of GoogleCloudDialogflowV2beta1CreateMessageRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1CreateMessageRequest
Returns a new instance of GoogleCloudDialogflowV2beta1CreateMessageRequest.
12580 12581 12582 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12580 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message
Represents a message posted into a conversation.
Corresponds to the JSON property message
12572 12573 12574 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12572 def @message end |
#parent ⇒ String
Required. Resource identifier of the conversation to create message. Format:
projects//locations//conversations/.
Corresponds to the JSON property parent
12578 12579 12580 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12578 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12585 12586 12587 12588 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12585 def update!(**args) @message = args[:message] if args.key?(:message) @parent = args[:parent] if args.key?(:parent) end |