Class: Google::Apis::BigqueryV2::BiEngineReason

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

Overview

Reason why BI Engine didn't accelerate the query (or sub-query).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BiEngineReason

Returns a new instance of BiEngineReason.



618
619
620
# File 'lib/google/apis/bigquery_v2/classes.rb', line 618

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

Instance Attribute Details

#codeString

Output only. High-level BI Engine reason for partial or disabled acceleration Corresponds to the JSON property code

Returns:

  • (String)


610
611
612
# File 'lib/google/apis/bigquery_v2/classes.rb', line 610

def code
  @code
end

#messageString

Output only. Free form human-readable reason for partial or disabled acceleration. Corresponds to the JSON property message

Returns:

  • (String)


616
617
618
# File 'lib/google/apis/bigquery_v2/classes.rb', line 616

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



623
624
625
626
# File 'lib/google/apis/bigquery_v2/classes.rb', line 623

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