Skip to content

GetAppUsageSummaryRequest

Source code in docs_src/capo_appmonetization/types/get_app_usage_summary_request.py
class GetAppUsageSummaryRequest(TypedDict, closed=True):
    app_id: "capo_appmonetization.types.app_id.AppId"
    """The ID of the app."""
    started_at: "capo_appmonetization.types.timestamp.Timestamp"
    """Start of the reporting window."""
    ended_at: "capo_appmonetization.types.timestamp.Timestamp"
    """End of the reporting window. Must be after startedAt, at most 720 hours after it, and not in the future."""
    group_by: NotRequired[
        "capo_appmonetization.types.usage_summary_dimension.UsageSummaryDimension"
    ]
    """The breakdown dimension. Defaults to METRIC when omitted."""
    filter_by: NotRequired[
        "capo_appmonetization.types.usage_summary_filter_by.UsageSummaryFilterBy"
    ]
    """Filter constraints keyed by dimension. A filter dimension may differ from groupBy."""
    scope: "capo_appmonetization.types.request_scope.RequestScope"
    """Required. The environment: live or sandbox."""

app_id instance-attribute

app_id: AppId

The ID of the app.

ended_at instance-attribute

ended_at: Timestamp

End of the reporting window. Must be after startedAt, at most 720 hours after it, and not in the future.

filter_by instance-attribute

filter_by: NotRequired[UsageSummaryFilterBy]

Filter constraints keyed by dimension. A filter dimension may differ from groupBy.

group_by instance-attribute

group_by: NotRequired[UsageSummaryDimension]

The breakdown dimension. Defaults to METRIC when omitted.

scope instance-attribute

scope: RequestScope

Required. The environment: live or sandbox.

started_at instance-attribute

started_at: Timestamp

Start of the reporting window.