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.
4894 4895 4896 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4894 def initialize(**args) update!(**args) end |
Instance Attribute Details
#duration ⇒ String
Corresponds to the JSON property duration
4837 4838 4839 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4837 def duration @duration end |
#environment ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment
Corresponds to the JSON property environment
4842 4843 4844 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4842 def environment @environment end |
#flow_versions ⇒ Hash<String,Fixnum>
Corresponds to the JSON property flowVersions
4847 4848 4849 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4847 def flow_versions @flow_versions end |
#flows ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow>
Corresponds to the JSON property flows
4852 4853 4854 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4852 def flows @flows end |
#intents ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent>
Corresponds to the JSON property intents
4857 4858 4859 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4857 def intents @intents end |
#interactions ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteraction>
Corresponds to the JSON property interactions
4862 4863 4864 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4862 def interactions @interactions end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
4867 4868 4869 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4867 def language_code @language_code end |
#metrics ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationMetrics
Corresponds to the JSON property metrics
4872 4873 4874 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4872 def metrics @metrics end |
#name ⇒ String
Corresponds to the JSON property name
4877 4878 4879 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4877 def name @name end |
#pages ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page>
Corresponds to the JSON property pages
4882 4883 4884 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4882 def pages @pages end |
#start_time ⇒ String
Corresponds to the JSON property startTime
4887 4888 4889 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4887 def start_time @start_time end |
#type ⇒ String
Corresponds to the JSON property type
4892 4893 4894 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4892 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4899 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 |