Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Conversation
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Conversation
- 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
-
#conversation_profile ⇒ String
Corresponds to the JSON property
conversationProfile. -
#conversation_stage ⇒ String
Corresponds to the JSON property
conversationStage. -
#end_time ⇒ String
Corresponds to the JSON property
endTime. -
#ingested_context_references ⇒ Hash<String,Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContextReference>
Corresponds to the JSON property
ingestedContextReferences. -
#initial_conversation_profile ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationProfile
Corresponds to the JSON property
initialConversationProfile. -
#initial_generator_contexts ⇒ Hash<String,Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationGeneratorContext>
Corresponds to the JSON property
initialGeneratorContexts. -
#lifecycle_state ⇒ String
Corresponds to the JSON property
lifecycleState. -
#name ⇒ String
Corresponds to the JSON property
name. -
#phone_number ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationPhoneNumber
Corresponds to the JSON property
phoneNumber. -
#start_time ⇒ String
Corresponds to the JSON property
startTime. -
#telephony_connection_info ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo
Corresponds to the JSON property
telephonyConnectionInfo.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2Conversation
constructor
A new instance of GoogleCloudDialogflowV2Conversation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2Conversation
Returns a new instance of GoogleCloudDialogflowV2Conversation.
8277 8278 8279 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8277 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_profile ⇒ String
Corresponds to the JSON property conversationProfile
8225 8226 8227 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8225 def conversation_profile @conversation_profile end |
#conversation_stage ⇒ String
Corresponds to the JSON property conversationStage
8230 8231 8232 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8230 def conversation_stage @conversation_stage end |
#end_time ⇒ String
Corresponds to the JSON property endTime
8235 8236 8237 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8235 def end_time @end_time end |
#ingested_context_references ⇒ Hash<String,Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContextReference>
Corresponds to the JSON property ingestedContextReferences
8240 8241 8242 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8240 def ingested_context_references @ingested_context_references end |
#initial_conversation_profile ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationProfile
Corresponds to the JSON property initialConversationProfile
8245 8246 8247 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8245 def initial_conversation_profile @initial_conversation_profile end |
#initial_generator_contexts ⇒ Hash<String,Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationGeneratorContext>
Corresponds to the JSON property initialGeneratorContexts
8250 8251 8252 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8250 def initial_generator_contexts @initial_generator_contexts end |
#lifecycle_state ⇒ String
Corresponds to the JSON property lifecycleState
8255 8256 8257 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8255 def lifecycle_state @lifecycle_state end |
#name ⇒ String
Corresponds to the JSON property name
8260 8261 8262 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8260 def name @name end |
#phone_number ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationPhoneNumber
Corresponds to the JSON property phoneNumber
8265 8266 8267 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8265 def phone_number @phone_number end |
#start_time ⇒ String
Corresponds to the JSON property startTime
8270 8271 8272 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8270 def start_time @start_time end |
#telephony_connection_info ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo
Corresponds to the JSON property telephonyConnectionInfo
8275 8276 8277 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8275 def telephony_connection_info @telephony_connection_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8282 def update!(**args) @conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile) @conversation_stage = args[:conversation_stage] if args.key?(:conversation_stage) @end_time = args[:end_time] if args.key?(:end_time) @ingested_context_references = args[:ingested_context_references] if args.key?(:ingested_context_references) @initial_conversation_profile = args[:initial_conversation_profile] if args.key?(:initial_conversation_profile) @initial_generator_contexts = args[:initial_generator_contexts] if args.key?(:initial_generator_contexts) @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) @name = args[:name] if args.key?(:name) @phone_number = args[:phone_number] if args.key?(:phone_number) @start_time = args[:start_time] if args.key?(:start_time) @telephony_connection_info = args[:telephony_connection_info] if args.key?(:telephony_connection_info) end |