Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency

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

Returns a new instance of GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency.



20727
20728
20729
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20727

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

Instance Attribute Details

#complete_timeString

Corresponds to the JSON property completeTime

Returns:

  • (String)


20710
20711
20712
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20710

def complete_time
  @complete_time
end

#latency_msFloat

Corresponds to the JSON property latencyMs

Returns:

  • (Float)


20715
20716
20717
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20715

def latency_ms
  @latency_ms
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


20720
20721
20722
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20720

def start_time
  @start_time
end

#stepString

Corresponds to the JSON property step

Returns:

  • (String)


20725
20726
20727
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20725

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20732
20733
20734
20735
20736
20737
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20732

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