class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CreateMessageRequest

The request message to create one Message. Currently it is only used in BatchCreateMessagesRequest.

Attributes

message[RW]

Represents a message posted into a conversation. Corresponds to the JSON property `message` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message]

parent[RW]

Required. Resource identifier of the conversation to create message. Format: ` projects//locations//conversations/`. Corresponds to the JSON property `parent` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 8793
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 8798
def update!(**args)
  @message = args[:message] if args.key?(:message)
  @parent = args[:parent] if args.key?(:parent)
end