@@ -537,6 +537,60 @@ def update!(**args)
537537 end
538538 end
539539
540+ #
541+ class BiEngineReason
542+ include Google ::Apis ::Core ::Hashable
543+
544+ # [Output-only] High-level BI Engine reason for partial or disabled acceleration.
545+ # Corresponds to the JSON property `code`
546+ # @return [String]
547+ attr_accessor :code
548+
549+ # [Output-only] Free form human-readable reason for partial or disabled
550+ # acceleration.
551+ # Corresponds to the JSON property `message`
552+ # @return [String]
553+ attr_accessor :message
554+
555+ def initialize ( **args )
556+ update! ( **args )
557+ end
558+
559+ # Update properties of this object
560+ def update! ( **args )
561+ @code = args [ :code ] if args . key? ( :code )
562+ @message = args [ :message ] if args . key? ( :message )
563+ end
564+ end
565+
566+ #
567+ class BiEngineStatistics
568+ include Google ::Apis ::Core ::Hashable
569+
570+ # [Output-only] Specifies which mode of BI Engine acceleration was performed (if
571+ # any).
572+ # Corresponds to the JSON property `biEngineMode`
573+ # @return [String]
574+ attr_accessor :bi_engine_mode
575+
576+ # In case of DISABLED or PARTIAL bi_engine_mode, these contain the explanatory
577+ # reasons as to why BI Engine could not accelerate. In case the full query was
578+ # accelerated, this field is not populated.
579+ # Corresponds to the JSON property `biEngineReasons`
580+ # @return [Array<Google::Apis::BigqueryV2::BiEngineReason>]
581+ attr_accessor :bi_engine_reasons
582+
583+ def initialize ( **args )
584+ update! ( **args )
585+ end
586+
587+ # Update properties of this object
588+ def update! ( **args )
589+ @bi_engine_mode = args [ :bi_engine_mode ] if args . key? ( :bi_engine_mode )
590+ @bi_engine_reasons = args [ :bi_engine_reasons ] if args . key? ( :bi_engine_reasons )
591+ end
592+ end
593+
540594 #
541595 class BigQueryModelTraining
542596 include Google ::Apis ::Core ::Hashable
@@ -2231,32 +2285,6 @@ def update!(**args)
22312285 end
22322286 end
22332287
2234- # Explanation for a single feature.
2235- class Explanation
2236- include Google ::Apis ::Core ::Hashable
2237-
2238- # Attribution of feature.
2239- # Corresponds to the JSON property `attribution`
2240- # @return [Float]
2241- attr_accessor :attribution
2242-
2243- # Full name of the feature. For non-numerical features, will be formatted like ..
2244- # Overall size of feature name will always be truncated to first 120 characters.
2245- # Corresponds to the JSON property `featureName`
2246- # @return [String]
2247- attr_accessor :feature_name
2248-
2249- def initialize ( **args )
2250- update! ( **args )
2251- end
2252-
2253- # Update properties of this object
2254- def update! ( **args )
2255- @attribution = args [ :attribution ] if args . key? ( :attribution )
2256- @feature_name = args [ :feature_name ] if args . key? ( :feature_name )
2257- end
2258- end
2259-
22602288 # Represents a textual expression in the Common Expression Language (CEL) syntax.
22612289 # CEL is a C-like expression language. The syntax and semantics of CEL are
22622290 # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -2655,34 +2683,6 @@ def update!(**args)
26552683 end
26562684 end
26572685
2658- # Global explanations containing the top most important features after training.
2659- class GlobalExplanation
2660- include Google ::Apis ::Core ::Hashable
2661-
2662- # Class label for this set of global explanations. Will be empty/null for binary
2663- # logistic and linear regression models. Sorted alphabetically in descending
2664- # order.
2665- # Corresponds to the JSON property `classLabel`
2666- # @return [String]
2667- attr_accessor :class_label
2668-
2669- # A list of the top global explanations. Sorted by absolute value of attribution
2670- # in descending order.
2671- # Corresponds to the JSON property `explanations`
2672- # @return [Array<Google::Apis::BigqueryV2::Explanation>]
2673- attr_accessor :explanations
2674-
2675- def initialize ( **args )
2676- update! ( **args )
2677- end
2678-
2679- # Update properties of this object
2680- def update! ( **args )
2681- @class_label = args [ :class_label ] if args . key? ( :class_label )
2682- @explanations = args [ :explanations ] if args . key? ( :explanations )
2683- end
2684- end
2685-
26862686 #
26872687 class GoogleSheetsOptions
26882688 include Google ::Apis ::Core ::Hashable
@@ -3960,6 +3960,11 @@ def update!(**args)
39603960 class JobStatistics2
39613961 include Google ::Apis ::Core ::Hashable
39623962
3963+ # BI Engine specific Statistics. [Output-only] BI Engine specific Statistics.
3964+ # Corresponds to the JSON property `biEngineStatistics`
3965+ # @return [Google::Apis::BigqueryV2::BiEngineStatistics]
3966+ attr_accessor :bi_engine_statistics
3967+
39633968 # [Output-only] Billing tier for the job.
39643969 # Corresponds to the JSON property `billingTier`
39653970 # @return [Fixnum]
@@ -4145,6 +4150,7 @@ def initialize(**args)
41454150
41464151 # Update properties of this object
41474152 def update! ( **args )
4153+ @bi_engine_statistics = args [ :bi_engine_statistics ] if args . key? ( :bi_engine_statistics )
41484154 @billing_tier = args [ :billing_tier ] if args . key? ( :billing_tier )
41494155 @cache_hit = args [ :cache_hit ] if args . key? ( :cache_hit )
41504156 @ddl_affected_row_access_policy_count = args [ :ddl_affected_row_access_policy_count ] if args . key? ( :ddl_affected_row_access_policy_count )
@@ -7307,13 +7313,6 @@ class TrainingRun
73077313 # @return [Google::Apis::BigqueryV2::EvaluationMetrics]
73087314 attr_accessor :evaluation_metrics
73097315
7310- # Global explanations for important features of the model. For multi-class
7311- # models, there is one entry for each label class. For other models, there is
7312- # only one entry in the list.
7313- # Corresponds to the JSON property `globalExplanations`
7314- # @return [Array<Google::Apis::BigqueryV2::GlobalExplanation>]
7315- attr_accessor :global_explanations
7316-
73177316 # Output of each iteration run, results.size() <= max_iterations.
73187317 # Corresponds to the JSON property `results`
73197318 # @return [Array<Google::Apis::BigqueryV2::IterationResult>]
@@ -7337,7 +7336,6 @@ def initialize(**args)
73377336 def update! ( **args )
73387337 @data_split_result = args [ :data_split_result ] if args . key? ( :data_split_result )
73397338 @evaluation_metrics = args [ :evaluation_metrics ] if args . key? ( :evaluation_metrics )
7340- @global_explanations = args [ :global_explanations ] if args . key? ( :global_explanations )
73417339 @results = args [ :results ] if args . key? ( :results )
73427340 @start_time = args [ :start_time ] if args . key? ( :start_time )
73437341 @training_options = args [ :training_options ] if args . key? ( :training_options )
0 commit comments