Documentation ¶
Overview ¶
Package playdeveloperreporting provides access to the Google Play Developer Reporting API.
For product documentation, see: https://developers.google.com/play/developer/reporting
Creating a client ¶
Usage example:
import "google.golang.org/api/playdeveloperreporting/v1alpha1" ... ctx := context.Background() playdeveloperreportingService, err := playdeveloperreporting.NewService(ctx)
In this example, Google Application Default Credentials are used for authentication.
For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options ¶
To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
playdeveloperreportingService, err := playdeveloperreporting.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) playdeveloperreportingService, err := playdeveloperreporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See https://godoc.org/google.golang.org/api/option/ for details on options.
Index ¶
- type AnomaliesListCall
- func (c *AnomaliesListCall) Context(ctx context.Context) *AnomaliesListCall
- func (c *AnomaliesListCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse, error)
- func (c *AnomaliesListCall) Fields(s ...googleapi.Field) *AnomaliesListCall
- func (c *AnomaliesListCall) Filter(filter string) *AnomaliesListCall
- func (c *AnomaliesListCall) Header() http.Header
- func (c *AnomaliesListCall) IfNoneMatch(entityTag string) *AnomaliesListCall
- func (c *AnomaliesListCall) PageSize(pageSize int64) *AnomaliesListCall
- func (c *AnomaliesListCall) PageToken(pageToken string) *AnomaliesListCall
- func (c *AnomaliesListCall) Pages(ctx context.Context, ...) error
- type AnomaliesService
- type GooglePlayDeveloperReportingV1alpha1Anomaly
- type GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet
- type GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet
- type GooglePlayDeveloperReportingV1alpha1DimensionValue
- type GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet
- type GooglePlayDeveloperReportingV1alpha1ErrorIssue
- type GooglePlayDeveloperReportingV1alpha1ErrorReport
- type GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet
- type GooglePlayDeveloperReportingV1alpha1FreshnessInfo
- type GooglePlayDeveloperReportingV1alpha1FreshnessInfoFreshness
- type GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse
- type GooglePlayDeveloperReportingV1alpha1MetricValue
- type GooglePlayDeveloperReportingV1alpha1MetricsRow
- type GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest
- type GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse
- type GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest
- type GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse
- type GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest
- type GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse
- type GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRequest
- type GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse
- type GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetRequest
- type GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetResponse
- type GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse
- type GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse
- type GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet
- type GooglePlayDeveloperReportingV1alpha1TimelineSpec
- type GoogleTypeDateTime
- type GoogleTypeDecimal
- type GoogleTypeTimeZone
- type Service
- type VitalsAnrrateGetCall
- func (c *VitalsAnrrateGetCall) Context(ctx context.Context) *VitalsAnrrateGetCall
- func (c *VitalsAnrrateGetCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet, error)
- func (c *VitalsAnrrateGetCall) Fields(s ...googleapi.Field) *VitalsAnrrateGetCall
- func (c *VitalsAnrrateGetCall) Header() http.Header
- func (c *VitalsAnrrateGetCall) IfNoneMatch(entityTag string) *VitalsAnrrateGetCall
- type VitalsAnrrateQueryCall
- func (c *VitalsAnrrateQueryCall) Context(ctx context.Context) *VitalsAnrrateQueryCall
- func (c *VitalsAnrrateQueryCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse, error)
- func (c *VitalsAnrrateQueryCall) Fields(s ...googleapi.Field) *VitalsAnrrateQueryCall
- func (c *VitalsAnrrateQueryCall) Header() http.Header
- func (c *VitalsAnrrateQueryCall) Pages(ctx context.Context, ...) error
- type VitalsAnrrateService
- type VitalsCrashrateGetCall
- func (c *VitalsCrashrateGetCall) Context(ctx context.Context) *VitalsCrashrateGetCall
- func (c *VitalsCrashrateGetCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet, error)
- func (c *VitalsCrashrateGetCall) Fields(s ...googleapi.Field) *VitalsCrashrateGetCall
- func (c *VitalsCrashrateGetCall) Header() http.Header
- func (c *VitalsCrashrateGetCall) IfNoneMatch(entityTag string) *VitalsCrashrateGetCall
- type VitalsCrashrateQueryCall
- func (c *VitalsCrashrateQueryCall) Context(ctx context.Context) *VitalsCrashrateQueryCall
- func (c *VitalsCrashrateQueryCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse, error)
- func (c *VitalsCrashrateQueryCall) Fields(s ...googleapi.Field) *VitalsCrashrateQueryCall
- func (c *VitalsCrashrateQueryCall) Header() http.Header
- func (c *VitalsCrashrateQueryCall) Pages(ctx context.Context, ...) error
- type VitalsCrashrateService
- type VitalsErrorsCountsGetCall
- func (c *VitalsErrorsCountsGetCall) Context(ctx context.Context) *VitalsErrorsCountsGetCall
- func (c *VitalsErrorsCountsGetCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet, error)
- func (c *VitalsErrorsCountsGetCall) Fields(s ...googleapi.Field) *VitalsErrorsCountsGetCall
- func (c *VitalsErrorsCountsGetCall) Header() http.Header
- func (c *VitalsErrorsCountsGetCall) IfNoneMatch(entityTag string) *VitalsErrorsCountsGetCall
- type VitalsErrorsCountsQueryCall
- func (c *VitalsErrorsCountsQueryCall) Context(ctx context.Context) *VitalsErrorsCountsQueryCall
- func (c *VitalsErrorsCountsQueryCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse, error)
- func (c *VitalsErrorsCountsQueryCall) Fields(s ...googleapi.Field) *VitalsErrorsCountsQueryCall
- func (c *VitalsErrorsCountsQueryCall) Header() http.Header
- func (c *VitalsErrorsCountsQueryCall) Pages(ctx context.Context, ...) error
- type VitalsErrorsCountsService
- type VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) Context(ctx context.Context) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse, error)
- func (c *VitalsErrorsIssuesSearchCall) Fields(s ...googleapi.Field) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) Filter(filter string) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) Header() http.Header
- func (c *VitalsErrorsIssuesSearchCall) IfNoneMatch(entityTag string) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeDay(intervalEndTimeDay int64) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeHours(intervalEndTimeHours int64) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeMinutes(intervalEndTimeMinutes int64) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeMonth(intervalEndTimeMonth int64) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeNanos(intervalEndTimeNanos int64) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeSeconds(intervalEndTimeSeconds int64) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeTimeZoneId(intervalEndTimeTimeZoneId string) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeTimeZoneVersion(intervalEndTimeTimeZoneVersion string) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeUtcOffset(intervalEndTimeUtcOffset string) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeYear(intervalEndTimeYear int64) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeDay(intervalStartTimeDay int64) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeHours(intervalStartTimeHours int64) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeMinutes(intervalStartTimeMinutes int64) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeMonth(intervalStartTimeMonth int64) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeNanos(intervalStartTimeNanos int64) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeSeconds(intervalStartTimeSeconds int64) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeTimeZoneId(intervalStartTimeTimeZoneId string) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeTimeZoneVersion(intervalStartTimeTimeZoneVersion string) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeUtcOffset(intervalStartTimeUtcOffset string) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeYear(intervalStartTimeYear int64) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) PageSize(pageSize int64) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) PageToken(pageToken string) *VitalsErrorsIssuesSearchCall
- func (c *VitalsErrorsIssuesSearchCall) Pages(ctx context.Context, ...) error
- type VitalsErrorsIssuesService
- type VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) Context(ctx context.Context) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse, error)
- func (c *VitalsErrorsReportsSearchCall) Fields(s ...googleapi.Field) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) Filter(filter string) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) Header() http.Header
- func (c *VitalsErrorsReportsSearchCall) IfNoneMatch(entityTag string) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeDay(intervalEndTimeDay int64) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeHours(intervalEndTimeHours int64) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeMinutes(intervalEndTimeMinutes int64) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeMonth(intervalEndTimeMonth int64) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeNanos(intervalEndTimeNanos int64) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeSeconds(intervalEndTimeSeconds int64) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeTimeZoneId(intervalEndTimeTimeZoneId string) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeTimeZoneVersion(intervalEndTimeTimeZoneVersion string) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeUtcOffset(intervalEndTimeUtcOffset string) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeYear(intervalEndTimeYear int64) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeDay(intervalStartTimeDay int64) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeHours(intervalStartTimeHours int64) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeMinutes(intervalStartTimeMinutes int64) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeMonth(intervalStartTimeMonth int64) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeNanos(intervalStartTimeNanos int64) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeSeconds(intervalStartTimeSeconds int64) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeTimeZoneId(intervalStartTimeTimeZoneId string) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeTimeZoneVersion(intervalStartTimeTimeZoneVersion string) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeUtcOffset(intervalStartTimeUtcOffset string) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeYear(intervalStartTimeYear int64) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) PageSize(pageSize int64) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) PageToken(pageToken string) *VitalsErrorsReportsSearchCall
- func (c *VitalsErrorsReportsSearchCall) Pages(ctx context.Context, ...) error
- type VitalsErrorsReportsService
- type VitalsErrorsService
- type VitalsExcessivewakeuprateGetCall
- func (c *VitalsExcessivewakeuprateGetCall) Context(ctx context.Context) *VitalsExcessivewakeuprateGetCall
- func (c *VitalsExcessivewakeuprateGetCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet, error)
- func (c *VitalsExcessivewakeuprateGetCall) Fields(s ...googleapi.Field) *VitalsExcessivewakeuprateGetCall
- func (c *VitalsExcessivewakeuprateGetCall) Header() http.Header
- func (c *VitalsExcessivewakeuprateGetCall) IfNoneMatch(entityTag string) *VitalsExcessivewakeuprateGetCall
- type VitalsExcessivewakeuprateQueryCall
- func (c *VitalsExcessivewakeuprateQueryCall) Context(ctx context.Context) *VitalsExcessivewakeuprateQueryCall
- func (c *VitalsExcessivewakeuprateQueryCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse, ...)
- func (c *VitalsExcessivewakeuprateQueryCall) Fields(s ...googleapi.Field) *VitalsExcessivewakeuprateQueryCall
- func (c *VitalsExcessivewakeuprateQueryCall) Header() http.Header
- func (c *VitalsExcessivewakeuprateQueryCall) Pages(ctx context.Context, ...) error
- type VitalsExcessivewakeuprateService
- type VitalsService
- type VitalsStuckbackgroundwakelockrateGetCall
- func (c *VitalsStuckbackgroundwakelockrateGetCall) Context(ctx context.Context) *VitalsStuckbackgroundwakelockrateGetCall
- func (c *VitalsStuckbackgroundwakelockrateGetCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet, ...)
- func (c *VitalsStuckbackgroundwakelockrateGetCall) Fields(s ...googleapi.Field) *VitalsStuckbackgroundwakelockrateGetCall
- func (c *VitalsStuckbackgroundwakelockrateGetCall) Header() http.Header
- func (c *VitalsStuckbackgroundwakelockrateGetCall) IfNoneMatch(entityTag string) *VitalsStuckbackgroundwakelockrateGetCall
- type VitalsStuckbackgroundwakelockrateQueryCall
- func (c *VitalsStuckbackgroundwakelockrateQueryCall) Context(ctx context.Context) *VitalsStuckbackgroundwakelockrateQueryCall
- func (c *VitalsStuckbackgroundwakelockrateQueryCall) Do(opts ...googleapi.CallOption) (...)
- func (c *VitalsStuckbackgroundwakelockrateQueryCall) Fields(s ...googleapi.Field) *VitalsStuckbackgroundwakelockrateQueryCall
- func (c *VitalsStuckbackgroundwakelockrateQueryCall) Header() http.Header
- func (c *VitalsStuckbackgroundwakelockrateQueryCall) Pages(ctx context.Context, f func(...) error) error
- type VitalsStuckbackgroundwakelockrateService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnomaliesListCall ¶
type AnomaliesListCall struct {
// contains filtered or unexported fields
}
func (*AnomaliesListCall) Context ¶
func (c *AnomaliesListCall) Context(ctx context.Context) *AnomaliesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AnomaliesListCall) Do ¶
func (c *AnomaliesListCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse, error)
Do executes the "playdeveloperreporting.anomalies.list" call. Exactly one of *GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse.ServerRespo nse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AnomaliesListCall) Fields ¶
func (c *AnomaliesListCall) Fields(s ...googleapi.Field) *AnomaliesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AnomaliesListCall) Filter ¶
func (c *AnomaliesListCall) Filter(filter string) *AnomaliesListCall
Filter sets the optional parameter "filter": Filtering criteria for anomalies. For basic filter guidance, please check: https://google.aip.dev/160. **Supported functions:** * `activeBetween(startTime, endTime)`: If specified, only list anomalies that were active in between `startTime` (inclusive) and `endTime` (exclusive). Both parameters are expected to conform to an RFC-3339 formatted string (e.g. `2012-04-21T11:30:00-04:00`). UTC offsets are supported. Both `startTime` and `endTime` accept the special value `UNBOUNDED`, to signify intervals with no lower or upper bound, respectively. Examples: * `activeBetween("2021-04-21T11:30:00Z", "2021-07-21T00:00:00Z")` * `activeBetween(UNBOUNDED, "2021-11-21T00:00:00-04:00")` * `activeBetween("2021-07-21T00:00:00-04:00", UNBOUNDED)`
func (*AnomaliesListCall) Header ¶
func (c *AnomaliesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AnomaliesListCall) IfNoneMatch ¶
func (c *AnomaliesListCall) IfNoneMatch(entityTag string) *AnomaliesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AnomaliesListCall) PageSize ¶
func (c *AnomaliesListCall) PageSize(pageSize int64) *AnomaliesListCall
PageSize sets the optional parameter "pageSize": Maximum size of the returned data. If unspecified, at most 10 anomalies will be returned. The maximum value is 100; values above 100 will be coerced to 100.
func (*AnomaliesListCall) PageToken ¶
func (c *AnomaliesListCall) PageToken(pageToken string) *AnomaliesListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListErrorReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListErrorReports` must match the call that provided the page token.
func (*AnomaliesListCall) Pages ¶
func (c *AnomaliesListCall) Pages(ctx context.Context, f func(*GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type AnomaliesService ¶
type AnomaliesService struct {
// contains filtered or unexported fields
}
func NewAnomaliesService ¶
func NewAnomaliesService(s *Service) *AnomaliesService
func (*AnomaliesService) List ¶
func (r *AnomaliesService) List(parent string) *AnomaliesListCall
List: Lists anomalies in any of the datasets.
- parent: Parent app for which anomalies were detected. Format: apps/{app}.
type GooglePlayDeveloperReportingV1alpha1Anomaly ¶
type GooglePlayDeveloperReportingV1alpha1Anomaly struct { // Dimensions: Combination of dimensions in which the anomaly was // detected. Dimensions []*GooglePlayDeveloperReportingV1alpha1DimensionValue `json:"dimensions,omitempty"` // Metric: Metric where the anomaly was detected, together with the // anomalous value. Metric *GooglePlayDeveloperReportingV1alpha1MetricValue `json:"metric,omitempty"` // MetricSet: Metric set resource where the anomaly was detected. MetricSet string `json:"metricSet,omitempty"` // Name: Name of the anomaly. Format: apps/{app}/anomalies/{anomaly} Name string `json:"name,omitempty"` // TimelineSpec: Timeline specification that covers the anomaly period. TimelineSpec *GooglePlayDeveloperReportingV1alpha1TimelineSpec `json:"timelineSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "Dimensions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dimensions") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1Anomaly: Represents an anomaly detected in a dataset. Our anomaly detection systems flag datapoints in a time series that fall outside of and expected range derived from historical data. Although those expected ranges have an upper and a lower bound, we only flag anomalies when the data has become unexpectedly _worse_, which usually corresponds to the case where the metric crosses the upper bound. Multiple contiguous datapoints in a timeline outside of the expected range will be grouped into a single anomaly. Therefore, an anomaly represents effectively a segment of a metric's timeline. The information stored in the `timeline_spec`, `dimensions` and `metric` can be used to fetch a full timeline with extended ragne for context. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.
func (*GooglePlayDeveloperReportingV1alpha1Anomaly) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1Anomaly) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet ¶
type GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet struct { // FreshnessInfo: Summary about data freshness in this resource. FreshnessInfo *GooglePlayDeveloperReportingV1alpha1FreshnessInfo `json:"freshnessInfo,omitempty"` // Name: The resource name. Format: apps/{app}/anrRateMetricSet Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "FreshnessInfo") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FreshnessInfo") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet: Singleton resource representing the set of ANR (Application not responding) metrics. This metric set contains ANRs data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `anrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one ANR. If your app exhibits an ANR rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `anrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `anrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `anrRate` metric. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **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): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about crashes, another stability metric.
func (*GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet ¶
type GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet struct { // FreshnessInfo: Summary about data freshness in this resource. FreshnessInfo *GooglePlayDeveloperReportingV1alpha1FreshnessInfo `json:"freshnessInfo,omitempty"` // Name: The resource name. Format: apps/{app}/crashRateMetricSet Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "FreshnessInfo") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FreshnessInfo") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet: Singleton resource representing the set of crashrate metrics. This metric set contains crashes data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `crashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash. If your app exhibits a crash rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `crashRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `crashRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `crashRate` metric. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **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): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about ANRs, another stability metric.
func (*GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1DimensionValue ¶
type GooglePlayDeveloperReportingV1alpha1DimensionValue struct { // Dimension: Name of the dimension. Dimension string `json:"dimension,omitempty"` // Int64Value: Actual value, represented as an int64. Int64Value int64 `json:"int64Value,omitempty,string"` // StringValue: Actual value, represented as a string. StringValue string `json:"stringValue,omitempty"` // ValueLabel: Optional. Human-friendly label for the value, always in // English. For example, 'Spain' for the 'ES' country code. Whereas the // dimension value is stable, this value label is subject to change. Do // not assume that the (value, value_label) relationship is stable. For // example, the ISO country code 'MK' changed its name recently to // 'North Macedonia'. ValueLabel string `json:"valueLabel,omitempty"` // ForceSendFields is a list of field names (e.g. "Dimension") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dimension") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1DimensionValue: Represents the value of a single dimension.
func (*GooglePlayDeveloperReportingV1alpha1DimensionValue) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1DimensionValue) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet ¶
type GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet struct { // FreshnessInfo: Summary about data freshness in this resource. FreshnessInfo *GooglePlayDeveloperReportingV1alpha1FreshnessInfo `json:"freshnessInfo,omitempty"` // Name: The resource name. Format: apps/{app}/errorCountMetricSet Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "FreshnessInfo") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FreshnessInfo") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet: Singleton resource representing the set of error report metrics. This metric set contains un-normalized error report counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. The default and only supported timezone is `America/Los_Angeles`. **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. **Required dimension:** This dimension must be always specified in all requests in the `dimensions` field in query requests. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. **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. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors.counts contains normalized metrics about Crashes, another stability metric. * vitals.errors.counts contains normalized metrics about ANRs, another stability metric.
func (*GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1ErrorIssue ¶
type GooglePlayDeveloperReportingV1alpha1ErrorIssue struct { // Cause: Cause of the issue. Depending on the type this can be either: // * APPLICATION_NOT_RESPONDING: the type of ANR that occurred, e.g., // 'Input dispatching timed out'. * CRASH: for Java unhandled exception // errors, the type of the innermost exception that was thrown, e.g., // IllegalArgumentException. For signals in native code, the signal that // was raised, e.g. SIGSEGV. Cause string `json:"cause,omitempty"` // Location: Location where the issue happened. Depending on the type // this can be either: * APPLICATION_NOT_RESPONDING: the name of the // activity or service that stopped responding. * CRASH: the likely // method name that caused the error. Location string `json:"location,omitempty"` // Name: The resource name of the issue. Format: // apps/{app}/errorIssues/{issue} Name string `json:"name,omitempty"` // Type: Type of the errors grouped in this issue. // // Possible values: // "ERROR_TYPE_UNSPECIFIED" - Unspecified error type. // "APPLICATION_NOT_RESPONDING" - Application Not Responding (ANR) // error. To learn more about this type of errors visit the // corresponding Android Developers documentation. // "CRASH" - Crash caused by an unhandled exception in Java (or Kotlin // or any other JVM language) or a signal in native code such as // SIGSEGV. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Cause") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Cause") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1ErrorIssue: A group of related ErrorReports received for an app. Similar error reports are grouped together into issues with a likely identical root cause. **Please note:** this resource is currently in Alpha. There could be changes to the issue grouping that would result in similar but more recent error reports being assigned to different issues. This could also cause some issues disappearing entirely and being replaced by new ones. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.
func (*GooglePlayDeveloperReportingV1alpha1ErrorIssue) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1ErrorIssue) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1ErrorReport ¶
type GooglePlayDeveloperReportingV1alpha1ErrorReport struct { // Issue: The issue this report was associated with. **Please note:** // this resource is currently in Alpha. There could be changes to the // issue grouping that would result in similar but more recent error // reports being assigned to a different issue. Issue string `json:"issue,omitempty"` // Name: The resource name of the report. Format: // apps/{app}/errorReports/{report} Name string `json:"name,omitempty"` // ReportText: Textual representation of the error report. These textual // reports are produced by the platform. The reports are then sanitized // and filtered to remove any potentially sensitive information. // Although their format is fairly stable, they are not entirely meant // for machine consumption and we cannot guarantee that there won't be // subtle changes to the formatting that may break systems trying to // parse information out of the reports. ReportText string `json:"reportText,omitempty"` // Type: Type of the error for which this report was generated. // // Possible values: // "ERROR_TYPE_UNSPECIFIED" - Unspecified error type. // "APPLICATION_NOT_RESPONDING" - Application Not Responding (ANR) // error. To learn more about this type of errors visit the // corresponding Android Developers documentation. // "CRASH" - Crash caused by an unhandled exception in Java (or Kotlin // or any other JVM language) or a signal in native code such as // SIGSEGV. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Issue") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Issue") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1ErrorReport: An error report received for an app. There reports are produced by the Android platform code when a (potentially fatal) error condition is detected. Identical reports from many users will be deduplicated and coalesced into a single ErrorReport. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.
func (*GooglePlayDeveloperReportingV1alpha1ErrorReport) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1ErrorReport) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet ¶
type GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet struct { // FreshnessInfo: Summary about data freshness in this resource. FreshnessInfo *GooglePlayDeveloperReportingV1alpha1FreshnessInfo `json:"freshnessInfo,omitempty"` // Name: The resource name. Format: // apps/{app}/excessiveWakeupRateMetricSet Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "FreshnessInfo") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FreshnessInfo") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet: Singleton resource representing the set of Excessive Weakeups metrics. This metric set contains AlarmManager wakeup counts data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `excessiveWakeupRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had more than 10 wakeups per hour. If your app exhibits an excessive wakeup rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `excessiveWakeupRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `excessiveWakeupRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `excessiveWakeupRate` metric. A user is counted in this metric if they app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **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): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.
func (*GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1FreshnessInfo ¶
type GooglePlayDeveloperReportingV1alpha1FreshnessInfo struct { // Freshnesses: Information about data freshness for every supported // aggregation period. This field has set semantics, keyed by the // `aggregation_period` field. Freshnesses []*GooglePlayDeveloperReportingV1alpha1FreshnessInfoFreshness `json:"freshnesses,omitempty"` // ForceSendFields is a list of field names (e.g. "Freshnesses") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Freshnesses") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1FreshnessInfo: Represents the latest available time that can be requested in a TimelineSpec. Different aggregation periods have different freshness. For example, `DAILY` aggregation may lag behind `HOURLY` in cases where such aggregation is computed only once at the end of the day.
func (*GooglePlayDeveloperReportingV1alpha1FreshnessInfo) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1FreshnessInfo) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1FreshnessInfoFreshness ¶
type GooglePlayDeveloperReportingV1alpha1FreshnessInfoFreshness struct { // AggregationPeriod: Aggregation period for which data is available. // // Possible values: // "AGGREGATION_PERIOD_UNSPECIFIED" - Unspecified granularity. // "HOURLY" - Data is aggregated in hourly intervals. // "DAILY" - Data is aggregated in daily intervals. AggregationPeriod string `json:"aggregationPeriod,omitempty"` // LatestEndTime: Latest end time for which data is available, for the // aggregation period. The time is specified in the metric set's default // timezone. *Note:* time ranges in TimelineSpec are represented as // `start_time, end_time)`. For example, if the latest available // timeline data point for a `DAILY` aggregation period is `2021-06-23 // 00:00:00 America/Los_Angeles`, the value of this field would be // `2021-06-24 00:00:00 America/Los_Angeles` so it can be easily reused // in [TimelineSpec.end_time. LatestEndTime *GoogleTypeDateTime `json:"latestEndTime,omitempty"` // ForceSendFields is a list of field names (e.g. "AggregationPeriod") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AggregationPeriod") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1FreshnessInfoFreshness: Information about data freshness for a single aggregation period.
func (*GooglePlayDeveloperReportingV1alpha1FreshnessInfoFreshness) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1FreshnessInfoFreshness) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse ¶
type GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse struct { // Anomalies: Anomalies that were found. Anomalies []*GooglePlayDeveloperReportingV1alpha1Anomaly `json:"anomalies,omitempty"` // NextPageToken: Continuation token to fetch the next page of data. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Anomalies") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Anomalies") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse: Response with a list of anomalies in datasets.
func (*GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1MetricValue ¶
type GooglePlayDeveloperReportingV1alpha1MetricValue struct { // DecimalValue: Actual value, represented as a decimal number. DecimalValue *GoogleTypeDecimal `json:"decimalValue,omitempty"` // Metric: Name of the metric. Metric string `json:"metric,omitempty"` // ForceSendFields is a list of field names (e.g. "DecimalValue") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DecimalValue") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1MetricValue: Represents the value of a metric.
func (*GooglePlayDeveloperReportingV1alpha1MetricValue) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1MetricValue) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1MetricsRow ¶
type GooglePlayDeveloperReportingV1alpha1MetricsRow struct { // AggregationPeriod: Granularity of the aggregation period of the row. // // Possible values: // "AGGREGATION_PERIOD_UNSPECIFIED" - Unspecified granularity. // "HOURLY" - Data is aggregated in hourly intervals. // "DAILY" - Data is aggregated in daily intervals. AggregationPeriod string `json:"aggregationPeriod,omitempty"` // Dimensions: Dimension columns in the row. Dimensions []*GooglePlayDeveloperReportingV1alpha1DimensionValue `json:"dimensions,omitempty"` // Metrics: Metric columns in the row. Metrics []*GooglePlayDeveloperReportingV1alpha1MetricValue `json:"metrics,omitempty"` // StartTime: Starting date (and time for hourly aggregation) of the // period covered by this row. StartTime *GoogleTypeDateTime `json:"startTime,omitempty"` // ForceSendFields is a list of field names (e.g. "AggregationPeriod") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AggregationPeriod") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1MetricsRow: Represents a row of dimensions and metrics.
func (*GooglePlayDeveloperReportingV1alpha1MetricsRow) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1MetricsRow) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest ¶
type GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest struct { // Dimensions: Dimensions to slice the metrics 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): the type (also known as form factor) of the // user's device. * `countryCode` (string): the country or region of the // user's device based on their IP address, represented as a 2-letter // ISO-3166 code (e.g. US for the United States). Dimensions []string `json:"dimensions,omitempty"` // Filter: Filters to apply to data. The filtering expression follows // AIP-160 (https://google.aip.dev/160) standard and supports filtering // by equality of all breakdown dimensions. Filter string `json:"filter,omitempty"` // Metrics: Metrics to aggregate. **Supported metrics:** * `anrRate` // (`google.type.Decimal`): Percentage of distinct users in the // aggregation period that experienced at least one ANR. If your app // exhibits an ANR rate equal to or higher than the threshold, it's in // the bottom 25% of the top 1,000 apps on Google Play (by number of // installs). * `anrRate7dUserWeighted` (`google.type.Decimal`): Rolling // average value of `anrRate` in the last 7 days. The daily values are // weighted by the count of distinct users for the day. * // `anrRate28dUserWeighted` (`google.type.Decimal`): Rolling average // value of `anrRate` in the last 28 days. The daily values are weighted // by the count of distinct users for the day. * `distinctUsers` // (`google.type.Decimal`): Count of distinct users in the aggregation // period that were used as normalization value for the `anrRate` // metric. A user is counted in this metric if they used the app in the // foreground during the aggregation period. Care must be taken not to // aggregate this count further, as it may result in users being counted // multiple times. Metrics []string `json:"metrics,omitempty"` // PageSize: Maximum size of the returned data. If unspecified, at most // 1000 rows will be returned. The maximum value is 100,000; values // above 100,000 will be coerced to 100,000. PageSize int64 `json:"pageSize,omitempty"` // PageToken: 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. PageToken string `json:"pageToken,omitempty"` // TimelineSpec: Specification of the timeline aggregation parameters. // **Supported aggregation periods:** * DAILY: metrics are aggregated in // calendar date intervals. Due to historical constraints, the default // and only supported timezone is `America/Los_Angeles`. TimelineSpec *GooglePlayDeveloperReportingV1alpha1TimelineSpec `json:"timelineSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "Dimensions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dimensions") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest: Request message for QueryAnrRateMetricSet.
func (*GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse ¶
type GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse struct { // NextPageToken: Continuation token to fetch the next page of data. NextPageToken string `json:"nextPageToken,omitempty"` // Rows: Returned rows of data. Rows []*GooglePlayDeveloperReportingV1alpha1MetricsRow `json:"rows,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse: Response message for QueryAnrRateMetricSet.
func (*GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest ¶
type GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest struct { // Dimensions: Dimensions to slice the metrics 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): the type (also known as form factor) of the // user's device. * `countryCode` (string): the country or region of the // user's device based on their IP address, represented as a 2-letter // ISO-3166 code (e.g. US for the United States). Dimensions []string `json:"dimensions,omitempty"` // Filter: Filters to apply to data. The filtering expression follows // AIP-160 (https://google.aip.dev/160) standard and supports filtering // by equality of all breakdown dimensions. Filter string `json:"filter,omitempty"` // Metrics: Metrics to aggregate. **Supported metrics:** * `crashRate` // (`google.type.Decimal`): Percentage of distinct users in the // aggregation period that experienced at least one crash. If your app // exhibits a crash rate equal to or higher than the threshold, it's in // the bottom 25% of the top 1,000 apps on Google Play (by number of // installs). * `crashRate7dUserWeighted` (`google.type.Decimal`): // Rolling average value of `crashRate` in the last 7 days. The daily // values are weighted by the count of distinct users for the day. * // `crashRate28dUserWeighted` (`google.type.Decimal`): Rolling average // value of `crashRate` in the last 28 days. The daily values are // weighted by the count of distinct users for the day. * // `distinctUsers` (`google.type.Decimal`): Count of distinct users in // the aggregation period that were used as normalization value for the // `crashRate` metric. A user is counted in this metric if they used the // app in the foreground during the aggregation period. Care must be // taken not to aggregate this count further, as it may result in users // being counted multiple times. Metrics []string `json:"metrics,omitempty"` // PageSize: Maximum size of the returned data. If unspecified, at most // 1000 rows will be returned. The maximum value is 100,000; values // above 100,000 will be coerced to 100,000. PageSize int64 `json:"pageSize,omitempty"` // PageToken: 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. PageToken string `json:"pageToken,omitempty"` // TimelineSpec: Specification of the timeline aggregation parameters. // **Supported aggregation periods:** * DAILY: metrics are aggregated in // calendar date intervals. Due to historical constraints, the default // and only supported timezone is `America/Los_Angeles`. TimelineSpec *GooglePlayDeveloperReportingV1alpha1TimelineSpec `json:"timelineSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "Dimensions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dimensions") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest: Request message for QueryCrashRateMetricSet.
func (*GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse ¶
type GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse struct { // NextPageToken: Continuation token to fetch the next page of data. NextPageToken string `json:"nextPageToken,omitempty"` // Rows: Returned rows of data. Rows []*GooglePlayDeveloperReportingV1alpha1MetricsRow `json:"rows,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse: Response message for QueryCrashRateMetricSet.
func (*GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest ¶
type GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest struct { // Dimensions: 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 the `{issue}` component of the issue name. Dimensions []string `json:"dimensions,omitempty"` // Filter: Filters to apply to data. The filtering expression follows // AIP-160 (https://google.aip.dev/160) standard and supports filtering // by equality of all breakdown dimensions. Filter string `json:"filter,omitempty"` // Metrics: 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. Metrics []string `json:"metrics,omitempty"` // PageSize: 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. PageSize int64 `json:"pageSize,omitempty"` // PageToken: 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. PageToken string `json:"pageToken,omitempty"` // TimelineSpec: Specification of the timeline aggregation parameters. // **Supported aggregation periods:** * DAILY: metrics are aggregated in // calendar date intervals. The default and only supported timezone is // `America/Los_Angeles`. TimelineSpec *GooglePlayDeveloperReportingV1alpha1TimelineSpec `json:"timelineSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "Dimensions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dimensions") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest: Request message for QueryErrorCountMetricSet.
func (*GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse ¶
type GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse struct { // NextPageToken: Continuation token to fetch the next page of data. NextPageToken string `json:"nextPageToken,omitempty"` // Rows: Returned rows. Rows []*GooglePlayDeveloperReportingV1alpha1MetricsRow `json:"rows,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse: Error counts query response.
func (*GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRequest ¶
type GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRequest struct { // Dimensions: 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): the type (also known as form factor) of the // user's device. * `countryCode` (string): the country or region of the // user's device based on their IP address, represented as a 2-letter // ISO-3166 code (e.g. US for the United States). Dimensions []string `json:"dimensions,omitempty"` // Filter: Filters to apply to data. The filtering expression follows // AIP-160 (https://google.aip.dev/160) standard and supports filtering // by equality of all breakdown dimensions. Filter string `json:"filter,omitempty"` // Metrics: Metrics to aggregate. **Supported metrics:** * // `excessiveWakeupRate` (`google.type.Decimal`): Percentage of distinct // users in the aggregation period that had more than 10 wakeups per // hour. If your app exhibits an excessive wakeup rate equal to or // higher than the threshold, it's in the bottom 25% of the top 1,000 // apps on Google Play (by number of installs). * // `excessiveWakeupRate7dUserWeighted` (`google.type.Decimal`): Rolling // average value of `excessiveWakeupRate` in the last 7 days. The daily // values are weighted by the count of distinct users for the day. * // `excessiveWakeupRate28dUserWeighted` (`google.type.Decimal`): Rolling // average value of `excessiveWakeupRate` in the last 28 days. The daily // values are weighted by the count of distinct users for the day. * // `distinctUsers` (`google.type.Decimal`): Count of distinct users in // the aggregation period that were used as normalization value for the // `excessiveWakeupRate` metric. A user is counted in this metric if // they app was doing any work on the device, i.e., not just active // foreground usage but also background work. Care must be taken not to // aggregate this count further, as it may result in users being counted // multiple times. Metrics []string `json:"metrics,omitempty"` // PageSize: 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. PageSize int64 `json:"pageSize,omitempty"` // PageToken: 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. PageToken string `json:"pageToken,omitempty"` // TimelineSpec: Specification of the timeline aggregation parameters. // **Supported aggregation periods:** * DAILY: metrics are aggregated in // calendar date intervals. Due to historical constraints, the only // supported timezone is `America/Los_Angeles`. TimelineSpec *GooglePlayDeveloperReportingV1alpha1TimelineSpec `json:"timelineSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "Dimensions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dimensions") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetR equest: Request message for QueryExcessiveWakeupRateMetricSet.
func (*GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRequest) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRequest) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse ¶
type GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse struct { // NextPageToken: Continuation token to fetch the next page of data. NextPageToken string `json:"nextPageToken,omitempty"` // Rows: Returned rows of data. Rows []*GooglePlayDeveloperReportingV1alpha1MetricsRow `json:"rows,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetR esponse: Response message for QueryExcessiveWakeupRateMetricSet.
func (*GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetRequest ¶
type GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetRequest struct { // Dimensions: 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): the type (also known as form factor) of the // user's device. * `countryCode` (string): the country or region of the // user's device based on their IP address, represented as a 2-letter // ISO-3166 code (e.g. US for the United States). Dimensions []string `json:"dimensions,omitempty"` // Filter: Filters to apply to data. The filtering expression follows // AIP-160 (https://google.aip.dev/160) standard and supports filtering // by equality of all breakdown dimensions. Filter string `json:"filter,omitempty"` // Metrics: Metrics to aggregate. **Supported metrics:** * // `stuckBgWakelockRate` (`google.type.Decimal`): Percentage of distinct // users in the aggregation period that had a wakelock held in the // background for longer than 1 hour. If your app exhibits a stuck // background wakelock rate equal to or higher than the threshold, it's // in the bottom 25% of the top 1,000 apps on Google Play (by number of // installs). * `stuckBgWakelockRate7dUserWeighted` // (`google.type.Decimal`): Rolling average value of // `stuckBgWakelockRate` in the last 7 days. The daily values are // weighted by the count of distinct users for the day. * // `stuckBgWakelockRate28dUserWeighted` (`google.type.Decimal`): Rolling // average value of `stuckBgWakelockRate` in the last 28 days. The daily // values are weighted by the count of distinct users for the day. * // `distinctUsers` (`google.type.Decimal`): Count of distinct users in // the aggregation period that were used as normalization value for the // `stuckBgWakelockRate` metric. A user is counted in this metric if // they app was doing any work on the device, i.e., not just active // foreground usage but also background work. Care must be taken not to // aggregate this count further, as it may result in users being counted // multiple times. Metrics []string `json:"metrics,omitempty"` // PageSize: 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. PageSize int64 `json:"pageSize,omitempty"` // PageToken: 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. PageToken string `json:"pageToken,omitempty"` // TimelineSpec: Specification of the timeline aggregation parameters. // **Supported aggregation periods:** * DAILY: metrics are aggregated in // calendar date intervals. Due to historical constraints, the only // supported timezone is `America/Los_Angeles`. TimelineSpec *GooglePlayDeveloperReportingV1alpha1TimelineSpec `json:"timelineSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "Dimensions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dimensions") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMe tricSetRequest: Request message for QueryStuckBackgroundWakelockRateMetricSet.
func (*GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetRequest) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetRequest) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetResponse ¶
type GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetResponse struct { // NextPageToken: Continuation token to fetch the next page of data. NextPageToken string `json:"nextPageToken,omitempty"` // Rows: Returned rows of data. Rows []*GooglePlayDeveloperReportingV1alpha1MetricsRow `json:"rows,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMe tricSetResponse: Response message for QueryStuckBackgroundWakelockRateMetricSet.
func (*GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetResponse) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetResponse) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse ¶
type GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse struct { // ErrorIssues: ErrorIssues that were found. ErrorIssues []*GooglePlayDeveloperReportingV1alpha1ErrorIssue `json:"errorIssues,omitempty"` // NextPageToken: Continuation token to fetch the next page of data. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ErrorIssues") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorIssues") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse: Response with a paginated list of issues that matched the request.
func (*GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse ¶
type GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse struct { // ErrorReports: Error reports that were found. ErrorReports []*GooglePlayDeveloperReportingV1alpha1ErrorReport `json:"errorReports,omitempty"` // NextPageToken: Page token to fetch the next page of reports. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ErrorReports") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorReports") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse: Response with a paginated list of error reports matching the search query.
func (*GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet ¶
type GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet struct { // FreshnessInfo: Summary about data freshness in this resource. FreshnessInfo *GooglePlayDeveloperReportingV1alpha1FreshnessInfo `json:"freshnessInfo,omitempty"` // Name: The resource name. Format: // apps/{app}/stuckBackgroundWakelockRateMetricSet Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "FreshnessInfo") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FreshnessInfo") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricS et: Singleton resource representing the set of Stuck Background Wakelocks metrics. This metric set contains PowerManager wakelock duration data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `stuckBgWakelockRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a wakelock held in the background for longer than 1 hour. If your app exhibits a stuck background wakelocks rate equal to or higher than the threshold, it's in the bottom 25% of the top 1,000 apps on Google Play (by number of installs). * `stuckBgWakelockRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `stuckBgWakelockRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `stuckBgWakelockRate` metric. A user is counted in this metric if their app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. **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): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.
func (*GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet) MarshalJSON() ([]byte, error)
type GooglePlayDeveloperReportingV1alpha1TimelineSpec ¶
type GooglePlayDeveloperReportingV1alpha1TimelineSpec struct { // AggregationPeriod: Type of the aggregation period of the datapoints // in the timeline. Intervals are identified by the date and time at the // start of the interval. // // Possible values: // "AGGREGATION_PERIOD_UNSPECIFIED" - Unspecified granularity. // "HOURLY" - Data is aggregated in hourly intervals. // "DAILY" - Data is aggregated in daily intervals. AggregationPeriod string `json:"aggregationPeriod,omitempty"` // EndTime: Ending datapoint of the timeline (exclusive). See start_time // for restrictions. The timezone of the end point must match the // timezone of the start point. EndTime *GoogleTypeDateTime `json:"endTime,omitempty"` // StartTime: Starting datapoint of the timeline (inclusive). Must be // aligned to the aggregation period as follows: * HOURLY: the // 'minutes', 'seconds' and 'nanos' fields must be unset. The time_zone // can be left unset (defaults to UTC) or set explicitly to "UTC". // Setting any other utc_offset or timezone id will result in a // validation error. * DAILY: the 'hours', 'minutes', 'seconds' and // 'nanos' fields must be unset. Different metric sets support different // timezones. It can be left unset to use the default timezone specified // by the metric set. The timezone of the end point must match the // timezone of the start point. StartTime *GoogleTypeDateTime `json:"startTime,omitempty"` // ForceSendFields is a list of field names (e.g. "AggregationPeriod") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AggregationPeriod") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
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.
func (*GooglePlayDeveloperReportingV1alpha1TimelineSpec) MarshalJSON ¶
func (s *GooglePlayDeveloperReportingV1alpha1TimelineSpec) MarshalJSON() ([]byte, error)
type GoogleTypeDateTime ¶
type GoogleTypeDateTime struct { // Day: Required. Day of month. Must be from 1 to 31 and valid for the // year and month. Day int64 `json:"day,omitempty"` // Hours: Required. Hours of day in 24 hour format. Should be from 0 to // 23. An API may choose to allow the value "24:00:00" for scenarios // like business closing time. Hours int64 `json:"hours,omitempty"` // Minutes: Required. Minutes of hour of day. Must be from 0 to 59. Minutes int64 `json:"minutes,omitempty"` // Month: Required. Month of year. Must be from 1 to 12. Month int64 `json:"month,omitempty"` // Nanos: Required. Fractions of seconds in nanoseconds. Must be from 0 // to 999,999,999. Nanos int64 `json:"nanos,omitempty"` // Seconds: Required. Seconds of minutes of the time. Must normally be // from 0 to 59. An API may allow the value 60 if it allows // leap-seconds. Seconds int64 `json:"seconds,omitempty"` // TimeZone: Time zone. TimeZone *GoogleTypeTimeZone `json:"timeZone,omitempty"` // UtcOffset: UTC offset. Must be whole seconds, between -18 hours and // +18 hours. For example, a UTC offset of -4:00 would be represented as // { seconds: -14400 }. UtcOffset string `json:"utcOffset,omitempty"` // Year: Optional. Year of date. Must be from 1 to 9999, or 0 if // specifying a datetime without a year. Year int64 `json:"year,omitempty"` // ForceSendFields is a list of field names (e.g. "Day") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Day") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleTypeDateTime: Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is considered not to have a specific year. month and day must have valid, non-zero values. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.
func (*GoogleTypeDateTime) MarshalJSON ¶
func (s *GoogleTypeDateTime) MarshalJSON() ([]byte, error)
type GoogleTypeDecimal ¶
type GoogleTypeDecimal struct { // Value: The decimal value, as a string. The string representation // consists of an optional sign, `+` (`U+002B`) or `-` (`U+002D`), // followed by a sequence of zero or more decimal digits ("the // integer"), optionally followed by a fraction, optionally followed by // an exponent. The fraction consists of a decimal point followed by // zero or more decimal digits. The string must contain at least one // digit in either the integer or the fraction. The number formed by the // sign, the integer and the fraction is referred to as the significand. // The exponent consists of the character `e` (`U+0065`) or `E` // (`U+0045`) followed by one or more decimal digits. Services // **should** normalize decimal values before storing them by: - // Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - // Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - // Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). - // Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). // Services **may** perform additional normalization based on its own // needs and the internal decimal implementation selected, such as // shifting the decimal point and exponent value together (example: // `2.5e-1` <-> `0.25`). Additionally, services **may** preserve // trailing zeroes in the fraction to indicate increased precision, but // are not required to do so. Note that only the `.` character is // supported to divide the integer and the fraction; `,` **should not** // be supported regardless of locale. Additionally, thousand separators // **should not** be supported. If a service does support them, values // **must** be normalized. The ENBF grammar is: DecimalString = [Sign] // Significand [Exponent]; Sign = '+' | '-'; Significand = Digits '.' | // [Digits] '.' Digits; Exponent = ('e' | 'E') [Sign] Digits; Digits = { // '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; Services // **should** clearly document the range of supported values, the // maximum supported precision (total number of digits), and, if // applicable, the scale (number of digits after the decimal point), as // well as how it behaves when receiving out-of-bounds values. Services // **may** choose to accept values passed as input even when the value // has a higher precision or scale than the service supports, and // **should** round the value to fit the supported scale. Alternatively, // the service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` // in gRPC) if precision would be lost. Services **should** error with // `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service // receives a value outside of the supported range. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Value") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Value") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleTypeDecimal: A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java's BigDecimal or Python's decimal.Decimal. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python.org/3/library/decimal.html
func (*GoogleTypeDecimal) MarshalJSON ¶
func (s *GoogleTypeDecimal) MarshalJSON() ([]byte, error)
type GoogleTypeTimeZone ¶
type GoogleTypeTimeZone struct { // Id: IANA Time Zone Database time zone, e.g. "America/New_York". Id string `json:"id,omitempty"` // Version: Optional. IANA Time Zone Database version number, e.g. // "2019a". Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Id") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Id") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleTypeTimeZone: Represents a time zone from the IANA Time Zone Database (https://www.iana.org/time-zones).
func (*GoogleTypeTimeZone) MarshalJSON ¶
func (s *GoogleTypeTimeZone) MarshalJSON() ([]byte, error)
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Anomalies *AnomaliesService Vitals *VitalsService // contains filtered or unexported fields }
func New
deprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func NewService ¶
NewService creates a new Service.
type VitalsAnrrateGetCall ¶
type VitalsAnrrateGetCall struct {
// contains filtered or unexported fields
}
func (*VitalsAnrrateGetCall) Context ¶
func (c *VitalsAnrrateGetCall) Context(ctx context.Context) *VitalsAnrrateGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*VitalsAnrrateGetCall) Do ¶
func (c *VitalsAnrrateGetCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet, error)
Do executes the "playdeveloperreporting.vitals.anrrate.get" call. Exactly one of *GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet.ServerResponse.H eader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*VitalsAnrrateGetCall) Fields ¶
func (c *VitalsAnrrateGetCall) Fields(s ...googleapi.Field) *VitalsAnrrateGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*VitalsAnrrateGetCall) Header ¶
func (c *VitalsAnrrateGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*VitalsAnrrateGetCall) IfNoneMatch ¶
func (c *VitalsAnrrateGetCall) IfNoneMatch(entityTag string) *VitalsAnrrateGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type VitalsAnrrateQueryCall ¶
type VitalsAnrrateQueryCall struct {
// contains filtered or unexported fields
}
func (*VitalsAnrrateQueryCall) Context ¶
func (c *VitalsAnrrateQueryCall) Context(ctx context.Context) *VitalsAnrrateQueryCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*VitalsAnrrateQueryCall) Do ¶
func (c *VitalsAnrrateQueryCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse, error)
Do executes the "playdeveloperreporting.vitals.anrrate.query" call. Exactly one of *GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse.Ser verResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*VitalsAnrrateQueryCall) Fields ¶
func (c *VitalsAnrrateQueryCall) Fields(s ...googleapi.Field) *VitalsAnrrateQueryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*VitalsAnrrateQueryCall) Header ¶
func (c *VitalsAnrrateQueryCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*VitalsAnrrateQueryCall) Pages ¶
func (c *VitalsAnrrateQueryCall) Pages(ctx context.Context, f func(*GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type VitalsAnrrateService ¶
type VitalsAnrrateService struct {
// contains filtered or unexported fields
}
func NewVitalsAnrrateService ¶
func NewVitalsAnrrateService(s *Service) *VitalsAnrrateService
func (*VitalsAnrrateService) Get ¶
func (r *VitalsAnrrateService) Get(name string) *VitalsAnrrateGetCall
Get: Describes the properties of the metric set.
- name: The resource name. Format: apps/{app}/anrRateMetricSet.
func (*VitalsAnrrateService) Query ¶
func (r *VitalsAnrrateService) Query(name string, googleplaydeveloperreportingv1alpha1queryanrratemetricsetrequest *GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest) *VitalsAnrrateQueryCall
Query: Queries the metrics in the metric set.
- name: The resource name. Format: apps/{app}/anrRateMetricSet.
type VitalsCrashrateGetCall ¶
type VitalsCrashrateGetCall struct {
// contains filtered or unexported fields
}
func (*VitalsCrashrateGetCall) Context ¶
func (c *VitalsCrashrateGetCall) Context(ctx context.Context) *VitalsCrashrateGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*VitalsCrashrateGetCall) Do ¶
func (c *VitalsCrashrateGetCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet, error)
Do executes the "playdeveloperreporting.vitals.crashrate.get" call. Exactly one of *GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet.ServerResponse .Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*VitalsCrashrateGetCall) Fields ¶
func (c *VitalsCrashrateGetCall) Fields(s ...googleapi.Field) *VitalsCrashrateGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*VitalsCrashrateGetCall) Header ¶
func (c *VitalsCrashrateGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*VitalsCrashrateGetCall) IfNoneMatch ¶
func (c *VitalsCrashrateGetCall) IfNoneMatch(entityTag string) *VitalsCrashrateGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type VitalsCrashrateQueryCall ¶
type VitalsCrashrateQueryCall struct {
// contains filtered or unexported fields
}
func (*VitalsCrashrateQueryCall) Context ¶
func (c *VitalsCrashrateQueryCall) Context(ctx context.Context) *VitalsCrashrateQueryCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*VitalsCrashrateQueryCall) Do ¶
func (c *VitalsCrashrateQueryCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse, error)
Do executes the "playdeveloperreporting.vitals.crashrate.query" call. Exactly one of *GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse.S erverResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*VitalsCrashrateQueryCall) Fields ¶
func (c *VitalsCrashrateQueryCall) Fields(s ...googleapi.Field) *VitalsCrashrateQueryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*VitalsCrashrateQueryCall) Header ¶
func (c *VitalsCrashrateQueryCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*VitalsCrashrateQueryCall) Pages ¶
func (c *VitalsCrashrateQueryCall) Pages(ctx context.Context, f func(*GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type VitalsCrashrateService ¶
type VitalsCrashrateService struct {
// contains filtered or unexported fields
}
func NewVitalsCrashrateService ¶
func NewVitalsCrashrateService(s *Service) *VitalsCrashrateService
func (*VitalsCrashrateService) Get ¶
func (r *VitalsCrashrateService) Get(name string) *VitalsCrashrateGetCall
Get: Describes the properties of the metric set.
- name: The resource name. Format: apps/{app}/crashRateMetricSet.
func (*VitalsCrashrateService) Query ¶
func (r *VitalsCrashrateService) Query(name string, googleplaydeveloperreportingv1alpha1querycrashratemetricsetrequest *GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest) *VitalsCrashrateQueryCall
Query: Queries the metrics in the metric set.
- name: The resource name. Format: apps/{app}/crashRateMetricSet.
type VitalsErrorsCountsGetCall ¶
type VitalsErrorsCountsGetCall struct {
// contains filtered or unexported fields
}
func (*VitalsErrorsCountsGetCall) Context ¶
func (c *VitalsErrorsCountsGetCall) Context(ctx context.Context) *VitalsErrorsCountsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*VitalsErrorsCountsGetCall) Do ¶
func (c *VitalsErrorsCountsGetCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet, error)
Do executes the "playdeveloperreporting.vitals.errors.counts.get" call. Exactly one of *GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet.ServerRespons e.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*VitalsErrorsCountsGetCall) Fields ¶
func (c *VitalsErrorsCountsGetCall) Fields(s ...googleapi.Field) *VitalsErrorsCountsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*VitalsErrorsCountsGetCall) Header ¶
func (c *VitalsErrorsCountsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*VitalsErrorsCountsGetCall) IfNoneMatch ¶
func (c *VitalsErrorsCountsGetCall) IfNoneMatch(entityTag string) *VitalsErrorsCountsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type VitalsErrorsCountsQueryCall ¶
type VitalsErrorsCountsQueryCall struct {
// contains filtered or unexported fields
}
func (*VitalsErrorsCountsQueryCall) Context ¶
func (c *VitalsErrorsCountsQueryCall) Context(ctx context.Context) *VitalsErrorsCountsQueryCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*VitalsErrorsCountsQueryCall) Do ¶
func (c *VitalsErrorsCountsQueryCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse, error)
Do executes the "playdeveloperreporting.vitals.errors.counts.query" call. Exactly one of *GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse. ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*VitalsErrorsCountsQueryCall) Fields ¶
func (c *VitalsErrorsCountsQueryCall) Fields(s ...googleapi.Field) *VitalsErrorsCountsQueryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*VitalsErrorsCountsQueryCall) Header ¶
func (c *VitalsErrorsCountsQueryCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*VitalsErrorsCountsQueryCall) Pages ¶
func (c *VitalsErrorsCountsQueryCall) Pages(ctx context.Context, f func(*GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type VitalsErrorsCountsService ¶
type VitalsErrorsCountsService struct {
// contains filtered or unexported fields
}
func NewVitalsErrorsCountsService ¶
func NewVitalsErrorsCountsService(s *Service) *VitalsErrorsCountsService
func (*VitalsErrorsCountsService) Get ¶
func (r *VitalsErrorsCountsService) Get(name string) *VitalsErrorsCountsGetCall
Get: Describes the properties of the metrics set.
- name: Name of the errors metric set. Format: apps/{app}/errorCountMetricSet.
func (*VitalsErrorsCountsService) Query ¶
func (r *VitalsErrorsCountsService) Query(name string, googleplaydeveloperreportingv1alpha1queryerrorcountmetricsetrequest *GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest) *VitalsErrorsCountsQueryCall
Query: Queries the metrics in the metrics set.
- name: The resource name. Format: apps/{app}/errorCountMetricSet.
type VitalsErrorsIssuesSearchCall ¶
type VitalsErrorsIssuesSearchCall struct {
// contains filtered or unexported fields
}
func (*VitalsErrorsIssuesSearchCall) Context ¶
func (c *VitalsErrorsIssuesSearchCall) Context(ctx context.Context) *VitalsErrorsIssuesSearchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*VitalsErrorsIssuesSearchCall) Do ¶
func (c *VitalsErrorsIssuesSearchCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse, error)
Do executes the "playdeveloperreporting.vitals.errors.issues.search" call. Exactly one of *GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse.ServerR esponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*VitalsErrorsIssuesSearchCall) Fields ¶
func (c *VitalsErrorsIssuesSearchCall) Fields(s ...googleapi.Field) *VitalsErrorsIssuesSearchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*VitalsErrorsIssuesSearchCall) Filter ¶
func (c *VitalsErrorsIssuesSearchCall) Filter(filter string) *VitalsErrorsIssuesSearchCall
Filter sets the optional parameter "filter": A selection predicate to retrieve only a subset of the issues. Counts in the returned error issues will only reflect occurrences that matched the filter. For filtering basics, please check AIP-160 (https://google.aip.dev/160). ** Supported field names:** * `apiLevel`: Matches error issues that occurred in the requested Android versions (specified as the numeric API level) only. Example: `apiLevel = 28 OR apiLevel = 29`. * `versionCode`: Matches error issues that occurred in the requested app version codes only. Example: `versionCode = 123 OR versionCode = 456`. * `deviceModel`: Matches error issues that occurred in the requested devices. Example: `deviceModel = "walleye" OR deviceModel = "marlin". * `deviceType`: Matches error issues that occurred in the requested device types. Example: `deviceType = "PHONE". * `errorIssueType`: Matches error issues of the requested types only. Valid candidates: `CRASH`, `ANR`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. ** Supported operators:** * Comparison operators: The only supported comparison operator is equality. The filtered field must appear on the left hand side of the comparison. * Logical Operators: Logical operators `AND` and `OR` can be used to build complex filters following a conjunctive normal form (CNF), i.e., conjunctions of disjunctions. The `OR` operator takes precedence over `AND` so the use of parenthesis is not necessary when building CNF. The `OR` operator is only supported to build disjunctions that apply to the same field, e.g., `versionCode = 123 OR errorIssueType = ANR` is not a valid filter. ** Examples ** Some valid filtering expressions: * `versionCode = 123 AND errorIssueType = ANR` * `versionCode = 123 AND errorIssueType = OR errorIssueType = CRASH` * `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`
func (*VitalsErrorsIssuesSearchCall) Header ¶
func (c *VitalsErrorsIssuesSearchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*VitalsErrorsIssuesSearchCall) IfNoneMatch ¶
func (c *VitalsErrorsIssuesSearchCall) IfNoneMatch(entityTag string) *VitalsErrorsIssuesSearchCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*VitalsErrorsIssuesSearchCall) IntervalEndTimeDay ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeDay(intervalEndTimeDay int64) *VitalsErrorsIssuesSearchCall
IntervalEndTimeDay sets the optional parameter "interval.endTime.day": Required. Day of month. Must be from 1 to 31 and valid for the year and month.
func (*VitalsErrorsIssuesSearchCall) IntervalEndTimeHours ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeHours(intervalEndTimeHours int64) *VitalsErrorsIssuesSearchCall
IntervalEndTimeHours sets the optional parameter "interval.endTime.hours": Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
func (*VitalsErrorsIssuesSearchCall) IntervalEndTimeMinutes ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeMinutes(intervalEndTimeMinutes int64) *VitalsErrorsIssuesSearchCall
IntervalEndTimeMinutes sets the optional parameter "interval.endTime.minutes": Required. Minutes of hour of day. Must be from 0 to 59.
func (*VitalsErrorsIssuesSearchCall) IntervalEndTimeMonth ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeMonth(intervalEndTimeMonth int64) *VitalsErrorsIssuesSearchCall
IntervalEndTimeMonth sets the optional parameter "interval.endTime.month": Required. Month of year. Must be from 1 to 12.
func (*VitalsErrorsIssuesSearchCall) IntervalEndTimeNanos ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeNanos(intervalEndTimeNanos int64) *VitalsErrorsIssuesSearchCall
IntervalEndTimeNanos sets the optional parameter "interval.endTime.nanos": Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
func (*VitalsErrorsIssuesSearchCall) IntervalEndTimeSeconds ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeSeconds(intervalEndTimeSeconds int64) *VitalsErrorsIssuesSearchCall
IntervalEndTimeSeconds sets the optional parameter "interval.endTime.seconds": Required. Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
func (*VitalsErrorsIssuesSearchCall) IntervalEndTimeTimeZoneId ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeTimeZoneId(intervalEndTimeTimeZoneId string) *VitalsErrorsIssuesSearchCall
IntervalEndTimeTimeZoneId sets the optional parameter "interval.endTime.timeZone.id": IANA Time Zone Database time zone, e.g. "America/New_York".
func (*VitalsErrorsIssuesSearchCall) IntervalEndTimeTimeZoneVersion ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeTimeZoneVersion(intervalEndTimeTimeZoneVersion string) *VitalsErrorsIssuesSearchCall
IntervalEndTimeTimeZoneVersion sets the optional parameter "interval.endTime.timeZone.version": IANA Time Zone Database version number, e.g. "2019a".
func (*VitalsErrorsIssuesSearchCall) IntervalEndTimeUtcOffset ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeUtcOffset(intervalEndTimeUtcOffset string) *VitalsErrorsIssuesSearchCall
IntervalEndTimeUtcOffset sets the optional parameter "interval.endTime.utcOffset": UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.
func (*VitalsErrorsIssuesSearchCall) IntervalEndTimeYear ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalEndTimeYear(intervalEndTimeYear int64) *VitalsErrorsIssuesSearchCall
IntervalEndTimeYear sets the optional parameter "interval.endTime.year": Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.
func (*VitalsErrorsIssuesSearchCall) IntervalStartTimeDay ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeDay(intervalStartTimeDay int64) *VitalsErrorsIssuesSearchCall
IntervalStartTimeDay sets the optional parameter "interval.startTime.day": Required. Day of month. Must be from 1 to 31 and valid for the year and month.
func (*VitalsErrorsIssuesSearchCall) IntervalStartTimeHours ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeHours(intervalStartTimeHours int64) *VitalsErrorsIssuesSearchCall
IntervalStartTimeHours sets the optional parameter "interval.startTime.hours": Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
func (*VitalsErrorsIssuesSearchCall) IntervalStartTimeMinutes ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeMinutes(intervalStartTimeMinutes int64) *VitalsErrorsIssuesSearchCall
IntervalStartTimeMinutes sets the optional parameter "interval.startTime.minutes": Required. Minutes of hour of day. Must be from 0 to 59.
func (*VitalsErrorsIssuesSearchCall) IntervalStartTimeMonth ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeMonth(intervalStartTimeMonth int64) *VitalsErrorsIssuesSearchCall
IntervalStartTimeMonth sets the optional parameter "interval.startTime.month": Required. Month of year. Must be from 1 to 12.
func (*VitalsErrorsIssuesSearchCall) IntervalStartTimeNanos ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeNanos(intervalStartTimeNanos int64) *VitalsErrorsIssuesSearchCall
IntervalStartTimeNanos sets the optional parameter "interval.startTime.nanos": Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
func (*VitalsErrorsIssuesSearchCall) IntervalStartTimeSeconds ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeSeconds(intervalStartTimeSeconds int64) *VitalsErrorsIssuesSearchCall
IntervalStartTimeSeconds sets the optional parameter "interval.startTime.seconds": Required. Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
func (*VitalsErrorsIssuesSearchCall) IntervalStartTimeTimeZoneId ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeTimeZoneId(intervalStartTimeTimeZoneId string) *VitalsErrorsIssuesSearchCall
IntervalStartTimeTimeZoneId sets the optional parameter "interval.startTime.timeZone.id": IANA Time Zone Database time zone, e.g. "America/New_York".
func (*VitalsErrorsIssuesSearchCall) IntervalStartTimeTimeZoneVersion ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeTimeZoneVersion(intervalStartTimeTimeZoneVersion string) *VitalsErrorsIssuesSearchCall
IntervalStartTimeTimeZoneVersion sets the optional parameter "interval.startTime.timeZone.version": IANA Time Zone Database version number, e.g. "2019a".
func (*VitalsErrorsIssuesSearchCall) IntervalStartTimeUtcOffset ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeUtcOffset(intervalStartTimeUtcOffset string) *VitalsErrorsIssuesSearchCall
IntervalStartTimeUtcOffset sets the optional parameter "interval.startTime.utcOffset": UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.
func (*VitalsErrorsIssuesSearchCall) IntervalStartTimeYear ¶
func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeYear(intervalStartTimeYear int64) *VitalsErrorsIssuesSearchCall
IntervalStartTimeYear sets the optional parameter "interval.startTime.year": Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.
func (*VitalsErrorsIssuesSearchCall) PageSize ¶
func (c *VitalsErrorsIssuesSearchCall) PageSize(pageSize int64) *VitalsErrorsIssuesSearchCall
PageSize sets the optional parameter "pageSize": The maximum number of error issues to return. The service may return fewer than this value. If unspecified, at most 50 error issues will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
func (*VitalsErrorsIssuesSearchCall) PageToken ¶
func (c *VitalsErrorsIssuesSearchCall) PageToken(pageToken string) *VitalsErrorsIssuesSearchCall
PageToken sets the optional parameter "pageToken": 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.
func (*VitalsErrorsIssuesSearchCall) Pages ¶
func (c *VitalsErrorsIssuesSearchCall) Pages(ctx context.Context, f func(*GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type VitalsErrorsIssuesService ¶
type VitalsErrorsIssuesService struct {
// contains filtered or unexported fields
}
func NewVitalsErrorsIssuesService ¶
func NewVitalsErrorsIssuesService(s *Service) *VitalsErrorsIssuesService
func (*VitalsErrorsIssuesService) Search ¶
func (r *VitalsErrorsIssuesService) Search(parent string) *VitalsErrorsIssuesSearchCall
Search: Searches all error issues in which reports have been grouped.
- parent: Parent resource of the error issues, indicating the application for which they were received. Format: apps/{app}.
type VitalsErrorsReportsSearchCall ¶
type VitalsErrorsReportsSearchCall struct {
// contains filtered or unexported fields
}
func (*VitalsErrorsReportsSearchCall) Context ¶
func (c *VitalsErrorsReportsSearchCall) Context(ctx context.Context) *VitalsErrorsReportsSearchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*VitalsErrorsReportsSearchCall) Do ¶
func (c *VitalsErrorsReportsSearchCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse, error)
Do executes the "playdeveloperreporting.vitals.errors.reports.search" call. Exactly one of *GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse.Server Response.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*VitalsErrorsReportsSearchCall) Fields ¶
func (c *VitalsErrorsReportsSearchCall) Fields(s ...googleapi.Field) *VitalsErrorsReportsSearchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*VitalsErrorsReportsSearchCall) Filter ¶
func (c *VitalsErrorsReportsSearchCall) Filter(filter string) *VitalsErrorsReportsSearchCall
Filter sets the optional parameter "filter": A selection predicate to retrieve only a subset of the reports. For filtering basics, please check AIP-160 (https://google.aip.dev/160). ** Supported field names:** * `apiLevel`: Matches error reports that occurred in the requested Android versions (specified as the numeric API level) only. Example: `apiLevel = 28 OR apiLevel = 29`. * `versionCode`: Matches error reports that occurred in the requested app version codes only. Example: `versionCode = 123 OR versionCode = 456`. * `deviceModel`: Matches error reports that occurred in the requested devices. Example: `deviceModel = "walleye" OR deviceModel = "marlin". * `deviceType`: Matches error reports that occurred in the requested device types. Example: `deviceType = "PHONE". * `errorIssueType`: Matches error reports of the requested types only. Valid candidates: `JAVA_CRASH`, `NATIVE_CRASH`, `ANR`. Example: `errorIssueType = JAVA_CRASH OR errorIssueType = NATIVE_CRASH`. * `errorIssueId`: Matches error reports belonging to the requested error issue ids only. Example: `errorIssueId = 1234 OR errorIssueId = 4567`. ** Supported operators:** * Comparison operators: The only supported comparison operator is equality. The filtered field must appear on the left hand side of the comparison. * Logical Operators: Logical operators `AND` and `OR` can be used to build complex filters following a conjunctive normal form (CNF), i.e., conjunctions of disjunctions. The `OR` operator takes precedence over `AND` so the use of parenthesis is not necessary when building CNF. The `OR` operator is only supported to build disjunctions that apply to the same field, e.g., `versionCode = 123 OR versionCode = ANR`. The filter expression `versionCode = 123 OR errorIssueType = ANR` is not valid. ** Examples ** Some valid filtering expressions: * `versionCode = 123 AND errorIssueType = ANR` * `versionCode = 123 AND errorIssueType = OR errorIssueType = CRASH` * `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`
func (*VitalsErrorsReportsSearchCall) Header ¶
func (c *VitalsErrorsReportsSearchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*VitalsErrorsReportsSearchCall) IfNoneMatch ¶
func (c *VitalsErrorsReportsSearchCall) IfNoneMatch(entityTag string) *VitalsErrorsReportsSearchCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*VitalsErrorsReportsSearchCall) IntervalEndTimeDay ¶
func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeDay(intervalEndTimeDay int64) *VitalsErrorsReportsSearchCall
IntervalEndTimeDay sets the optional parameter "interval.endTime.day": Required. Day of month. Must be from 1 to 31 and valid for the year and month.
func (*VitalsErrorsReportsSearchCall) IntervalEndTimeHours ¶
func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeHours(intervalEndTimeHours int64) *VitalsErrorsReportsSearchCall
IntervalEndTimeHours sets the optional parameter "interval.endTime.hours": Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
func (*VitalsErrorsReportsSearchCall) IntervalEndTimeMinutes ¶
func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeMinutes(intervalEndTimeMinutes int64) *VitalsErrorsReportsSearchCall
IntervalEndTimeMinutes sets the optional parameter "interval.endTime.minutes": Required. Minutes of hour of day. Must be from 0 to 59.
func (*VitalsErrorsReportsSearchCall) IntervalEndTimeMonth ¶
func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeMonth(intervalEndTimeMonth int64) *VitalsErrorsReportsSearchCall
IntervalEndTimeMonth sets the optional parameter "interval.endTime.month": Required. Month of year. Must be from 1 to 12.
func (*VitalsErrorsReportsSearchCall) IntervalEndTimeNanos ¶
func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeNanos(intervalEndTimeNanos int64) *VitalsErrorsReportsSearchCall
IntervalEndTimeNanos sets the optional parameter "interval.endTime.nanos": Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
func (*VitalsErrorsReportsSearchCall) IntervalEndTimeSeconds ¶
func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeSeconds(intervalEndTimeSeconds int64) *VitalsErrorsReportsSearchCall
IntervalEndTimeSeconds sets the optional parameter "interval.endTime.seconds": Required. Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
func (*VitalsErrorsReportsSearchCall) IntervalEndTimeTimeZoneId ¶
func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeTimeZoneId(intervalEndTimeTimeZoneId string) *VitalsErrorsReportsSearchCall
IntervalEndTimeTimeZoneId sets the optional parameter "interval.endTime.timeZone.id": IANA Time Zone Database time zone, e.g. "America/New_York".
func (*VitalsErrorsReportsSearchCall) IntervalEndTimeTimeZoneVersion ¶
func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeTimeZoneVersion(intervalEndTimeTimeZoneVersion string) *VitalsErrorsReportsSearchCall
IntervalEndTimeTimeZoneVersion sets the optional parameter "interval.endTime.timeZone.version": IANA Time Zone Database version number, e.g. "2019a".
func (*VitalsErrorsReportsSearchCall) IntervalEndTimeUtcOffset ¶
func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeUtcOffset(intervalEndTimeUtcOffset string) *VitalsErrorsReportsSearchCall
IntervalEndTimeUtcOffset sets the optional parameter "interval.endTime.utcOffset": UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.
func (*VitalsErrorsReportsSearchCall) IntervalEndTimeYear ¶
func (c *VitalsErrorsReportsSearchCall) IntervalEndTimeYear(intervalEndTimeYear int64) *VitalsErrorsReportsSearchCall
IntervalEndTimeYear sets the optional parameter "interval.endTime.year": Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.
func (*VitalsErrorsReportsSearchCall) IntervalStartTimeDay ¶
func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeDay(intervalStartTimeDay int64) *VitalsErrorsReportsSearchCall
IntervalStartTimeDay sets the optional parameter "interval.startTime.day": Required. Day of month. Must be from 1 to 31 and valid for the year and month.
func (*VitalsErrorsReportsSearchCall) IntervalStartTimeHours ¶
func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeHours(intervalStartTimeHours int64) *VitalsErrorsReportsSearchCall
IntervalStartTimeHours sets the optional parameter "interval.startTime.hours": Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
func (*VitalsErrorsReportsSearchCall) IntervalStartTimeMinutes ¶
func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeMinutes(intervalStartTimeMinutes int64) *VitalsErrorsReportsSearchCall
IntervalStartTimeMinutes sets the optional parameter "interval.startTime.minutes": Required. Minutes of hour of day. Must be from 0 to 59.
func (*VitalsErrorsReportsSearchCall) IntervalStartTimeMonth ¶
func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeMonth(intervalStartTimeMonth int64) *VitalsErrorsReportsSearchCall
IntervalStartTimeMonth sets the optional parameter "interval.startTime.month": Required. Month of year. Must be from 1 to 12.
func (*VitalsErrorsReportsSearchCall) IntervalStartTimeNanos ¶
func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeNanos(intervalStartTimeNanos int64) *VitalsErrorsReportsSearchCall
IntervalStartTimeNanos sets the optional parameter "interval.startTime.nanos": Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
func (*VitalsErrorsReportsSearchCall) IntervalStartTimeSeconds ¶
func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeSeconds(intervalStartTimeSeconds int64) *VitalsErrorsReportsSearchCall
IntervalStartTimeSeconds sets the optional parameter "interval.startTime.seconds": Required. Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
func (*VitalsErrorsReportsSearchCall) IntervalStartTimeTimeZoneId ¶
func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeTimeZoneId(intervalStartTimeTimeZoneId string) *VitalsErrorsReportsSearchCall
IntervalStartTimeTimeZoneId sets the optional parameter "interval.startTime.timeZone.id": IANA Time Zone Database time zone, e.g. "America/New_York".
func (*VitalsErrorsReportsSearchCall) IntervalStartTimeTimeZoneVersion ¶
func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeTimeZoneVersion(intervalStartTimeTimeZoneVersion string) *VitalsErrorsReportsSearchCall
IntervalStartTimeTimeZoneVersion sets the optional parameter "interval.startTime.timeZone.version": IANA Time Zone Database version number, e.g. "2019a".
func (*VitalsErrorsReportsSearchCall) IntervalStartTimeUtcOffset ¶
func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeUtcOffset(intervalStartTimeUtcOffset string) *VitalsErrorsReportsSearchCall
IntervalStartTimeUtcOffset sets the optional parameter "interval.startTime.utcOffset": UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.
func (*VitalsErrorsReportsSearchCall) IntervalStartTimeYear ¶
func (c *VitalsErrorsReportsSearchCall) IntervalStartTimeYear(intervalStartTimeYear int64) *VitalsErrorsReportsSearchCall
IntervalStartTimeYear sets the optional parameter "interval.startTime.year": Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.
func (*VitalsErrorsReportsSearchCall) PageSize ¶
func (c *VitalsErrorsReportsSearchCall) PageSize(pageSize int64) *VitalsErrorsReportsSearchCall
PageSize sets the optional parameter "pageSize": The maximum number of reports to return. The service may return fewer than this value. If unspecified, at most 50 reports will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
func (*VitalsErrorsReportsSearchCall) PageToken ¶
func (c *VitalsErrorsReportsSearchCall) PageToken(pageToken string) *VitalsErrorsReportsSearchCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `SearchErrorReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchErrorReports` must match the call that provided the page token.
func (*VitalsErrorsReportsSearchCall) Pages ¶
func (c *VitalsErrorsReportsSearchCall) Pages(ctx context.Context, f func(*GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type VitalsErrorsReportsService ¶
type VitalsErrorsReportsService struct {
// contains filtered or unexported fields
}
func NewVitalsErrorsReportsService ¶
func NewVitalsErrorsReportsService(s *Service) *VitalsErrorsReportsService
func (*VitalsErrorsReportsService) Search ¶
func (r *VitalsErrorsReportsService) Search(parent string) *VitalsErrorsReportsSearchCall
Search: Searches all error reports received for an app.
- parent: Parent resource of the reports, indicating the application for which they were received. Format: apps/{app}.
type VitalsErrorsService ¶
type VitalsErrorsService struct { Counts *VitalsErrorsCountsService Issues *VitalsErrorsIssuesService Reports *VitalsErrorsReportsService // contains filtered or unexported fields }
func NewVitalsErrorsService ¶
func NewVitalsErrorsService(s *Service) *VitalsErrorsService
type VitalsExcessivewakeuprateGetCall ¶
type VitalsExcessivewakeuprateGetCall struct {
// contains filtered or unexported fields
}
func (*VitalsExcessivewakeuprateGetCall) Context ¶
func (c *VitalsExcessivewakeuprateGetCall) Context(ctx context.Context) *VitalsExcessivewakeuprateGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*VitalsExcessivewakeuprateGetCall) Do ¶
func (c *VitalsExcessivewakeuprateGetCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet, error)
Do executes the "playdeveloperreporting.vitals.excessivewakeuprate.get" call. Exactly one of *GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet.Serv erResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*VitalsExcessivewakeuprateGetCall) Fields ¶
func (c *VitalsExcessivewakeuprateGetCall) Fields(s ...googleapi.Field) *VitalsExcessivewakeuprateGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*VitalsExcessivewakeuprateGetCall) Header ¶
func (c *VitalsExcessivewakeuprateGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*VitalsExcessivewakeuprateGetCall) IfNoneMatch ¶
func (c *VitalsExcessivewakeuprateGetCall) IfNoneMatch(entityTag string) *VitalsExcessivewakeuprateGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type VitalsExcessivewakeuprateQueryCall ¶
type VitalsExcessivewakeuprateQueryCall struct {
// contains filtered or unexported fields
}
func (*VitalsExcessivewakeuprateQueryCall) Context ¶
func (c *VitalsExcessivewakeuprateQueryCall) Context(ctx context.Context) *VitalsExcessivewakeuprateQueryCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*VitalsExcessivewakeuprateQueryCall) Do ¶
func (c *VitalsExcessivewakeuprateQueryCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse, error)
Do executes the "playdeveloperreporting.vitals.excessivewakeuprate.query" call. Exactly one of *GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSet Response or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSet Response.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*VitalsExcessivewakeuprateQueryCall) Fields ¶
func (c *VitalsExcessivewakeuprateQueryCall) Fields(s ...googleapi.Field) *VitalsExcessivewakeuprateQueryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*VitalsExcessivewakeuprateQueryCall) Header ¶
func (c *VitalsExcessivewakeuprateQueryCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*VitalsExcessivewakeuprateQueryCall) Pages ¶
func (c *VitalsExcessivewakeuprateQueryCall) Pages(ctx context.Context, f func(*GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type VitalsExcessivewakeuprateService ¶
type VitalsExcessivewakeuprateService struct {
// contains filtered or unexported fields
}
func NewVitalsExcessivewakeuprateService ¶
func NewVitalsExcessivewakeuprateService(s *Service) *VitalsExcessivewakeuprateService
func (*VitalsExcessivewakeuprateService) Get ¶
func (r *VitalsExcessivewakeuprateService) Get(name string) *VitalsExcessivewakeuprateGetCall
Get: Describes the properties of the metric set.
- name: The resource name. Format: apps/{app}/excessiveWakeupRateMetricSet.
func (*VitalsExcessivewakeuprateService) Query ¶
func (r *VitalsExcessivewakeuprateService) Query(name string, googleplaydeveloperreportingv1alpha1queryexcessivewakeupratemetricsetrequest *GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRequest) *VitalsExcessivewakeuprateQueryCall
Query: Queries the metrics in the metric set.
- name: The resource name. Format: apps/{app}/excessiveWakeupRateMetricSet.
type VitalsService ¶
type VitalsService struct { Anrrate *VitalsAnrrateService Crashrate *VitalsCrashrateService Errors *VitalsErrorsService Excessivewakeuprate *VitalsExcessivewakeuprateService Stuckbackgroundwakelockrate *VitalsStuckbackgroundwakelockrateService // contains filtered or unexported fields }
func NewVitalsService ¶
func NewVitalsService(s *Service) *VitalsService
type VitalsStuckbackgroundwakelockrateGetCall ¶
type VitalsStuckbackgroundwakelockrateGetCall struct {
// contains filtered or unexported fields
}
func (*VitalsStuckbackgroundwakelockrateGetCall) Context ¶
func (c *VitalsStuckbackgroundwakelockrateGetCall) Context(ctx context.Context) *VitalsStuckbackgroundwakelockrateGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*VitalsStuckbackgroundwakelockrateGetCall) Do ¶
func (c *VitalsStuckbackgroundwakelockrateGetCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet, error)
Do executes the "playdeveloperreporting.vitals.stuckbackgroundwakelockrate.get" call. Exactly one of *GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetric Set or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetric Set.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*VitalsStuckbackgroundwakelockrateGetCall) Fields ¶
func (c *VitalsStuckbackgroundwakelockrateGetCall) Fields(s ...googleapi.Field) *VitalsStuckbackgroundwakelockrateGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*VitalsStuckbackgroundwakelockrateGetCall) Header ¶
func (c *VitalsStuckbackgroundwakelockrateGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*VitalsStuckbackgroundwakelockrateGetCall) IfNoneMatch ¶
func (c *VitalsStuckbackgroundwakelockrateGetCall) IfNoneMatch(entityTag string) *VitalsStuckbackgroundwakelockrateGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type VitalsStuckbackgroundwakelockrateQueryCall ¶
type VitalsStuckbackgroundwakelockrateQueryCall struct {
// contains filtered or unexported fields
}
func (*VitalsStuckbackgroundwakelockrateQueryCall) Context ¶
func (c *VitalsStuckbackgroundwakelockrateQueryCall) Context(ctx context.Context) *VitalsStuckbackgroundwakelockrateQueryCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*VitalsStuckbackgroundwakelockrateQueryCall) Do ¶
func (c *VitalsStuckbackgroundwakelockrateQueryCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetResponse, error)
Do executes the "playdeveloperreporting.vitals.stuckbackgroundwakelockrate.query" call. Exactly one of *GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateM etricSetResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateM etricSetResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*VitalsStuckbackgroundwakelockrateQueryCall) Fields ¶
func (c *VitalsStuckbackgroundwakelockrateQueryCall) Fields(s ...googleapi.Field) *VitalsStuckbackgroundwakelockrateQueryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*VitalsStuckbackgroundwakelockrateQueryCall) Header ¶
func (c *VitalsStuckbackgroundwakelockrateQueryCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*VitalsStuckbackgroundwakelockrateQueryCall) Pages ¶
func (c *VitalsStuckbackgroundwakelockrateQueryCall) Pages(ctx context.Context, f func(*GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type VitalsStuckbackgroundwakelockrateService ¶
type VitalsStuckbackgroundwakelockrateService struct {
// contains filtered or unexported fields
}
func NewVitalsStuckbackgroundwakelockrateService ¶
func NewVitalsStuckbackgroundwakelockrateService(s *Service) *VitalsStuckbackgroundwakelockrateService
func (*VitalsStuckbackgroundwakelockrateService) Get ¶
func (r *VitalsStuckbackgroundwakelockrateService) Get(name string) *VitalsStuckbackgroundwakelockrateGetCall
Get: Describes the properties of the metric set.
- name: The resource name. Format: apps/{app}/stuckBackgroundWakelockRateMetricSet.
func (*VitalsStuckbackgroundwakelockrateService) Query ¶
func (r *VitalsStuckbackgroundwakelockrateService) Query(name string, googleplaydeveloperreportingv1alpha1querystuckbackgroundwakelockratemetricsetrequest *GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetRequest) *VitalsStuckbackgroundwakelockrateQueryCall
Query: Queries the metrics in the metric set.
- name: The resource name. Format: apps/{app}/stuckBackgroundWakelockRateMetricSet.