Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Conversation
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Conversation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#duration ⇒ String
Corresponds to the JSON property
duration. -
#environment ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment
Corresponds to the JSON property
environment. -
#flow_versions ⇒ Hash<String,Fixnum>
Corresponds to the JSON property
flowVersions. -
#flows ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow>
Corresponds to the JSON property
flows. -
#intents ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent>
Corresponds to the JSON property
intents. -
#interactions ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteraction>
Corresponds to the JSON property
interactions. -
#language_code ⇒ String
Corresponds to the JSON property
languageCode. -
#metrics ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetrics
Corresponds to the JSON property
metrics. -
#name ⇒ String
Corresponds to the JSON property
name. -
#pages ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page>
Corresponds to the JSON property
pages. -
#start_time ⇒ String
Corresponds to the JSON property
startTime. -
#type ⇒ String
Corresponds to the JSON property
type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Conversation
constructor
A new instance of GoogleCloudDialogflowCxV3beta1Conversation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Conversation
Returns a new instance of GoogleCloudDialogflowCxV3beta1Conversation.
4900 4901 4902 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4900 def initialize(**args) update!(**args) end |
Instance Attribute Details
#duration ⇒ String
Corresponds to the JSON property duration
4843 4844 4845 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4843 def duration @duration end |
#environment ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment
Corresponds to the JSON property environment
4848 4849 4850 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4848 def environment @environment end |
#flow_versions ⇒ Hash<String,Fixnum>
Corresponds to the JSON property flowVersions
4853 4854 4855 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4853 def flow_versions @flow_versions end |
#flows ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow>
Corresponds to the JSON property flows
4858 4859 4860 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4858 def flows @flows end |
#intents ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent>
Corresponds to the JSON property intents
4863 4864 4865 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4863 def intents @intents end |
#interactions ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteraction>
Corresponds to the JSON property interactions
4868 4869 4870 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4868 def interactions @interactions end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
4873 4874 4875 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4873 def language_code @language_code end |
#metrics ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetrics
Corresponds to the JSON property metrics
4878 4879 4880 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4878 def metrics @metrics end |
#name ⇒ String
Corresponds to the JSON property name
4883 4884 4885 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4883 def name @name end |
#pages ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page>
Corresponds to the JSON property pages
4888 4889 4890 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4888 def pages @pages end |
#start_time ⇒ String
Corresponds to the JSON property startTime
4893 4894 4895 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4893 def start_time @start_time end |
#type ⇒ String
Corresponds to the JSON property type
4898 4899 4900 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4898 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4905 def update!(**args) @duration = args[:duration] if args.key?(:duration) @environment = args[:environment] if args.key?(:environment) @flow_versions = args[:flow_versions] if args.key?(:flow_versions) @flows = args[:flows] if args.key?(:flows) @intents = args[:intents] if args.key?(:intents) @interactions = args[:interactions] if args.key?(:interactions) @language_code = args[:language_code] if args.key?(:language_code) @metrics = args[:metrics] if args.key?(:metrics) @name = args[:name] if args.key?(:name) @pages = args[:pages] if args.key?(:pages) @start_time = args[:start_time] if args.key?(:start_time) @type = args[:type] if args.key?(:type) end |