Class: Google::Apis::BigqueryV2::ExplainQueryStep

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

Returns a new instance of ExplainQueryStep.


702
703
704
# File 'generated/google/apis/bigquery_v2/classes.rb', line 702

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

Instance Attribute Details

#kindString

Machine-readable operation type. Corresponds to the JSON property kind

Returns:

  • (String)

695
696
697
# File 'generated/google/apis/bigquery_v2/classes.rb', line 695

def kind
  @kind
end

#substepsArray<String>

Human-readable stage descriptions. Corresponds to the JSON property substeps

Returns:

  • (Array<String>)

700
701
702
# File 'generated/google/apis/bigquery_v2/classes.rb', line 700

def substeps
  @substeps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


707
708
709
710
# File 'generated/google/apis/bigquery_v2/classes.rb', line 707

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