Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent
- 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
Contents ingested.
Instance Attribute Summary collapse
-
#answer_record ⇒ String
If the context content was generated from a tool call, specify the answer record associated with the tool call.
-
#content ⇒ String
Required.
-
#content_format ⇒ String
Required.
-
#ingestion_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent
constructor
A new instance of GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent
Returns a new instance of GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent.
13947 13948 13949 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13947 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
If the context content was generated from a tool call, specify the answer
record associated with the tool call. Format: projects//locations//
answerRecords/.
Corresponds to the JSON property answerRecord
13929 13930 13931 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13929 def answer_record @answer_record end |
#content ⇒ String
Required. The information ingested in a single request.
Corresponds to the JSON property content
13934 13935 13936 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13934 def content @content end |
#content_format ⇒ String
Required. The format of the ingested string.
Corresponds to the JSON property contentFormat
13939 13940 13941 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13939 def content_format @content_format end |
#ingestion_time ⇒ String
Output only. The time when this information was incorporated into the relevant
context reference.
Corresponds to the JSON property ingestionTime
13945 13946 13947 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13945 def ingestion_time @ingestion_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13952 13953 13954 13955 13956 13957 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13952 def update!(**args) @answer_record = args[:answer_record] if args.key?(:answer_record) @content = args[:content] if args.key?(:content) @content_format = args[:content_format] if args.key?(:content_format) @ingestion_time = args[:ingestion_time] if args.key?(:ingestion_time) end |