Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency

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) ⇒ GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency

Returns a new instance of GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency.



21593
21594
21595
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21593

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

Instance Attribute Details

#complete_timeString

Corresponds to the JSON property completeTime

Returns:

  • (String)


21576
21577
21578
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21576

def complete_time
  @complete_time
end

#latency_msFloat

Corresponds to the JSON property latencyMs

Returns:

  • (Float)


21581
21582
21583
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21581

def latency_ms
  @latency_ms
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


21586
21587
21588
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21586

def start_time
  @start_time
end

#stepString

Corresponds to the JSON property step

Returns:

  • (String)


21591
21592
21593
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21591

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21598
21599
21600
21601
21602
21603
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21598

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