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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/bigquery_v2/classes.rb,
generated/google/apis/bigquery_v2/representations.rb,
generated/google/apis/bigquery_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ScriptStackFrame

Returns a new instance of ScriptStackFrame.



5311
5312
5313
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5311

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)


5284
5285
5286
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5284

def end_column
  @end_column
end

#end_lineFixnum

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

Returns:

  • (Fixnum)


5289
5290
5291
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5289

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)


5294
5295
5296
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5294

def procedure_id
  @procedure_id
end

#start_columnFixnum

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

Returns:

  • (Fixnum)


5299
5300
5301
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5299

def start_column
  @start_column
end

#start_lineFixnum

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

Returns:

  • (Fixnum)


5304
5305
5306
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5304

def start_line
  @start_line
end

#textString

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

Returns:

  • (String)


5309
5310
5311
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5309

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5316
5317
5318
5319
5320
5321
5322
5323
# File 'generated/google/apis/bigquery_v2/classes.rb', line 5316

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