Class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest
- Inherits:
-
Object
- Object
- Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb,
lib/google/apis/playdeveloperreporting_v1alpha1/representations.rb,
lib/google/apis/playdeveloperreporting_v1alpha1/representations.rb
Overview
Request message for QueryErrorCountMetricSet.
Instance Attribute Summary collapse
-
#dimensions ⇒ Array<String>
Dimensions to slice the data by.
-
#filter ⇒ String
Filters to apply to data.
-
#metrics ⇒ Array<String>
Metrics to aggregate.
-
#page_size ⇒ Fixnum
Maximum size of the returned data.
-
#page_token ⇒ String
A page token, received from a previous call.
-
#timeline_spec ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1TimelineSpec
Specification of the time-related aggregation parameters of a timeline.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest
constructor
A new instance of GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest
Returns a new instance of GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest.
897 898 899 |
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 897 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimensions ⇒ Array<String>
Dimensions to slice the data by. Supported dimensions: * apiLevel (
string): the API level of Android that was running on the user's device. *
versionCode (int64): version of the app that was running on the user's device.
deviceModel(string): unique identifier of the user's device model. *deviceType(string): identifier of the device's form factor, e.g., PHONE. *reportType(string): the type of error. The value should correspond to one of the possible values in ErrorType. *issueId(string): the id an error was assigned to. The value should correspond to theissuecomponent of the issue name. Corresponds to the JSON propertydimensions
847 848 849 |
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 847 def dimensions @dimensions end |
#filter ⇒ String
Filters to apply to data. The filtering expression follows AIP-160 standard and supports filtering by equality of all
breakdown dimensions.
Corresponds to the JSON property filter
854 855 856 |
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 854 def filter @filter end |
#metrics ⇒ Array<String>
Metrics to aggregate. Supported metrics: * errorReportCount (google.
type.Decimal): Absolute count of individual error reports that have been
received for an app. * distinctUsers (google.type.Decimal): Count of
distinct users for which reports have been received. Care must be taken not to
aggregate this count further, as it may result in users being counted multiple
times.
Corresponds to the JSON property metrics
864 865 866 |
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 864 def metrics @metrics end |
#page_size ⇒ Fixnum
Maximum size of the returned data. If unspecified, at most 1000 rows will be
returned. The maximum value is 100000; values above 100000 will be coerced to
100000.
Corresponds to the JSON property pageSize
871 872 873 |
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 871 def page_size @page_size end |
#page_token ⇒ String
A page token, received from a previous call. Provide this to retrieve the
subsequent page. When paginating, all other parameters provided to the request
must match the call that provided the page token.
Corresponds to the JSON property pageToken
878 879 880 |
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 878 def page_token @page_token end |
#timeline_spec ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1TimelineSpec
Specification of the time-related aggregation parameters of a timeline.
Timelines have an aggregation period (DAILY, HOURLY, etc) which defines
how events are aggregated in metrics. The points in a timeline are defined by
the starting DateTime of the aggregation period. The duration is implicit in
the AggregationPeriod. Hourly aggregation periods, when supported by a metric
set, are always specified in UTC to avoid ambiguities around daylight saving
time transitions, where an hour is skipped when adopting DST, and repeated
when abandoning DST. For example, the timestamp '2021-11-07 01:00:00 America/
Los_Angeles' is ambiguous since it can correspond to '2021-11-07 08:00:00 UTC'
or '2021-11-07 09:00:00 UTC'. Daily aggregation periods require specifying a
timezone which will determine the precise instants of the start and the end of
the day. Not all metric sets support all timezones, so make sure to check
which timezones are supported by the metric set you want to query.
Corresponds to the JSON property timelineSpec
895 896 897 |
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 895 def timeline_spec @timeline_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
902 903 904 905 906 907 908 909 |
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 902 def update!(**args) @dimensions = args[:dimensions] if args.key?(:dimensions) @filter = args[:filter] if args.key?(:filter) @metrics = args[:metrics] if args.key?(:metrics) @page_size = args[:page_size] if args.key?(:page_size) @page_token = args[:page_token] if args.key?(:page_token) @timeline_spec = args[:timeline_spec] if args.key?(:timeline_spec) end |