Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Conversation

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Conversation

Returns a new instance of GoogleCloudDialogflowV2beta1Conversation.



12541
12542
12543
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12541

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#conversation_profileString

Corresponds to the JSON property conversationProfile

Returns:

  • (String)


12489
12490
12491
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12489

def conversation_profile
  @conversation_profile
end

#conversation_stageString

Corresponds to the JSON property conversationStage

Returns:

  • (String)


12494
12495
12496
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12494

def conversation_stage
  @conversation_stage
end

#end_timeString

Corresponds to the JSON property endTime

Returns:

  • (String)


12499
12500
12501
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12499

def end_time
  @end_time
end

#ingested_context_referencesHash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContextReference>

Corresponds to the JSON property ingestedContextReferences



12504
12505
12506
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12504

def ingested_context_references
  @ingested_context_references
end

#initial_conversation_profileGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationProfile

Corresponds to the JSON property initialConversationProfile



12509
12510
12511
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12509

def initial_conversation_profile
  @initial_conversation_profile
end

#initial_generator_contextsHash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationGeneratorContext>

Corresponds to the JSON property initialGeneratorContexts



12514
12515
12516
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12514

def initial_generator_contexts
  @initial_generator_contexts
end

#lifecycle_stateString

Corresponds to the JSON property lifecycleState

Returns:

  • (String)


12519
12520
12521
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12519

def lifecycle_state
  @lifecycle_state
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


12524
12525
12526
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12524

def name
  @name
end

#phone_numberGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationPhoneNumber

Corresponds to the JSON property phoneNumber



12529
12530
12531
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12529

def phone_number
  @phone_number
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


12534
12535
12536
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12534

def start_time
  @start_time
end

#telephony_connection_infoGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo

Corresponds to the JSON property telephonyConnectionInfo



12539
12540
12541
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12539

def telephony_connection_info
  @telephony_connection_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12546

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