Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency

Returns a new instance of GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency.



15341
15342
15343
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15341

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

Instance Attribute Details

#complete_timeString

Corresponds to the JSON property completeTime

Returns:

  • (String)


15324
15325
15326
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15324

def complete_time
  @complete_time
end

#latency_msFloat

Corresponds to the JSON property latencyMs

Returns:

  • (Float)


15329
15330
15331
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15329

def latency_ms
  @latency_ms
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


15334
15335
15336
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15334

def start_time
  @start_time
end

#stepString

Corresponds to the JSON property step

Returns:

  • (String)


15339
15340
15341
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15339

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15346
15347
15348
15349
15350
15351
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15346

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