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.



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

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)


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

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)


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

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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