Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics

Returns a new instance of GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics.



5021
5022
5023
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5021

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

Instance Attribute Details

#latencyString

Corresponds to the JSON property latency

Returns:

  • (String)


5014
5015
5016
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5014

def latency
  @latency
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


5019
5020
5021
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5019

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5026
5027
5028
5029
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5026

def update!(**args)
  @latency = args[:latency] if args.key?(:latency)
  @name = args[:name] if args.key?(:name)
end