Class: Google::Apis::BigqueryV2::ScriptStackFrame

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ScriptStackFrame

Returns a new instance of ScriptStackFrame.



5889
5890
5891
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5889

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

Instance Attribute Details

#end_columnFixnum

[Output-only] One-based end column. Corresponds to the JSON property endColumn

Returns:

  • (Fixnum)


5862
5863
5864
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5862

def end_column
  @end_column
end

#end_lineFixnum

[Output-only] One-based end line. Corresponds to the JSON property endLine

Returns:

  • (Fixnum)


5867
5868
5869
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5867

def end_line
  @end_line
end

#procedure_idString

[Output-only] Name of the active procedure, empty if in a top-level script. Corresponds to the JSON property procedureId

Returns:

  • (String)


5872
5873
5874
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5872

def procedure_id
  @procedure_id
end

#start_columnFixnum

[Output-only] One-based start column. Corresponds to the JSON property startColumn

Returns:

  • (Fixnum)


5877
5878
5879
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5877

def start_column
  @start_column
end

#start_lineFixnum

[Output-only] One-based start line. Corresponds to the JSON property startLine

Returns:

  • (Fixnum)


5882
5883
5884
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5882

def start_line
  @start_line
end

#textString

[Output-only] Text of the current statement/expression. Corresponds to the JSON property text

Returns:

  • (String)


5887
5888
5889
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5887

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5894
5895
5896
5897
5898
5899
5900
5901
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5894

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