Class: Google::Apis::BigqueryV2::ScriptStackFrame
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::ScriptStackFrame
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Instance Attribute Summary collapse
-
#end_column ⇒ Fixnum
[Output-only] One-based end column.
-
#end_line ⇒ Fixnum
[Output-only] One-based end line.
-
#procedure_id ⇒ String
[Output-only] Name of the active procedure, empty if in a top-level script.
-
#start_column ⇒ Fixnum
[Output-only] One-based start column.
-
#start_line ⇒ Fixnum
[Output-only] One-based start line.
-
#text ⇒ String
[Output-only] Text of the current statement/expression.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ScriptStackFrame
constructor
A new instance of ScriptStackFrame.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ScriptStackFrame
Returns a new instance of ScriptStackFrame.
6806 6807 6808 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6806 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_column ⇒ Fixnum
[Output-only] One-based end column.
Corresponds to the JSON property endColumn
6779 6780 6781 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6779 def end_column @end_column end |
#end_line ⇒ Fixnum
[Output-only] One-based end line.
Corresponds to the JSON property endLine
6784 6785 6786 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6784 def end_line @end_line end |
#procedure_id ⇒ String
[Output-only] Name of the active procedure, empty if in a top-level script.
Corresponds to the JSON property procedureId
6789 6790 6791 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6789 def procedure_id @procedure_id end |
#start_column ⇒ Fixnum
[Output-only] One-based start column.
Corresponds to the JSON property startColumn
6794 6795 6796 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6794 def start_column @start_column end |
#start_line ⇒ Fixnum
[Output-only] One-based start line.
Corresponds to the JSON property startLine
6799 6800 6801 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6799 def start_line @start_line end |
#text ⇒ String
[Output-only] Text of the current statement/expression.
Corresponds to the JSON property text
6804 6805 6806 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6804 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6811 6812 6813 6814 6815 6816 6817 6818 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6811 def update!(**args) @end_column = args[:end_column] if args.key?(:end_column) @end_line = args[:end_line] if args.key?(:end_line) @procedure_id = args[:procedure_id] if args.key?(:procedure_id) @start_column = args[:start_column] if args.key?(:start_column) @start_line = args[:start_line] if args.key?(:start_line) @text = args[:text] if args.key?(:text) end |