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
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) ⇒ 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.
12536 12537 12538 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12536 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
Corresponds to the JSON property answerRecord
12519 12520 12521 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12519 def answer_record @answer_record end |
#content ⇒ String
Corresponds to the JSON property content
12524 12525 12526 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12524 def content @content end |
#content_format ⇒ String
Corresponds to the JSON property contentFormat
12529 12530 12531 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12529 def content_format @content_format end |
#ingestion_time ⇒ String
Corresponds to the JSON property ingestionTime
12534 12535 12536 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12534 def ingestion_time @ingestion_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12541 12542 12543 12544 12545 12546 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12541 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 |