Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContextReference
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContextReference
- 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
-
#context_contents ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent>
Corresponds to the JSON property
contextContents. -
#create_time ⇒ String
Corresponds to the JSON property
createTime. -
#language_code ⇒ String
Corresponds to the JSON property
languageCode. -
#update_mode ⇒ String
Corresponds to the JSON property
updateMode.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationContextReference
constructor
A new instance of GoogleCloudDialogflowV2beta1ConversationContextReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationContextReference
Returns a new instance of GoogleCloudDialogflowV2beta1ConversationContextReference.
12485 12486 12487 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12485 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context_contents ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent>
Corresponds to the JSON property contextContents
12468 12469 12470 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12468 def context_contents @context_contents end |
#create_time ⇒ String
Corresponds to the JSON property createTime
12473 12474 12475 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12473 def create_time @create_time end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
12478 12479 12480 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12478 def language_code @language_code end |
#update_mode ⇒ String
Corresponds to the JSON property updateMode
12483 12484 12485 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12483 def update_mode @update_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12490 12491 12492 12493 12494 12495 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12490 def update!(**args) @context_contents = args[:context_contents] if args.key?(:context_contents) @create_time = args[:create_time] if args.key?(:create_time) @language_code = args[:language_code] if args.key?(:language_code) @update_mode = args[:update_mode] if args.key?(:update_mode) end |