Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContextReferenceContextContent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContextReferenceContextContent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#answer_record ⇒ String
Corresponds to the JSON property
answerRecord. -
#content ⇒ String
Corresponds to the JSON property
content. -
#content_format ⇒ String
Corresponds to the JSON property
contentFormat. -
#ingestion_time ⇒ String
Corresponds to the JSON property
ingestionTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationContextReferenceContextContent
constructor
A new instance of GoogleCloudDialogflowV2ConversationContextReferenceContextContent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationContextReferenceContextContent
Returns a new instance of GoogleCloudDialogflowV2ConversationContextReferenceContextContent.
8363 8364 8365 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8363 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
Corresponds to the JSON property answerRecord
8346 8347 8348 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8346 def answer_record @answer_record end |
#content ⇒ String
Corresponds to the JSON property content
8351 8352 8353 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8351 def content @content end |
#content_format ⇒ String
Corresponds to the JSON property contentFormat
8356 8357 8358 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8356 def content_format @content_format end |
#ingestion_time ⇒ String
Corresponds to the JSON property ingestionTime
8361 8362 8363 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8361 def ingestion_time @ingestion_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8368 8369 8370 8371 8372 8373 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8368 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 |