Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContextReference
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContextReference
- 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
-
#context_contents ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContextReferenceContextContent>
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) ⇒ GoogleCloudDialogflowV2ConversationContextReference
constructor
A new instance of GoogleCloudDialogflowV2ConversationContextReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationContextReference
Returns a new instance of GoogleCloudDialogflowV2ConversationContextReference.
8326 8327 8328 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8326 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context_contents ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContextReferenceContextContent>
Corresponds to the JSON property contextContents
8309 8310 8311 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8309 def context_contents @context_contents end |
#create_time ⇒ String
Corresponds to the JSON property createTime
8314 8315 8316 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8314 def create_time @create_time end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
8319 8320 8321 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8319 def language_code @language_code end |
#update_mode ⇒ String
Corresponds to the JSON property updateMode
8324 8325 8326 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8324 def update_mode @update_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8331 8332 8333 8334 8335 8336 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8331 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 |