Class: Google::Apis::WorkflowexecutionsV1beta::StackTraceElement
- Inherits:
-
Object
- Object
- Google::Apis::WorkflowexecutionsV1beta::StackTraceElement
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workflowexecutions_v1beta/classes.rb,
lib/google/apis/workflowexecutions_v1beta/representations.rb,
lib/google/apis/workflowexecutions_v1beta/representations.rb
Overview
A single stack element (frame) where an error occurred. This field currently only exists in v1Beta. We will need to roll this change out to V1 after the feature is thoroughly tested. TODO(b/178540475)
Instance Attribute Summary collapse
-
#position ⇒ Google::Apis::WorkflowexecutionsV1beta::Position
Position contains source position information about the stack trace element such as line number, column number and length of the code block in bytes.
-
#routine ⇒ String
The routine where the error occurred.
-
#step ⇒ String
The step the error occurred at.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StackTraceElement
constructor
A new instance of StackTraceElement.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StackTraceElement
Returns a new instance of StackTraceElement.
237 238 239 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 237 def initialize(**args) update!(**args) end |
Instance Attribute Details
#position ⇒ Google::Apis::WorkflowexecutionsV1beta::Position
Position contains source position information about the stack trace element
such as line number, column number and length of the code block in bytes.
Corresponds to the JSON property position
225 226 227 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 225 def position @position end |
#routine ⇒ String
The routine where the error occurred.
Corresponds to the JSON property routine
230 231 232 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 230 def routine @routine end |
#step ⇒ String
The step the error occurred at.
Corresponds to the JSON property step
235 236 237 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 235 def step @step end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
242 243 244 245 246 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 242 def update!(**args) @position = args[:position] if args.key?(:position) @routine = args[:routine] if args.key?(:routine) @step = args[:step] if args.key?(:step) end |