Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency
- 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
-
#complete_time ⇒ String
Corresponds to the JSON property
completeTime. -
#latency_ms ⇒ Float
Corresponds to the JSON property
latencyMs. -
#start_time ⇒ String
Corresponds to the JSON property
startTime. -
#step ⇒ String
Corresponds to the JSON property
step.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency
constructor
A new instance of GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency
Returns a new instance of GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency.
19465 19466 19467 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19465 def initialize(**args) update!(**args) end |
Instance Attribute Details
#complete_time ⇒ String
Corresponds to the JSON property completeTime
19448 19449 19450 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19448 def complete_time @complete_time end |
#latency_ms ⇒ Float
Corresponds to the JSON property latencyMs
19453 19454 19455 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19453 def latency_ms @latency_ms end |
#start_time ⇒ String
Corresponds to the JSON property startTime
19458 19459 19460 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19458 def start_time @start_time end |
#step ⇒ String
Corresponds to the JSON property step
19463 19464 19465 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19463 def step @step end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19470 19471 19472 19473 19474 19475 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19470 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 |