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.



579
580
581
# File 'lib/google/apis/bigquery_v2/classes.rb', line 579

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)


571
572
573
# File 'lib/google/apis/bigquery_v2/classes.rb', line 571

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)


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

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



584
585
586
587
# File 'lib/google/apis/bigquery_v2/classes.rb', line 584

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