Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency

Returns a new instance of GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency.



9998
9999
10000
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9998

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

Instance Attribute Details

#complete_timeString

Corresponds to the JSON property completeTime

Returns:

  • (String)


9981
9982
9983
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9981

def complete_time
  @complete_time
end

#latency_msFloat

Corresponds to the JSON property latencyMs

Returns:

  • (Float)


9986
9987
9988
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9986

def latency_ms
  @latency_ms
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


9991
9992
9993
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9991

def start_time
  @start_time
end

#stepString

Corresponds to the JSON property step

Returns:

  • (String)


9996
9997
9998
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9996

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10003
10004
10005
10006
10007
10008
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10003

def update!(**args)
  @complete_time = args[:complete_time] if args.key?(:complete_time)
  @latency_ms = args[:latency_ms] if args.key?(:latency_ms)
  @start_time = args[:start_time] if args.key?(:start_time)
  @step = args[:step] if args.key?(:step)
end