Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency

Returns a new instance of GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency.



16397
16398
16399
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 16397

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

Instance Attribute Details

#complete_timeString

Corresponds to the JSON property completeTime

Returns:

  • (String)


16380
16381
16382
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 16380

def complete_time
  @complete_time
end

#latency_msFloat

Corresponds to the JSON property latencyMs

Returns:

  • (Float)


16385
16386
16387
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 16385

def latency_ms
  @latency_ms
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


16390
16391
16392
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 16390

def start_time
  @start_time
end

#stepString

Corresponds to the JSON property step

Returns:

  • (String)


16395
16396
16397
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 16395

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16402
16403
16404
16405
16406
16407
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 16402

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