Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency

Returns a new instance of GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency.



17777
17778
17779
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17777

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

Instance Attribute Details

#complete_timeString

Corresponds to the JSON property completeTime

Returns:

  • (String)


17760
17761
17762
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17760

def complete_time
  @complete_time
end

#latency_msFloat

Corresponds to the JSON property latencyMs

Returns:

  • (Float)


17765
17766
17767
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17765

def latency_ms
  @latency_ms
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


17770
17771
17772
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17770

def start_time
  @start_time
end

#stepString

Corresponds to the JSON property step

Returns:

  • (String)


17775
17776
17777
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17775

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17782
17783
17784
17785
17786
17787
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17782

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