View Source GoogleApi.AndroidPublisher.V3.Model.TargetingRuleScope (google_api_android_publisher v0.34.1)

Defines the scope of subscriptions which a targeting rule can match to target offers to users based on past or current entitlement.

Attributes

  • anySubscriptionInApp (type: GoogleApi.AndroidPublisher.V3.Model.TargetingRuleScopeAnySubscriptionInApp.t, default: nil) - The scope of the current targeting rule is any subscription in the parent app.
  • specificSubscriptionInApp (type: String.t, default: nil) - The scope of the current targeting rule is the subscription with the specified subscription ID. Must be a subscription within the same parent app.
  • thisSubscription (type: GoogleApi.AndroidPublisher.V3.Model.TargetingRuleScopeThisSubscription.t, default: nil) - The scope of the current targeting rule is the subscription in which this offer is defined.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidPublisher.V3.Model.TargetingRuleScope{
  anySubscriptionInApp:
    GoogleApi.AndroidPublisher.V3.Model.TargetingRuleScopeAnySubscriptionInApp.t()
    | nil,
  specificSubscriptionInApp: String.t() | nil,
  thisSubscription:
    GoogleApi.AndroidPublisher.V3.Model.TargetingRuleScopeThisSubscription.t()
    | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.