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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BiEngineReason

Returns a new instance of BiEngineReason.



577
578
579
# File 'lib/google/apis/bigquery_v2/classes.rb', line 577

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)


569
570
571
# File 'lib/google/apis/bigquery_v2/classes.rb', line 569

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)


575
576
577
# File 'lib/google/apis/bigquery_v2/classes.rb', line 575

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



582
583
584
585
# File 'lib/google/apis/bigquery_v2/classes.rb', line 582

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