Class: Google::Apis::BigqueryV2::ScriptStatistics

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) ⇒ ScriptStatistics

Returns a new instance of ScriptStatistics.



4724
4725
4726
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4724

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

Instance Attribute Details

#evaluation_kindString

[Output-only] Whether this child job was a statement or expression. Corresponds to the JSON property evaluationKind

Returns:

  • (String)


4715
4716
4717
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4715

def evaluation_kind
  @evaluation_kind
end

#stack_framesArray<Google::Apis::BigqueryV2::ScriptStackFrame>

Stack trace showing the line/column/procedure name of each frame on the stack at the point where the current evaluation happened. The leaf frame is first, the primary script is last. Never empty. Corresponds to the JSON property stackFrames



4722
4723
4724
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4722

def stack_frames
  @stack_frames
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4729
4730
4731
4732
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4729

def update!(**args)
  @evaluation_kind = args[:evaluation_kind] if args.key?(:evaluation_kind)
  @stack_frames = args[:stack_frames] if args.key?(:stack_frames)
end