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.



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

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

Instance Attribute Details

#latencyString

Corresponds to the JSON property latency

Returns:

  • (String)


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

def latency
  @latency
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5032
5033
5034
5035
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5032

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