Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency

Returns a new instance of GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency.



19539
19540
19541
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19539

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

Instance Attribute Details

#complete_timeString

Corresponds to the JSON property completeTime

Returns:

  • (String)


19522
19523
19524
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19522

def complete_time
  @complete_time
end

#latency_msFloat

Corresponds to the JSON property latencyMs

Returns:

  • (Float)


19527
19528
19529
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19527

def latency_ms
  @latency_ms
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


19532
19533
19534
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19532

def start_time
  @start_time
end

#stepString

Corresponds to the JSON property step

Returns:

  • (String)


19537
19538
19539
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19537

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19544
19545
19546
19547
19548
19549
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19544

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