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.



15215
15216
15217
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15215

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

Instance Attribute Details

#complete_timeString

Corresponds to the JSON property completeTime

Returns:

  • (String)


15198
15199
15200
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15198

def complete_time
  @complete_time
end

#latency_msFloat

Corresponds to the JSON property latencyMs

Returns:

  • (Float)


15203
15204
15205
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15203

def latency_ms
  @latency_ms
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


15208
15209
15210
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15208

def start_time
  @start_time
end

#stepString

Corresponds to the JSON property step

Returns:

  • (String)


15213
15214
15215
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15213

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15220
15221
15222
15223
15224
15225
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15220

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