Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Span
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Span
- 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
Overview
A span represents a sub execution step of an action.
Instance Attribute Summary collapse
-
#complete_time ⇒ String
Timestamp of the completion of the span.
-
#metrics ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NamedMetric>
The unordered collection of metrics in this span.
-
#name ⇒ String
The name of the span.
-
#start_time ⇒ String
Timestamp of the start of the span.
-
#tags ⇒ Array<String>
The metadata tags of the span such as span type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Span
constructor
A new instance of GoogleCloudDialogflowCxV3beta1Span.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Span
Returns a new instance of GoogleCloudDialogflowCxV3beta1Span.
13716 13717 13718 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13716 def initialize(**args) update!(**args) end |
Instance Attribute Details
#complete_time ⇒ String
Timestamp of the completion of the span.
Corresponds to the JSON property completeTime
13694 13695 13696 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13694 def complete_time @complete_time end |
#metrics ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NamedMetric>
The unordered collection of metrics in this span.
Corresponds to the JSON property metrics
13699 13700 13701 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13699 def metrics @metrics end |
#name ⇒ String
The name of the span.
Corresponds to the JSON property name
13704 13705 13706 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13704 def name @name end |
#start_time ⇒ String
Timestamp of the start of the span.
Corresponds to the JSON property startTime
13709 13710 13711 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13709 def start_time @start_time end |
#tags ⇒ Array<String>
The metadata tags of the span such as span type.
Corresponds to the JSON property tags
13714 13715 13716 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13714 def @tags end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13721 13722 13723 13724 13725 13726 13727 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13721 def update!(**args) @complete_time = args[:complete_time] if args.key?(:complete_time) @metrics = args[:metrics] if args.key?(:metrics) @name = args[:name] if args.key?(:name) @start_time = args[:start_time] if args.key?(:start_time) @tags = args[:tags] if args.key?(:tags) end |