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

Overview

Metrics of each processing step.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics

Returns a new instance of GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics.



5204
5205
5206
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5204

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

Instance Attribute Details

#latencyString

Processing latency of the step. Corresponds to the JSON property latency

Returns:

  • (String)


5197
5198
5199
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5197

def latency
  @latency
end

#nameString

Name of the request processing step. Corresponds to the JSON property name

Returns:

  • (String)


5202
5203
5204
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5202

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5209
5210
5211
5212
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5209

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