Skip to content

Commit 92258a2

Browse files
feat: Automated regeneration of playdeveloperreporting v1alpha1 client (googleapis#22123)
Auto-created at 2025-03-16 10:34:32 +0000 using the toys pull request generator.
1 parent fb706f3 commit 92258a2

File tree

6 files changed

+366
-2
lines changed

6 files changed

+366
-2
lines changed

api_names_out.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291685,6 +291685,9 @@
291685291685
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse/anomalies": anomalies
291686291686
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse/anomalies/anomaly": anomaly
291687291687
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse/nextPageToken": next_page_token
291688+
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1LmkRateMetricSet": google_play_developer_reporting_v1alpha1_lmk_rate_metric_set
291689+
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1LmkRateMetricSet/freshnessInfo": freshness_info
291690+
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1LmkRateMetricSet/name": name
291688291691
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1MetricValue": google_play_developer_reporting_v1alpha1_metric_value
291689291692
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1MetricValue/decimalValue": decimal_value
291690291693
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1MetricValue/decimalValueConfidenceInterval": decimal_value_confidence_interval
@@ -291754,6 +291757,20 @@
291754291757
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse/nextPageToken": next_page_token
291755291758
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse/rows": rows
291756291759
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse/rows/row": row
291760+
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetRequest": google_play_developer_reporting_v1alpha1_query_lmk_rate_metric_set_request
291761+
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetRequest/dimensions": dimensions
291762+
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetRequest/dimensions/dimension": dimension
291763+
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetRequest/filter": filter
291764+
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetRequest/metrics": metrics
291765+
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetRequest/metrics/metric": metric
291766+
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetRequest/pageSize": page_size
291767+
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetRequest/pageToken": page_token
291768+
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetRequest/timelineSpec": timeline_spec
291769+
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetRequest/userCohort": user_cohort
291770+
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetResponse": google_play_developer_reporting_v1alpha1_query_lmk_rate_metric_set_response
291771+
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetResponse/nextPageToken": next_page_token
291772+
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetResponse/rows": rows
291773+
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetResponse/rows/row": row
291757291774
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetRequest": google_play_developer_reporting_v1alpha1_query_slow_rendering_rate_metric_set_request
291758291775
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetRequest/dimensions": dimensions
291759291776
"/playdeveloperreporting:v1alpha1/GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetRequest/dimensions/dimension": dimension
@@ -291932,6 +291949,10 @@
291932291949
"/playdeveloperreporting:v1alpha1/playdeveloperreporting.vitals.excessivewakeuprate.get/name": name
291933291950
"/playdeveloperreporting:v1alpha1/playdeveloperreporting.vitals.excessivewakeuprate.query": query_vital_excessivewakeuprate
291934291951
"/playdeveloperreporting:v1alpha1/playdeveloperreporting.vitals.excessivewakeuprate.query/name": name
291952+
"/playdeveloperreporting:v1alpha1/playdeveloperreporting.vitals.lmkrate.get": get_vital_lmkrate
291953+
"/playdeveloperreporting:v1alpha1/playdeveloperreporting.vitals.lmkrate.get/name": name
291954+
"/playdeveloperreporting:v1alpha1/playdeveloperreporting.vitals.lmkrate.query": query_vital_lmkrate
291955+
"/playdeveloperreporting:v1alpha1/playdeveloperreporting.vitals.lmkrate.query/name": name
291935291956
"/playdeveloperreporting:v1alpha1/playdeveloperreporting.vitals.slowrenderingrate.get": get_vital_slowrenderingrate
291936291957
"/playdeveloperreporting:v1alpha1/playdeveloperreporting.vitals.slowrenderingrate.get/name": name
291937291958
"/playdeveloperreporting:v1alpha1/playdeveloperreporting.vitals.slowrenderingrate.query": query_vital_slowrenderingrate

generated/google-apis-playdeveloperreporting_v1alpha1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-playdeveloperreporting_v1alpha1
22

3+
### v0.34.0 (2025-03-16)
4+
5+
* Regenerated from discovery document revision 20250311
6+
37
### v0.33.0 (2025-02-26)
48

59
* Regenerated from discovery document revision 20250204

generated/google-apis-playdeveloperreporting_v1alpha1/lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb

Lines changed: 226 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,84 @@ def update!(**args)
913913
end
914914
end
915915

916+
# Singleton resource representing the set of LMK (Low Memory Kill) metrics. This
917+
# metric set contains LMKs data combined with usage data to produce a normalized
918+
# metric independent of user counts. **Supported aggregation periods:** * DAILY:
919+
# metrics are aggregated in calendar date intervals. Due to historical
920+
# constraints, the only supported timezone is `America/Los_Angeles`. **Supported
921+
# metrics:** * `userPerceivedLmkRate` (`google.type.Decimal`): Percentage of
922+
# distinct users in the aggregation period that experienced at least one LMK
923+
# while they were actively using your app (a user-perceived LMK). An app is
924+
# considered to be in active use if it is displaying any activity or executing
925+
# any foreground service. * `userPerceivedLmkRate7dUserWeighted` (`google.type.
926+
# Decimal`): Rolling average value of `userPerceivedLmkRate` in the last 7 days.
927+
# The daily values are weighted by the count of distinct users for the day. * `
928+
# userPerceivedLmkRate28dUserWeighted` (`google.type.Decimal`): Rolling average
929+
# value of `userPerceivedLmkRate` in the last 28 days. The daily values are
930+
# weighted by the count of distinct users for the day. * `distinctUsers` (`
931+
# google.type.Decimal`): Count of distinct users in the aggregation period that
932+
# were used as normalization value for the `userPerceivedLmkRate` metrics. A
933+
# user is counted in this metric if they used the app in the foreground during
934+
# the aggregation period. Care must be taken not to aggregate this count further,
935+
# as it may result in users being counted multiple times. The value is rounded
936+
# to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the
937+
# magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the
938+
# API level of Android that was running on the user's device, e.g., 26. * `
939+
# versionCode` (int64): version of the app that was running on the user's device.
940+
# * `deviceModel` (string): unique identifier of the user's device model. The
941+
# form of the identifier is 'deviceBrand/device', where deviceBrand corresponds
942+
# to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `
943+
# deviceBrand` (string): unique identifier of the user's device brand, e.g.,
944+
# google. * `deviceType` (string): the type (also known as form factor) of the
945+
# user's device, e.g., PHONE. * `countryCode` (string): the country or region of
946+
# the user's device based on their IP address, represented as a 2-letter ISO-
947+
# 3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of
948+
# the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string):
949+
# Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https:/
950+
# /developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `
951+
# deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., "
952+
# Exynos 2100". [Reference](https://developer.android.com/reference/android/os/
953+
# Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g.,
954+
# Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo
955+
# 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `
956+
# deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `
957+
# deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `
958+
# deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". *
959+
# `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., "196610".
960+
# * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE.
961+
# * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.
962+
# **Required permissions**: to access this resource, the calling user needs the
963+
# _View app information (read-only)_ permission for the app. **Related metric
964+
# sets:** * vitals.errors contains normalized metrics about crashes, another
965+
# stability metric. * vitals.errors contains normalized metrics about ANRs,
966+
# another stability metric.
967+
class GooglePlayDeveloperReportingV1alpha1LmkRateMetricSet
968+
include Google::Apis::Core::Hashable
969+
970+
# Represents the latest available time that can be requested in a TimelineSpec.
971+
# Different aggregation periods have different freshness. For example, `DAILY`
972+
# aggregation may lag behind `HOURLY` in cases where such aggregation is
973+
# computed only once at the end of the day.
974+
# Corresponds to the JSON property `freshnessInfo`
975+
# @return [Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1FreshnessInfo]
976+
attr_accessor :freshness_info
977+
978+
# Identifier. The resource name. Format: apps/`app`/lmkRateMetricSet
979+
# Corresponds to the JSON property `name`
980+
# @return [String]
981+
attr_accessor :name
982+
983+
def initialize(**args)
984+
update!(**args)
985+
end
986+
987+
# Update properties of this object
988+
def update!(**args)
989+
@freshness_info = args[:freshness_info] if args.key?(:freshness_info)
990+
@name = args[:name] if args.key?(:name)
991+
end
992+
end
993+
916994
# Represents the value of a metric.
917995
class GooglePlayDeveloperReportingV1alpha1MetricValue
918996
include Google::Apis::Core::Hashable
@@ -1589,6 +1667,154 @@ def update!(**args)
15891667
end
15901668
end
15911669

1670+
# Request message for QueryLmkRateMetricSet.
1671+
class GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetRequest
1672+
include Google::Apis::Core::Hashable
1673+
1674+
# Optional. Dimensions to slice the metrics by. **Supported dimensions:** * `
1675+
# apiLevel` (string): the API level of Android that was running on the user's
1676+
# device, e.g., 26. * `versionCode` (int64): version of the app that was running
1677+
# on the user's device. * `deviceModel` (string): unique identifier of the user'
1678+
# s device model. The form of the identifier is 'deviceBrand/device', where
1679+
# deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE,
1680+
# e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's
1681+
# device brand, e.g., google. * `deviceType` (string): the type (also known as
1682+
# form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the
1683+
# country or region of the user's device based on their IP address, represented
1684+
# as a 2-letter ISO-3166 code (e.g. US for the United States). * `
1685+
# deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.)
1686+
# . * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g.
1687+
# , Samsung. [Reference](https://developer.android.com/reference/android/os/
1688+
# Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's
1689+
# primary system-on-chip, e.g., "Exynos 2100". [Reference](https://developer.
1690+
# android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string):
1691+
# Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model
1692+
# of the device's CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the
1693+
# device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's
1694+
# GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.
1695+
# g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g.,
1696+
# "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.
1697+
# g., "196610". * `deviceScreenSize` (string): Screen size of the device, e.g.,
1698+
# NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g.
1699+
# , mdpi, hdpi.
1700+
# Corresponds to the JSON property `dimensions`
1701+
# @return [Array<String>]
1702+
attr_accessor :dimensions
1703+
1704+
# Optional. Filters to apply to data. The filtering expression follows [AIP-160](
1705+
# https://google.aip.dev/160) standard and supports filtering by equality of all
1706+
# breakdown dimensions.
1707+
# Corresponds to the JSON property `filter`
1708+
# @return [String]
1709+
attr_accessor :filter
1710+
1711+
# Optional. Metrics to aggregate. **Supported metrics:** * `userPerceivedLmkRate`
1712+
# (`google.type.Decimal`): Percentage of distinct users in the aggregation
1713+
# period that experienced at least one LMK while they were actively using your
1714+
# app (a user-perceived LMK). An app is considered to be in active use if it is
1715+
# displaying any activity or executing any foreground service. * `
1716+
# userPerceivedLmkRate7dUserWeighted` (`google.type.Decimal`): Rolling average
1717+
# value of `userPerceivedLmkRate` in the last 7 days. The daily values are
1718+
# weighted by the count of distinct users for the day. * `
1719+
# userPerceivedLmkRate28dUserWeighted` (`google.type.Decimal`): Rolling average
1720+
# value of `userPerceivedLmkRate` in the last 28 days. The daily values are
1721+
# weighted by the count of distinct users for the day. * `distinctUsers` (`
1722+
# google.type.Decimal`): Count of distinct users in the aggregation period that
1723+
# were used as normalization value for the `userPerceivedLmkRate` metrics. A
1724+
# user is counted in this metric if they used the app in the foreground during
1725+
# the aggregation period. Care must be taken not to aggregate this count further,
1726+
# as it may result in users being counted multiple times. The value is rounded
1727+
# to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the
1728+
# magnitude of the value.
1729+
# Corresponds to the JSON property `metrics`
1730+
# @return [Array<String>]
1731+
attr_accessor :metrics
1732+
1733+
# Optional. Maximum size of the returned data. If unspecified, at most 1000 rows
1734+
# will be returned. The maximum value is 100,000; values above 100,000 will be
1735+
# coerced to 100,000.
1736+
# Corresponds to the JSON property `pageSize`
1737+
# @return [Fixnum]
1738+
attr_accessor :page_size
1739+
1740+
# Optional. A page token, received from a previous call. Provide this to
1741+
# retrieve the subsequent page. When paginating, all other parameters provided
1742+
# to the request must match the call that provided the page token.
1743+
# Corresponds to the JSON property `pageToken`
1744+
# @return [String]
1745+
attr_accessor :page_token
1746+
1747+
# Specification of the time-related aggregation parameters of a timeline.
1748+
# Timelines have an aggregation period (`DAILY`, `HOURLY`, etc) which defines
1749+
# how events are aggregated in metrics. The points in a timeline are defined by
1750+
# the starting DateTime of the aggregation period. The duration is implicit in
1751+
# the AggregationPeriod. Hourly aggregation periods, when supported by a metric
1752+
# set, are always specified in UTC to avoid ambiguities around daylight saving
1753+
# time transitions, where an hour is skipped when adopting DST, and repeated
1754+
# when abandoning DST. For example, the timestamp '2021-11-07 01:00:00 America/
1755+
# Los_Angeles' is ambiguous since it can correspond to '2021-11-07 08:00:00 UTC'
1756+
# or '2021-11-07 09:00:00 UTC'. Daily aggregation periods require specifying a
1757+
# timezone which will determine the precise instants of the start and the end of
1758+
# the day. Not all metric sets support all timezones, so make sure to check
1759+
# which timezones are supported by the metric set you want to query.
1760+
# Corresponds to the JSON property `timelineSpec`
1761+
# @return [Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1TimelineSpec]
1762+
attr_accessor :timeline_spec
1763+
1764+
# Optional. User view to select. The output data will correspond to the selected
1765+
# view. **Supported values:** * `OS_PUBLIC` To select data from all publicly
1766+
# released Android versions. This is the default. Supports all the above
1767+
# dimensions. * `APP_TESTERS` To select data from users who have opted in to be
1768+
# testers. Supports all the above dimensions. * `OS_BETA` To select data from
1769+
# beta android versions only, excluding data from released android versions.
1770+
# Only the following dimensions are supported: * `versionCode` (int64): version
1771+
# of the app that was running on the user's device. * `osBuild` (string): OS
1772+
# build of the user's device, e.g., "T1B2.220916.004".
1773+
# Corresponds to the JSON property `userCohort`
1774+
# @return [String]
1775+
attr_accessor :user_cohort
1776+
1777+
def initialize(**args)
1778+
update!(**args)
1779+
end
1780+
1781+
# Update properties of this object
1782+
def update!(**args)
1783+
@dimensions = args[:dimensions] if args.key?(:dimensions)
1784+
@filter = args[:filter] if args.key?(:filter)
1785+
@metrics = args[:metrics] if args.key?(:metrics)
1786+
@page_size = args[:page_size] if args.key?(:page_size)
1787+
@page_token = args[:page_token] if args.key?(:page_token)
1788+
@timeline_spec = args[:timeline_spec] if args.key?(:timeline_spec)
1789+
@user_cohort = args[:user_cohort] if args.key?(:user_cohort)
1790+
end
1791+
end
1792+
1793+
# Response message for QueryLmkRateMetricSet.
1794+
class GooglePlayDeveloperReportingV1alpha1QueryLmkRateMetricSetResponse
1795+
include Google::Apis::Core::Hashable
1796+
1797+
# Continuation token to fetch the next page of data.
1798+
# Corresponds to the JSON property `nextPageToken`
1799+
# @return [String]
1800+
attr_accessor :next_page_token
1801+
1802+
# Returned rows of data.
1803+
# Corresponds to the JSON property `rows`
1804+
# @return [Array<Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1MetricsRow>]
1805+
attr_accessor :rows
1806+
1807+
def initialize(**args)
1808+
update!(**args)
1809+
end
1810+
1811+
# Update properties of this object
1812+
def update!(**args)
1813+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1814+
@rows = args[:rows] if args.key?(:rows)
1815+
end
1816+
end
1817+
15921818
# Request message for QuerySlowRenderingRateMetricSet.
15931819
class GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetRequest
15941820
include Google::Apis::Core::Hashable

0 commit comments

Comments
 (0)