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.



7036
7037
7038
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7036

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)


7009
7010
7011
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7009

def end_column
  @end_column
end

#end_lineFixnum

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

Returns:

  • (Fixnum)


7014
7015
7016
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7014

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)


7019
7020
7021
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7019

def procedure_id
  @procedure_id
end

#start_columnFixnum

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

Returns:

  • (Fixnum)


7024
7025
7026
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7024

def start_column
  @start_column
end

#start_lineFixnum

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

Returns:

  • (Fixnum)


7029
7030
7031
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7029

def start_line
  @start_line
end

#textString

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

Returns:

  • (String)


7034
7035
7036
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7034

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7041
7042
7043
7044
7045
7046
7047
7048
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7041

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