class Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ConversationEvent
Represents a notification sent to Pub/Sub subscribers for conversation lifecycle events.
Attributes
Required. The unique identifier of the conversation this notification refers to. Format: `projects//conversations/`. Corresponds to the JSON property `conversation` @return [String]
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [ gRPC](github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https: //cloud.google.com/apis/design/errors). Corresponds to the JSON property `errorStatus` @return [Google::Apis::DialogflowV3beta1::GoogleRpcStatus]
Represents a message posted into a conversation. Corresponds to the JSON property `newMessagePayload` @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1Message]
Required. The type of the event that this notification refers to. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 11024 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 11029 def update!(**args) @conversation = args[:conversation] if args.key?(:conversation) @error_status = args[:error_status] if args.key?(:error_status) @new_message_payload = args[:new_message_payload] if args.key?(:new_message_payload) @type = args[:type] if args.key?(:type) end