Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Conversation
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Conversation
- 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
-
#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::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContextReference>
Corresponds to the JSON property
ingestedContextReferences. -
#initial_conversation_profile ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationProfile
Corresponds to the JSON property
initialConversationProfile. -
#initial_generator_contexts ⇒ Hash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationGeneratorContext>
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::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationPhoneNumber
Corresponds to the JSON property
phoneNumber. -
#start_time ⇒ String
Corresponds to the JSON property
startTime. -
#telephony_connection_info ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo
Corresponds to the JSON property
telephonyConnectionInfo.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Conversation
constructor
A new instance of GoogleCloudDialogflowV2beta1Conversation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Conversation
Returns a new instance of GoogleCloudDialogflowV2beta1Conversation.
12385 12386 12387 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12385 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_profile ⇒ String
Corresponds to the JSON property conversationProfile
12333 12334 12335 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12333 def conversation_profile @conversation_profile end |
#conversation_stage ⇒ String
Corresponds to the JSON property conversationStage
12338 12339 12340 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12338 def conversation_stage @conversation_stage end |
#end_time ⇒ String
Corresponds to the JSON property endTime
12343 12344 12345 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12343 def end_time @end_time end |
#ingested_context_references ⇒ Hash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContextReference>
Corresponds to the JSON property ingestedContextReferences
12348 12349 12350 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12348 def ingested_context_references @ingested_context_references end |
#initial_conversation_profile ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationProfile
Corresponds to the JSON property initialConversationProfile
12353 12354 12355 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12353 def initial_conversation_profile @initial_conversation_profile end |
#initial_generator_contexts ⇒ Hash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationGeneratorContext>
Corresponds to the JSON property initialGeneratorContexts
12358 12359 12360 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12358 def initial_generator_contexts @initial_generator_contexts end |
#lifecycle_state ⇒ String
Corresponds to the JSON property lifecycleState
12363 12364 12365 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12363 def lifecycle_state @lifecycle_state end |
#name ⇒ String
Corresponds to the JSON property name
12368 12369 12370 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12368 def name @name end |
#phone_number ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationPhoneNumber
Corresponds to the JSON property phoneNumber
12373 12374 12375 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12373 def phone_number @phone_number end |
#start_time ⇒ String
Corresponds to the JSON property startTime
12378 12379 12380 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12378 def start_time @start_time end |
#telephony_connection_info ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo
Corresponds to the JSON property telephonyConnectionInfo
12383 12384 12385 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12383 def telephony_connection_info @telephony_connection_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12390 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 |