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. -
#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.
12277 12278 12279 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12277 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_profile ⇒ String
Corresponds to the JSON property conversationProfile
12235 12236 12237 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12235 def conversation_profile @conversation_profile end |
#conversation_stage ⇒ String
Corresponds to the JSON property conversationStage
12240 12241 12242 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12240 def conversation_stage @conversation_stage end |
#end_time ⇒ String
Corresponds to the JSON property endTime
12245 12246 12247 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12245 def end_time @end_time end |
#ingested_context_references ⇒ Hash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContextReference>
Corresponds to the JSON property ingestedContextReferences
12250 12251 12252 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12250 def ingested_context_references @ingested_context_references end |
#lifecycle_state ⇒ String
Corresponds to the JSON property lifecycleState
12255 12256 12257 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12255 def lifecycle_state @lifecycle_state end |
#name ⇒ String
Corresponds to the JSON property name
12260 12261 12262 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12260 def name @name end |
#phone_number ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationPhoneNumber
Corresponds to the JSON property phoneNumber
12265 12266 12267 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12265 def phone_number @phone_number end |
#start_time ⇒ String
Corresponds to the JSON property startTime
12270 12271 12272 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12270 def start_time @start_time end |
#telephony_connection_info ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo
Corresponds to the JSON property telephonyConnectionInfo
12275 12276 12277 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12275 def telephony_connection_info @telephony_connection_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12282 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) @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 |