Class: Google::Cloud::Dialogflow::V2::Conversation::ContextReference::ContextContent
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Conversation::ContextReference::ContextContent
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/conversation.rb
Overview
Contents ingested.
Defined Under Namespace
Modules: ContentFormat
Instance Attribute Summary collapse
-
#content ⇒ ::String
Required.
-
#content_format ⇒ ::Google::Cloud::Dialogflow::V2::Conversation::ContextReference::ContextContent::ContentFormat
Required.
-
#ingestion_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#content ⇒ ::String
Returns Required. The information ingested in a single request.
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 153 class ContextContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents the format of the ingested string. module ContentFormat # Unspecified content format. CONTENT_FORMAT_UNSPECIFIED = 0 # Content was provided in JSON format. JSON = 1 # Content was provided as plain text. PLAIN_TEXT = 2 end end |
#content_format ⇒ ::Google::Cloud::Dialogflow::V2::Conversation::ContextReference::ContextContent::ContentFormat
Returns Required. The format of the ingested string.
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 153 class ContextContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents the format of the ingested string. module ContentFormat # Unspecified content format. CONTENT_FORMAT_UNSPECIFIED = 0 # Content was provided in JSON format. JSON = 1 # Content was provided as plain text. PLAIN_TEXT = 2 end end |
#ingestion_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when this information was incorporated into the relevant context reference.
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 153 class ContextContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents the format of the ingested string. module ContentFormat # Unspecified content format. CONTENT_FORMAT_UNSPECIFIED = 0 # Content was provided in JSON format. JSON = 1 # Content was provided as plain text. PLAIN_TEXT = 2 end end |