diff --git a/api_names_out.yaml b/api_names_out.yaml index dee669765..5de25f73f 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -134,6 +134,7 @@ "/adexchangebuyer2:v2beta1/FilterSet/environment": environment "/adexchangebuyer2:v2beta1/FilterSet/filterSetId": filter_set_id "/adexchangebuyer2:v2beta1/FilterSet/format": format +"/adexchangebuyer2:v2beta1/FilterSet/name": name "/adexchangebuyer2:v2beta1/FilterSet/ownerAccountId": owner_account_id "/adexchangebuyer2:v2beta1/FilterSet/platforms": platforms "/adexchangebuyer2:v2beta1/FilterSet/platforms/platform": platform @@ -59031,6 +59032,23 @@ "/toolresults:v1beta3/FailureDetail/unableToCrawl": unable_to_crawl "/toolresults:v1beta3/FileReference": file_reference "/toolresults:v1beta3/FileReference/fileUri": file_uri +"/toolresults:v1beta3/GraphicsStats": graphics_stats +"/toolresults:v1beta3/GraphicsStats/buckets": buckets +"/toolresults:v1beta3/GraphicsStats/buckets/bucket": bucket +"/toolresults:v1beta3/GraphicsStats/highInputLatencyCount": high_input_latency_count +"/toolresults:v1beta3/GraphicsStats/jankyFrames": janky_frames +"/toolresults:v1beta3/GraphicsStats/missedVsyncCount": missed_vsync_count +"/toolresults:v1beta3/GraphicsStats/p50Millis": p50_millis +"/toolresults:v1beta3/GraphicsStats/p90Millis": p90_millis +"/toolresults:v1beta3/GraphicsStats/p95Millis": p95_millis +"/toolresults:v1beta3/GraphicsStats/p99Millis": p99_millis +"/toolresults:v1beta3/GraphicsStats/slowBitmapUploadCount": slow_bitmap_upload_count +"/toolresults:v1beta3/GraphicsStats/slowDrawCount": slow_draw_count +"/toolresults:v1beta3/GraphicsStats/slowUiThreadCount": slow_ui_thread_count +"/toolresults:v1beta3/GraphicsStats/totalFrames": total_frames +"/toolresults:v1beta3/GraphicsStatsBucket": graphics_stats_bucket +"/toolresults:v1beta3/GraphicsStatsBucket/frameCount": frame_count +"/toolresults:v1beta3/GraphicsStatsBucket/renderMillis": render_millis "/toolresults:v1beta3/History": history "/toolresults:v1beta3/History/displayName": display_name "/toolresults:v1beta3/History/historyId": history_id @@ -59084,6 +59102,7 @@ "/toolresults:v1beta3/PerfMetricsSummary": perf_metrics_summary "/toolresults:v1beta3/PerfMetricsSummary/appStartTime": app_start_time "/toolresults:v1beta3/PerfMetricsSummary/executionId": execution_id +"/toolresults:v1beta3/PerfMetricsSummary/graphicsStats": graphics_stats "/toolresults:v1beta3/PerfMetricsSummary/historyId": history_id "/toolresults:v1beta3/PerfMetricsSummary/perfEnvironment": perf_environment "/toolresults:v1beta3/PerfMetricsSummary/perfMetrics": perf_metrics diff --git a/generated/google/apis/adexchangebuyer2_v2beta1.rb b/generated/google/apis/adexchangebuyer2_v2beta1.rb index 23f7b759b..c3ed19a28 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/ module Adexchangebuyer2V2beta1 VERSION = 'V2beta1' - REVISION = '20170920' + REVISION = '20171005' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb index f5e5c3612..72f51ef72 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb @@ -869,6 +869,16 @@ module Google # @return [String] attr_accessor :format + # A user-defined name of the filter set. Filter set names must be unique + # globally and match one of the patterns: + # - `bidders/*/filterSets/*` (for accessing bidder-level troubleshooting + # data) + # - `bidders/*/accounts/*/filterSets/*` (for accessing buyer-level + # troubleshooting data) + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + # The account ID of the buyer who owns this filter set. # The value of this field is ignored in create operations. # Corresponds to the JSON property `ownerAccountId` @@ -929,6 +939,7 @@ module Google @environment = args[:environment] if args.key?(:environment) @filter_set_id = args[:filter_set_id] if args.key?(:filter_set_id) @format = args[:format] if args.key?(:format) + @name = args[:name] if args.key?(:name) @owner_account_id = args[:owner_account_id] if args.key?(:owner_account_id) @platforms = args[:platforms] if args.key?(:platforms) @realtime_time_range = args[:realtime_time_range] if args.key?(:realtime_time_range) diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb b/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb index 02ef72ce1..7aaad6594 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb @@ -572,6 +572,7 @@ module Google property :environment, as: 'environment' property :filter_set_id, :numeric_string => true, as: 'filterSetId' property :format, as: 'format' + property :name, as: 'name' property :owner_account_id, :numeric_string => true, as: 'ownerAccountId' collection :platforms, as: 'platforms' property :realtime_time_range, as: 'realtimeTimeRange', class: Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange, decorator: Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange::Representation diff --git a/generated/google/apis/toolresults_v1beta3.rb b/generated/google/apis/toolresults_v1beta3.rb index 39f562fb8..289690331 100644 --- a/generated/google/apis/toolresults_v1beta3.rb +++ b/generated/google/apis/toolresults_v1beta3.rb @@ -25,7 +25,7 @@ module Google # @see https://firebase.google.com/docs/test-lab/ module ToolresultsV1beta3 VERSION = 'V1beta3' - REVISION = '20170925' + REVISION = '20171006' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/toolresults_v1beta3/classes.rb b/generated/google/apis/toolresults_v1beta3/classes.rb index 7f396dbdf..41500f400 100644 --- a/generated/google/apis/toolresults_v1beta3/classes.rb +++ b/generated/google/apis/toolresults_v1beta3/classes.rb @@ -776,6 +776,119 @@ module Google end end + # Graphics statistics for the App. The information is collected from 'adb shell + # dumpsys graphicsstats'. For more info see: https://developer.android.com/ + # training/testing/performance.html Statistics will only be present for API 23+. + class GraphicsStats + include Google::Apis::Core::Hashable + + # Histogram of frame render times. There should be 154 buckets ranging from [5ms, + # 6ms) to [4950ms, infinity) + # Corresponds to the JSON property `buckets` + # @return [Array] + attr_accessor :buckets + + # Total "high input latency" events. + # Corresponds to the JSON property `highInputLatencyCount` + # @return [Fixnum] + attr_accessor :high_input_latency_count + + # Total frames with slow render time. Should be <= total_frames. + # Corresponds to the JSON property `jankyFrames` + # @return [Fixnum] + attr_accessor :janky_frames + + # Total "missed vsync" events. + # Corresponds to the JSON property `missedVsyncCount` + # @return [Fixnum] + attr_accessor :missed_vsync_count + + # 50th percentile frame render time in milliseconds. + # Corresponds to the JSON property `p50Millis` + # @return [Fixnum] + attr_accessor :p50_millis + + # 90th percentile frame render time in milliseconds. + # Corresponds to the JSON property `p90Millis` + # @return [Fixnum] + attr_accessor :p90_millis + + # 95th percentile frame render time in milliseconds. + # Corresponds to the JSON property `p95Millis` + # @return [Fixnum] + attr_accessor :p95_millis + + # 99th percentile frame render time in milliseconds. + # Corresponds to the JSON property `p99Millis` + # @return [Fixnum] + attr_accessor :p99_millis + + # Total "slow bitmap upload" events. + # Corresponds to the JSON property `slowBitmapUploadCount` + # @return [Fixnum] + attr_accessor :slow_bitmap_upload_count + + # Total "slow draw" events. + # Corresponds to the JSON property `slowDrawCount` + # @return [Fixnum] + attr_accessor :slow_draw_count + + # Total "slow UI thread" events. + # Corresponds to the JSON property `slowUiThreadCount` + # @return [Fixnum] + attr_accessor :slow_ui_thread_count + + # Total frames rendered by package. + # Corresponds to the JSON property `totalFrames` + # @return [Fixnum] + attr_accessor :total_frames + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @buckets = args[:buckets] if args.key?(:buckets) + @high_input_latency_count = args[:high_input_latency_count] if args.key?(:high_input_latency_count) + @janky_frames = args[:janky_frames] if args.key?(:janky_frames) + @missed_vsync_count = args[:missed_vsync_count] if args.key?(:missed_vsync_count) + @p50_millis = args[:p50_millis] if args.key?(:p50_millis) + @p90_millis = args[:p90_millis] if args.key?(:p90_millis) + @p95_millis = args[:p95_millis] if args.key?(:p95_millis) + @p99_millis = args[:p99_millis] if args.key?(:p99_millis) + @slow_bitmap_upload_count = args[:slow_bitmap_upload_count] if args.key?(:slow_bitmap_upload_count) + @slow_draw_count = args[:slow_draw_count] if args.key?(:slow_draw_count) + @slow_ui_thread_count = args[:slow_ui_thread_count] if args.key?(:slow_ui_thread_count) + @total_frames = args[:total_frames] if args.key?(:total_frames) + end + end + + # + class GraphicsStatsBucket + include Google::Apis::Core::Hashable + + # Number of frames in the bucket. + # Corresponds to the JSON property `frameCount` + # @return [Fixnum] + attr_accessor :frame_count + + # Lower bound of render time in milliseconds. + # Corresponds to the JSON property `renderMillis` + # @return [Fixnum] + attr_accessor :render_millis + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frame_count = args[:frame_count] if args.key?(:frame_count) + @render_millis = args[:render_millis] if args.key?(:render_millis) + end + end + # A History represents a sorted list of Executions ordered by the # start_timestamp_millis field (descending). It can be used to group all the # Executions of a continuous build. @@ -1225,6 +1338,13 @@ module Google # @return [String] attr_accessor :execution_id + # Graphics statistics for the App. The information is collected from 'adb shell + # dumpsys graphicsstats'. For more info see: https://developer.android.com/ + # training/testing/performance.html Statistics will only be present for API 23+. + # Corresponds to the JSON property `graphicsStats` + # @return [Google::Apis::ToolresultsV1beta3::GraphicsStats] + attr_accessor :graphics_stats + # A tool results history ID. # Corresponds to the JSON property `historyId` # @return [String] @@ -1258,6 +1378,7 @@ module Google def update!(**args) @app_start_time = args[:app_start_time] if args.key?(:app_start_time) @execution_id = args[:execution_id] if args.key?(:execution_id) + @graphics_stats = args[:graphics_stats] if args.key?(:graphics_stats) @history_id = args[:history_id] if args.key?(:history_id) @perf_environment = args[:perf_environment] if args.key?(:perf_environment) @perf_metrics = args[:perf_metrics] if args.key?(:perf_metrics) diff --git a/generated/google/apis/toolresults_v1beta3/representations.rb b/generated/google/apis/toolresults_v1beta3/representations.rb index a1fe1cc80..65abb9b71 100644 --- a/generated/google/apis/toolresults_v1beta3/representations.rb +++ b/generated/google/apis/toolresults_v1beta3/representations.rb @@ -106,6 +106,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GraphicsStats + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GraphicsStatsBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class History class Representation < Google::Apis::Core::JsonRepresentation; end @@ -480,6 +492,33 @@ module Google end end + class GraphicsStats + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :buckets, as: 'buckets', class: Google::Apis::ToolresultsV1beta3::GraphicsStatsBucket, decorator: Google::Apis::ToolresultsV1beta3::GraphicsStatsBucket::Representation + + property :high_input_latency_count, :numeric_string => true, as: 'highInputLatencyCount' + property :janky_frames, :numeric_string => true, as: 'jankyFrames' + property :missed_vsync_count, :numeric_string => true, as: 'missedVsyncCount' + property :p50_millis, :numeric_string => true, as: 'p50Millis' + property :p90_millis, :numeric_string => true, as: 'p90Millis' + property :p95_millis, :numeric_string => true, as: 'p95Millis' + property :p99_millis, :numeric_string => true, as: 'p99Millis' + property :slow_bitmap_upload_count, :numeric_string => true, as: 'slowBitmapUploadCount' + property :slow_draw_count, :numeric_string => true, as: 'slowDrawCount' + property :slow_ui_thread_count, :numeric_string => true, as: 'slowUiThreadCount' + property :total_frames, :numeric_string => true, as: 'totalFrames' + end + end + + class GraphicsStatsBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :frame_count, :numeric_string => true, as: 'frameCount' + property :render_millis, :numeric_string => true, as: 'renderMillis' + end + end + class History # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -610,6 +649,8 @@ module Google property :app_start_time, as: 'appStartTime', class: Google::Apis::ToolresultsV1beta3::AppStartTime, decorator: Google::Apis::ToolresultsV1beta3::AppStartTime::Representation property :execution_id, as: 'executionId' + property :graphics_stats, as: 'graphicsStats', class: Google::Apis::ToolresultsV1beta3::GraphicsStats, decorator: Google::Apis::ToolresultsV1beta3::GraphicsStats::Representation + property :history_id, as: 'historyId' property :perf_environment, as: 'perfEnvironment', class: Google::Apis::ToolresultsV1beta3::PerfEnvironment, decorator: Google::Apis::ToolresultsV1beta3::PerfEnvironment::Representation