Class: Google::Apis::BigqueryV2::PerformanceInsights
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::PerformanceInsights
- 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
Performance insights for the job.
Instance Attribute Summary collapse
-
#avg_previous_execution_ms ⇒ Fixnum
Output only.
-
#stage_performance_change_insights ⇒ Array<Google::Apis::BigqueryV2::StagePerformanceChangeInsight>
Output only.
-
#stage_performance_standalone_insights ⇒ Array<Google::Apis::BigqueryV2::StagePerformanceStandaloneInsight>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PerformanceInsights
constructor
A new instance of PerformanceInsights.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PerformanceInsights
Returns a new instance of PerformanceInsights.
6975 6976 6977 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6975 def initialize(**args) update!(**args) end |
Instance Attribute Details
#avg_previous_execution_ms ⇒ Fixnum
Output only. Average execution ms of previous runs. Indicates the job ran slow
compared to previous executions. To find previous executions, use
INFORMATION_SCHEMA tables and filter jobs with same query hash.
Corresponds to the JSON property avgPreviousExecutionMs
6961 6962 6963 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6961 def avg_previous_execution_ms @avg_previous_execution_ms end |
#stage_performance_change_insights ⇒ Array<Google::Apis::BigqueryV2::StagePerformanceChangeInsight>
Output only. Query stage performance insights compared to previous runs, for
diagnosing performance regression.
Corresponds to the JSON property stagePerformanceChangeInsights
6967 6968 6969 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6967 def stage_performance_change_insights @stage_performance_change_insights end |
#stage_performance_standalone_insights ⇒ Array<Google::Apis::BigqueryV2::StagePerformanceStandaloneInsight>
Output only. Standalone query stage performance insights, for exploring
potential improvements.
Corresponds to the JSON property stagePerformanceStandaloneInsights
6973 6974 6975 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6973 def stage_performance_standalone_insights @stage_performance_standalone_insights end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6980 6981 6982 6983 6984 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6980 def update!(**args) @avg_previous_execution_ms = args[:avg_previous_execution_ms] if args.key?(:avg_previous_execution_ms) @stage_performance_change_insights = args[:stage_performance_change_insights] if args.key?(:stage_performance_change_insights) @stage_performance_standalone_insights = args[:stage_performance_standalone_insights] if args.key?(:stage_performance_standalone_insights) end |