{
  "basePath": "",
  "title": "Google Play Android Developer API",
  "baseUrl": "https://androidpublisher.googleapis.com/",
  "servicePath": "",
  "version": "v3",
  "ownerDomain": "google.com",
  "parameters": {
    "callback": {
      "type": "string",
      "description": "JSONP",
      "location": "query"
    },
    "prettyPrint": {
      "type": "boolean",
      "description": "Returns response with indentations and line breaks.",
      "location": "query",
      "default": "true"
    },
    "quotaUser": {
      "type": "string",
      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
      "location": "query"
    },
    "fields": {
      "type": "string",
      "description": "Selector specifying which fields to include in a partial response.",
      "location": "query"
    },
    "upload_protocol": {
      "type": "string",
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
      "location": "query"
    },
    "uploadType": {
      "type": "string",
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
      "location": "query"
    },
    "alt": {
      "default": "json",
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "type": "string",
      "description": "Data format for response.",
      "location": "query",
      "enum": [
        "json",
        "media",
        "proto"
      ]
    },
    "access_token": {
      "type": "string",
      "description": "OAuth access token.",
      "location": "query"
    },
    "$.xgafv": {
      "enum": [
        "1",
        "2"
      ],
      "type": "string",
      "description": "V1 error format.",
      "location": "query",
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ]
    },
    "oauth_token": {
      "type": "string",
      "description": "OAuth 2.0 token for the current user.",
      "location": "query"
    },
    "key": {
      "type": "string",
      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
      "location": "query"
    }
  },
  "revision": "20260416",
  "description": "Lets Android application developers access their Google Play accounts. At a high level, the expected workflow is to \"insert\" an Edit, make changes as necessary, and then \"commit\" it. ",
  "name": "androidpublisher",
  "auth": {
    "oauth2": {
      "scopes": {
        "https://www.googleapis.com/auth/androidpublisher": {
          "description": "View and manage your Google Play Developer account"
        }
      }
    }
  },
  "schemas": {
    "BatchGetOneTimeProductsResponse": {
      "description": "Response message for the BatchGetOneTimeProducts endpoint.",
      "type": "object",
      "properties": {
        "oneTimeProducts": {
          "description": "The list of requested one-time products, in the same order as the request.",
          "type": "array",
          "items": {
            "$ref": "OneTimeProduct"
          }
        }
      },
      "id": "BatchGetOneTimeProductsResponse"
    },
    "DeactivateOneTimeProductOfferRequest": {
      "description": "Request message for DeactivateOneTimeProductOffer.",
      "type": "object",
      "properties": {
        "productId": {
          "description": "Required. The parent one-time product (ID) of the offer to deactivate.",
          "type": "string"
        },
        "offerId": {
          "description": "Required. The offer ID of the offer to deactivate.",
          "type": "string"
        },
        "purchaseOptionId": {
          "description": "Required. The parent purchase option (ID) of the offer to deactivate.",
          "type": "string"
        },
        "latencyTolerance": {
          "description": "Optional. The latency tolerance for the propagation of this update. Defaults to latency-sensitive.",
          "type": "string",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ]
        },
        "packageName": {
          "description": "Required. The parent app (package name) of the offer to deactivate.",
          "type": "string"
        }
      },
      "id": "DeactivateOneTimeProductOfferRequest"
    },
    "Review": {
      "id": "Review",
      "properties": {
        "authorName": {
          "description": "The name of the user who wrote the review.",
          "type": "string"
        },
        "reviewId": {
          "description": "Unique identifier for this review.",
          "type": "string"
        },
        "comments": {
          "items": {
            "$ref": "Comment"
          },
          "description": "A repeated field containing comments for the review.",
          "type": "array"
        }
      },
      "description": "An Android app review.",
      "type": "object"
    },
    "TextureCompressionFormatTargeting": {
      "id": "TextureCompressionFormatTargeting",
      "description": "Targeting by a texture compression format.",
      "type": "object",
      "properties": {
        "value": {
          "items": {
            "$ref": "TextureCompressionFormat"
          },
          "description": "The list of targeted TCFs. Should not be empty.",
          "type": "array"
        },
        "alternatives": {
          "items": {
            "$ref": "TextureCompressionFormat"
          },
          "description": "List of alternative TCFs (TCFs targeted by the sibling splits).",
          "type": "array"
        }
      }
    },
    "BatchUpdateOneTimeProductOffersRequest": {
      "properties": {
        "requests": {
          "items": {
            "$ref": "UpdateOneTimeProductOfferRequest"
          },
          "description": "Required. A list of update requests of up to 100 elements. All requests must update different offers.",
          "type": "array"
        }
      },
      "description": "Request message for BatchUpdateOneTimeProductOffers.",
      "type": "object",
      "id": "BatchUpdateOneTimeProductOffersRequest"
    },
    "BatchGetOneTimeProductOffersRequest": {
      "id": "BatchGetOneTimeProductOffersRequest",
      "description": "Request message for the BatchGetOneTimeProductOffers endpoint.",
      "type": "object",
      "properties": {
        "requests": {
          "description": "Required. A list of get requests of up to 100 elements. All requests must retrieve different offers.",
          "type": "array",
          "items": {
            "$ref": "GetOneTimeProductOfferRequest"
          }
        }
      }
    },
    "RestrictedPaymentCountries": {
      "description": "Countries where the purchase of this product is restricted to payment methods registered in the same country. If empty, no payment location restrictions are imposed.",
      "type": "object",
      "properties": {
        "regionCodes": {
          "items": {
            "type": "string"
          },
          "description": "Required. Region codes to impose payment restrictions on, as defined by ISO 3166-2, e.g. \"US\".",
          "type": "array"
        }
      },
      "id": "RestrictedPaymentCountries"
    },
    "Subscription": {
      "id": "Subscription",
      "description": "A single subscription for an app.",
      "type": "object",
      "properties": {
        "taxAndComplianceSettings": {
          "$ref": "SubscriptionTaxAndComplianceSettings",
          "description": "Details about taxes and legal compliance."
        },
        "productId": {
          "description": "Immutable. Unique product ID of the product. Unique within the parent app. Product IDs must be composed of lower-case letters (a-z), numbers (0-9), underscores (_) and dots (.). It must start with a lower-case letter or number, and be between 1 and 40 (inclusive) characters in length.",
          "type": "string"
        },
        "basePlans": {
          "description": "The set of base plans for this subscription. Represents the prices and duration of the subscription if no other offers apply.",
          "type": "array",
          "items": {
            "$ref": "BasePlan"
          }
        },
        "archived": {
          "description": "Output only. Deprecated: subscription archiving is not supported.",
          "type": "boolean",
          "readOnly": true,
          "deprecated": true
        },
        "packageName": {
          "description": "Immutable. Package name of the parent app.",
          "type": "string"
        },
        "listings": {
          "description": "Required. List of localized listings for this subscription. Must contain at least an entry for the default language of the parent app.",
          "type": "array",
          "items": {
            "$ref": "SubscriptionListing"
          }
        },
        "restrictedPaymentCountries": {
          "$ref": "RestrictedPaymentCountries",
          "description": "Optional. Countries where the purchase of this subscription is restricted to payment methods registered in the same country. If empty, no payment location restrictions are imposed."
        }
      }
    },
    "SubscriptionOfferPhase": {
      "id": "SubscriptionOfferPhase",
      "properties": {
        "regionalConfigs": {
          "items": {
            "$ref": "RegionalSubscriptionOfferPhaseConfig"
          },
          "description": "Required. The region-specific configuration of this offer phase. This list must contain exactly one entry for each region for which the subscription offer has a regional config.",
          "type": "array"
        },
        "duration": {
          "description": "Required. The duration of a single recurrence of this phase. Specified in ISO 8601 format.",
          "type": "string"
        },
        "recurrenceCount": {
          "format": "int32",
          "description": "Required. The number of times this phase repeats. If this offer phase is not free, each recurrence charges the user the price of this offer phase.",
          "type": "integer"
        },
        "otherRegionsConfig": {
          "description": "Pricing information for any new locations Play may launch in.",
          "$ref": "OtherRegionsSubscriptionOfferPhaseConfig"
        }
      },
      "description": "A single phase of a subscription offer.",
      "type": "object"
    },
    "InappproductsBatchGetResponse": {
      "description": "Response message for BatchGetSubscriptions endpoint.",
      "type": "object",
      "properties": {
        "inappproduct": {
          "description": "The list of requested in-app products, in the same order as the request.",
          "type": "array",
          "items": {
            "$ref": "InAppProduct"
          }
        }
      },
      "id": "InappproductsBatchGetResponse"
    },
    "RegionalSubscriptionOfferConfig": {
      "description": "Configuration for a subscription offer in a single region.",
      "type": "object",
      "properties": {
        "regionCode": {
          "description": "Required. Immutable. Region code this configuration applies to, as defined by ISO 3166-2, e.g. \"US\".",
          "type": "string"
        },
        "newSubscriberAvailability": {
          "description": "Whether the subscription offer in the specified region is available for new subscribers. Existing subscribers will not have their subscription cancelled if this value is set to false. If not specified, this will default to false.",
          "type": "boolean"
        }
      },
      "id": "RegionalSubscriptionOfferConfig"
    },
    "GeneratedSplitApk": {
      "id": "GeneratedSplitApk",
      "description": "Download metadata for a split APK.",
      "type": "object",
      "properties": {
        "splitId": {
          "description": "Split ID. Empty for the main split of the base module.",
          "type": "string"
        },
        "variantId": {
          "description": "ID of the generated variant.",
          "type": "integer",
          "format": "int32"
        },
        "moduleName": {
          "description": "Name of the module that this APK belongs to.",
          "type": "string"
        },
        "downloadId": {
          "description": "Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method.",
          "type": "string"
        }
      }
    },
    "OneTimeCode": {
      "description": "A single use promotion code.",
      "type": "object",
      "properties": {},
      "id": "OneTimeCode"
    },
    "VariantTargeting": {
      "id": "VariantTargeting",
      "description": "Targeting on the level of variants.",
      "type": "object",
      "properties": {
        "textureCompressionFormatTargeting": {
          "$ref": "TextureCompressionFormatTargeting",
          "description": "Texture-compression-format-level targeting"
        },
        "abiTargeting": {
          "$ref": "AbiTargeting",
          "description": "The abi that the variant targets"
        },
        "screenDensityTargeting": {
          "description": "The screen densities that this variant supports",
          "$ref": "ScreenDensityTargeting"
        },
        "sdkVersionTargeting": {
          "$ref": "SdkVersionTargeting",
          "description": "The sdk version that the variant targets"
        },
        "multiAbiTargeting": {
          "description": "Multi-api-level targeting",
          "$ref": "MultiAbiTargeting"
        }
      }
    },
    "ListSubscriptionOffersResponse": {
      "id": "ListSubscriptionOffersResponse",
      "description": "Response message for ListSubscriptionOffers.",
      "type": "object",
      "properties": {
        "subscriptionOffers": {
          "description": "The subscription offers from the specified subscription.",
          "type": "array",
          "items": {
            "$ref": "SubscriptionOffer"
          }
        },
        "nextPageToken": {
          "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        }
      }
    },
    "TokenPagination": {
      "properties": {
        "nextPageToken": {
          "description": "Tokens to pass to the standard list field 'page_token'. Whenever available, tokens are preferred over manipulating start_index.",
          "type": "string"
        },
        "previousPageToken": {
          "type": "string"
        }
      },
      "description": "Pagination information returned by a List operation when token pagination is enabled. List operations that supports paging return only one \"page\" of results. This protocol buffer message describes the page that has been returned. When using token pagination, clients should use the next/previous token to get another page of the result. The presence or absence of next/previous token indicates whether a next/previous page is available and provides a mean of accessing this page. ListRequest.page_token should be set to either next_page_token or previous_page_token to access another page.",
      "type": "object",
      "id": "TokenPagination"
    },
    "ReviewsReplyRequest": {
      "description": "Request to reply to review or update existing reply.",
      "type": "object",
      "properties": {
        "replyText": {
          "description": "The text to set as the reply. Replies of more than approximately 350 characters will be rejected. HTML tags will be stripped.",
          "type": "string"
        }
      },
      "id": "ReviewsReplyRequest"
    },
    "SubscriptionPurchaseV2": {
      "description": "Indicates the status of a user's subscription purchase.",
      "type": "object",
      "properties": {
        "acknowledgementState": {
          "description": "The acknowledgement state of the subscription.",
          "type": "string",
          "enum": [
            "ACKNOWLEDGEMENT_STATE_UNSPECIFIED",
            "ACKNOWLEDGEMENT_STATE_PENDING",
            "ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED"
          ],
          "enumDescriptions": [
            "Unspecified acknowledgement state.",
            "The subscription is not acknowledged yet.",
            "The subscription is acknowledged."
          ]
        },
        "externalAccountIdentifiers": {
          "$ref": "ExternalAccountIdentifiers",
          "description": "User account identifier in the third-party service."
        },
        "latestOrderId": {
          "description": "Deprecated: Use line_items.latest_successful_order_id instead. The order id of the latest order associated with the purchase of the subscription. For autoRenewing subscription, this is the order id of signup order if it is not renewed yet, or the last recurring order id (success, pending, or declined order). For prepaid subscription, this is the order id associated with the queried purchase token.",
          "type": "string",
          "deprecated": true
        },
        "subscribeWithGoogleInfo": {
          "description": "User profile associated with purchases made with 'Subscribe with Google'.",
          "$ref": "SubscribeWithGoogleInfo"
        },
        "kind": {
          "description": "This kind represents a SubscriptionPurchaseV2 object in the androidpublisher service.",
          "type": "string"
        },
        "pausedStateContext": {
          "$ref": "PausedStateContext",
          "description": "Additional context around paused subscriptions. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_PAUSED."
        },
        "canceledStateContext": {
          "description": "Additional context around canceled subscriptions. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_CANCELED or SUBSCRIPTION_STATE_EXPIRED.",
          "$ref": "CanceledStateContext"
        },
        "etag": {
          "description": "Entity tag representing the current state of the subscription. The developer will provide this etag for subscription actions. This etag is always present for auto-renewing and prepaid subscriptions.",
          "type": "string"
        },
        "startTime": {
          "description": "Time at which the subscription was granted. Not set for pending subscriptions (subscription was created but awaiting payment during signup).",
          "type": "string",
          "format": "google-datetime"
        },
        "testPurchase": {
          "$ref": "TestPurchase",
          "description": "Only present if this subscription purchase is a test purchase."
        },
        "linkedPurchaseToken": {
          "description": "The purchase token of the old subscription if this subscription is one of the following: * Re-signup of a canceled but non-lapsed subscription * Upgrade/downgrade from a previous subscription. * Convert from prepaid to auto renewing subscription. * Convert from an auto renewing subscription to prepaid. * Topup a prepaid subscription.",
          "type": "string"
        },
        "lineItems": {
          "items": {
            "$ref": "SubscriptionPurchaseLineItem"
          },
          "description": "Item-level info for a subscription purchase. The items in the same purchase should be either all with AutoRenewingPlan or all with PrepaidPlan.",
          "type": "array"
        },
        "subscriptionState": {
          "description": "The current state of the subscription.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified subscription state.",
            "Subscription was created but awaiting payment during signup. In this state, all items are awaiting payment.",
            "Subscription is active. - (1) If the subscription is an auto renewing plan, at least one item is auto_renew_enabled and not expired. - (2) If the subscription is a prepaid plan, at least one item is not expired.",
            "Subscription is paused. The state is only available when the subscription is an auto renewing plan. In this state, all items are in paused state.",
            "Subscription is in grace period. The state is only available when the subscription is an auto renewing plan. In this state, all items are in grace period.",
            "Subscription is on hold (suspended). The state is only available when the subscription is an auto renewing plan. In this state, all items are on hold.",
            "Subscription is canceled but not expired yet. The state is only available when the subscription is an auto renewing plan. All items have auto_renew_enabled set to false.",
            "Subscription is expired. All items have expiry_time in the past.",
            "Pending transaction for subscription is canceled. If this pending purchase was for an existing subscription, use linked_purchase_token to get the current state of that subscription."
          ],
          "enum": [
            "SUBSCRIPTION_STATE_UNSPECIFIED",
            "SUBSCRIPTION_STATE_PENDING",
            "SUBSCRIPTION_STATE_ACTIVE",
            "SUBSCRIPTION_STATE_PAUSED",
            "SUBSCRIPTION_STATE_IN_GRACE_PERIOD",
            "SUBSCRIPTION_STATE_ON_HOLD",
            "SUBSCRIPTION_STATE_CANCELED",
            "SUBSCRIPTION_STATE_EXPIRED",
            "SUBSCRIPTION_STATE_PENDING_PURCHASE_CANCELED"
          ]
        },
        "outOfAppPurchaseContext": {
          "description": "Additional context for out of app purchases. This information is only present for re-subscription purchases (subscription purchases made after the previous subscription of the same product has expired) made through the Google Play subscriptions center. This field will be removed after you acknowledge the subscription.",
          "$ref": "OutOfAppPurchaseContext"
        },
        "regionCode": {
          "description": "ISO 3166-1 alpha-2 billing country/region code of the user at the time the subscription was granted.",
          "type": "string"
        }
      },
      "id": "SubscriptionPurchaseV2"
    },
    "TrackRelease": {
      "properties": {
        "releaseNotes": {
          "items": {
            "$ref": "LocalizedText"
          },
          "description": "A description of what is new in this release.",
          "type": "array"
        },
        "status": {
          "enum": [
            "statusUnspecified",
            "draft",
            "inProgress",
            "halted",
            "completed"
          ],
          "enumDescriptions": [
            "Unspecified status.",
            "The release's APKs are not being served to users.",
            "The release's APKs are being served to a fraction of users, determined by 'user_fraction'.",
            "The release's APKs will no longer be served to users. Users who already have these APKs are unaffected.",
            "The release will have no further changes. Its APKs are being served to all users, unless they are eligible to APKs of a more recent release."
          ],
          "description": "The status of the release.",
          "type": "string"
        },
        "name": {
          "description": "The release name. Not required to be unique. If not set, the name is generated from the APK's version_name. If the release contains multiple APKs, the name is generated from the date.",
          "type": "string"
        },
        "userFraction": {
          "description": "Fraction of users who are eligible for a staged release. 0 \u003c fraction \u003c 1. Can only be set when status is \"inProgress\" or \"halted\".",
          "type": "number",
          "format": "double"
        },
        "inAppUpdatePriority": {
          "format": "int32",
          "description": "In-app update priority of the release. All newly added APKs in the release will be considered at this priority. Can take values in the range [0, 5], with 5 the highest priority. Defaults to 0. in_app_update_priority can not be updated once the release is rolled out. See https://developer.android.com/guide/playcore/in-app-updates.",
          "type": "integer"
        },
        "versionCodes": {
          "description": "Version codes of all APKs in the release. Must include version codes to retain from previous releases.",
          "type": "array",
          "items": {
            "type": "string",
            "format": "int64"
          }
        },
        "countryTargeting": {
          "description": "Restricts a release to a specific set of countries. Note this is only allowed to be set for inProgress releases in the production track.",
          "$ref": "CountryTargeting"
        }
      },
      "description": "A release within a track.",
      "type": "object",
      "id": "TrackRelease"
    },
    "DeferredItemReplacement": {
      "properties": {
        "productId": {
          "description": "The product_id going to replace the existing product_id.",
          "type": "string"
        }
      },
      "description": "Information related to deferred item replacement.",
      "type": "object",
      "id": "DeferredItemReplacement"
    },
    "PrepaidBasePlanType": {
      "id": "PrepaidBasePlanType",
      "properties": {
        "billingPeriodDuration": {
          "description": "Required. Immutable. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center. The duration is immutable after the base plan is created.",
          "type": "string"
        },
        "timeExtension": {
          "enum": [
            "TIME_EXTENSION_UNSPECIFIED",
            "TIME_EXTENSION_ACTIVE",
            "TIME_EXTENSION_INACTIVE"
          ],
          "enumDescriptions": [
            "Unspecified state.",
            "Time extension is active. Users are allowed to top-up or extend their prepaid plan.",
            "Time extension is inactive. Users cannot top-up or extend their prepaid plan."
          ],
          "description": "Whether users should be able to extend this prepaid base plan in Google Play surfaces. Defaults to TIME_EXTENSION_ACTIVE if not specified.",
          "type": "string"
        }
      },
      "description": "Represents a base plan that does not automatically renew at the end of the base plan, and must be manually renewed by the user.",
      "type": "object"
    },
    "ListAppRecoveriesResponse": {
      "id": "ListAppRecoveriesResponse",
      "properties": {
        "recoveryActions": {
          "description": "List of recovery actions associated with the requested package name.",
          "type": "array",
          "items": {
            "$ref": "AppRecoveryAction"
          }
        }
      },
      "description": "Response message for ListAppRecoveries. -- api-linter: core::0158::response-next-page-token-field=disabled",
      "type": "object"
    },
    "AbiTargeting": {
      "id": "AbiTargeting",
      "properties": {
        "alternatives": {
          "items": {
            "$ref": "Abi"
          },
          "description": "Targeting of other sibling directories that were in the Bundle. For main splits this is targeting of other main splits.",
          "type": "array"
        },
        "value": {
          "items": {
            "$ref": "Abi"
          },
          "description": "Value of an abi.",
          "type": "array"
        }
      },
      "description": "Targeting based on Abi.",
      "type": "object"
    },
    "SubscriptionItemPriceChangeDetails": {
      "properties": {
        "priceChangeState": {
          "description": "State the price change is currently in.",
          "type": "string",
          "enum": [
            "PRICE_CHANGE_STATE_UNSPECIFIED",
            "OUTSTANDING",
            "CONFIRMED",
            "APPLIED",
            "CANCELED"
          ],
          "enumDescriptions": [
            "Price change state unspecified. This value should not be used.",
            "Waiting for the user to agree for the price change.",
            "The price change is confirmed to happen for the user.",
            "The price change is applied, i.e. the user has started being charged the new price.",
            "The price change was canceled."
          ]
        },
        "expectedNewPriceChargeTime": {
          "format": "google-datetime",
          "description": "The renewal time at which the price change will become effective for the user. This is subject to change(to a future time) due to cases where the renewal time shifts like pause. This field is only populated if the price change has not taken effect.",
          "type": "string"
        },
        "newPrice": {
          "$ref": "Money",
          "description": "New recurring price for the subscription item."
        },
        "priceChangeMode": {
          "enum": [
            "PRICE_CHANGE_MODE_UNSPECIFIED",
            "PRICE_DECREASE",
            "PRICE_INCREASE",
            "OPT_OUT_PRICE_INCREASE"
          ],
          "enumDescriptions": [
            "Price change mode unspecified. This value should never be set.",
            "If the subscription price is decreasing.",
            "If the subscription price is increasing and the user needs to accept it.",
            "If the subscription price is increasing with opt out mode."
          ],
          "description": "Price change mode specifies how the subscription item price is changing.",
          "type": "string"
        }
      },
      "description": "Price change related information of a subscription item.",
      "type": "object",
      "id": "SubscriptionItemPriceChangeDetails"
    },
    "UpgradeTargetingRule": {
      "id": "UpgradeTargetingRule",
      "description": "Represents a targeting rule of the form: User currently has {scope} [with billing period {billing_period}].",
      "type": "object",
      "properties": {
        "oncePerUser": {
          "description": "Limit this offer to only once per user. If set to true, a user can never be eligible for this offer again if they ever subscribed to this offer.",
          "type": "boolean"
        },
        "scope": {
          "description": "Required. The scope of subscriptions this rule considers. Only allows \"this subscription\" and \"specific subscription in app\".",
          "$ref": "TargetingRuleScope"
        },
        "billingPeriodDuration": {
          "description": "The specific billing period duration, specified in ISO 8601 format, that a user must be currently subscribed to to be eligible for this rule. If not specified, users subscribed to any billing period are matched.",
          "type": "string"
        }
      }
    },
    "Track": {
      "id": "Track",
      "description": "A track configuration. The resource for TracksService.",
      "type": "object",
      "properties": {
        "track": {
          "description": "Identifier of the track. Form factor tracks have a special prefix as an identifier, for example `wear:production`, `automotive:production`. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name)",
          "type": "string"
        },
        "releases": {
          "items": {
            "$ref": "TrackRelease"
          },
          "description": "In a read request, represents all active releases in the track. In an update request, represents desired changes.",
          "type": "array"
        }
      }
    },
    "VoidedPurchasesListResponse": {
      "description": "Response for the voidedpurchases.list API.",
      "type": "object",
      "properties": {
        "voidedPurchases": {
          "type": "array",
          "items": {
            "$ref": "VoidedPurchase"
          }
        },
        "pageInfo": {
          "$ref": "PageInfo",
          "description": "General pagination information."
        },
        "tokenPagination": {
          "$ref": "TokenPagination",
          "description": "Pagination information for token pagination."
        }
      },
      "id": "VoidedPurchasesListResponse"
    },
    "PurchaseOptionTaxAndComplianceSettings": {
      "properties": {
        "withdrawalRightType": {
          "description": "Optional. Digital content or service classification for products distributed to users in eligible regions. If unset, it defaults to `WITHDRAWAL_RIGHT_DIGITAL_CONTENT`. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.",
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "enum": [
            "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED",
            "WITHDRAWAL_RIGHT_DIGITAL_CONTENT",
            "WITHDRAWAL_RIGHT_SERVICE"
          ]
        }
      },
      "description": "Details about taxation, Google Play policy and legal compliance for one-time product purchase options.",
      "type": "object",
      "id": "PurchaseOptionTaxAndComplianceSettings"
    },
    "UpdateSubscriptionOfferStateRequest": {
      "properties": {
        "activateSubscriptionOfferRequest": {
          "description": "Activates an offer. Once activated, the offer will be available to new subscribers.",
          "$ref": "ActivateSubscriptionOfferRequest"
        },
        "deactivateSubscriptionOfferRequest": {
          "$ref": "DeactivateSubscriptionOfferRequest",
          "description": "Deactivates an offer. Once deactivated, the offer will become unavailable to new subscribers, but existing subscribers will maintain their subscription"
        }
      },
      "description": "Request message to update the state of a subscription offer.",
      "type": "object",
      "id": "UpdateSubscriptionOfferStateRequest"
    },
    "CreateDraftAppRecoveryRequest": {
      "id": "CreateDraftAppRecoveryRequest",
      "properties": {
        "remoteInAppUpdate": {
          "$ref": "RemoteInAppUpdate",
          "description": "Action type is remote in-app update. As a consequence of this action, a downloadable recovery module is also created for testing purposes."
        },
        "targeting": {
          "$ref": "Targeting",
          "description": "Specifies targeting criteria for the recovery action such as regions, android sdk versions, app versions etc."
        }
      },
      "description": "Request message for CreateDraftAppRecovery.",
      "type": "object"
    },
    "SubscribeWithGoogleInfo": {
      "properties": {
        "profileName": {
          "description": "The profile name of the user when the subscription was purchased.",
          "type": "string"
        },
        "givenName": {
          "description": "The given name of the user when the subscription was purchased.",
          "type": "string"
        },
        "familyName": {
          "description": "The family name of the user when the subscription was purchased.",
          "type": "string"
        },
        "profileId": {
          "description": "The Google profile id of the user when the subscription was purchased.",
          "type": "string"
        },
        "emailAddress": {
          "description": "The email address of the user when the subscription was purchased.",
          "type": "string"
        }
      },
      "description": "Information associated with purchases made with 'Subscribe with Google'.",
      "type": "object",
      "id": "SubscribeWithGoogleInfo"
    },
    "DeviceFeature": {
      "id": "DeviceFeature",
      "description": "Represents a device feature.",
      "type": "object",
      "properties": {
        "featureVersion": {
          "description": "The feature version specified by android:glEsVersion or android:version in in the AndroidManifest.",
          "type": "integer",
          "format": "int32"
        },
        "featureName": {
          "description": "Name of the feature.",
          "type": "string"
        }
      }
    },
    "OneTimeProductTaxAndComplianceSettings": {
      "id": "OneTimeProductTaxAndComplianceSettings",
      "properties": {
        "regionalTaxConfigs": {
          "description": "Regional tax configuration.",
          "type": "array",
          "items": {
            "$ref": "RegionalTaxConfig"
          }
        },
        "productTaxCategoryCode": {
          "description": "Product tax category code to assign to the one-time product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.",
          "type": "string"
        },
        "isTokenizedDigitalAsset": {
          "description": "Whether this one-time product is declared as a product representing a tokenized digital asset.",
          "type": "boolean"
        },
        "regionalProductAgeRatingInfos": {
          "items": {
            "$ref": "RegionalProductAgeRatingInfo"
          },
          "description": "Regional age rating information. Currently this field is only supported for region code `US`.",
          "type": "array"
        }
      },
      "description": "Details about taxation, Google Play policy and legal compliance for one-time products.",
      "type": "object"
    },
    "PartialRefundEvent": {
      "id": "PartialRefundEvent",
      "properties": {
        "createTime": {
          "description": "The time when the partial refund was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "refundDetails": {
          "$ref": "RefundDetails",
          "description": "Details for the partial refund."
        },
        "processTime": {
          "format": "google-datetime",
          "description": "The time when the partial refund was processed.",
          "type": "string"
        },
        "state": {
          "enumDescriptions": [
            "State unspecified. This value is not used.",
            "The partial refund has been created, but not yet processed.",
            "The partial refund was processed successfully."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "PENDING",
            "PROCESSED_SUCCESSFULLY"
          ],
          "description": "The state of the partial refund.",
          "type": "string"
        }
      },
      "description": "Details of the partial refund events for this order.",
      "type": "object"
    },
    "UserComment": {
      "id": "UserComment",
      "description": "User entry from conversation between user and developer.",
      "type": "object",
      "properties": {
        "appVersionName": {
          "description": "String version name of the app as installed at the time the review was written. May be absent.",
          "type": "string"
        },
        "thumbsUpCount": {
          "format": "int32",
          "description": "Number of users who have given this review a thumbs up.",
          "type": "integer"
        },
        "androidOsVersion": {
          "description": "Integer Android SDK version of the user's device at the time the review was written, e.g. 23 is Marshmallow. May be absent.",
          "type": "integer",
          "format": "int32"
        },
        "lastModified": {
          "description": "The last time at which this comment was updated.",
          "$ref": "Timestamp"
        },
        "device": {
          "description": "Codename for the reviewer's device, e.g. klte, flounder. May be absent.",
          "type": "string"
        },
        "deviceMetadata": {
          "$ref": "DeviceMetadata",
          "description": "Information about the characteristics of the user's device."
        },
        "starRating": {
          "description": "The star rating associated with the review, from 1 to 5.",
          "type": "integer",
          "format": "int32"
        },
        "appVersionCode": {
          "description": "Integer version code of the app as installed at the time the review was written. May be absent.",
          "type": "integer",
          "format": "int32"
        },
        "thumbsDownCount": {
          "format": "int32",
          "description": "Number of users who have given this review a thumbs down.",
          "type": "integer"
        },
        "text": {
          "description": "The content of the comment, i.e. review body. In some cases users have been able to write a review with separate title and body; in those cases the title and body are concatenated and separated by a tab character.",
          "type": "string"
        },
        "originalText": {
          "description": "Untranslated text of the review, where the review was translated. If the review was not translated this is left blank.",
          "type": "string"
        },
        "reviewerLanguage": {
          "description": "Language code for the reviewer. This is taken from the device settings so is not guaranteed to match the language the review is written in. May be absent.",
          "type": "string"
        }
      }
    },
    "DeviceMetadata": {
      "id": "DeviceMetadata",
      "description": "Characteristics of the user's device.",
      "type": "object",
      "properties": {
        "screenWidthPx": {
          "format": "int32",
          "description": "Screen width in pixels",
          "type": "integer"
        },
        "screenHeightPx": {
          "format": "int32",
          "description": "Screen height in pixels",
          "type": "integer"
        },
        "glEsVersion": {
          "format": "int32",
          "description": "OpenGL version",
          "type": "integer"
        },
        "deviceClass": {
          "description": "Device class (e.g. tablet)",
          "type": "string"
        },
        "manufacturer": {
          "description": "Device manufacturer (e.g. Motorola)",
          "type": "string"
        },
        "nativePlatform": {
          "description": "Comma separated list of native platforms (e.g. \"arm\", \"arm7\")",
          "type": "string"
        },
        "screenDensityDpi": {
          "description": "Screen density in DPI",
          "type": "integer",
          "format": "int32"
        },
        "cpuModel": {
          "description": "Device CPU model, e.g. \"MSM8974\"",
          "type": "string"
        },
        "productName": {
          "description": "Device model name (e.g. Droid)",
          "type": "string"
        },
        "ramMb": {
          "format": "int32",
          "description": "Device RAM in Megabytes, e.g. \"2048\"",
          "type": "integer"
        },
        "cpuMake": {
          "description": "Device CPU make, e.g. \"Qualcomm\"",
          "type": "string"
        }
      }
    },
    "IntroductoryPriceOfferPhase": {
      "properties": {},
      "description": "Details about introductory price offer phase.",
      "type": "object",
      "id": "IntroductoryPriceOfferPhase"
    },
    "DeferSubscriptionPurchaseRequest": {
      "id": "DeferSubscriptionPurchaseRequest",
      "description": "Request for the v2 purchases.subscriptions.defer API.",
      "type": "object",
      "properties": {
        "deferralContext": {
          "$ref": "DeferralContext",
          "description": "Required. Details about the subscription deferral."
        }
      }
    },
    "SubscriptionOfferTargeting": {
      "id": "SubscriptionOfferTargeting",
      "description": "Defines the rule a user needs to satisfy to receive this offer.",
      "type": "object",
      "properties": {
        "acquisitionRule": {
          "$ref": "AcquisitionTargetingRule",
          "description": "Offer targeting rule for new user acquisition."
        },
        "upgradeRule": {
          "$ref": "UpgradeTargetingRule",
          "description": "Offer targeting rule for upgrading users' existing plans."
        }
      }
    },
    "InternalAppSharingArtifact": {
      "id": "InternalAppSharingArtifact",
      "description": "An artifact resource which gets created when uploading an APK or Android App Bundle through internal app sharing.",
      "type": "object",
      "properties": {
        "sha256": {
          "description": "The sha256 hash of the artifact represented as a lowercase hexadecimal number, matching the output of the sha256sum command.",
          "type": "string"
        },
        "certificateFingerprint": {
          "description": "The sha256 fingerprint of the certificate used to sign the generated artifact.",
          "type": "string"
        },
        "downloadUrl": {
          "description": "The download URL generated for the uploaded artifact. Users that are authorized to download can follow the link to the Play Store app to install it.",
          "type": "string"
        }
      }
    },
    "ProductPurchase": {
      "properties": {
        "refundableQuantity": {
          "description": "The quantity eligible for refund, i.e. quantity that hasn't been refunded. The value reflects quantity-based partial refunds and full refunds.",
          "type": "integer",
          "format": "int32"
        },
        "purchaseType": {
          "format": "int32",
          "description": "The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: 0. Test (i.e. purchased from a license testing account) 1. Promo (i.e. purchased using a promo code). Does not include Play Points purchases. 2. Rewarded (i.e. from watching a video ad instead of paying)",
          "type": "integer"
        },
        "acknowledgementState": {
          "format": "int32",
          "description": "The acknowledgement state of the inapp product. Possible values are: 0. Yet to be acknowledged 1. Acknowledged",
          "type": "integer"
        },
        "productId": {
          "description": "The inapp product SKU. May not be present.",
          "type": "string"
        },
        "purchaseToken": {
          "description": "The purchase token generated to identify this purchase. May not be present.",
          "type": "string"
        },
        "kind": {
          "description": "This kind represents an inappPurchase object in the androidpublisher service.",
          "type": "string"
        },
        "obfuscatedExternalProfileId": {
          "description": "An obfuscated version of the id that is uniquely associated with the user's profile in your app. Only present if specified using https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid when the purchase was made.",
          "type": "string"
        },
        "orderId": {
          "description": "The order id associated with the purchase of the inapp product.",
          "type": "string"
        },
        "quantity": {
          "description": "The quantity associated with the purchase of the inapp product. If not present, the quantity is 1.",
          "type": "integer",
          "format": "int32"
        },
        "obfuscatedExternalAccountId": {
          "description": "An obfuscated version of the id that is uniquely associated with the user's account in your app. Only present if specified using https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid when the purchase was made.",
          "type": "string"
        },
        "consumptionState": {
          "description": "The consumption state of the inapp product. Possible values are: 0. Yet to be consumed 1. Consumed",
          "type": "integer",
          "format": "int32"
        },
        "developerPayload": {
          "description": "A developer-specified string that contains supplemental information about an order.",
          "type": "string"
        },
        "regionCode": {
          "description": "ISO 3166-1 alpha-2 billing region code of the user at the time the product was granted.",
          "type": "string"
        },
        "purchaseState": {
          "description": "The purchase state of the order. Possible values are: 0. Purchased 1. Canceled 2. Pending",
          "type": "integer",
          "format": "int32"
        },
        "purchaseTimeMillis": {
          "format": "int64",
          "description": "The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).",
          "type": "string"
        }
      },
      "description": "A ProductPurchase resource indicates the status of a user's inapp product purchase.",
      "type": "object",
      "id": "ProductPurchase"
    },
    "RefundDetails": {
      "description": "Details for a partial or full refund.",
      "type": "object",
      "properties": {
        "total": {
          "$ref": "Money",
          "description": "The total amount refunded, including tax."
        },
        "tax": {
          "$ref": "Money",
          "description": "The amount of tax refunded."
        }
      },
      "id": "RefundDetails"
    },
    "BundlesListResponse": {
      "properties": {
        "kind": {
          "description": "The kind of this response (\"androidpublisher#bundlesListResponse\").",
          "type": "string"
        },
        "bundles": {
          "description": "All app bundles.",
          "type": "array",
          "items": {
            "$ref": "Bundle"
          }
        }
      },
      "description": "Response listing all app bundles.",
      "type": "object",
      "id": "BundlesListResponse"
    },
    "TargetingRuleScope": {
      "description": "Defines the scope of subscriptions which a targeting rule can match to target offers to users based on past or current entitlement.",
      "type": "object",
      "properties": {
        "thisSubscription": {
          "$ref": "TargetingRuleScopeThisSubscription",
          "description": "The scope of the current targeting rule is the subscription in which this offer is defined."
        },
        "anySubscriptionInApp": {
          "$ref": "TargetingRuleScopeAnySubscriptionInApp",
          "description": "The scope of the current targeting rule is any subscription in the parent app."
        },
        "specificSubscriptionInApp": {
          "description": "The scope of the current targeting rule is the subscription with the specified subscription ID. Must be a subscription within the same parent app.",
          "type": "string"
        }
      },
      "id": "TargetingRuleScope"
    },
    "CancelSubscriptionPurchaseResponse": {
      "id": "CancelSubscriptionPurchaseResponse",
      "description": "Response for the purchases.subscriptionsv2.cancel API.",
      "type": "object",
      "properties": {}
    },
    "TestPurchase": {
      "id": "TestPurchase",
      "properties": {},
      "description": "Whether this subscription purchase is a test purchase.",
      "type": "object"
    },
    "DeviceTierSet": {
      "properties": {
        "deviceTiers": {
          "items": {
            "$ref": "DeviceTier"
          },
          "description": "Device tiers belonging to the set.",
          "type": "array"
        }
      },
      "description": "A set of device tiers. A tier set determines what variation of app content gets served to a specific device, for device-targeted content. You should assign a priority level to each tier, which determines the ordering by which they are evaluated by Play. See the documentation of DeviceTier.level for more details.",
      "type": "object",
      "id": "DeviceTierSet"
    },
    "UpdateOneTimeProductOfferStateRequest": {
      "description": "Request message to update the state of a one-time product offer.",
      "type": "object",
      "properties": {
        "cancelOneTimeProductOfferRequest": {
          "description": "Cancels an offer. Once cancelled, the offer is not available to users. Any pending orders related to this offer will be cancelled. This state transition is specific to pre-orders.",
          "$ref": "CancelOneTimeProductOfferRequest"
        },
        "deactivateOneTimeProductOfferRequest": {
          "$ref": "DeactivateOneTimeProductOfferRequest",
          "description": "Deactivates an offer. Once deactivated, the offer is no longer available to users. This state transition is specific to discounted offers."
        },
        "activateOneTimeProductOfferRequest": {
          "$ref": "ActivateOneTimeProductOfferRequest",
          "description": "Activates an offer. Once activated, the offer is available to users, as long as its conditions are met."
        }
      },
      "id": "UpdateOneTimeProductOfferStateRequest"
    },
    "AcquisitionTargetingRule": {
      "properties": {
        "scope": {
          "$ref": "TargetingRuleScope",
          "description": "Required. The scope of subscriptions this rule considers. Only allows \"this subscription\" and \"any subscription in app\"."
        }
      },
      "description": "Represents a targeting rule of the form: User never had {scope} before.",
      "type": "object",
      "id": "AcquisitionTargetingRule"
    },
    "UpdateBasePlanStateRequest": {
      "properties": {
        "deactivateBasePlanRequest": {
          "description": "Deactivates a base plan. Once deactivated, the base plan will become unavailable to new subscribers, but existing subscribers will maintain their subscription",
          "$ref": "DeactivateBasePlanRequest"
        },
        "activateBasePlanRequest": {
          "description": "Activates a base plan. Once activated, base plans will be available to new subscribers.",
          "$ref": "ActivateBasePlanRequest"
        }
      },
      "description": "Request message to update the state of a subscription base plan.",
      "type": "object",
      "id": "UpdateBasePlanStateRequest"
    },
    "PausedStateContext": {
      "id": "PausedStateContext",
      "properties": {
        "autoResumeTime": {
          "description": "Time at which the subscription will be automatically resumed.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "description": "Information specific to a subscription in paused state.",
      "type": "object"
    },
    "ExternalTransactionTestPurchase": {
      "id": "ExternalTransactionTestPurchase",
      "properties": {},
      "description": "Represents a transaction performed using a test account. These transactions will not be charged by Google.",
      "type": "object"
    },
    "ApksAddExternallyHostedRequest": {
      "properties": {
        "externallyHostedApk": {
          "$ref": "ExternallyHostedApk",
          "description": "The definition of the externally-hosted APK and where it is located."
        }
      },
      "description": "Request to create a new externally hosted APK.",
      "type": "object",
      "id": "ApksAddExternallyHostedRequest"
    },
    "OrderDetails": {
      "description": "Detailed information about the order at creation time.",
      "type": "object",
      "properties": {
        "taxInclusive": {
          "description": "Indicates whether the listed price was tax inclusive or not.",
          "type": "boolean"
        }
      },
      "id": "OrderDetails"
    },
    "SystemOnChip": {
      "id": "SystemOnChip",
      "properties": {
        "manufacturer": {
          "description": "Required. The designer of the SoC, eg. \"Google\" Value of build property \"ro.soc.manufacturer\" https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER Required.",
          "type": "string"
        },
        "model": {
          "description": "Required. The model of the SoC, eg. \"Tensor\" Value of build property \"ro.soc.model\" https://developer.android.com/reference/android/os/Build#SOC_MODEL Required.",
          "type": "string"
        }
      },
      "description": "Representation of a System-on-Chip (SoC) of an Android device. Can be used to target S+ devices.",
      "type": "object"
    },
    "OneTimeExternalTransaction": {
      "description": "Represents a one-time transaction.",
      "type": "object",
      "properties": {
        "externalTransactionToken": {
          "description": "Input only. Provided during the call to Create. Retrieved from the client when the alternative billing flow is launched.",
          "type": "string"
        }
      },
      "id": "OneTimeExternalTransaction"
    },
    "BatchUpdateSubscriptionsResponse": {
      "id": "BatchUpdateSubscriptionsResponse",
      "properties": {
        "subscriptions": {
          "items": {
            "$ref": "Subscription"
          },
          "description": "The updated subscriptions list.",
          "type": "array"
        }
      },
      "description": "Response message for BatchUpdateSubscription.",
      "type": "object"
    },
    "Grant": {
      "id": "Grant",
      "description": "An access grant resource.",
      "type": "object",
      "properties": {
        "appLevelPermissions": {
          "description": "The permissions granted to the user for this app.",
          "type": "array",
          "items": {
            "enumDescriptions": [
              "Unknown or unspecified permission.",
              "View app information (read-only). Deprecated: Try defining a more granular capability. Otherwise, check AppLevelPermission.CAN_VIEW_NON_FINANCIAL_DATA.",
              "View financial data.",
              "Admin (all permissions).",
              "Reply to reviews.",
              "Release to production, exclude devices, and use app signing by Google Play.",
              "Release to testing tracks.",
              "Manage testing tracks and edit tester lists.",
              "Manage store presence.",
              "Edit and delete draft apps.",
              "Manage orders and subscriptions.",
              "Manage policy related pages.",
              "View app information (read-only).",
              "View app quality data such as Vitals, Crashes etc.",
              "Manage the deep links setup of an app."
            ],
            "enumDeprecated": [
              false,
              true,
              false,
              false,
              false,
              false,
              false,
              false,
              false,
              false,
              false,
              false,
              false,
              false,
              false
            ],
            "enum": [
              "APP_LEVEL_PERMISSION_UNSPECIFIED",
              "CAN_ACCESS_APP",
              "CAN_VIEW_FINANCIAL_DATA",
              "CAN_MANAGE_PERMISSIONS",
              "CAN_REPLY_TO_REVIEWS",
              "CAN_MANAGE_PUBLIC_APKS",
              "CAN_MANAGE_TRACK_APKS",
              "CAN_MANAGE_TRACK_USERS",
              "CAN_MANAGE_PUBLIC_LISTING",
              "CAN_MANAGE_DRAFT_APPS",
              "CAN_MANAGE_ORDERS",
              "CAN_MANAGE_APP_CONTENT",
              "CAN_VIEW_NON_FINANCIAL_DATA",
              "CAN_VIEW_APP_QUALITY",
              "CAN_MANAGE_DEEPLINKS"
            ],
            "type": "string"
          }
        },
        "packageName": {
          "description": "Immutable. The package name of the app. This will be empty for draft apps.",
          "type": "string"
        },
        "name": {
          "description": "Required. Resource name for this grant, following the pattern \"developers/{developer}/users/{email}/grants/{package_name}\". If this grant is for a draft app, the app ID will be used in this resource name instead of the package name.",
          "type": "string"
        }
      }
    },
    "SubscriptionPurchasesAcknowledgeRequest": {
      "description": "Request for the purchases.subscriptions.acknowledge API.",
      "type": "object",
      "properties": {
        "developerPayload": {
          "description": "Payload to attach to the purchase.",
          "type": "string"
        },
        "externalAccountIds": {
          "$ref": "ExternalAccountIds",
          "description": "Optional. User account identifier in your app."
        }
      },
      "id": "SubscriptionPurchasesAcknowledgeRequest"
    },
    "RegionalSubscriptionOfferPhaseFreePriceOverride": {
      "properties": {},
      "description": "Represents the free price override configuration for a single phase of a subscription offer",
      "type": "object",
      "id": "RegionalSubscriptionOfferPhaseFreePriceOverride"
    },
    "VanityCode": {
      "properties": {
        "promotionCode": {
          "description": "The promotion code.",
          "type": "string"
        }
      },
      "description": "A multiple use, predefined promotion code.",
      "type": "object",
      "id": "VanityCode"
    },
    "GeneratedAssetPackSlice": {
      "description": "Download metadata for an asset pack slice.",
      "type": "object",
      "properties": {
        "moduleName": {
          "description": "Name of the module that this asset slice belongs to.",
          "type": "string"
        },
        "downloadId": {
          "description": "Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method.",
          "type": "string"
        },
        "sliceId": {
          "description": "Asset slice ID.",
          "type": "string"
        },
        "version": {
          "format": "int64",
          "description": "Asset module version.",
          "type": "string"
        }
      },
      "id": "GeneratedAssetPackSlice"
    },
    "TrackCountryAvailability": {
      "id": "TrackCountryAvailability",
      "properties": {
        "syncWithProduction": {
          "description": "Whether this track's availability is synced with the default production track. See https://support.google.com/googleplay/android-developer/answer/7550024 for more information on syncing country availability with production. Note that if this is true, the returned \"countries\" and \"rest_of_world\" fields will reflect the values for the default production track.",
          "type": "boolean"
        },
        "countries": {
          "items": {
            "$ref": "TrackTargetedCountry"
          },
          "description": "A list of one or more countries where artifacts in this track are available. This list includes all countries that are targeted by the track, even if only specific carriers are targeted in that country.",
          "type": "array"
        },
        "restOfWorld": {
          "description": "Whether artifacts in this track are available to \"rest of the world\" countries.",
          "type": "boolean"
        }
      },
      "description": "Resource for per-track country availability information.",
      "type": "object"
    },
    "BatchMigrateBasePlanPricesResponse": {
      "id": "BatchMigrateBasePlanPricesResponse",
      "properties": {
        "responses": {
          "items": {
            "$ref": "MigrateBasePlanPricesResponse"
          },
          "description": "Contains one response per requested price migration, in the same order as the request.",
          "type": "array"
        }
      },
      "description": "Response message for BatchMigrateBasePlanPrices.",
      "type": "object"
    },
    "SubscriptionPriceChange": {
      "id": "SubscriptionPriceChange",
      "description": "Contains the price change information for a subscription that can be used to control the user journey for the price change in the app. This can be in the form of seeking confirmation from the user or tailoring the experience for a successful conversion.",
      "type": "object",
      "properties": {
        "newPrice": {
          "$ref": "Price",
          "description": "The new price the subscription will renew with if the price change is accepted by the user."
        },
        "state": {
          "format": "int32",
          "description": "The current state of the price change. Possible values are: 0. Outstanding: State for a pending price change waiting for the user to agree. In this state, you can optionally seek confirmation from the user using the In-App API. 1. Accepted: State for an accepted price change that the subscription will renew with unless it's canceled. The price change takes effect on a future date when the subscription renews. Note that the change might not occur when the subscription is renewed next.",
          "type": "integer"
        }
      }
    },
    "AssetModuleMetadata": {
      "properties": {
        "name": {
          "description": "Module name.",
          "type": "string"
        },
        "deliveryType": {
          "enum": [
            "UNKNOWN_DELIVERY_TYPE",
            "INSTALL_TIME",
            "ON_DEMAND",
            "FAST_FOLLOW"
          ],
          "enumDescriptions": [
            "Unspecified delivery type.",
            "This module will always be downloaded as part of the initial install of the app.",
            "This module is requested on-demand, which means it will not be part of the initial install, and will only be sent when requested by the client.",
            "This module will be downloaded immediately after initial install finishes. The app can be opened before these modules are downloaded."
          ],
          "description": "Indicates the delivery type for persistent install.",
          "type": "string"
        }
      },
      "description": "Metadata of an asset module.",
      "type": "object",
      "id": "AssetModuleMetadata"
    },
    "User": {
      "properties": {
        "accessState": {
          "enum": [
            "ACCESS_STATE_UNSPECIFIED",
            "INVITED",
            "INVITATION_EXPIRED",
            "ACCESS_GRANTED",
            "ACCESS_EXPIRED"
          ],
          "description": "Output only. The state of the user's access to the Play Console.",
          "type": "string",
          "enumDescriptions": [
            "Unknown or unspecified access state.",
            "User is invited but has not yet accepted the invitation.",
            "Invitation has expired.",
            "User has accepted an invitation and has access to the Play Console.",
            "Account access has expired."
          ],
          "readOnly": true
        },
        "expirationTime": {
          "format": "google-datetime",
          "description": "The time at which the user's access expires, if set. When setting this value, it must always be in the future.",
          "type": "string"
        },
        "developerAccountPermissions": {
          "description": "Permissions for the user which apply across the developer account.",
          "type": "array",
          "items": {
            "type": "string",
            "enumDescriptions": [
              "Unknown or unspecified permission.",
              "View app information and download bulk reports (read-only). Deprecated: Check CAN_VIEW_NON_FINANCIAL_DATA_GLOBAL.",
              "View financial data, orders, and cancellation survey responses.",
              "Admin (all permissions).",
              "Edit Play Games Services projects.",
              "Publish Play Games Services projects.",
              "Reply to reviews.",
              "Release to production, exclude devices, and use app signing by Google Play.",
              "Release to testing tracks.",
              "Manage testing tracks and edit tester lists.",
              "Manage store presence.",
              "Create, edit, and delete draft apps.",
              "Create and publish private apps to your organization.",
              "Choose whether apps are public, or only available to your organization.",
              "Manage orders and subscriptions.",
              "Manage policy related pages on all apps for the developer.",
              "View app information and download bulk reports (read-only).",
              "View app quality information for all apps for the developer.",
              "Manage the deep links setup for all apps for the developer."
            ],
            "enumDeprecated": [
              false,
              true,
              false,
              false,
              false,
              false,
              false,
              false,
              false,
              false,
              false,
              false,
              false,
              false,
              false,
              false,
              false,
              false,
              false
            ],
            "enum": [
              "DEVELOPER_LEVEL_PERMISSION_UNSPECIFIED",
              "CAN_SEE_ALL_APPS",
              "CAN_VIEW_FINANCIAL_DATA_GLOBAL",
              "CAN_MANAGE_PERMISSIONS_GLOBAL",
              "CAN_EDIT_GAMES_GLOBAL",
              "CAN_PUBLISH_GAMES_GLOBAL",
              "CAN_REPLY_TO_REVIEWS_GLOBAL",
              "CAN_MANAGE_PUBLIC_APKS_GLOBAL",
              "CAN_MANAGE_TRACK_APKS_GLOBAL",
              "CAN_MANAGE_TRACK_USERS_GLOBAL",
              "CAN_MANAGE_PUBLIC_LISTING_GLOBAL",
              "CAN_MANAGE_DRAFT_APPS_GLOBAL",
              "CAN_CREATE_MANAGED_PLAY_APPS_GLOBAL",
              "CAN_CHANGE_MANAGED_PLAY_SETTING_GLOBAL",
              "CAN_MANAGE_ORDERS_GLOBAL",
              "CAN_MANAGE_APP_CONTENT_GLOBAL",
              "CAN_VIEW_NON_FINANCIAL_DATA_GLOBAL",
              "CAN_VIEW_APP_QUALITY_GLOBAL",
              "CAN_MANAGE_DEEPLINKS_GLOBAL"
            ]
          }
        },
        "email": {
          "description": "Immutable. The user's email address.",
          "type": "string"
        },
        "partial": {
          "readOnly": true,
          "description": "Output only. Whether there are more permissions for the user that are not represented here. This can happen if the caller does not have permission to manage all apps in the account. This is also `true` if this user is the account owner. If this field is `true`, it should be taken as a signal that this user cannot be fully managed via the API. That is, the API caller is not be able to manage all of the permissions this user holds, either because it doesn't know about them or because the user is the account owner.",
          "type": "boolean"
        },
        "name": {
          "description": "Required. Resource name for this user, following the pattern \"developers/{developer}/users/{email}\".",
          "type": "string"
        },
        "grants": {
          "readOnly": true,
          "description": "Output only. Per-app permissions for the user.",
          "type": "array",
          "items": {
            "$ref": "Grant"
          }
        }
      },
      "description": "A user resource.",
      "type": "object",
      "id": "User"
    },
    "InAppProduct": {
      "id": "InAppProduct",
      "description": "An in-app product. The resource for InappproductsService.",
      "type": "object",
      "properties": {
        "defaultPrice": {
          "description": "Default price. Cannot be zero, as in-app products are never free. Always in the developer's Checkout merchant currency.",
          "$ref": "Price"
        },
        "purchaseType": {
          "enum": [
            "purchaseTypeUnspecified",
            "managedUser",
            "subscription"
          ],
          "enumDescriptions": [
            "Unspecified purchase type.",
            "The default product type - one time purchase.",
            "In-app product with a recurring period."
          ],
          "description": "The type of the product, e.g. a recurring subscription.",
          "type": "string"
        },
        "gracePeriod": {
          "description": "Grace period of the subscription, specified in ISO 8601 format. Allows developers to give their subscribers a grace period when the payment for the new recurrence period is declined. Acceptable values are P0D (zero days), P3D (three days), P7D (seven days), P14D (14 days), and P30D (30 days).",
          "type": "string"
        },
        "packageName": {
          "description": "Package name of the parent app.",
          "type": "string"
        },
        "sku": {
          "description": "Stock-keeping-unit (SKU) of the product, unique within an app.",
          "type": "string"
        },
        "subscriptionTaxesAndComplianceSettings": {
          "description": "Details about taxes and legal compliance. Only applicable to subscription products.",
          "$ref": "SubscriptionTaxAndComplianceSettings"
        },
        "status": {
          "description": "The status of the product, e.g. whether it's active.",
          "type": "string",
          "enum": [
            "statusUnspecified",
            "active",
            "inactive"
          ],
          "enumDescriptions": [
            "Unspecified status.",
            "The product is published and active in the store.",
            "The product is not published and therefore inactive in the store."
          ]
        },
        "managedProductTaxesAndComplianceSettings": {
          "description": "Details about taxes and legal compliance. Only applicable to managed products.",
          "$ref": "ManagedProductTaxAndComplianceSettings"
        },
        "prices": {
          "description": "Prices per buyer region. None of these can be zero, as in-app products are never free. Map key is region code, as defined by ISO 3166-2.",
          "type": "object",
          "additionalProperties": {
            "$ref": "Price"
          }
        },
        "defaultLanguage": {
          "description": "Default language of the localized data, as defined by BCP-47. e.g. \"en-US\".",
          "type": "string"
        },
        "listings": {
          "description": "List of localized title and description data. Map key is the language of the localized data, as defined by BCP-47, e.g. \"en-US\".",
          "type": "object",
          "additionalProperties": {
            "$ref": "InAppProductListing"
          }
        },
        "trialPeriod": {
          "description": "Trial period, specified in ISO 8601 format. Acceptable values are anything between P7D (seven days) and P999D (999 days).",
          "type": "string"
        },
        "subscriptionPeriod": {
          "description": "Subscription period, specified in ISO 8601 format. Acceptable values are P1W (one week), P1M (one month), P3M (three months), P6M (six months), and P1Y (one year).",
          "type": "string"
        }
      }
    },
    "BatchGetSubscriptionOffersResponse": {
      "id": "BatchGetSubscriptionOffersResponse",
      "description": "Response message for BatchGetSubscriptionOffers endpoint.",
      "type": "object",
      "properties": {
        "subscriptionOffers": {
          "type": "array",
          "items": {
            "$ref": "SubscriptionOffer"
          }
        }
      }
    },
    "DeployAppRecoveryResponse": {
      "id": "DeployAppRecoveryResponse",
      "properties": {},
      "description": "Response message for DeployAppRecovery.",
      "type": "object"
    },
    "InappproductsListResponse": {
      "description": "Response listing all in-app products.",
      "type": "object",
      "properties": {
        "inappproduct": {
          "items": {
            "$ref": "InAppProduct"
          },
          "description": "All in-app products.",
          "type": "array"
        },
        "tokenPagination": {
          "$ref": "TokenPagination",
          "description": "Pagination token, to handle a number of products that is over one page."
        },
        "pageInfo": {
          "description": "Deprecated and unset.",
          "deprecated": true,
          "$ref": "PageInfo"
        },
        "kind": {
          "description": "The kind of this response (\"androidpublisher#inappproductsListResponse\").",
          "type": "string"
        }
      },
      "id": "InappproductsListResponse"
    },
    "ExpansionFile": {
      "description": "An expansion file. The resource for ExpansionFilesService.",
      "type": "object",
      "properties": {
        "referencesVersion": {
          "description": "If set, this APK's expansion file references another APK's expansion file. The file_size field will not be set.",
          "type": "integer",
          "format": "int32"
        },
        "fileSize": {
          "description": "If set, this field indicates that this APK has an expansion file uploaded to it: this APK does not reference another APK's expansion file. The field's value is the size of the uploaded expansion file in bytes.",
          "type": "string",
          "format": "int64"
        }
      },
      "id": "ExpansionFile"
    },
    "OtherRecurringProduct": {
      "properties": {},
      "description": "Details of a recurring external transaction product which doesn't belong to any other more specific category.",
      "type": "object",
      "id": "OtherRecurringProduct"
    },
    "CancelOneTimeProductOfferRequest": {
      "id": "CancelOneTimeProductOfferRequest",
      "properties": {
        "packageName": {
          "description": "Required. The parent app (package name) of the offer to cancel.",
          "type": "string"
        },
        "purchaseOptionId": {
          "description": "Required. The parent purchase option (ID) of the offer to cancel.",
          "type": "string"
        },
        "latencyTolerance": {
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ],
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "description": "Optional. The latency tolerance for the propagation of this update. Defaults to latency-sensitive.",
          "type": "string"
        },
        "offerId": {
          "description": "Required. The offer ID of the offer to cancel.",
          "type": "string"
        },
        "productId": {
          "description": "Required. The parent one-time product (ID) of the offer to cancel.",
          "type": "string"
        }
      },
      "description": "Request message for CancelOneTimeProductOffer.",
      "type": "object"
    },
    "RevocationContextFullRefund": {
      "description": "Used to determine if the refund type in the RevocationContext is a full refund.",
      "type": "object",
      "properties": {},
      "id": "RevocationContextFullRefund"
    },
    "Testers": {
      "id": "Testers",
      "properties": {
        "googleGroups": {
          "description": "All testing Google Groups, as email addresses.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "The testers of an app. The resource for TestersService. Note: while it is possible in the Play Console UI to add testers via email lists, email lists are not supported by this resource.",
      "type": "object"
    },
    "AppDetails": {
      "id": "AppDetails",
      "description": "The app details. The resource for DetailsService.",
      "type": "object",
      "properties": {
        "contactPhone": {
          "description": "The user-visible support telephone number for this app.",
          "type": "string"
        },
        "defaultLanguage": {
          "description": "Default language code, in BCP 47 format (eg \"en-US\").",
          "type": "string"
        },
        "contactWebsite": {
          "description": "The user-visible website for this app.",
          "type": "string"
        },
        "contactEmail": {
          "description": "The user-visible support email for this app.",
          "type": "string"
        }
      }
    },
    "SubscriptionDetails": {
      "properties": {
        "offerPhaseDetails": {
          "description": "The pricing phase details for the entitlement period funded by this order.",
          "$ref": "OfferPhaseDetails"
        },
        "offerPhase": {
          "description": "The pricing phase for the billing period funded by this order. Deprecated. Use offer_phase_details instead.",
          "type": "string",
          "enumDescriptions": [
            "Offer phase unspecified. This value is not used.",
            "The order funds a base price period.",
            "The order funds an introductory pricing period.",
            "The order funds a free trial period."
          ],
          "enum": [
            "OFFER_PHASE_UNSPECIFIED",
            "BASE",
            "INTRODUCTORY",
            "FREE_TRIAL"
          ]
        },
        "servicePeriodEndTime": {
          "description": "The end of the billing period funded by this order. This is a snapshot of the billing/service period end time at the moment the order was processed, and should be used only for accounting. To get the current end time of the subscription service period, use purchases.subscriptionsv2.get.",
          "type": "string",
          "format": "google-datetime"
        },
        "basePlanId": {
          "description": "The base plan ID of the subscription.",
          "type": "string"
        },
        "offerId": {
          "description": "The offer ID for the current subscription offer.",
          "type": "string"
        },
        "servicePeriodStartTime": {
          "description": "The start of the billing period funded by this order. This is a snapshot of the billing/service period start time at the moment the order was processed, and should be used only for accounting.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "description": "Details of a subscription purchase.",
      "type": "object",
      "id": "SubscriptionDetails"
    },
    "ReviewReplyResult": {
      "properties": {
        "replyText": {
          "description": "The reply text that was applied.",
          "type": "string"
        },
        "lastEdited": {
          "description": "The time at which the reply took effect.",
          "$ref": "Timestamp"
        }
      },
      "description": "The result of replying/updating a reply to review.",
      "type": "object",
      "id": "ReviewReplyResult"
    },
    "ActivateOneTimeProductOfferRequest": {
      "id": "ActivateOneTimeProductOfferRequest",
      "description": "Request message for ActivateOneTimeProductOffer.",
      "type": "object",
      "properties": {
        "productId": {
          "description": "Required. The parent one-time product (ID) of the offer to activate.",
          "type": "string"
        },
        "purchaseOptionId": {
          "description": "Required. The parent purchase option (ID) of the offer to activate.",
          "type": "string"
        },
        "latencyTolerance": {
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ],
          "description": "Optional. The latency tolerance for the propagation of this update. Defaults to latency-sensitive.",
          "type": "string"
        },
        "offerId": {
          "description": "Required. The offer ID of the offer to activate.",
          "type": "string"
        },
        "packageName": {
          "description": "Required. The parent app (package name) of the offer to activate.",
          "type": "string"
        }
      }
    },
    "BatchDeleteOneTimeProductOffersRequest": {
      "id": "BatchDeleteOneTimeProductOffersRequest",
      "description": "Request message for BatchDeleteOneTimeProductOffers.",
      "type": "object",
      "properties": {
        "requests": {
          "items": {
            "$ref": "DeleteOneTimeProductOfferRequest"
          },
          "description": "Required. A list of update requests of up to 100 elements. All requests must correspond to different offers.",
          "type": "array"
        }
      }
    },
    "BatchUpdateSubscriptionsRequest": {
      "properties": {
        "requests": {
          "description": "Required. A list of update requests of up to 100 elements. All requests must update different subscriptions.",
          "type": "array",
          "items": {
            "$ref": "UpdateSubscriptionRequest"
          }
        }
      },
      "description": "Request message for BatchUpdateSubscription.",
      "type": "object",
      "id": "BatchUpdateSubscriptionsRequest"
    },
    "RemoteInAppUpdateDataPerBundle": {
      "id": "RemoteInAppUpdateDataPerBundle",
      "description": "Data related to the recovery action at bundle level.",
      "type": "object",
      "properties": {
        "recoveredDeviceCount": {
          "description": "Total number of devices which have been rescued.",
          "type": "string",
          "format": "int64"
        },
        "totalDeviceCount": {
          "description": "Total number of devices affected by this recovery action associated with bundle of the app.",
          "type": "string",
          "format": "int64"
        },
        "versionCode": {
          "description": "Version Code corresponding to the target bundle.",
          "type": "string",
          "format": "int64"
        }
      }
    },
    "AutoRenewingPlan": {
      "properties": {
        "priceChangeDetails": {
          "$ref": "SubscriptionItemPriceChangeDetails",
          "description": "The information of the last price change for the item since subscription signup."
        },
        "recurringPrice": {
          "$ref": "Money",
          "description": "The current recurring price of the auto renewing plan. Note that the price does not take into account discounts and does not include taxes for tax-exclusive pricing, please call orders.get API instead if transaction details are needed."
        },
        "autoRenewEnabled": {
          "description": "If the subscription is currently set to auto-renew, e.g. the user has not canceled the subscription",
          "type": "boolean"
        },
        "installmentDetails": {
          "description": "The installment plan commitment and state related info for the auto renewing plan.",
          "$ref": "InstallmentPlan"
        },
        "priceStepUpConsentDetails": {
          "description": "The information of the latest price step-up consent.",
          "$ref": "PriceStepUpConsentDetails"
        }
      },
      "description": "Information related to an auto renewing plan.",
      "type": "object",
      "id": "AutoRenewingPlan"
    },
    "RentalDetails": {
      "id": "RentalDetails",
      "properties": {},
      "description": "Details of a rental purchase.",
      "type": "object"
    },
    "BaseDetails": {
      "id": "BaseDetails",
      "description": "Details of a base price pricing phase.",
      "type": "object",
      "properties": {}
    },
    "CancelSurveyResult": {
      "description": "Result of the cancel survey when the subscription was canceled by the user.",
      "type": "object",
      "properties": {
        "reason": {
          "description": "The reason the user selected in the cancel survey.",
          "type": "string",
          "enum": [
            "CANCEL_SURVEY_REASON_UNSPECIFIED",
            "CANCEL_SURVEY_REASON_NOT_ENOUGH_USAGE",
            "CANCEL_SURVEY_REASON_TECHNICAL_ISSUES",
            "CANCEL_SURVEY_REASON_COST_RELATED",
            "CANCEL_SURVEY_REASON_FOUND_BETTER_APP",
            "CANCEL_SURVEY_REASON_OTHERS"
          ],
          "enumDescriptions": [
            "Unspecified cancel survey reason.",
            "Not enough usage of the subscription.",
            "Technical issues while using the app.",
            "Cost related issues.",
            "The user found a better app.",
            "Other reasons."
          ]
        },
        "reasonUserInput": {
          "description": "Only set for CANCEL_SURVEY_REASON_OTHERS. This is the user's freeform response to the survey.",
          "type": "string"
        }
      },
      "id": "CancelSurveyResult"
    },
    "BatchUpdateOneTimeProductsRequest": {
      "id": "BatchUpdateOneTimeProductsRequest",
      "properties": {
        "requests": {
          "items": {
            "$ref": "UpdateOneTimeProductRequest"
          },
          "description": "Required. A list of update requests of up to 100 elements. All requests must update different one-time products.",
          "type": "array"
        }
      },
      "description": "Request message for BatchUpdateOneTimeProduct.",
      "type": "object"
    },
    "Targeting": {
      "id": "Targeting",
      "properties": {
        "versionList": {
          "$ref": "AppVersionList",
          "description": "Target version codes as a list."
        },
        "androidSdks": {
          "$ref": "AndroidSdks",
          "description": "Targeting is based on android api levels of devices."
        },
        "versionRange": {
          "$ref": "AppVersionRange",
          "description": "Target version codes as a range."
        },
        "allUsers": {
          "description": "All users are targeted.",
          "$ref": "AllUsers"
        },
        "regions": {
          "description": "Targeting is based on the user account region.",
          "$ref": "Regions"
        }
      },
      "description": "Targeting details for a recovery action such as regions, android sdk levels, app versions etc.",
      "type": "object"
    },
    "InappproductsBatchUpdateResponse": {
      "description": "Response for a batch in-app product update.",
      "type": "object",
      "properties": {
        "inappproducts": {
          "items": {
            "$ref": "InAppProduct"
          },
          "description": "The updated or inserted in-app products.",
          "type": "array"
        }
      },
      "id": "InappproductsBatchUpdateResponse"
    },
    "BatchUpdateOneTimeProductOffersResponse": {
      "id": "BatchUpdateOneTimeProductOffersResponse",
      "description": "Response message for BatchUpdateOneTimeProductOffers.",
      "type": "object",
      "properties": {
        "oneTimeProductOffers": {
          "items": {
            "$ref": "OneTimeProductOffer"
          },
          "description": "The list of updated one-time product offers, in the same order as the request.",
          "type": "array"
        }
      }
    },
    "LocalizedText": {
      "id": "LocalizedText",
      "properties": {
        "language": {
          "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German).",
          "type": "string"
        },
        "text": {
          "description": "The text in the given language.",
          "type": "string"
        }
      },
      "description": "Localized text in given language.",
      "type": "object"
    },
    "DeviceId": {
      "id": "DeviceId",
      "properties": {
        "buildBrand": {
          "description": "Value of Build.BRAND.",
          "type": "string"
        },
        "buildDevice": {
          "description": "Value of Build.DEVICE.",
          "type": "string"
        }
      },
      "description": "Identifier of a device.",
      "type": "object"
    },
    "ProcessedEvent": {
      "description": "Details of when the order was processed.",
      "type": "object",
      "properties": {
        "eventTime": {
          "description": "The time when the order was processed.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "id": "ProcessedEvent"
    },
    "ProductPurchaseV2": {
      "id": "ProductPurchaseV2",
      "description": "A ProductPurchaseV2 resource indicates the status of a user's inapp product purchase.",
      "type": "object",
      "properties": {
        "purchaseStateContext": {
          "description": "Information about the purchase state of the purchase.",
          "$ref": "PurchaseStateContext"
        },
        "kind": {
          "description": "This kind represents a ProductPurchaseV2 object in the androidpublisher service.",
          "type": "string"
        },
        "productLineItem": {
          "description": "Contains item-level info for a ProductPurchaseV2.",
          "type": "array",
          "items": {
            "$ref": "ProductLineItem"
          }
        },
        "regionCode": {
          "description": "ISO 3166-1 alpha-2 billing region code of the user at the time the product was granted.",
          "type": "string"
        },
        "acknowledgementState": {
          "description": "Output only. The acknowledgement state of the purchase.",
          "type": "string",
          "enum": [
            "ACKNOWLEDGEMENT_STATE_UNSPECIFIED",
            "ACKNOWLEDGEMENT_STATE_PENDING",
            "ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED"
          ],
          "readOnly": true,
          "enumDescriptions": [
            "Unspecified acknowledgement state.",
            "The purchase is not acknowledged yet.",
            "The purchase is acknowledged."
          ]
        },
        "orderId": {
          "description": "The order id associated with the purchase of the inapp product. May not be set if there is no order associated with the purchase.",
          "type": "string"
        },
        "purchaseCompletionTime": {
          "description": "The time when the purchase was successful, i.e., when the PurchaseState has changed to PURCHASED. This field will not be present until the payment is complete. For example, if the user initiated a pending transaction (https://developer.android.com/google/play/billing/integrate#pending), this field will not be populated until the user successfully completes the steps required to complete the transaction.",
          "type": "string",
          "format": "google-datetime"
        },
        "obfuscatedExternalAccountId": {
          "description": "An obfuscated version of the id that is uniquely associated with the user's account in your app. Only present if specified using https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid when the purchase was made.",
          "type": "string"
        },
        "testPurchaseContext": {
          "$ref": "TestPurchaseContext",
          "description": "Information related to test purchases. This will only be set for test purchases."
        },
        "obfuscatedExternalProfileId": {
          "description": "An obfuscated version of the id that is uniquely associated with the user's profile in your app. Only present if specified using https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid when the purchase was made.",
          "type": "string"
        }
      }
    },
    "InappproductsDeleteRequest": {
      "properties": {
        "packageName": {
          "description": "Package name of the app.",
          "type": "string"
        },
        "sku": {
          "description": "Unique identifier for the in-app product.",
          "type": "string"
        },
        "latencyTolerance": {
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ],
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "type": "string"
        }
      },
      "description": "Request to delete an in-app product.",
      "type": "object",
      "id": "InappproductsDeleteRequest"
    },
    "SubscriptionTaxAndComplianceSettings": {
      "properties": {
        "productTaxCategoryCode": {
          "description": "Product tax category code to assign to the subscription. Product tax category determines the transaction tax rates applied to the subscription. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.",
          "type": "string"
        },
        "taxRateInfoByRegionCode": {
          "description": "A mapping from region code to tax rate details. The keys are region codes as defined by Unicode's \"CLDR\".",
          "type": "object",
          "additionalProperties": {
            "$ref": "RegionalTaxRateInfo"
          }
        },
        "isTokenizedDigitalAsset": {
          "description": "Whether this subscription is declared as a product representing a tokenized digital asset.",
          "type": "boolean"
        },
        "eeaWithdrawalRightType": {
          "enumDescriptions": [
            "",
            "",
            ""
          ],
          "enum": [
            "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED",
            "WITHDRAWAL_RIGHT_DIGITAL_CONTENT",
            "WITHDRAWAL_RIGHT_SERVICE"
          ],
          "description": "Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.",
          "type": "string"
        },
        "regionalProductAgeRatingInfos": {
          "description": "Regional age rating information. Currently this field is only supported for region code `US`.",
          "type": "array",
          "items": {
            "$ref": "RegionalProductAgeRatingInfo"
          }
        }
      },
      "description": "Details about taxation, Google Play policy, and legal compliance for subscription products.",
      "type": "object",
      "id": "SubscriptionTaxAndComplianceSettings"
    },
    "ActivateBasePlanRequest": {
      "description": "Request message for ActivateBasePlan.",
      "type": "object",
      "properties": {
        "productId": {
          "description": "Required. The parent subscription (ID) of the base plan to activate.",
          "type": "string"
        },
        "basePlanId": {
          "description": "Required. The unique base plan ID of the base plan to activate.",
          "type": "string"
        },
        "packageName": {
          "description": "Required. The parent app (package name) of the base plan to activate.",
          "type": "string"
        },
        "latencyTolerance": {
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ],
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "type": "string"
        }
      },
      "id": "ActivateBasePlanRequest"
    },
    "AddTargetingRequest": {
      "id": "AddTargetingRequest",
      "description": "Request message for AddTargeting.",
      "type": "object",
      "properties": {
        "targetingUpdate": {
          "$ref": "TargetingUpdate",
          "description": "Specifies targeting updates such as regions, android sdk versions etc."
        }
      }
    },
    "ReleaseSummary": {
      "id": "ReleaseSummary",
      "properties": {
        "activeArtifacts": {
          "description": "List of active artifacts on this release",
          "type": "array",
          "items": {
            "$ref": "ArtifactSummary"
          }
        },
        "releaseName": {
          "description": "Name of the release.",
          "type": "string"
        },
        "track": {
          "description": "Identifier for the track. [Learn more about track names.](https://developers.google.com/android-publisher/tracks).",
          "type": "string"
        },
        "releaseLifecycleState": {
          "description": "The lifecycle state of a release.",
          "type": "string",
          "enum": [
            "RELEASE_LIFECYCLE_STATE_UNSPECIFIED",
            "RELEASE_LIFECYCLE_STATE_DRAFT",
            "RELEASE_LIFECYCLE_STATE_NOT_SENT_FOR_REVIEW",
            "RELEASE_LIFECYCLE_STATE_IN_REVIEW",
            "RELEASE_LIFECYCLE_STATE_APPROVED_NOT_PUBLISHED",
            "RELEASE_LIFECYCLE_STATE_NOT_APPROVED",
            "RELEASE_LIFECYCLE_STATE_PUBLISHED"
          ],
          "enumDescriptions": [
            "Not specified.",
            "The release is not yet ready and can still be edited.",
            "The release is ready to be sent for review and an action is required from developer",
            "Submitted and in review",
            "Passed review and is ready to be published manually by developer",
            "App was rejected in review",
            "Available to users on the track. This includes fully- or partially-rolled out releases and any halted release that can be resumed."
          ]
        }
      },
      "description": "Summary of a release.",
      "type": "object"
    },
    "UserInitiatedCancellation": {
      "properties": {
        "cancelTime": {
          "description": "The time at which the subscription was canceled by the user. The user might still have access to the subscription after this time. Use line_items.expiry_time to determine if a user still has access.",
          "type": "string",
          "format": "google-datetime"
        },
        "cancelSurveyResult": {
          "$ref": "CancelSurveyResult",
          "description": "Information provided by the user when they complete the subscription cancellation flow (cancellation reason survey)."
        }
      },
      "description": "Information specific to cancellations initiated by users.",
      "type": "object",
      "id": "UserInitiatedCancellation"
    },
    "SubscriptionOffer": {
      "description": "A single, temporary offer",
      "type": "object",
      "properties": {
        "offerTags": {
          "description": "List of up to 20 custom tags specified for this offer, and returned to the app through the billing library.",
          "type": "array",
          "items": {
            "$ref": "OfferTag"
          }
        },
        "regionalConfigs": {
          "items": {
            "$ref": "RegionalSubscriptionOfferConfig"
          },
          "description": "Required. The region-specific configuration of this offer. Must contain at least one entry.",
          "type": "array"
        },
        "phases": {
          "items": {
            "$ref": "SubscriptionOfferPhase"
          },
          "description": "Required. The phases of this subscription offer. Must contain at least one and at most two entries. Users will always receive all these phases in the specified order.",
          "type": "array"
        },
        "state": {
          "readOnly": true,
          "enumDescriptions": [
            "Default value, should never be used.",
            "The subscription offer is not and has never been available to users.",
            "The subscription offer is available to new and existing users.",
            "The subscription offer is not available to new users. Existing users retain access."
          ],
          "description": "Output only. The current state of this offer. Can be changed using Activate and Deactivate actions. NB: the base plan state supersedes this state, so an active offer may not be available if the base plan is not active.",
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "DRAFT",
            "ACTIVE",
            "INACTIVE"
          ]
        },
        "productId": {
          "description": "Required. Immutable. The ID of the parent subscription this offer belongs to.",
          "type": "string"
        },
        "packageName": {
          "description": "Required. Immutable. The package name of the app the parent subscription belongs to.",
          "type": "string"
        },
        "targeting": {
          "$ref": "SubscriptionOfferTargeting",
          "description": "The requirements that users need to fulfil to be eligible for this offer. Represents the requirements that Play will evaluate to decide whether an offer should be returned. Developers may further filter these offers themselves."
        },
        "basePlanId": {
          "description": "Required. Immutable. The ID of the base plan to which this offer is an extension.",
          "type": "string"
        },
        "offerId": {
          "description": "Required. Immutable. Unique ID of this subscription offer. Must be unique within the base plan.",
          "type": "string"
        },
        "otherRegionsConfig": {
          "description": "The configuration for any new locations Play may launch in the future.",
          "$ref": "OtherRegionsSubscriptionOfferConfig"
        }
      },
      "id": "SubscriptionOffer"
    },
    "Money": {
      "id": "Money",
      "properties": {
        "currencyCode": {
          "description": "The three-letter currency code defined in ISO 4217.",
          "type": "string"
        },
        "units": {
          "description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
          "type": "string",
          "format": "int64"
        },
        "nanos": {
          "description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.",
          "type": "integer",
          "format": "int32"
        }
      },
      "description": "Represents an amount of money with its currency type.",
      "type": "object"
    },
    "DeferredItemRemoval": {
      "id": "DeferredItemRemoval",
      "properties": {},
      "description": "Information related to deferred item replacement.",
      "type": "object"
    },
    "PurchaseStateContext": {
      "id": "PurchaseStateContext",
      "description": "Context about the purchase state.",
      "type": "object",
      "properties": {
        "purchaseState": {
          "enumDescriptions": [
            "Purchase state unspecified. This value should never be set.",
            "Purchased successfully.",
            "Purchase canceled.",
            "The purchase is in a pending state and has not yet been completed. For more information on handling pending purchases, see https://developer.android.com/google/play/billing/integrate#pending."
          ],
          "readOnly": true,
          "enum": [
            "PURCHASE_STATE_UNSPECIFIED",
            "PURCHASED",
            "CANCELLED",
            "PENDING"
          ],
          "description": "Output only. The purchase state of the purchase.",
          "type": "string"
        }
      }
    },
    "Bundle": {
      "description": "Information about an app bundle. The resource for BundlesService.",
      "type": "object",
      "properties": {
        "sha256": {
          "description": "A sha256 hash of the upload payload, encoded as a hex string and matching the output of the sha256sum command.",
          "type": "string"
        },
        "versionCode": {
          "format": "int32",
          "description": "The version code of the Android App Bundle, as specified in the Android App Bundle's base module APK manifest file.",
          "type": "integer"
        },
        "sha1": {
          "description": "A sha1 hash of the upload payload, encoded as a hex string and matching the output of the sha1sum command.",
          "type": "string"
        }
      },
      "id": "Bundle"
    },
    "BuyerAddress": {
      "properties": {
        "buyerCountry": {
          "description": "Two letter country code based on ISO-3166-1 Alpha-2 (UN country codes).",
          "type": "string"
        },
        "buyerState": {
          "description": "Top-level administrative subdivision of the buyer address country. When Google is the Merchant of Record for the order, this information is not included.",
          "type": "string"
        },
        "buyerPostcode": {
          "description": "Postal code of an address. When Google is the Merchant of Record for the order, this information is not included.",
          "type": "string"
        }
      },
      "description": "Address information for the customer, for use in tax computation.",
      "type": "object",
      "id": "BuyerAddress"
    },
    "PreorderOfferDetails": {
      "description": "Offer details information related to a preorder line item.",
      "type": "object",
      "properties": {
        "preorderReleaseTime": {
          "description": "The time when a preordered item is released for a preorder purchase.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "id": "PreorderOfferDetails"
    },
    "SystemInitiatedCancellation": {
      "properties": {},
      "description": "Information specific to cancellations initiated by Google system.",
      "type": "object",
      "id": "SystemInitiatedCancellation"
    },
    "BatchUpdateBasePlanStatesResponse": {
      "description": "Response message for BatchUpdateBasePlanStates.",
      "type": "object",
      "properties": {
        "subscriptions": {
          "description": "The list of updated subscriptions. This list will match the requests one to one, in the same order.",
          "type": "array",
          "items": {
            "$ref": "Subscription"
          }
        }
      },
      "id": "BatchUpdateBasePlanStatesResponse"
    },
    "BatchDeleteOneTimeProductsRequest": {
      "id": "BatchDeleteOneTimeProductsRequest",
      "description": "Request message for BatchDeleteOneTimeProduct.",
      "type": "object",
      "properties": {
        "requests": {
          "items": {
            "$ref": "DeleteOneTimeProductRequest"
          },
          "description": "Required. A list of delete requests of up to 100 elements. All requests must delete different one-time products.",
          "type": "array"
        }
      }
    },
    "TrackConfig": {
      "id": "TrackConfig",
      "properties": {
        "formFactor": {
          "enumDescriptions": [
            "Fallback value, do not use.",
            "Default track.",
            "Wear form factor track.",
            "Automotive form factor track."
          ],
          "enum": [
            "FORM_FACTOR_UNSPECIFIED",
            "DEFAULT",
            "WEAR",
            "AUTOMOTIVE"
          ],
          "description": "Required. Form factor of the new track. Defaults to the default track.",
          "type": "string"
        },
        "track": {
          "description": "Required. Identifier of the new track. For default tracks, this field consists of the track alias only. Form factor tracks have a special prefix as an identifier, for example `wear:production`, `automotive:production`. This prefix must match the value of the `form_factor` field, if it is not a default track. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name)",
          "type": "string"
        },
        "type": {
          "description": "Required. Type of the new track. Currently, the only supported value is closedTesting.",
          "type": "string",
          "enum": [
            "TRACK_TYPE_UNSPECIFIED",
            "CLOSED_TESTING"
          ],
          "enumDescriptions": [
            "Fallback value, do not use.",
            "Closed testing track."
          ]
        }
      },
      "description": "Configurations of the new track.",
      "type": "object"
    },
    "BatchGetOrdersResponse": {
      "id": "BatchGetOrdersResponse",
      "description": "Response for the orders.batchGet API.",
      "type": "object",
      "properties": {
        "orders": {
          "items": {
            "$ref": "Order"
          },
          "description": "Details for the requested order IDs.",
          "type": "array"
        }
      }
    },
    "RecurringExternalTransaction": {
      "description": "Represents a transaction that is part of a recurring series of payments. This can be a subscription or a one-time product with multiple payments (such as preorder).",
      "type": "object",
      "properties": {
        "initialExternalTransactionId": {
          "description": "The external transaction id of the first transaction of this recurring series of transactions. For example, for a subscription this would be the transaction id of the first payment. Required when creating recurring external transactions.",
          "type": "string"
        },
        "externalTransactionToken": {
          "description": "Input only. Provided during the call to Create. Retrieved from the client when the alternative billing flow is launched. Required only for the initial purchase.",
          "type": "string"
        },
        "migratedTransactionProgram": {
          "enumDescriptions": [
            "Unspecified transaction program. Not used.",
            "User choice billing, where a user may choose between Google Play Billing developer-managed billing.",
            "Alternative billing only, where users may only use developer-manager billing."
          ],
          "enum": [
            "EXTERNAL_TRANSACTION_PROGRAM_UNSPECIFIED",
            "USER_CHOICE_BILLING",
            "ALTERNATIVE_BILLING_ONLY"
          ],
          "description": "Input only. Provided during the call to Create. Must only be used when migrating a subscription from manual monthly reporting to automated reporting.",
          "type": "string"
        },
        "externalSubscription": {
          "$ref": "ExternalSubscription",
          "description": "Details of an external subscription."
        },
        "otherRecurringProduct": {
          "description": "Details of a recurring external transaction product which doesn't belong to any other specific category.",
          "$ref": "OtherRecurringProduct"
        }
      },
      "id": "RecurringExternalTransaction"
    },
    "GeneratedRecoveryApk": {
      "properties": {
        "recoveryId": {
          "description": "ID of the recovery action.",
          "type": "string",
          "format": "int64"
        },
        "recoveryStatus": {
          "description": "The status of the recovery action corresponding to the recovery apk.",
          "type": "string",
          "enumDescriptions": [
            "RecoveryStatus is unspecified.",
            "The app recovery action has not been canceled since it has been created.",
            "The recovery action has been canceled. The action cannot be resumed.",
            "The recovery action is in the draft state and has not yet been deployed to users.",
            "The recovery action is generating recovery apks.",
            "The app recovery action generation has failed."
          ],
          "enum": [
            "RECOVERY_STATUS_UNSPECIFIED",
            "RECOVERY_STATUS_ACTIVE",
            "RECOVERY_STATUS_CANCELED",
            "RECOVERY_STATUS_DRAFT",
            "RECOVERY_STATUS_GENERATION_IN_PROGRESS",
            "RECOVERY_STATUS_GENERATION_FAILED"
          ]
        },
        "moduleName": {
          "description": "Name of the module which recovery apk belongs to.",
          "type": "string"
        },
        "downloadId": {
          "description": "Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method.",
          "type": "string"
        }
      },
      "description": "Download metadata for an app recovery module.",
      "type": "object",
      "id": "GeneratedRecoveryApk"
    },
    "BatchMigrateBasePlanPricesRequest": {
      "id": "BatchMigrateBasePlanPricesRequest",
      "properties": {
        "requests": {
          "items": {
            "$ref": "MigrateBasePlanPricesRequest"
          },
          "description": "Required. Up to 100 price migration requests. All requests must update different base plans.",
          "type": "array"
        }
      },
      "description": "Request message for BatchMigrateBasePlanPrices.",
      "type": "object"
    },
    "BatchGetSubscriptionsResponse": {
      "properties": {
        "subscriptions": {
          "description": "The list of requested subscriptions, in the same order as the request.",
          "type": "array",
          "items": {
            "$ref": "Subscription"
          }
        }
      },
      "description": "Response message for BatchGetSubscriptions endpoint.",
      "type": "object",
      "id": "BatchGetSubscriptionsResponse"
    },
    "OtherRegionsSubscriptionOfferPhasePrices": {
      "properties": {
        "eurPrice": {
          "$ref": "Money",
          "description": "Required. Price in EUR to use for any new locations Play may launch in."
        },
        "usdPrice": {
          "description": "Required. Price in USD to use for any new locations Play may launch in.",
          "$ref": "Money"
        }
      },
      "description": "Pricing information for any new locations Play may launch in.",
      "type": "object",
      "id": "OtherRegionsSubscriptionOfferPhasePrices"
    },
    "OfferPhase": {
      "properties": {
        "introductoryPrice": {
          "description": "Set when the offer phase is an introductory price offer phase.",
          "$ref": "IntroductoryPriceOfferPhase"
        },
        "prorationPeriod": {
          "description": "Set when the offer phase is a proration period.",
          "$ref": "ProrationPeriodOfferPhase"
        },
        "freeTrial": {
          "description": "Set when the offer phase is a free trial.",
          "$ref": "FreeTrialOfferPhase"
        },
        "basePrice": {
          "$ref": "BasePriceOfferPhase",
          "description": "Set when the offer phase is a base plan pricing phase."
        }
      },
      "description": "Offer phase details.",
      "type": "object",
      "id": "OfferPhase"
    },
    "RevokeSubscriptionPurchaseRequest": {
      "description": "Request for the purchases.subscriptionsv2.revoke API.",
      "type": "object",
      "properties": {
        "revocationContext": {
          "$ref": "RevocationContext",
          "description": "Required. Additional details around the subscription revocation."
        }
      },
      "id": "RevokeSubscriptionPurchaseRequest"
    },
    "DeleteOneTimeProductOfferRequest": {
      "id": "DeleteOneTimeProductOfferRequest",
      "description": "Request message for deleting an one-time product offer.",
      "type": "object",
      "properties": {
        "packageName": {
          "description": "Required. The parent app (package name) of the offer to delete.",
          "type": "string"
        },
        "productId": {
          "description": "Required. The parent one-time product (ID) of the offer to delete.",
          "type": "string"
        },
        "offerId": {
          "description": "Required. The unique offer ID of the offer to delete.",
          "type": "string"
        },
        "purchaseOptionId": {
          "description": "Required. The parent purchase option (ID) of the offer to delete.",
          "type": "string"
        },
        "latencyTolerance": {
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "type": "string",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ]
        }
      }
    },
    "AddTargetingResponse": {
      "properties": {},
      "description": "Response message for AddTargeting.",
      "type": "object",
      "id": "AddTargetingResponse"
    },
    "AssetSliceSet": {
      "properties": {
        "assetModuleMetadata": {
          "description": "Module level metadata.",
          "$ref": "AssetModuleMetadata"
        },
        "apkDescription": {
          "description": "Asset slices.",
          "type": "array",
          "items": {
            "$ref": "ApkDescription"
          }
        }
      },
      "description": "Set of asset slices belonging to a single asset module.",
      "type": "object",
      "id": "AssetSliceSet"
    },
    "OneTimeProductDiscountedOffer": {
      "id": "OneTimeProductDiscountedOffer",
      "description": "Configuration specific to discounted offers.",
      "type": "object",
      "properties": {
        "endTime": {
          "format": "google-datetime",
          "description": "Time when the offer will stop being available.",
          "type": "string"
        },
        "redemptionLimit": {
          "format": "int64",
          "description": "Optional. The number of times this offer can be redeemed. If unset or set to 0, allows for unlimited offer redemptions. Otherwise must be a number between 1 and 50 inclusive.",
          "type": "string"
        },
        "startTime": {
          "format": "google-datetime",
          "description": "Time when the offer will start being available.",
          "type": "string"
        }
      }
    },
    "SafetyLabelsUpdateRequest": {
      "id": "SafetyLabelsUpdateRequest",
      "description": "Request to update Safety Labels of an app.",
      "type": "object",
      "properties": {
        "safetyLabels": {
          "description": "Required. Contents of the CSV file containing Data Safety responses. For the format of this file, see the Help Center documentation at https://support.google.com/googleplay/android-developer/answer/10787469?#zippy=%2Cunderstand-the-csv-format To download an up to date template, follow the steps at https://support.google.com/googleplay/android-developer/answer/10787469?#zippy=%2Cexport-to-a-csv-file",
          "type": "string"
        }
      }
    },
    "ImagesListResponse": {
      "properties": {
        "images": {
          "description": "All listed Images.",
          "type": "array",
          "items": {
            "$ref": "Image"
          }
        }
      },
      "description": "Response listing all images.",
      "type": "object",
      "id": "ImagesListResponse"
    },
    "ListOneTimeProductsResponse": {
      "id": "ListOneTimeProductsResponse",
      "properties": {
        "oneTimeProducts": {
          "items": {
            "$ref": "OneTimeProduct"
          },
          "description": "The one-time products from the specified app.",
          "type": "array"
        },
        "nextPageToken": {
          "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        }
      },
      "description": "Response message for ListOneTimeProducts.",
      "type": "object"
    },
    "SubscriptionCancelSurveyResult": {
      "description": "Information provided by the user when they complete the subscription cancellation flow (cancellation reason survey).",
      "type": "object",
      "properties": {
        "userInputCancelReason": {
          "description": "The customized input cancel reason from the user. Only present when cancelReason is 0.",
          "type": "string"
        },
        "cancelSurveyReason": {
          "format": "int32",
          "description": "The cancellation reason the user chose in the survey. Possible values are: 0. Other 1. I don't use this service enough 2. Technical issues 3. Cost-related reasons 4. I found a better app",
          "type": "integer"
        }
      },
      "id": "SubscriptionCancelSurveyResult"
    },
    "Timestamp": {
      "id": "Timestamp",
      "description": "A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970.",
      "type": "object",
      "properties": {
        "seconds": {
          "format": "int64",
          "description": "Represents seconds of UTC time since Unix epoch.",
          "type": "string"
        },
        "nanos": {
          "format": "int32",
          "description": "Non-negative fractions of a second at nanosecond resolution. Must be from 0 to 999,999,999 inclusive.",
          "type": "integer"
        }
      }
    },
    "LanguageTargeting": {
      "id": "LanguageTargeting",
      "properties": {
        "value": {
          "description": "ISO-639: 2 or 3 letter language code.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "alternatives": {
          "items": {
            "type": "string"
          },
          "description": "Alternative languages.",
          "type": "array"
        }
      },
      "description": "Targeting based on language.",
      "type": "object"
    },
    "UpdateOneTimeProductRequest": {
      "id": "UpdateOneTimeProductRequest",
      "properties": {
        "oneTimeProduct": {
          "$ref": "OneTimeProduct",
          "description": "Required. The one-time product to upsert."
        },
        "updateMask": {
          "description": "Required. The list of fields to be updated.",
          "type": "string",
          "format": "google-fieldmask"
        },
        "latencyTolerance": {
          "description": "Optional. The latency tolerance for the propagation of this product upsert. Defaults to latency-sensitive.",
          "type": "string",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ]
        },
        "allowMissing": {
          "description": "Optional. If set to true, and the one-time product with the given package_name and product_id doesn't exist, the one-time product will be created. If a new one-time product is created, update_mask is ignored.",
          "type": "boolean"
        },
        "regionsVersion": {
          "description": "Required. The version of the available regions being used for the one-time product.",
          "$ref": "RegionsVersion"
        }
      },
      "description": "Request message for UpdateOneTimeProduct.",
      "type": "object"
    },
    "OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig": {
      "id": "OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig",
      "properties": {
        "availability": {
          "enum": [
            "AVAILABILITY_UNSPECIFIED",
            "AVAILABLE",
            "NO_LONGER_AVAILABLE",
            "AVAILABLE_IF_RELEASED",
            "AVAILABLE_FOR_OFFERS_ONLY"
          ],
          "enumDescriptions": [
            "Unspecified availability. Must not be used.",
            "The purchase option is available to users.",
            "The purchase option is no longer available to users. This value can only be used if the availability was previously set as AVAILABLE.",
            "The purchase option is initially unavailable, but made available via a released pre-order offer.",
            "The purchase option is unavailable but offers linked to it (i.e. Play Points offer) are available."
          ],
          "description": "The availability of the purchase option.",
          "type": "string"
        },
        "regionCode": {
          "description": "Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g., \"US\".",
          "type": "string"
        },
        "price": {
          "$ref": "Money",
          "description": "The price of the purchase option in the specified region. Must be set in the currency that is linked to the specified region."
        }
      },
      "description": "Regional pricing and availability configuration for a purchase option.",
      "type": "object"
    },
    "SystemApksListResponse": {
      "id": "SystemApksListResponse",
      "description": "Response to list previously created system APK variants.",
      "type": "object",
      "properties": {
        "variants": {
          "description": "All system APK variants created.",
          "type": "array",
          "items": {
            "$ref": "Variant"
          }
        }
      }
    },
    "GeneratedApksPerSigningKey": {
      "id": "GeneratedApksPerSigningKey",
      "description": "Download metadata for split, standalone and universal APKs, as well as asset pack slices, signed with a given key.",
      "type": "object",
      "properties": {
        "generatedUniversalApk": {
          "$ref": "GeneratedUniversalApk",
          "description": "Generated universal APK, signed with a key corresponding to certificate_sha256_hash. This field is not set if no universal APK was generated for this signing key."
        },
        "certificateSha256Hash": {
          "description": "SHA256 hash of the APK signing public key certificate.",
          "type": "string"
        },
        "generatedStandaloneApks": {
          "items": {
            "$ref": "GeneratedStandaloneApk"
          },
          "description": "List of generated standalone APKs, signed with a key corresponding to certificate_sha256_hash.",
          "type": "array"
        },
        "generatedRecoveryModules": {
          "items": {
            "$ref": "GeneratedRecoveryApk"
          },
          "description": "Generated recovery apks for recovery actions signed with a key corresponding to certificate_sha256_hash. This includes all generated recovery APKs, also those in draft or cancelled state. This field is not set if no recovery actions were created for this signing key.",
          "type": "array"
        },
        "generatedSplitApks": {
          "items": {
            "$ref": "GeneratedSplitApk"
          },
          "description": "List of generated split APKs, signed with a key corresponding to certificate_sha256_hash.",
          "type": "array"
        },
        "generatedAssetPackSlices": {
          "description": "List of asset pack slices which will be served for this app bundle, signed with a key corresponding to certificate_sha256_hash.",
          "type": "array",
          "items": {
            "$ref": "GeneratedAssetPackSlice"
          }
        },
        "targetingInfo": {
          "description": "Contains targeting information about the generated apks.",
          "$ref": "TargetingInfo"
        }
      }
    },
    "FullRefund": {
      "properties": {},
      "description": "A full refund of the remaining amount of a transaction.",
      "type": "object",
      "id": "FullRefund"
    },
    "DeactivatePurchaseOptionRequest": {
      "properties": {
        "productId": {
          "description": "Required. The parent one-time product (ID) of the purchase option to deactivate.",
          "type": "string"
        },
        "packageName": {
          "description": "Required. The parent app (package name) of the purchase option to deactivate.",
          "type": "string"
        },
        "purchaseOptionId": {
          "description": "Required. The purchase option ID of the purchase option to deactivate.",
          "type": "string"
        },
        "latencyTolerance": {
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ],
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "type": "string"
        }
      },
      "description": "Request message for UpdatePurchaseOptionState.",
      "type": "object",
      "id": "DeactivatePurchaseOptionRequest"
    },
    "OneTimeProductPurchaseOptionNewRegionsConfig": {
      "description": "Pricing information for any new regions Play may launch in the future.",
      "type": "object",
      "properties": {
        "usdPrice": {
          "description": "Required. Price in USD to use for any new regions Play may launch in.",
          "$ref": "Money"
        },
        "eurPrice": {
          "$ref": "Money",
          "description": "Required. Price in EUR to use for any new regions Play may launch in."
        },
        "availability": {
          "enumDescriptions": [
            "Unspecified availability. Must not be used.",
            "The config will be used for any new regions Play may launch in the future.",
            "The config is not available anymore and will not be used for any new regions Play may launch in the future. This value can only be used if the availability was previously set as AVAILABLE."
          ],
          "enum": [
            "AVAILABILITY_UNSPECIFIED",
            "AVAILABLE",
            "NO_LONGER_AVAILABLE"
          ],
          "description": "Required. The regional availability for the new regions config. When set to AVAILABLE, the pricing information will be used for any new regions Play may launch in the future.",
          "type": "string"
        }
      },
      "id": "OneTimeProductPurchaseOptionNewRegionsConfig"
    },
    "CancellationEvent": {
      "id": "CancellationEvent",
      "description": "Details of when the order was canceled.",
      "type": "object",
      "properties": {
        "eventTime": {
          "format": "google-datetime",
          "description": "The time when the order was canceled.",
          "type": "string"
        }
      }
    },
    "UpdateOneTimeProductOfferRequest": {
      "description": "Request message for UpdateOneTimeProductOffer.",
      "type": "object",
      "properties": {
        "oneTimeProductOffer": {
          "description": "Required. The one-time product offer to update.",
          "$ref": "OneTimeProductOffer"
        },
        "regionsVersion": {
          "description": "Required. The version of the available regions being used for the offer.",
          "$ref": "RegionsVersion"
        },
        "allowMissing": {
          "description": "Optional. If set to true, and the offer with the given package_name, product_id, purchase_option_id and offer_id doesn't exist, an offer will be created. If a new offer is created, the update_mask is ignored.",
          "type": "boolean"
        },
        "latencyTolerance": {
          "description": "Optional. The latency tolerance for the propagation of this offer update. Defaults to latency-sensitive.",
          "type": "string",
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ],
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ]
        },
        "updateMask": {
          "description": "Required. The list of fields to be updated.",
          "type": "string",
          "format": "google-fieldmask"
        }
      },
      "id": "UpdateOneTimeProductOfferRequest"
    },
    "BatchUpdatePurchaseOptionStatesRequest": {
      "properties": {
        "requests": {
          "items": {
            "$ref": "UpdatePurchaseOptionStateRequest"
          },
          "description": "Required. The update request list of up to 100 elements. All requests must update different purchase options.",
          "type": "array"
        }
      },
      "description": "Request message for BatchUpdatePurchaseOptionStates.",
      "type": "object",
      "id": "BatchUpdatePurchaseOptionStatesRequest"
    },
    "SignupPromotion": {
      "properties": {
        "oneTimeCode": {
          "description": "A one-time code was applied.",
          "$ref": "OneTimeCode"
        },
        "vanityCode": {
          "description": "A vanity code was applied.",
          "$ref": "VanityCode"
        }
      },
      "description": "The promotion applied on this item when purchased.",
      "type": "object",
      "id": "SignupPromotion"
    },
    "ProrationPeriodOfferPhase": {
      "description": "Details about proration period offer phase.",
      "type": "object",
      "properties": {
        "originalOfferPhaseType": {
          "description": "The original offer phase type before the proration period. Only set when the proration period is updated from an existing offer phase.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified original offer phase type.",
            "The subscription is in the base pricing phase (e.g. full price).",
            "The subscription is in an introductory pricing phase.",
            "The subscription is in a free trial."
          ],
          "enum": [
            "ORIGINAL_OFFER_PHASE_TYPE_UNSPECIFIED",
            "BASE",
            "INTRODUCTORY",
            "FREE_TRIAL"
          ]
        }
      },
      "id": "ProrationPeriodOfferPhase"
    },
    "DeviceSpec": {
      "description": "The device spec used to generate a system APK.",
      "type": "object",
      "properties": {
        "supportedAbis": {
          "description": "Supported ABI architectures in the order of preference. The values should be the string as reported by the platform, e.g. \"armeabi-v7a\", \"x86_64\".",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "supportedLocales": {
          "items": {
            "type": "string"
          },
          "description": "All installed locales represented as BCP-47 strings, e.g. \"en-US\".",
          "type": "array"
        },
        "screenDensity": {
          "format": "uint32",
          "description": "Screen dpi.",
          "type": "integer"
        }
      },
      "id": "DeviceSpec"
    },
    "ConvertRegionPricesResponse": {
      "properties": {
        "convertedOtherRegionsPrice": {
          "$ref": "ConvertedOtherRegionsPrice",
          "description": "Converted other regions prices in USD and EUR, to use for countries where Play doesn't support a country's local currency."
        },
        "regionVersion": {
          "$ref": "RegionsVersion",
          "description": "The region version at which the prices were generated."
        },
        "convertedRegionPrices": {
          "description": "Map from region code to converted region price.",
          "type": "object",
          "additionalProperties": {
            "$ref": "ConvertedRegionPrice"
          }
        }
      },
      "description": "Response message for ConvertRegionPrices.",
      "type": "object",
      "id": "ConvertRegionPricesResponse"
    },
    "ListSubscriptionsResponse": {
      "id": "ListSubscriptionsResponse",
      "properties": {
        "nextPageToken": {
          "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        },
        "subscriptions": {
          "description": "The subscriptions from the specified app.",
          "type": "array",
          "items": {
            "$ref": "Subscription"
          }
        }
      },
      "description": "Response message for ListSubscriptions.",
      "type": "object"
    },
    "DeveloperComment": {
      "description": "Developer entry from conversation between user and developer.",
      "type": "object",
      "properties": {
        "lastModified": {
          "$ref": "Timestamp",
          "description": "The last time at which this comment was updated."
        },
        "text": {
          "description": "The content of the comment, i.e. reply body.",
          "type": "string"
        }
      },
      "id": "DeveloperComment"
    },
    "Comment": {
      "id": "Comment",
      "description": "An entry of conversation between user and developer.",
      "type": "object",
      "properties": {
        "userComment": {
          "description": "A comment from a user.",
          "$ref": "UserComment"
        },
        "developerComment": {
          "$ref": "DeveloperComment",
          "description": "A comment from a developer."
        }
      }
    },
    "CountryTargeting": {
      "properties": {
        "countries": {
          "items": {
            "type": "string"
          },
          "description": "Countries to target, specified as two letter [CLDR codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html).",
          "type": "array"
        },
        "includeRestOfWorld": {
          "description": "Include \"rest of world\" as well as explicitly targeted countries.",
          "type": "boolean"
        }
      },
      "description": "Country targeting specification.",
      "type": "object",
      "id": "CountryTargeting"
    },
    "GetOneTimeProductOfferRequest": {
      "properties": {
        "productId": {
          "description": "Required. The parent one-time product (ID) of the offer to get.",
          "type": "string"
        },
        "packageName": {
          "description": "Required. The parent app (package name) of the offer to get.",
          "type": "string"
        },
        "purchaseOptionId": {
          "description": "Required. The parent purchase option (ID) of the offer to get.",
          "type": "string"
        },
        "offerId": {
          "description": "Required. The unique offer ID of the offer to get.",
          "type": "string"
        }
      },
      "description": "Request message for GetOneTimeProductOffers.",
      "type": "object",
      "id": "GetOneTimeProductOfferRequest"
    },
    "RegionalTaxConfig": {
      "properties": {
        "regionCode": {
          "description": "Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g. \"US\".",
          "type": "string"
        },
        "taxTier": {
          "enum": [
            "TAX_TIER_UNSPECIFIED",
            "TAX_TIER_BOOKS_1",
            "TAX_TIER_NEWS_1",
            "TAX_TIER_NEWS_2",
            "TAX_TIER_MUSIC_OR_AUDIO_1",
            "TAX_TIER_LIVE_OR_BROADCAST_1"
          ],
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "description": "Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).",
          "type": "string"
        },
        "eligibleForStreamingServiceTaxRate": {
          "description": "You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.",
          "type": "boolean"
        },
        "streamingTaxType": {
          "description": "To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).",
          "type": "string",
          "enumDescriptions": [
            "No telecommunications tax collected.",
            "US-specific telecommunications tax tier for video streaming, on demand, rentals / subscriptions / pay-per-view.",
            "US-specific telecommunications tax tier for video streaming of pre-recorded content like movies, tv shows.",
            "US-specific telecommunications tax tier for video streaming of multi-channel programming.",
            "US-specific telecommunications tax tier for audio streaming, rental / subscription.",
            "US-specific telecommunications tax tier for audio streaming, sale / permanent download.",
            "US-specific telecommunications tax tier for multi channel audio streaming like radio."
          ],
          "enum": [
            "STREAMING_TAX_TYPE_UNSPECIFIED",
            "STREAMING_TAX_TYPE_TELCO_VIDEO_RENTAL",
            "STREAMING_TAX_TYPE_TELCO_VIDEO_SALES",
            "STREAMING_TAX_TYPE_TELCO_VIDEO_MULTI_CHANNEL",
            "STREAMING_TAX_TYPE_TELCO_AUDIO_RENTAL",
            "STREAMING_TAX_TYPE_TELCO_AUDIO_SALES",
            "STREAMING_TAX_TYPE_TELCO_AUDIO_MULTI_CHANNEL"
          ]
        }
      },
      "description": "Details about taxation in a given geographical region.",
      "type": "object",
      "id": "RegionalTaxConfig"
    },
    "OneTimeProductRentPurchaseOption": {
      "description": "A purchase option that can be rented.",
      "type": "object",
      "properties": {
        "rentalPeriod": {
          "description": "Required. The amount of time a user has the entitlement for. Starts at purchase flow completion. Specified in ISO 8601 format.",
          "type": "string"
        },
        "expirationPeriod": {
          "description": "Optional. The amount of time the user has after starting consuming the entitlement before it is revoked. Specified in ISO 8601 format.",
          "type": "string"
        }
      },
      "id": "OneTimeProductRentPurchaseOption"
    },
    "ScreenDensity": {
      "properties": {
        "densityAlias": {
          "enum": [
            "DENSITY_UNSPECIFIED",
            "NODPI",
            "LDPI",
            "MDPI",
            "TVDPI",
            "HDPI",
            "XHDPI",
            "XXHDPI",
            "XXXHDPI"
          ],
          "enumDescriptions": [
            "Unspecified screen density.",
            "NODPI screen density.",
            "LDPI screen density.",
            "MDPI screen density.",
            "TVDPI screen density.",
            "HDPI screen density.",
            "XHDPI screen density.",
            "XXHDPI screen density.",
            "XXXHDPI screen density."
          ],
          "description": "Alias for a screen density.",
          "type": "string"
        },
        "densityDpi": {
          "description": "Value for density dpi.",
          "type": "integer",
          "format": "int32"
        }
      },
      "description": "Represents a screen density.",
      "type": "object",
      "id": "ScreenDensity"
    },
    "GeneratedApksListResponse": {
      "id": "GeneratedApksListResponse",
      "description": "Response to list generated APKs.",
      "type": "object",
      "properties": {
        "generatedApks": {
          "items": {
            "$ref": "GeneratedApksPerSigningKey"
          },
          "description": "All generated APKs, grouped by the APK signing key.",
          "type": "array"
        }
      }
    },
    "DeviceGroup": {
      "description": "A group of devices. A group is defined by a set of device selectors. A device belongs to the group if it matches any selector (logical OR).",
      "type": "object",
      "properties": {
        "name": {
          "description": "The name of the group.",
          "type": "string"
        },
        "deviceSelectors": {
          "description": "Device selectors for this group. A device matching any of the selectors is included in this group.",
          "type": "array",
          "items": {
            "$ref": "DeviceSelector"
          }
        }
      },
      "id": "DeviceGroup"
    },
    "RentOfferDetails": {
      "properties": {},
      "description": "Offer details information related to a rental line item.",
      "type": "object",
      "id": "RentOfferDetails"
    },
    "ProrationPeriodDetails": {
      "id": "ProrationPeriodDetails",
      "description": "Details of a proration period. A proration period can be a period calculated during a plan change to cover existing entitlements (For more information, see [Allow users to upgrade, downgrade, or change their subscription](https://developer.android.com/google/play/billing/subscriptions#allow-users-change), or a prorated period to align add-on renewal dates with the base (For more information, see [Rules applicable for items in the purchase](https://developer.android.com/google/play/billing/subscription-with-addons#rules-base-addons)).",
      "type": "object",
      "properties": {
        "originalOfferPhase": {
          "description": "Represent the original offer phase from the purchased the line item if the proration period contains any of them. For example, a proration period from CHARGE_FULL_PRICE plan change may merge the 1st offer phase of the subscription offer of the new product user purchased. In this case, the original offer phase will be set here.",
          "type": "string",
          "enumDescriptions": [
            "Offer phase unspecified. This value is not used.",
            "The order funds a base price period.",
            "The order funds an introductory pricing period.",
            "The order funds a free trial period."
          ],
          "enum": [
            "OFFER_PHASE_UNSPECIFIED",
            "BASE",
            "INTRODUCTORY",
            "FREE_TRIAL"
          ]
        }
      }
    },
    "ListDeviceTierConfigsResponse": {
      "properties": {
        "nextPageToken": {
          "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        },
        "deviceTierConfigs": {
          "description": "Device tier configs created by the developer.",
          "type": "array",
          "items": {
            "$ref": "DeviceTierConfig"
          }
        }
      },
      "description": "Response listing existing device tier configs.",
      "type": "object",
      "id": "ListDeviceTierConfigsResponse"
    },
    "ExternallyHostedApk": {
      "properties": {
        "maximumSdk": {
          "description": "The maximum SDK supported by this APK (optional).",
          "type": "integer",
          "format": "int32"
        },
        "externallyHostedUrl": {
          "description": "The URL at which the APK is hosted. This must be an https URL.",
          "type": "string"
        },
        "applicationLabel": {
          "description": "The application label.",
          "type": "string"
        },
        "nativeCodes": {
          "description": "The native code environments supported by this APK (optional).",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "usesFeatures": {
          "items": {
            "type": "string"
          },
          "description": "The features required by this APK (optional).",
          "type": "array"
        },
        "fileSize": {
          "description": "The file size in bytes of this APK.",
          "type": "string",
          "format": "int64"
        },
        "usesPermissions": {
          "items": {
            "$ref": "UsesPermission"
          },
          "description": "The permissions requested by this APK.",
          "type": "array"
        },
        "iconBase64": {
          "description": "The icon image from the APK, as a base64 encoded byte array.",
          "type": "string"
        },
        "minimumSdk": {
          "format": "int32",
          "description": "The minimum SDK targeted by this APK.",
          "type": "integer"
        },
        "packageName": {
          "description": "The package name.",
          "type": "string"
        },
        "versionCode": {
          "format": "int32",
          "description": "The version code of this APK.",
          "type": "integer"
        },
        "fileSha1Base64": {
          "description": "The sha1 checksum of this APK, represented as a base64 encoded byte array.",
          "type": "string"
        },
        "fileSha256Base64": {
          "description": "The sha256 checksum of this APK, represented as a base64 encoded byte array.",
          "type": "string"
        },
        "certificateBase64s": {
          "description": "A certificate (or array of certificates if a certificate-chain is used) used to sign this APK, represented as a base64 encoded byte array.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "versionName": {
          "description": "The version name of this APK.",
          "type": "string"
        }
      },
      "description": "Defines an APK available for this application that is hosted externally and not uploaded to Google Play. This function is only available to organizations using Managed Play whose application is configured to restrict distribution to the organizations.",
      "type": "object",
      "id": "ExternallyHostedApk"
    },
    "SubscriptionPurchasesDeferResponse": {
      "id": "SubscriptionPurchasesDeferResponse",
      "properties": {
        "newExpiryTimeMillis": {
          "format": "int64",
          "description": "The new expiry time for the subscription in milliseconds since the Epoch.",
          "type": "string"
        }
      },
      "description": "Response for the purchases.subscriptions.defer API.",
      "type": "object"
    },
    "RevokeSubscriptionPurchaseResponse": {
      "id": "RevokeSubscriptionPurchaseResponse",
      "properties": {},
      "description": "Response for the purchases.subscriptionsv2.revoke API.",
      "type": "object"
    },
    "DeviceTierConfig": {
      "description": "Configuration describing device targeting criteria for the content of an app.",
      "type": "object",
      "properties": {
        "deviceGroups": {
          "description": "Definition of device groups for the app.",
          "type": "array",
          "items": {
            "$ref": "DeviceGroup"
          }
        },
        "deviceTierConfigId": {
          "format": "int64",
          "description": "Output only. The device tier config ID.",
          "type": "string",
          "readOnly": true
        },
        "deviceTierSet": {
          "description": "Definition of the set of device tiers for the app.",
          "$ref": "DeviceTierSet"
        },
        "userCountrySets": {
          "items": {
            "$ref": "UserCountrySet"
          },
          "description": "Definition of user country sets for the app.",
          "type": "array"
        }
      },
      "id": "DeviceTierConfig"
    },
    "FreeTrialDetails": {
      "properties": {},
      "description": "Details of a free trial pricing phase.",
      "type": "object",
      "id": "FreeTrialDetails"
    },
    "AppVersionRange": {
      "id": "AppVersionRange",
      "description": "Data format for a continuous range of app versions.",
      "type": "object",
      "properties": {
        "versionCodeStart": {
          "description": "Lowest app version in the range, inclusive.",
          "type": "string",
          "format": "int64"
        },
        "versionCodeEnd": {
          "description": "Highest app version in the range, inclusive.",
          "type": "string",
          "format": "int64"
        }
      }
    },
    "PartialRefund": {
      "id": "PartialRefund",
      "description": "A partial refund of a transaction.",
      "type": "object",
      "properties": {
        "refundId": {
          "description": "Required. A unique id distinguishing this partial refund. If the refund is successful, subsequent refunds with the same id will fail. Must be unique across refunds for one individual transaction.",
          "type": "string"
        },
        "refundPreTaxAmount": {
          "$ref": "Price",
          "description": "Required. The pre-tax amount of the partial refund. Should be less than the remaining pre-tax amount of the transaction."
        }
      }
    },
    "ListingsListResponse": {
      "properties": {
        "listings": {
          "items": {
            "$ref": "Listing"
          },
          "description": "All localized listings.",
          "type": "array"
        },
        "kind": {
          "description": "The kind of this response (\"androidpublisher#listingsListResponse\").",
          "type": "string"
        }
      },
      "description": "Response listing all localized listings.",
      "type": "object",
      "id": "ListingsListResponse"
    },
    "SubscriptionPurchasesDeferRequest": {
      "description": "Request for the purchases.subscriptions.defer API.",
      "type": "object",
      "properties": {
        "deferralInfo": {
          "$ref": "SubscriptionDeferralInfo",
          "description": "The information about the new desired expiry time for the subscription."
        }
      },
      "id": "SubscriptionPurchasesDeferRequest"
    },
    "GeneratedUniversalApk": {
      "id": "GeneratedUniversalApk",
      "properties": {
        "downloadId": {
          "description": "Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method.",
          "type": "string"
        }
      },
      "description": "Download metadata for a universal APK.",
      "type": "object"
    },
    "DeobfuscationFile": {
      "id": "DeobfuscationFile",
      "properties": {
        "symbolType": {
          "enum": [
            "deobfuscationFileTypeUnspecified",
            "proguard",
            "nativeCode"
          ],
          "enumDescriptions": [
            "Unspecified deobfuscation file type.",
            "Proguard deobfuscation file type.",
            "Native debugging symbols file type."
          ],
          "description": "The type of the deobfuscation file.",
          "type": "string"
        }
      },
      "description": "Represents a deobfuscation file.",
      "type": "object"
    },
    "AndroidSdks": {
      "id": "AndroidSdks",
      "properties": {
        "sdkLevels": {
          "description": "Android api levels of devices targeted by recovery action. See https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels for different api levels in android.",
          "type": "array",
          "items": {
            "type": "string",
            "format": "int64"
          }
        }
      },
      "description": "Android api level targeting data for app recovery action targeting.",
      "type": "object"
    },
    "RefundEvent": {
      "description": "Details of when the order was fully refunded.",
      "type": "object",
      "properties": {
        "refundReason": {
          "enum": [
            "REFUND_REASON_UNSPECIFIED",
            "OTHER",
            "CHARGEBACK"
          ],
          "enumDescriptions": [
            "Refund reason unspecified. This value is not used.",
            "The order was refunded for a reason other than the listed reasons here.",
            "The order was charged back."
          ],
          "description": "The reason the order was refunded.",
          "type": "string"
        },
        "eventTime": {
          "format": "google-datetime",
          "description": "The time when the order was fully refunded.",
          "type": "string"
        },
        "refundDetails": {
          "$ref": "RefundDetails",
          "description": "Details for the full refund."
        }
      },
      "id": "RefundEvent"
    },
    "PriceStepUpConsentDetails": {
      "id": "PriceStepUpConsentDetails",
      "description": "Information related to a price step-up that requires user consent.",
      "type": "object",
      "properties": {
        "newPrice": {
          "$ref": "Money",
          "description": "The new price which requires user consent."
        },
        "consentDeadlineTime": {
          "description": "The deadline by which the user must provide consent. If consent is not provided by this time, the subscription will be canceled.",
          "type": "string",
          "format": "google-datetime"
        },
        "state": {
          "enum": [
            "CONSENT_STATE_UNSPECIFIED",
            "PENDING",
            "CONFIRMED",
            "COMPLETED"
          ],
          "description": "Output only. The state of the price step-up consent.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified consent state.",
            "The user has not yet provided consent.",
            "The user has consented, and the new price is waiting to take effect.",
            "The user has consented, and the new price has taken effect."
          ],
          "readOnly": true
        }
      }
    },
    "BasePlan": {
      "id": "BasePlan",
      "properties": {
        "basePlanId": {
          "description": "Required. Immutable. The unique identifier of this base plan. Must be unique within the subscription, and conform with RFC-1034. That is, this ID can only contain lower-case letters (a-z), numbers (0-9), and hyphens (-), and be at most 63 characters.",
          "type": "string"
        },
        "state": {
          "readOnly": true,
          "enumDescriptions": [
            "Unspecified state.",
            "The base plan is currently in a draft state, and hasn't been activated. It can be safely deleted at this point.",
            "The base plan is active and available for new subscribers.",
            "The base plan is inactive and only available for existing subscribers."
          ],
          "description": "Output only. The state of the base plan, i.e. whether it's active. Draft and inactive base plans can be activated or deleted. Active base plans can be made inactive. Inactive base plans can be canceled. This field cannot be changed by updating the resource. Use the dedicated endpoints instead.",
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "DRAFT",
            "ACTIVE",
            "INACTIVE"
          ]
        },
        "otherRegionsConfig": {
          "description": "Pricing information for any new locations Play may launch in the future. If omitted, the BasePlan will not be automatically available any new locations Play may launch in the future.",
          "$ref": "OtherRegionsBasePlanConfig"
        },
        "installmentsBasePlanType": {
          "$ref": "InstallmentsBasePlanType",
          "description": "Set for installments base plans where a user is committed to a specified number of payments."
        },
        "regionalConfigs": {
          "description": "Region-specific information for this base plan.",
          "type": "array",
          "items": {
            "$ref": "RegionalBasePlanConfig"
          }
        },
        "autoRenewingBasePlanType": {
          "$ref": "AutoRenewingBasePlanType",
          "description": "Set when the base plan automatically renews at a regular interval."
        },
        "prepaidBasePlanType": {
          "$ref": "PrepaidBasePlanType",
          "description": "Set when the base plan does not automatically renew at the end of the billing period."
        },
        "offerTags": {
          "items": {
            "$ref": "OfferTag"
          },
          "description": "List of up to 20 custom tags specified for this base plan, and returned to the app through the billing library. Subscription offers for this base plan will also receive these offer tags in the billing library.",
          "type": "array"
        }
      },
      "description": "A single base plan for a subscription.",
      "type": "object"
    },
    "ApkBinary": {
      "properties": {
        "sha256": {
          "description": "A sha256 hash of the APK payload, encoded as a hex string and matching the output of the sha256sum command.",
          "type": "string"
        },
        "sha1": {
          "description": "A sha1 hash of the APK payload, encoded as a hex string and matching the output of the sha1sum command.",
          "type": "string"
        }
      },
      "description": "Represents the binary payload of an APK.",
      "type": "object",
      "id": "ApkBinary"
    },
    "ItemExpiryTimeDetails": {
      "id": "ItemExpiryTimeDetails",
      "properties": {
        "expiryTime": {
          "format": "google-datetime",
          "description": "The new expiry time for this subscription item.",
          "type": "string"
        },
        "productId": {
          "description": "The product ID of the subscription item (for example, 'premium_plan').",
          "type": "string"
        }
      },
      "description": "Expiry time details of a subscription item.",
      "type": "object"
    },
    "InAppProductListing": {
      "id": "InAppProductListing",
      "description": "Store listing of a single in-app product.",
      "type": "object",
      "properties": {
        "title": {
          "description": "Title for the store listing.",
          "type": "string"
        },
        "description": {
          "description": "Description for the store listing.",
          "type": "string"
        },
        "benefits": {
          "description": "Localized entitlement benefits for a subscription.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "IntroductoryPriceInfo": {
      "id": "IntroductoryPriceInfo",
      "properties": {
        "introductoryPricePeriod": {
          "description": "Introductory price period, specified in ISO 8601 format. Common values are (but not limited to) \"P1W\" (one week), \"P1M\" (one month), \"P3M\" (three months), \"P6M\" (six months), and \"P1Y\" (one year).",
          "type": "string"
        },
        "introductoryPriceCycles": {
          "format": "int32",
          "description": "The number of billing period to offer introductory pricing.",
          "type": "integer"
        },
        "introductoryPriceCurrencyCode": {
          "description": "ISO 4217 currency code for the introductory subscription price. For example, if the price is specified in British pounds sterling, price_currency_code is \"GBP\".",
          "type": "string"
        },
        "introductoryPriceAmountMicros": {
          "description": "Introductory price of the subscription, not including tax. The currency is the same as price_currency_code. Price is expressed in micro-units, where 1,000,000 micro-units represents one unit of the currency. For example, if the subscription price is €1.99, price_amount_micros is 1990000.",
          "type": "string",
          "format": "int64"
        }
      },
      "description": "Contains the introductory price information for a subscription.",
      "type": "object"
    },
    "RegionsVersion": {
      "properties": {
        "version": {
          "description": "Required. A string representing the version of available regions being used for the specified resource. Regional prices and latest supported version for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available.",
          "type": "string"
        }
      },
      "description": "The version of the available regions being used for the specified resource.",
      "type": "object",
      "id": "RegionsVersion"
    },
    "ConvertedRegionPrice": {
      "description": "A converted region price.",
      "type": "object",
      "properties": {
        "price": {
          "$ref": "Money",
          "description": "The converted price tax inclusive."
        },
        "regionCode": {
          "description": "The region code of the region.",
          "type": "string"
        },
        "taxAmount": {
          "$ref": "Money",
          "description": "The tax amount of the converted price."
        }
      },
      "id": "ConvertedRegionPrice"
    },
    "DeleteOneTimeProductRequest": {
      "properties": {
        "packageName": {
          "description": "Required. The parent app (package name) of the one-time product to delete.",
          "type": "string"
        },
        "latencyTolerance": {
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "type": "string",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ]
        },
        "productId": {
          "description": "Required. The one-time product ID of the one-time product to delete.",
          "type": "string"
        }
      },
      "description": "Request message for deleting a one-time product.",
      "type": "object",
      "id": "DeleteOneTimeProductRequest"
    },
    "UsesPermission": {
      "description": "A permission used by this APK.",
      "type": "object",
      "properties": {
        "maxSdkVersion": {
          "description": "Optionally, the maximum SDK version for which the permission is required.",
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "description": "The name of the permission requested.",
          "type": "string"
        }
      },
      "id": "UsesPermission"
    },
    "ListUsersResponse": {
      "properties": {
        "users": {
          "items": {
            "$ref": "User"
          },
          "description": "The resulting users.",
          "type": "array"
        },
        "nextPageToken": {
          "description": "A token to pass to subsequent calls in order to retrieve subsequent results. This will not be set if there are no more results to return.",
          "type": "string"
        }
      },
      "description": "A response containing one or more users with access to an account.",
      "type": "object",
      "id": "ListUsersResponse"
    },
    "ArtifactSummary": {
      "id": "ArtifactSummary",
      "properties": {
        "versionCode": {
          "description": "Artifact's version code",
          "type": "integer",
          "format": "int32"
        }
      },
      "description": "Summary of an artifact.",
      "type": "object"
    },
    "ListOneTimeProductOffersResponse": {
      "properties": {
        "nextPageToken": {
          "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        },
        "oneTimeProductOffers": {
          "items": {
            "$ref": "OneTimeProductOffer"
          },
          "description": "The one_time_product offers from the specified request.",
          "type": "array"
        }
      },
      "description": "Response message for ListOneTimeProductOffers.",
      "type": "object",
      "id": "ListOneTimeProductOffersResponse"
    },
    "DeactivateBasePlanRequest": {
      "id": "DeactivateBasePlanRequest",
      "description": "Request message for DeactivateBasePlan.",
      "type": "object",
      "properties": {
        "productId": {
          "description": "Required. The parent subscription (ID) of the base plan to deactivate.",
          "type": "string"
        },
        "basePlanId": {
          "description": "Required. The unique base plan ID of the base plan to deactivate.",
          "type": "string"
        },
        "packageName": {
          "description": "Required. The parent app (package name) of the base plan to deactivate.",
          "type": "string"
        },
        "latencyTolerance": {
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ],
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "type": "string"
        }
      }
    },
    "RegionalSubscriptionOfferPhaseConfig": {
      "id": "RegionalSubscriptionOfferPhaseConfig",
      "properties": {
        "relativeDiscount": {
          "format": "double",
          "description": "The fraction of the base plan price prorated over the phase duration that the user pays for this offer phase. For example, if the base plan price for this region is $12 for a period of 1 year, then a 50% discount for a phase of a duration of 3 months would correspond to a price of $1.50. The discount must be specified as a fraction strictly larger than 0 and strictly smaller than 1. The resulting price will be rounded to the nearest billable unit (e.g. cents for USD). The relative discount is considered invalid if the discounted price ends up being smaller than the minimum price allowed in this region.",
          "type": "number"
        },
        "absoluteDiscount": {
          "$ref": "Money",
          "description": "The absolute amount of money subtracted from the base plan price prorated over the phase duration that the user pays for this offer phase. For example, if the base plan price for this region is $12 for a period of 1 year, then a $1 absolute discount for a phase of a duration of 3 months would correspond to a price of $2. The resulting price may not be smaller than the minimum price allowed for this region."
        },
        "regionCode": {
          "description": "Required. Immutable. The region to which this config applies.",
          "type": "string"
        },
        "free": {
          "description": "Set to specify this offer is free to obtain.",
          "$ref": "RegionalSubscriptionOfferPhaseFreePriceOverride"
        },
        "price": {
          "$ref": "Money",
          "description": "The absolute price the user pays for this offer phase. The price must not be smaller than the minimum price allowed for this region."
        }
      },
      "description": "Configuration for a single phase of a subscription offer in a single region.",
      "type": "object"
    },
    "ReviewsReplyResponse": {
      "description": "Response on status of replying to a review.",
      "type": "object",
      "properties": {
        "result": {
          "$ref": "ReviewReplyResult",
          "description": "The result of replying/updating a reply to review."
        }
      },
      "id": "ReviewsReplyResponse"
    },
    "SystemFeature": {
      "id": "SystemFeature",
      "properties": {
        "name": {
          "description": "The name of the feature.",
          "type": "string"
        }
      },
      "description": "Representation of a system feature.",
      "type": "object"
    },
    "FreeTrialOfferPhase": {
      "id": "FreeTrialOfferPhase",
      "description": "Details about free trial offer phase.",
      "type": "object",
      "properties": {}
    },
    "OrderHistory": {
      "description": "Details about events which modified the order.",
      "type": "object",
      "properties": {
        "cancellationEvent": {
          "$ref": "CancellationEvent",
          "description": "Details of when the order was canceled."
        },
        "processedEvent": {
          "$ref": "ProcessedEvent",
          "description": "Details of when the order was processed."
        },
        "partialRefundEvents": {
          "items": {
            "$ref": "PartialRefundEvent"
          },
          "description": "Details of the partial refund events for this order.",
          "type": "array"
        },
        "refundEvent": {
          "$ref": "RefundEvent",
          "description": "Details of when the order was fully refunded."
        }
      },
      "id": "OrderHistory"
    },
    "OtherRegionsSubscriptionOfferConfig": {
      "description": "Configuration for any new locations Play may launch in specified on a subscription offer.",
      "type": "object",
      "properties": {
        "otherRegionsNewSubscriberAvailability": {
          "description": "Whether the subscription offer in any new locations Play may launch in the future. If not specified, this will default to false.",
          "type": "boolean"
        }
      },
      "id": "OtherRegionsSubscriptionOfferConfig"
    },
    "SubscriptionDeferralInfo": {
      "id": "SubscriptionDeferralInfo",
      "properties": {
        "expectedExpiryTimeMillis": {
          "format": "int64",
          "description": "The expected expiry time for the subscription. If the current expiry time for the subscription is not the value specified here, the deferral will not occur.",
          "type": "string"
        },
        "desiredExpiryTimeMillis": {
          "description": "The desired next expiry time to assign to the subscription, in milliseconds since the Epoch. The given time must be later/greater than the current expiry time for the subscription.",
          "type": "string",
          "format": "int64"
        }
      },
      "description": "A SubscriptionDeferralInfo contains the data needed to defer a subscription purchase to a future expiry time.",
      "type": "object"
    },
    "ScreenDensityTargeting": {
      "properties": {
        "value": {
          "description": "Value of a screen density.",
          "type": "array",
          "items": {
            "$ref": "ScreenDensity"
          }
        },
        "alternatives": {
          "items": {
            "$ref": "ScreenDensity"
          },
          "description": "Targeting of other sibling directories that were in the Bundle. For main splits this is targeting of other main splits.",
          "type": "array"
        }
      },
      "description": "Targeting based on screen density.",
      "type": "object",
      "id": "ScreenDensityTargeting"
    },
    "PointsDetails": {
      "properties": {
        "pointsSpent": {
          "format": "int64",
          "description": "The number of Play Points applied in this order. E.g. for a 100 points for $2 coupon, this is 100. For coupon stacked with base offer, this is the total points spent across both.",
          "type": "string"
        },
        "pointsDiscountRateMicros": {
          "description": "The percentage rate which the Play Points promotion reduces the cost by. E.g. for a 100 points for $2 coupon, this is 500,000. Since $2 has an estimate of 200 points, but the actual Points required, 100, is 50% of this, and 50% in micros is 500,000. Between 0 and 1,000,000.",
          "type": "string",
          "format": "int64"
        },
        "pointsOfferId": {
          "description": "ID unique to the play points offer in use for this order.",
          "type": "string"
        },
        "pointsCouponValue": {
          "$ref": "Money",
          "description": "The monetary value of a Play Points coupon. This is the discount the coupon provides, which may not be the total amount. Only set when Play Points coupons have been used. E.g. for a 100 points for $2 coupon, this is $2."
        }
      },
      "description": "Details relating to any Play Points applied to an order.",
      "type": "object",
      "id": "PointsDetails"
    },
    "RefundExternalTransactionRequest": {
      "properties": {
        "fullRefund": {
          "$ref": "FullRefund",
          "description": "A full-amount refund."
        },
        "partialRefund": {
          "$ref": "PartialRefund",
          "description": "A partial refund."
        },
        "refundTime": {
          "format": "google-datetime",
          "description": "Required. The time that the transaction was refunded.",
          "type": "string"
        }
      },
      "description": "A request to refund an existing external transaction.",
      "type": "object",
      "id": "RefundExternalTransactionRequest"
    },
    "AllUsers": {
      "properties": {
        "isAllUsersRequested": {
          "description": "Required. Set to true if all set of users are needed.",
          "type": "boolean"
        }
      },
      "description": "Object representation to describe all set of users.",
      "type": "object",
      "id": "AllUsers"
    },
    "DeletePurchaseOptionRequest": {
      "properties": {
        "packageName": {
          "description": "Required. The parent app (package name) of the purchase option to delete.",
          "type": "string"
        },
        "force": {
          "description": "Optional. This field has no effect for purchase options with no offers under them. For purchase options with associated offers: * If `force` is set to false (default), an error will be returned. * If `force` is set to true, any associated offers under the purchase option will be deleted.",
          "type": "boolean"
        },
        "purchaseOptionId": {
          "description": "Required. The purchase option ID of the purchase option to delete.",
          "type": "string"
        },
        "latencyTolerance": {
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ],
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "type": "string"
        },
        "productId": {
          "description": "Required. The parent one-time product (ID) of the purchase option to delete.",
          "type": "string"
        }
      },
      "description": "Request message for deleting a purchase option.",
      "type": "object",
      "id": "DeletePurchaseOptionRequest"
    },
    "ImagesDeleteAllResponse": {
      "id": "ImagesDeleteAllResponse",
      "properties": {
        "deleted": {
          "items": {
            "$ref": "Image"
          },
          "description": "The deleted images.",
          "type": "array"
        }
      },
      "description": "Response for deleting all images.",
      "type": "object"
    },
    "SdkVersionTargeting": {
      "description": "Targeting based on sdk version.",
      "type": "object",
      "properties": {
        "value": {
          "items": {
            "$ref": "SdkVersion"
          },
          "description": "Value of an sdk version.",
          "type": "array"
        },
        "alternatives": {
          "description": "Targeting of other sibling directories that were in the Bundle. For main splits this is targeting of other main splits.",
          "type": "array",
          "items": {
            "$ref": "SdkVersion"
          }
        }
      },
      "id": "SdkVersionTargeting"
    },
    "InappproductsUpdateRequest": {
      "description": "Request to update an in-app product.",
      "type": "object",
      "properties": {
        "latencyTolerance": {
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "type": "string",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ]
        },
        "autoConvertMissingPrices": {
          "description": "If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.",
          "type": "boolean"
        },
        "inappproduct": {
          "$ref": "InAppProduct",
          "description": "The new in-app product."
        },
        "packageName": {
          "description": "Package name of the app.",
          "type": "string"
        },
        "sku": {
          "description": "Unique identifier for the in-app product.",
          "type": "string"
        },
        "allowMissing": {
          "description": "If set to true, and the in-app product with the given package_name and sku doesn't exist, the in-app product will be created.",
          "type": "boolean"
        }
      },
      "id": "InappproductsUpdateRequest"
    },
    "ModuleTargeting": {
      "id": "ModuleTargeting",
      "properties": {
        "userCountriesTargeting": {
          "description": "Countries-level targeting",
          "$ref": "UserCountriesTargeting"
        },
        "deviceFeatureTargeting": {
          "items": {
            "$ref": "DeviceFeatureTargeting"
          },
          "description": "Targeting for device features.",
          "type": "array"
        },
        "sdkVersionTargeting": {
          "description": "The sdk version that the variant targets",
          "$ref": "SdkVersionTargeting"
        }
      },
      "description": "Targeting on the module level.",
      "type": "object"
    },
    "OtherRegionsSubscriptionOfferPhaseFreePriceOverride": {
      "description": "Represents the free price override configuration for any new locations Play may launch for a single offer phase.",
      "type": "object",
      "properties": {},
      "id": "OtherRegionsSubscriptionOfferPhaseFreePriceOverride"
    },
    "ApkTargeting": {
      "id": "ApkTargeting",
      "properties": {
        "sdkVersionTargeting": {
          "$ref": "SdkVersionTargeting",
          "description": "The sdk version that the apk targets"
        },
        "languageTargeting": {
          "$ref": "LanguageTargeting",
          "description": "The language that the apk targets"
        },
        "textureCompressionFormatTargeting": {
          "$ref": "TextureCompressionFormatTargeting",
          "description": "Texture-compression-format-level targeting"
        },
        "abiTargeting": {
          "description": "The abi that the apk targets",
          "$ref": "AbiTargeting"
        },
        "screenDensityTargeting": {
          "$ref": "ScreenDensityTargeting",
          "description": "The screen density that this apk supports."
        },
        "multiAbiTargeting": {
          "description": "Multi-api-level targeting.",
          "$ref": "MultiAbiTargeting"
        }
      },
      "description": "Represents a set of apk-level targetings.",
      "type": "object"
    },
    "TargetingRuleScopeThisSubscription": {
      "id": "TargetingRuleScopeThisSubscription",
      "description": "Represents the targeting rule scope corresponding to the subscriptions in which this offer is defined.",
      "type": "object",
      "properties": {}
    },
    "CancelAppRecoveryResponse": {
      "description": "Response message for CancelAppRecovery.",
      "type": "object",
      "properties": {},
      "id": "CancelAppRecoveryResponse"
    },
    "ReviewsListResponse": {
      "description": "Response listing reviews.",
      "type": "object",
      "properties": {
        "tokenPagination": {
          "$ref": "TokenPagination",
          "description": "Pagination token, to handle a number of products that is over one page."
        },
        "pageInfo": {
          "$ref": "PageInfo",
          "description": "Information about the current page."
        },
        "reviews": {
          "description": "List of reviews.",
          "type": "array",
          "items": {
            "$ref": "Review"
          }
        }
      },
      "id": "ReviewsListResponse"
    },
    "ReplacementCancellation": {
      "properties": {},
      "description": "Information specific to cancellations caused by subscription replacement.",
      "type": "object",
      "id": "ReplacementCancellation"
    },
    "VoidedPurchase": {
      "id": "VoidedPurchase",
      "properties": {
        "kind": {
          "description": "This kind represents a voided purchase object in the androidpublisher service.",
          "type": "string"
        },
        "purchaseToken": {
          "description": "The token which uniquely identifies a one-time purchase or subscription. To uniquely identify subscription renewals use order_id (available starting from version 3 of the API).",
          "type": "string"
        },
        "orderId": {
          "description": "The order id which uniquely identifies a one-time purchase, subscription purchase, or subscription renewal.",
          "type": "string"
        },
        "voidedSource": {
          "description": "The initiator of voided purchase, possible values are: 0. User 1. Developer 2. Google",
          "type": "integer",
          "format": "int32"
        },
        "voidedReason": {
          "description": "The reason why the purchase was voided, possible values are: 0. Other 1. Remorse 2. Not_received 3. Defective 4. Accidental_purchase 5. Fraud 6. Friendly_fraud 7. Chargeback 8. Unacknowledged_purchase",
          "type": "integer",
          "format": "int32"
        },
        "voidedQuantity": {
          "format": "int32",
          "description": "The voided quantity as the result of a quantity-based partial refund. Voided purchases of quantity-based partial refunds may only be returned when includeQuantityBasedPartialRefund is set to true.",
          "type": "integer"
        },
        "voidedTimeMillis": {
          "format": "int64",
          "description": "The time at which the purchase was canceled/refunded/charged-back, in milliseconds since the epoch (Jan 1, 1970).",
          "type": "string"
        },
        "purchaseTimeMillis": {
          "format": "int64",
          "description": "The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970).",
          "type": "string"
        }
      },
      "description": "A VoidedPurchase resource indicates a purchase that was either canceled/refunded/charged-back.",
      "type": "object"
    },
    "OneTimeProductOffer": {
      "id": "OneTimeProductOffer",
      "description": "A single offer for a one-time product.",
      "type": "object",
      "properties": {
        "offerTags": {
          "items": {
            "$ref": "OfferTag"
          },
          "description": "Optional. List of up to 20 custom tags specified for this offer, and returned to the app through the billing library.",
          "type": "array"
        },
        "regionsVersion": {
          "$ref": "RegionsVersion",
          "readOnly": true,
          "description": "Output only. The version of the regions configuration that was used to generate the one-time product offer."
        },
        "preOrderOffer": {
          "description": "A pre-order offer.",
          "$ref": "OneTimeProductPreOrderOffer"
        },
        "regionalPricingAndAvailabilityConfigs": {
          "items": {
            "$ref": "OneTimeProductOfferRegionalPricingAndAvailabilityConfig"
          },
          "description": "Set of regional pricing and availability information for this offer. Must not have duplicate entries with the same region_code.",
          "type": "array"
        },
        "purchaseOptionId": {
          "description": "Required. Immutable. The ID of the purchase option to which this offer is an extension.",
          "type": "string"
        },
        "state": {
          "readOnly": true,
          "enumDescriptions": [
            "Default value, should never be used.",
            "The offer is not and has never been available to users.",
            "The offer is available to users, as long as its conditions are met.",
            "This state is specific to pre-orders. The offer is cancelled and not available to users. All pending orders related to this offer were cancelled.",
            "This state is specific to discounted offers. The offer is no longer available to users."
          ],
          "description": "Output only. The current state of this offer. This field cannot be changed by updating the resource. Use the dedicated endpoints instead.",
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "DRAFT",
            "ACTIVE",
            "CANCELLED",
            "INACTIVE"
          ]
        },
        "productId": {
          "description": "Required. Immutable. The ID of the parent product this offer belongs to.",
          "type": "string"
        },
        "packageName": {
          "description": "Required. Immutable. The package name of the app the parent product belongs to.",
          "type": "string"
        },
        "discountedOffer": {
          "$ref": "OneTimeProductDiscountedOffer",
          "description": "A discounted offer."
        },
        "offerId": {
          "description": "Required. Immutable. The ID of this product offer. Must be unique within the purchase option. It must start with a number or lower-case letter, and can only contain lower-case letters (a-z), numbers (0-9), and hyphens (-). The maximum length is 63 characters.",
          "type": "string"
        }
      }
    },
    "MigrateBasePlanPricesRequest": {
      "id": "MigrateBasePlanPricesRequest",
      "properties": {
        "productId": {
          "description": "Required. The ID of the subscription to update. Must be equal to the product_id field on the Subscription resource.",
          "type": "string"
        },
        "basePlanId": {
          "description": "Required. The unique base plan ID of the base plan to update prices on.",
          "type": "string"
        },
        "latencyTolerance": {
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "type": "string",
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ],
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ]
        },
        "regionalPriceMigrations": {
          "description": "Required. The regional prices to update.",
          "type": "array",
          "items": {
            "$ref": "RegionalPriceMigrationConfig"
          }
        },
        "regionsVersion": {
          "description": "Required. The version of the available regions being used for the regional_price_migrations.",
          "$ref": "RegionsVersion"
        },
        "packageName": {
          "description": "Required. Package name of the parent app. Must be equal to the package_name field on the Subscription resource.",
          "type": "string"
        }
      },
      "description": "Request message for MigrateBasePlanPrices.",
      "type": "object"
    },
    "ProductOfferDetails": {
      "description": "Offer details information related to a purchase line item.",
      "type": "object",
      "properties": {
        "quantity": {
          "description": "The quantity associated with the purchase of the inapp product.",
          "type": "integer",
          "format": "int32"
        },
        "rentOfferDetails": {
          "$ref": "RentOfferDetails",
          "description": "Offer details about rent offers. This will only be set for rental line items."
        },
        "offerToken": {
          "description": "The per-transaction offer token used to make this purchase line item.",
          "type": "string"
        },
        "refundableQuantity": {
          "description": "The quantity eligible for refund, i.e. quantity that hasn't been refunded. The value reflects quantity-based partial refunds and full refunds.",
          "type": "integer",
          "format": "int32"
        },
        "offerTags": {
          "description": "The latest offer tags associated with the offer. It includes tags inherited from the purchase option.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "purchaseOptionId": {
          "description": "The purchase option ID.",
          "type": "string"
        },
        "consumptionState": {
          "enumDescriptions": [
            "Consumption state unspecified. This value should never be set.",
            "Yet to be consumed.",
            "Consumed already."
          ],
          "readOnly": true,
          "enum": [
            "CONSUMPTION_STATE_UNSPECIFIED",
            "CONSUMPTION_STATE_YET_TO_BE_CONSUMED",
            "CONSUMPTION_STATE_CONSUMED"
          ],
          "description": "Output only. The consumption state of the purchase.",
          "type": "string"
        },
        "preorderOfferDetails": {
          "description": "Offer details for a preorder offer. This will only be set for preorders.",
          "$ref": "PreorderOfferDetails"
        },
        "offerId": {
          "description": "The offer ID. Only present for offers.",
          "type": "string"
        }
      },
      "id": "ProductOfferDetails"
    },
    "ExternalOfferDetails": {
      "properties": {
        "installedAppPackage": {
          "description": "Optional. The package name of the app downloaded through this transaction. Required when link_type is LINK_TO_APP_DOWNLOAD.",
          "type": "string"
        },
        "linkType": {
          "description": "Optional. The type of content being reported by this transaction. Required when reporting app downloads or purchased digital content offers made in app installed through Google Play.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified, do not use.",
            "An offer to purchase digital content.",
            "An app install."
          ],
          "enum": [
            "EXTERNAL_OFFER_LINK_TYPE_UNSPECIFIED",
            "LINK_TO_DIGITAL_CONTENT_OFFER",
            "LINK_TO_APP_DOWNLOAD"
          ]
        },
        "installedAppCategory": {
          "enum": [
            "EXTERNAL_OFFER_APP_CATEGORY_UNSPECIFIED",
            "APP",
            "GAME"
          ],
          "enumDescriptions": [
            "Unspecified, do not use.",
            "The app is classified under the app category.",
            "The app is classified under the game category."
          ],
          "description": "Optional. The category of the downloaded app though this transaction. This must match the category provided in Play Console during the external app verification process. Only required for app downloads.",
          "type": "string"
        },
        "appDownloadEventExternalTransactionId": {
          "description": "Optional. The external transaction id associated with the app download event through an external link. Required when reporting transactions made in externally installed apps.",
          "type": "string"
        }
      },
      "description": "Reporting details unique to the external offers program.",
      "type": "object",
      "id": "ExternalOfferDetails"
    },
    "ActivatePurchaseOptionRequest": {
      "id": "ActivatePurchaseOptionRequest",
      "description": "Request message for UpdatePurchaseOptionState.",
      "type": "object",
      "properties": {
        "packageName": {
          "description": "Required. The parent app (package name) of the purchase option to activate.",
          "type": "string"
        },
        "purchaseOptionId": {
          "description": "Required. The purchase option ID of the purchase option to activate.",
          "type": "string"
        },
        "latencyTolerance": {
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "type": "string",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ]
        },
        "productId": {
          "description": "Required. The parent one-time product (ID) of the purchase option to activate.",
          "type": "string"
        }
      }
    },
    "InappproductsBatchUpdateRequest": {
      "properties": {
        "requests": {
          "items": {
            "$ref": "InappproductsUpdateRequest"
          },
          "description": "Required. Individual update requests. At least one request is required. Can contain up to 100 requests. All requests must correspond to different in-app products.",
          "type": "array"
        }
      },
      "description": "Request to update or insert one or more in-app products.",
      "type": "object",
      "id": "InappproductsBatchUpdateRequest"
    },
    "UpdateSubscriptionOfferRequest": {
      "properties": {
        "regionsVersion": {
          "description": "Required. The version of the available regions being used for the subscription_offer.",
          "$ref": "RegionsVersion"
        },
        "allowMissing": {
          "description": "Optional. If set to true, and the subscription offer with the given package_name, product_id, base_plan_id and offer_id doesn't exist, an offer will be created. If a new offer is created, update_mask is ignored.",
          "type": "boolean"
        },
        "latencyTolerance": {
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "type": "string",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ]
        },
        "subscriptionOffer": {
          "$ref": "SubscriptionOffer",
          "description": "Required. The subscription offer to update."
        },
        "updateMask": {
          "format": "google-fieldmask",
          "description": "Required. The list of fields to be updated.",
          "type": "string"
        }
      },
      "description": "Request message for UpdateSubscriptionOffer.",
      "type": "object",
      "id": "UpdateSubscriptionOfferRequest"
    },
    "DeviceTier": {
      "properties": {
        "deviceGroupNames": {
          "items": {
            "type": "string"
          },
          "description": "Groups of devices included in this tier. These groups must be defined explicitly under device_groups in this configuration.",
          "type": "array"
        },
        "level": {
          "format": "int32",
          "description": "The priority level of the tier. Tiers are evaluated in descending order of level: the highest level tier has the highest priority. The highest tier matching a given device is selected for that device. You should use a contiguous range of levels for your tiers in a tier set; tier levels in a tier set must be unique. For instance, if your tier set has 4 tiers (including the global fallback), you should define tiers 1, 2 and 3 in this configuration. Note: tier 0 is implicitly defined as a global fallback and selected for devices that don't match any of the tiers explicitly defined here. You mustn't define level 0 explicitly in this configuration.",
          "type": "integer"
        }
      },
      "description": "A single device tier. Devices matching any of the device groups in device_group_names are considered to match the tier.",
      "type": "object",
      "id": "DeviceTier"
    },
    "PageInfo": {
      "id": "PageInfo",
      "properties": {
        "resultPerPage": {
          "format": "int32",
          "description": "Maximum number of results returned in one page. ! The number of results included in the API response.",
          "type": "integer"
        },
        "startIndex": {
          "description": "Index of the first result returned in the current page.",
          "type": "integer",
          "format": "int32"
        },
        "totalResults": {
          "description": "Total number of results available on the backend ! The total number of results in the result set.",
          "type": "integer",
          "format": "int32"
        }
      },
      "description": "Information about the current page. List operations that supports paging return only one \"page\" of results. This protocol buffer message describes the page that has been returned.",
      "type": "object"
    },
    "UserCountriesTargeting": {
      "id": "UserCountriesTargeting",
      "description": "Describes an inclusive/exclusive list of country codes that module targets.",
      "type": "object",
      "properties": {
        "countryCodes": {
          "items": {
            "type": "string"
          },
          "description": "List of country codes in the two-letter CLDR territory format.",
          "type": "array"
        },
        "exclude": {
          "description": "Indicates if the list above is exclusive.",
          "type": "boolean"
        }
      }
    },
    "PreorderDetails": {
      "id": "PreorderDetails",
      "description": "Details of a pre-order purchase.",
      "type": "object",
      "properties": {}
    },
    "OtherRegionsBasePlanConfig": {
      "id": "OtherRegionsBasePlanConfig",
      "properties": {
        "newSubscriberAvailability": {
          "description": "Whether the base plan is available for new subscribers in any new locations Play may launch in. If not specified, this will default to false.",
          "type": "boolean"
        },
        "eurPrice": {
          "$ref": "Money",
          "description": "Required. Price in EUR to use for any new locations Play may launch in."
        },
        "usdPrice": {
          "$ref": "Money",
          "description": "Required. Price in USD to use for any new locations Play may launch in."
        }
      },
      "description": "Pricing information for any new locations Play may launch in.",
      "type": "object"
    },
    "OfferTag": {
      "properties": {
        "tag": {
          "description": "Must conform with RFC-1034. That is, this string can only contain lower-case letters (a-z), numbers (0-9), and hyphens (-), and be at most 20 characters.",
          "type": "string"
        }
      },
      "description": "Represents a custom tag specified for a product offer.",
      "type": "object",
      "id": "OfferTag"
    },
    "ExternalAccountIdentifiers": {
      "description": "User account identifier in the third-party service.",
      "type": "object",
      "properties": {
        "obfuscatedExternalAccountId": {
          "description": "An obfuscated version of the id that is uniquely associated with the user's account in your app. Present for the following purchases: * If account linking happened as part of the subscription purchase flow. * It was specified using https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid when the purchase was made.",
          "type": "string"
        },
        "externalAccountId": {
          "description": "User account identifier in the third-party service. Only present if account linking happened as part of the subscription purchase flow.",
          "type": "string"
        },
        "obfuscatedExternalProfileId": {
          "description": "An obfuscated version of the id that is uniquely associated with the user's profile in your app. Only present if specified using https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid when the purchase was made.",
          "type": "string"
        }
      },
      "id": "ExternalAccountIdentifiers"
    },
    "DeviceRam": {
      "id": "DeviceRam",
      "properties": {
        "maxBytes": {
          "format": "int64",
          "description": "Maximum RAM in bytes (bound excluded).",
          "type": "string"
        },
        "minBytes": {
          "format": "int64",
          "description": "Minimum RAM in bytes (bound included).",
          "type": "string"
        }
      },
      "description": "Conditions about a device's RAM capabilities.",
      "type": "object"
    },
    "BatchUpdateOneTimeProductOfferStatesResponse": {
      "properties": {
        "oneTimeProductOffers": {
          "items": {
            "$ref": "OneTimeProductOffer"
          },
          "description": "The updated one-time product offers list, in the same order as the request.",
          "type": "array"
        }
      },
      "description": "Response message for BatchUpdateOneTimeProductOfferStates.",
      "type": "object",
      "id": "BatchUpdateOneTimeProductOfferStatesResponse"
    },
    "TestPurchaseContext": {
      "id": "TestPurchaseContext",
      "description": "Context about a test purchase.",
      "type": "object",
      "properties": {
        "fopType": {
          "description": "The fop type of the test purchase.",
          "type": "string",
          "enumDescriptions": [
            "Fop type unspecified. This value should never be set.",
            "The purchase was made using a test card."
          ],
          "enum": [
            "FOP_TYPE_UNSPECIFIED",
            "TEST"
          ]
        }
      }
    },
    "BatchUpdateOneTimeProductsResponse": {
      "description": "Response message for BatchUpdateOneTimeProduct.",
      "type": "object",
      "properties": {
        "oneTimeProducts": {
          "description": "The list of updated one-time products list, in the same order as the request.",
          "type": "array",
          "items": {
            "$ref": "OneTimeProduct"
          }
        }
      },
      "id": "BatchUpdateOneTimeProductsResponse"
    },
    "CancelAppRecoveryRequest": {
      "description": "Request message for CancelAppRecovery.",
      "type": "object",
      "properties": {},
      "id": "CancelAppRecoveryRequest"
    },
    "MultiAbiTargeting": {
      "description": "Targeting based on multiple abis.",
      "type": "object",
      "properties": {
        "value": {
          "items": {
            "$ref": "MultiAbi"
          },
          "description": "Value of a multi abi.",
          "type": "array"
        },
        "alternatives": {
          "items": {
            "$ref": "MultiAbi"
          },
          "description": "Targeting of other sibling directories that were in the Bundle. For main splits this is targeting of other main splits.",
          "type": "array"
        }
      },
      "id": "MultiAbiTargeting"
    },
    "BatchGetOneTimeProductOffersResponse": {
      "id": "BatchGetOneTimeProductOffersResponse",
      "properties": {
        "oneTimeProductOffers": {
          "items": {
            "$ref": "OneTimeProductOffer"
          },
          "description": "The list of updated one-time product offers, in the same order as the request.",
          "type": "array"
        }
      },
      "description": "Response message for the BatchGetOneTimeProductOffers endpoint.",
      "type": "object"
    },
    "PendingCancellation": {
      "id": "PendingCancellation",
      "description": "This is an indicator of whether there is a pending cancellation on the virtual installment plan. The cancellation will happen only after the user finished all committed payments.",
      "type": "object",
      "properties": {}
    },
    "MigrateBasePlanPricesResponse": {
      "id": "MigrateBasePlanPricesResponse",
      "description": "Response message for MigrateBasePlanPrices.",
      "type": "object",
      "properties": {}
    },
    "RegionalBasePlanConfig": {
      "description": "Configuration for a base plan specific to a region.",
      "type": "object",
      "properties": {
        "newSubscriberAvailability": {
          "description": "Whether the base plan in the specified region is available for new subscribers. Existing subscribers will not have their subscription canceled if this value is set to false. If not specified, this will default to false.",
          "type": "boolean"
        },
        "price": {
          "$ref": "Money",
          "description": "The price of the base plan in the specified region. Must be set if the base plan is available to new subscribers. Must be set in the currency that is linked to the specified region."
        },
        "regionCode": {
          "description": "Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g. \"US\".",
          "type": "string"
        }
      },
      "id": "RegionalBasePlanConfig"
    },
    "StandaloneApkMetadata": {
      "id": "StandaloneApkMetadata",
      "description": "Holds data specific to Standalone APKs.",
      "type": "object",
      "properties": {
        "fusedModuleName": {
          "items": {
            "type": "string"
          },
          "description": "Names of the modules fused in this standalone APK.",
          "type": "array"
        }
      }
    },
    "MultiAbi": {
      "id": "MultiAbi",
      "properties": {
        "abi": {
          "description": "A list of targeted ABIs, as represented by the Android Platform",
          "type": "array",
          "items": {
            "$ref": "Abi"
          }
        }
      },
      "description": "Represents a list of ABIs.",
      "type": "object"
    },
    "OneTimeProductListing": {
      "id": "OneTimeProductListing",
      "properties": {
        "title": {
          "description": "Required. The title of this product in the language of this listing. The maximum length is 55 characters.",
          "type": "string"
        },
        "description": {
          "description": "Required. The description of this product in the language of this listing. The maximum length is 200 characters.",
          "type": "string"
        },
        "languageCode": {
          "description": "Required. The language of this listing, as defined by BCP-47, e.g., \"en-US\".",
          "type": "string"
        }
      },
      "description": "Regional store listing for a one-time product.",
      "type": "object"
    },
    "DeviceSelector": {
      "properties": {
        "requiredSystemFeatures": {
          "description": "A device needs to have all these system features to be included by the selector.",
          "type": "array",
          "items": {
            "$ref": "SystemFeature"
          }
        },
        "deviceRam": {
          "description": "Conditions on the device's RAM.",
          "$ref": "DeviceRam"
        },
        "includedDeviceIds": {
          "items": {
            "$ref": "DeviceId"
          },
          "description": "Device models included by this selector.",
          "type": "array"
        },
        "excludedDeviceIds": {
          "description": "Device models excluded by this selector, even if they match all other conditions.",
          "type": "array",
          "items": {
            "$ref": "DeviceId"
          }
        },
        "systemOnChips": {
          "description": "Optional. The SoCs included by this selector. Only works for Android S+ devices.",
          "type": "array",
          "items": {
            "$ref": "SystemOnChip"
          }
        },
        "forbiddenSystemFeatures": {
          "items": {
            "$ref": "SystemFeature"
          },
          "description": "A device that has any of these system features is excluded by this selector, even if it matches all other conditions.",
          "type": "array"
        }
      },
      "description": "Selector for a device group. A selector consists of a set of conditions on the device that should all match (logical AND) to determine a device group eligibility. For instance, if a selector specifies RAM conditions, device model inclusion and device model exclusion, a device is considered to match if: device matches RAM conditions AND device matches one of the included device models AND device doesn't match excluded device models",
      "type": "object",
      "id": "DeviceSelector"
    },
    "TargetingInfo": {
      "id": "TargetingInfo",
      "description": "Targeting information about the generated apks.",
      "type": "object",
      "properties": {
        "packageName": {
          "description": "The package name of this app.",
          "type": "string"
        },
        "assetSliceSet": {
          "items": {
            "$ref": "AssetSliceSet"
          },
          "description": "List of created asset slices.",
          "type": "array"
        },
        "variant": {
          "items": {
            "$ref": "SplitApkVariant"
          },
          "description": "List of the created variants.",
          "type": "array"
        }
      }
    },
    "CanceledStateContext": {
      "properties": {
        "developerInitiatedCancellation": {
          "$ref": "DeveloperInitiatedCancellation",
          "description": "Subscription was canceled by the developer."
        },
        "replacementCancellation": {
          "description": "Subscription was replaced by a new subscription.",
          "$ref": "ReplacementCancellation"
        },
        "systemInitiatedCancellation": {
          "$ref": "SystemInitiatedCancellation",
          "description": "Subscription was canceled by the system, for example because of a billing problem."
        },
        "userInitiatedCancellation": {
          "description": "Subscription was canceled by user.",
          "$ref": "UserInitiatedCancellation"
        }
      },
      "description": "Information specific to a subscription in the SUBSCRIPTION_STATE_CANCELED or SUBSCRIPTION_STATE_EXPIRED state.",
      "type": "object",
      "id": "CanceledStateContext"
    },
    "PrepaidPlan": {
      "id": "PrepaidPlan",
      "properties": {
        "allowExtendAfterTime": {
          "format": "google-datetime",
          "description": "If present, this is the time after which top up purchases are allowed for the prepaid plan. Will not be present for expired prepaid plans.",
          "type": "string"
        }
      },
      "description": "Information related to a prepaid plan.",
      "type": "object"
    },
    "CancellationContext": {
      "id": "CancellationContext",
      "properties": {
        "cancellationType": {
          "enum": [
            "CANCELLATION_TYPE_UNSPECIFIED",
            "USER_REQUESTED_STOP_RENEWALS",
            "DEVELOPER_REQUESTED_STOP_PAYMENTS"
          ],
          "enumDescriptions": [
            "Cancellation type unspecified.",
            "Cancellation requested by the user, and the subscription can be restored. It only stops the subscription's next renewal. For an installment subscription, users still need to finish the commitment period. For more details on renewals and payments, see https://developer.android.com/google/play/billing/subscriptions#installments",
            "Cancellation requested by the developer, and the subscription cannot be restored. It stops the subscription's next payment. For an installment subscription, users will not need to pay the next payment and finish the commitment period. For more details on renewals and payments, see https://developer.android.com/google/play/billing/subscriptions#installments"
          ],
          "description": "Required. The type of cancellation for the purchased subscription.",
          "type": "string"
        }
      },
      "description": "Cancellation context of the purchases.subscriptionsv2.cancel API.",
      "type": "object"
    },
    "ImagesUploadResponse": {
      "id": "ImagesUploadResponse",
      "properties": {
        "image": {
          "description": "The uploaded image.",
          "$ref": "Image"
        }
      },
      "description": "Response for uploading an image.",
      "type": "object"
    },
    "ConvertedOtherRegionsPrice": {
      "description": "Converted other regions prices.",
      "type": "object",
      "properties": {
        "usdPrice": {
          "description": "Price in USD to use for the \"Other regions\" location exclusive of taxes.",
          "$ref": "Money"
        },
        "eurPrice": {
          "description": "Price in EUR to use for the \"Other regions\" location exclusive of taxes.",
          "$ref": "Money"
        }
      },
      "id": "ConvertedOtherRegionsPrice"
    },
    "RegionalTaxRateInfo": {
      "id": "RegionalTaxRateInfo",
      "description": "Specified details about taxation in a given geographical region.",
      "type": "object",
      "properties": {
        "taxTier": {
          "enum": [
            "TAX_TIER_UNSPECIFIED",
            "TAX_TIER_BOOKS_1",
            "TAX_TIER_NEWS_1",
            "TAX_TIER_NEWS_2",
            "TAX_TIER_MUSIC_OR_AUDIO_1",
            "TAX_TIER_LIVE_OR_BROADCAST_1"
          ],
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "description": "Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).",
          "type": "string"
        },
        "eligibleForStreamingServiceTaxRate": {
          "description": "You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.",
          "type": "boolean"
        },
        "streamingTaxType": {
          "description": "To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).",
          "type": "string",
          "enumDescriptions": [
            "No telecommunications tax collected.",
            "US-specific telecommunications tax tier for video streaming, on demand, rentals / subscriptions / pay-per-view.",
            "US-specific telecommunications tax tier for video streaming of pre-recorded content like movies, tv shows.",
            "US-specific telecommunications tax tier for video streaming of multi-channel programming.",
            "US-specific telecommunications tax tier for audio streaming, rental / subscription.",
            "US-specific telecommunications tax tier for audio streaming, sale / permanent download.",
            "US-specific telecommunications tax tier for multi channel audio streaming like radio."
          ],
          "enum": [
            "STREAMING_TAX_TYPE_UNSPECIFIED",
            "STREAMING_TAX_TYPE_TELCO_VIDEO_RENTAL",
            "STREAMING_TAX_TYPE_TELCO_VIDEO_SALES",
            "STREAMING_TAX_TYPE_TELCO_VIDEO_MULTI_CHANNEL",
            "STREAMING_TAX_TYPE_TELCO_AUDIO_RENTAL",
            "STREAMING_TAX_TYPE_TELCO_AUDIO_SALES",
            "STREAMING_TAX_TYPE_TELCO_AUDIO_MULTI_CHANNEL"
          ]
        }
      }
    },
    "Order": {
      "description": "The Order resource encapsulates comprehensive information about a transaction made on Google Play. It includes a variety of attributes that provide details about the order itself, the products purchased, and the history of events related to the order. The Orders APIs provide real-time access to your order data within the Google Play ecosystem. You can retrieve detailed information and metadata for both one-time and recurring orders, including transaction details like charges, taxes, and refunds, as well as metadata such as pricing phases for subscriptions. The Orders APIs let you automate tasks related to order management, reducing the need for manual checks via the Play Developer Console. The following are some of the use cases for this API: + Real-time order data retrieval - Get order details and metadata immediately after a purchase using an order ID. + Order update synchronization - Periodically sync order updates to maintain an up-to-date record of order information. Note: + The Orders API calls count towards your Play Developer API quota, which defaults to 200K daily, and may be insufficient to sync extensive order histories. + A maximum of 1000 orders can be retrieved per call. Using larger page sizes is recommended to minimize quota usage. Check your quota in the Cloud Console and request more if required.",
      "type": "object",
      "properties": {
        "lastEventTime": {
          "description": "The time of the last event that occurred on the order.",
          "type": "string",
          "format": "google-datetime"
        },
        "total": {
          "description": "The final amount paid by the customer, taking into account discounts and taxes.",
          "$ref": "Money"
        },
        "state": {
          "enumDescriptions": [
            "State unspecified. This value is not used.",
            "Order has been created and is waiting to be processed.",
            "Order has been successfully processed.",
            "Order was canceled before being processed.",
            "Requested refund is waiting to be processed.",
            "Part of the order amount was refunded.",
            "The full order amount was refunded."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "PENDING",
            "PROCESSED",
            "CANCELED",
            "PENDING_REFUND",
            "PARTIALLY_REFUNDED",
            "REFUNDED"
          ],
          "description": "The state of the order.",
          "type": "string"
        },
        "orderId": {
          "description": "The order ID.",
          "type": "string"
        },
        "lineItems": {
          "description": "The individual line items making up this order.",
          "type": "array",
          "items": {
            "$ref": "LineItem"
          }
        },
        "orderDetails": {
          "$ref": "OrderDetails",
          "description": "Detailed information about the order at creation time."
        },
        "pointsDetails": {
          "description": "Play points applied to the order, including offer information, discount rate and point values.",
          "$ref": "PointsDetails"
        },
        "createTime": {
          "description": "The time when the order was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "developerRevenueInBuyerCurrency": {
          "$ref": "Money",
          "description": "Your revenue for this order in the buyer's currency, including deductions of partial refunds, taxes and fees. Google deducts standard transaction and third party fees from each sale, including VAT in some regions."
        },
        "buyerAddress": {
          "$ref": "BuyerAddress",
          "description": "Address information for the customer, for use in tax computation. When Google is the Merchant of Record for the order, only country is shown."
        },
        "salesChannel": {
          "enumDescriptions": [
            "Sales channel unspecified. This value is not used.",
            "Standard orders that initiated from in-app.",
            "Orders initiated from a PC emulator for in-app purchases.",
            "Orders initiated from a native PC app for in-app purchases.",
            "Orders initiated from the Google Play store.",
            "Orders initiated outside the Google Play store."
          ],
          "enum": [
            "SALES_CHANNEL_UNSPECIFIED",
            "IN_APP",
            "PC_EMULATOR",
            "NATIVE_PC",
            "PLAY_STORE",
            "OUTSIDE_PLAY_STORE"
          ],
          "description": "The originating sales channel of the order.",
          "type": "string"
        },
        "tax": {
          "description": "The total tax paid as a part of this order.",
          "$ref": "Money"
        },
        "orderHistory": {
          "description": "Details about events which modified the order.",
          "$ref": "OrderHistory"
        },
        "purchaseToken": {
          "description": "The token provided to the user's device when the subscription or item was purchased.",
          "type": "string"
        }
      },
      "id": "Order"
    },
    "ProductPurchasesAcknowledgeRequest": {
      "id": "ProductPurchasesAcknowledgeRequest",
      "properties": {
        "developerPayload": {
          "description": "Payload to attach to the purchase.",
          "type": "string"
        }
      },
      "description": "Request for the product.purchases.acknowledge API.",
      "type": "object"
    },
    "BatchUpdateSubscriptionOfferStatesResponse": {
      "properties": {
        "subscriptionOffers": {
          "description": "The updated subscription offers list.",
          "type": "array",
          "items": {
            "$ref": "SubscriptionOffer"
          }
        }
      },
      "description": "Response message for BatchUpdateSubscriptionOfferStates.",
      "type": "object",
      "id": "BatchUpdateSubscriptionOfferStatesResponse"
    },
    "TrackTargetedCountry": {
      "id": "TrackTargetedCountry",
      "description": "Representation of a single country where the contents of a track can be made available.",
      "type": "object",
      "properties": {
        "countryCode": {
          "description": "The country that can be targeted, as a two-letter CLDR code.",
          "type": "string"
        }
      }
    },
    "IntroductoryPriceDetails": {
      "description": "Details of an introductory price pricing phase.",
      "type": "object",
      "properties": {},
      "id": "IntroductoryPriceDetails"
    },
    "UpdateSubscriptionRequest": {
      "description": "Request message for UpdateSubscription.",
      "type": "object",
      "properties": {
        "latencyTolerance": {
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "type": "string",
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ],
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ]
        },
        "subscription": {
          "$ref": "Subscription",
          "description": "Required. The subscription to update."
        },
        "updateMask": {
          "description": "Required. The list of fields to be updated.",
          "type": "string",
          "format": "google-fieldmask"
        },
        "regionsVersion": {
          "$ref": "RegionsVersion",
          "description": "Required. The version of the available regions being used for the subscription."
        },
        "allowMissing": {
          "description": "Optional. If set to true, and the subscription with the given package_name and product_id doesn't exist, the subscription will be created. If a new subscription is created, update_mask is ignored.",
          "type": "boolean"
        }
      },
      "id": "UpdateSubscriptionRequest"
    },
    "BatchUpdateSubscriptionOffersResponse": {
      "id": "BatchUpdateSubscriptionOffersResponse",
      "properties": {
        "subscriptionOffers": {
          "items": {
            "$ref": "SubscriptionOffer"
          },
          "description": "The updated subscription offers list.",
          "type": "array"
        }
      },
      "description": "Response message for BatchUpdateSubscriptionOffers.",
      "type": "object"
    },
    "BatchUpdateSubscriptionOffersRequest": {
      "id": "BatchUpdateSubscriptionOffersRequest",
      "properties": {
        "requests": {
          "description": "Required. A list of update requests of up to 100 elements. All requests must update different subscription offers.",
          "type": "array",
          "items": {
            "$ref": "UpdateSubscriptionOfferRequest"
          }
        }
      },
      "description": "Request message for BatchUpdateSubscriptionOffers.",
      "type": "object"
    },
    "BatchUpdatePurchaseOptionStatesResponse": {
      "id": "BatchUpdatePurchaseOptionStatesResponse",
      "properties": {
        "oneTimeProducts": {
          "items": {
            "$ref": "OneTimeProduct"
          },
          "description": "The list of updated one-time products. This list will match the requests one to one, in the same order.",
          "type": "array"
        }
      },
      "description": "Response message for BatchUpdatePurchaseOptionStates.",
      "type": "object"
    },
    "OneTimeProductBuyPurchaseOption": {
      "id": "OneTimeProductBuyPurchaseOption",
      "properties": {
        "legacyCompatible": {
          "description": "Optional. Whether this purchase option will be available in legacy PBL flows that do not support one-time products model. Up to one \"buy\" purchase option can be marked as backwards compatible.",
          "type": "boolean"
        },
        "multiQuantityEnabled": {
          "description": "Optional. Whether this purchase option allows multi-quantity. Multi-quantity allows buyer to purchase more than one item in a single checkout.",
          "type": "boolean"
        }
      },
      "description": "A purchase option that can be bought.",
      "type": "object"
    },
    "PaidAppDetails": {
      "properties": {},
      "description": "Details of a paid app purchase.",
      "type": "object",
      "id": "PaidAppDetails"
    },
    "InappproductsBatchDeleteRequest": {
      "description": "Request to delete multiple in-app products.",
      "type": "object",
      "properties": {
        "requests": {
          "items": {
            "$ref": "InappproductsDeleteRequest"
          },
          "description": "Individual delete requests. At least one request is required. Can contain up to 100 requests. All requests must correspond to different in-app products.",
          "type": "array"
        }
      },
      "id": "InappproductsBatchDeleteRequest"
    },
    "ExternalTransaction": {
      "id": "ExternalTransaction",
      "properties": {
        "createTime": {
          "format": "google-datetime",
          "description": "Output only. The time when this transaction was created. This is the time when Google was notified of the transaction.",
          "type": "string",
          "readOnly": true
        },
        "packageName": {
          "description": "Output only. The resource name of the external transaction. The package name of the application the inapp products were sold (for example, 'com.some.app').",
          "type": "string",
          "readOnly": true
        },
        "transactionProgramCode": {
          "format": "int32",
          "description": "Optional. The transaction program code, used to help determine service fee for eligible apps participating in partner programs. Developers participating in the Play Media Experience Program (https://play.google.com/console/about/programs/mediaprogram/) must provide the program code when reporting alternative billing transactions. If you are an eligible developer, please contact your BDM for more information on how to set this field. Note: this field can not be used for external offers transactions.",
          "type": "integer"
        },
        "testPurchase": {
          "readOnly": true,
          "description": "Output only. If set, this transaction was a test purchase. Google will not charge for a test transaction.",
          "$ref": "ExternalTransactionTestPurchase"
        },
        "originalPreTaxAmount": {
          "$ref": "Price",
          "description": "Required. The original transaction amount before taxes. This represents the pre-tax amount originally notified to Google before any refunds were applied."
        },
        "currentPreTaxAmount": {
          "$ref": "Price",
          "description": "Output only. The current transaction amount before tax. This represents the current pre-tax amount including any refunds that may have been applied to this transaction.",
          "readOnly": true
        },
        "userTaxAddress": {
          "description": "Required. User address for tax computation.",
          "$ref": "ExternalTransactionAddress"
        },
        "externalOfferDetails": {
          "$ref": "ExternalOfferDetails",
          "description": "Optional. Details necessary to accurately report external offers transactions."
        },
        "oneTimeTransaction": {
          "description": "This is a one-time transaction and not part of a subscription.",
          "$ref": "OneTimeExternalTransaction"
        },
        "recurringTransaction": {
          "description": "This transaction is part of a recurring series of transactions.",
          "$ref": "RecurringExternalTransaction"
        },
        "currentTaxAmount": {
          "readOnly": true,
          "description": "Output only. The current tax amount. This represents the current tax amount including any refunds that may have been applied to this transaction.",
          "$ref": "Price"
        },
        "externalTransactionId": {
          "readOnly": true,
          "description": "Output only. The id of this transaction. All transaction ids under the same package name must be unique. Set when creating the external transaction.",
          "type": "string"
        },
        "originalTaxAmount": {
          "$ref": "Price",
          "description": "Required. The original tax amount. This represents the tax amount originally notified to Google before any refunds were applied."
        },
        "transactionTime": {
          "format": "google-datetime",
          "description": "Required. The time when the transaction was completed.",
          "type": "string"
        },
        "transactionState": {
          "readOnly": true,
          "enumDescriptions": [
            "Unspecified transaction state. Not used.",
            "The transaction has been successfully reported to Google.",
            "The transaction has been fully refunded."
          ],
          "description": "Output only. The current state of the transaction.",
          "type": "string",
          "enum": [
            "TRANSACTION_STATE_UNSPECIFIED",
            "TRANSACTION_REPORTED",
            "TRANSACTION_CANCELED"
          ]
        }
      },
      "description": "The details of an external transaction.",
      "type": "object"
    },
    "BatchUpdateOneTimeProductOfferStatesRequest": {
      "id": "BatchUpdateOneTimeProductOfferStatesRequest",
      "properties": {
        "requests": {
          "description": "Required. The update request list of up to 100 elements. All requests must update different offers.",
          "type": "array",
          "items": {
            "$ref": "UpdateOneTimeProductOfferStateRequest"
          }
        }
      },
      "description": "Request message for BatchUpdateOneTimeProductOfferStates.",
      "type": "object"
    },
    "TargetingUpdate": {
      "id": "TargetingUpdate",
      "description": "Update type for targeting. Note it is always a subset Targeting.",
      "type": "object",
      "properties": {
        "allUsers": {
          "$ref": "AllUsers",
          "description": "All users are targeted."
        },
        "regions": {
          "$ref": "Regions",
          "description": "Additional regions are targeted by the recovery action."
        },
        "androidSdks": {
          "$ref": "AndroidSdks",
          "description": "Additional android sdk levels are targeted by the recovery action."
        }
      }
    },
    "ManagedProductTaxAndComplianceSettings": {
      "description": "Details about taxation and legal compliance for managed products.",
      "type": "object",
      "properties": {
        "eeaWithdrawalRightType": {
          "description": "Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.",
          "type": "string",
          "enum": [
            "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED",
            "WITHDRAWAL_RIGHT_DIGITAL_CONTENT",
            "WITHDRAWAL_RIGHT_SERVICE"
          ],
          "enumDescriptions": [
            "",
            "",
            ""
          ]
        },
        "regionalProductAgeRatingInfos": {
          "items": {
            "$ref": "RegionalProductAgeRatingInfo"
          },
          "description": "Regional age rating information. Currently this field is only supported for region code `US`.",
          "type": "array"
        },
        "taxRateInfoByRegionCode": {
          "description": "A mapping from region code to tax rate details. The keys are region codes as defined by Unicode's \"CLDR\".",
          "type": "object",
          "additionalProperties": {
            "$ref": "RegionalTaxRateInfo"
          }
        },
        "isTokenizedDigitalAsset": {
          "description": "Whether this in-app product is declared as a product representing a tokenized digital asset.",
          "type": "boolean"
        },
        "productTaxCategoryCode": {
          "description": "Product tax category code to assign to the in-app product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.",
          "type": "string"
        }
      },
      "id": "ManagedProductTaxAndComplianceSettings"
    },
    "ApksListResponse": {
      "id": "ApksListResponse",
      "description": "Response listing all APKs.",
      "type": "object",
      "properties": {
        "kind": {
          "description": "The kind of this response (\"androidpublisher#apksListResponse\").",
          "type": "string"
        },
        "apks": {
          "items": {
            "$ref": "Apk"
          },
          "description": "All APKs.",
          "type": "array"
        }
      }
    },
    "GetSubscriptionOfferRequest": {
      "id": "GetSubscriptionOfferRequest",
      "description": "Request message for GetSubscriptionOffer.",
      "type": "object",
      "properties": {
        "packageName": {
          "description": "Required. The parent app (package name) of the offer to get.",
          "type": "string"
        },
        "basePlanId": {
          "description": "Required. The parent base plan (ID) of the offer to get.",
          "type": "string"
        },
        "offerId": {
          "description": "Required. The unique offer ID of the offer to get.",
          "type": "string"
        },
        "productId": {
          "description": "Required. The parent subscription (ID) of the offer to get.",
          "type": "string"
        }
      }
    },
    "ItemReplacement": {
      "id": "ItemReplacement",
      "properties": {
        "replacementMode": {
          "enum": [
            "REPLACEMENT_MODE_UNSPECIFIED",
            "WITH_TIME_PRORATION",
            "CHARGE_PRORATED_PRICE",
            "WITHOUT_PRORATION",
            "CHARGE_FULL_PRICE",
            "DEFERRED",
            "KEEP_EXISTING"
          ],
          "enumDescriptions": [
            "Unspecified replacement mode.",
            "The new plan will be prorated and credited from the old plan.",
            "The user will be charged a prorated price for the new plan.",
            "The new plan will replace the old one without prorating the time.",
            "The user will be charged the full price for the new plan.",
            "The old plan will be cancelled and the new plan will be effective after the old one expires.",
            "The plan will remain unchanged with this replacement."
          ],
          "description": "The replacement mode applied during the purchase.",
          "type": "string"
        },
        "basePlanId": {
          "description": "The base plan ID of the subscription line item being replaced.",
          "type": "string"
        },
        "offerId": {
          "description": "The offer ID of the subscription line item being replaced, if applicable.",
          "type": "string"
        },
        "productId": {
          "description": "The product ID of the subscription line item being replaced.",
          "type": "string"
        }
      },
      "description": "Details about a subscription line item that is being replaced.",
      "type": "object"
    },
    "ApkSet": {
      "id": "ApkSet",
      "properties": {
        "moduleMetadata": {
          "$ref": "ModuleMetadata",
          "description": "Metadata about the module represented by this ApkSet"
        },
        "apkDescription": {
          "description": "Description of the generated apks.",
          "type": "array",
          "items": {
            "$ref": "ApkDescription"
          }
        }
      },
      "description": "A set of apks representing a module.",
      "type": "object"
    },
    "RevocationContext": {
      "id": "RevocationContext",
      "description": "Revocation context of the purchases.subscriptionsv2.revoke API.",
      "type": "object",
      "properties": {
        "itemBasedRefund": {
          "$ref": "RevocationContextItemBasedRefund",
          "description": "Optional. Used when a specific item should be refunded in a subscription with add-on items."
        },
        "fullRefund": {
          "$ref": "RevocationContextFullRefund",
          "description": "Optional. Used when users should be refunded the full amount of latest charge on each item in the subscription."
        },
        "proratedRefund": {
          "description": "Optional. Used when users should be refunded a prorated amount they paid for their subscription based on the amount of time remaining in a subscription.",
          "$ref": "RevocationContextProratedRefund"
        }
      }
    },
    "ApksAddExternallyHostedResponse": {
      "id": "ApksAddExternallyHostedResponse",
      "properties": {
        "externallyHostedApk": {
          "description": "The definition of the externally-hosted APK and where it is located.",
          "$ref": "ExternallyHostedApk"
        }
      },
      "description": "Response for creating a new externally hosted APK.",
      "type": "object"
    },
    "CancelSubscriptionPurchaseRequest": {
      "id": "CancelSubscriptionPurchaseRequest",
      "properties": {
        "cancellationContext": {
          "description": "Required. Additional details around the subscription revocation.",
          "$ref": "CancellationContext"
        }
      },
      "description": "Request for the purchases.subscriptionsv2.cancel API.",
      "type": "object"
    },
    "OneTimeProductOfferNoPriceOverrideOptions": {
      "id": "OneTimeProductOfferNoPriceOverrideOptions",
      "properties": {},
      "description": "Options for one-time product offers without a regional price override.",
      "type": "object"
    },
    "RegionalPriceMigrationConfig": {
      "properties": {
        "regionCode": {
          "description": "Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g. \"US\".",
          "type": "string"
        },
        "priceIncreaseType": {
          "enum": [
            "PRICE_INCREASE_TYPE_UNSPECIFIED",
            "PRICE_INCREASE_TYPE_OPT_IN",
            "PRICE_INCREASE_TYPE_OPT_OUT"
          ],
          "enumDescriptions": [
            "Unspecified state.",
            "Subscribers must accept the price increase or their subscription is canceled.",
            "Subscribers are notified but do not have to accept the price increase. Opt-out price increases not meeting regional, frequency, and amount limits will proceed as opt-in price increase. The first opt-out price increase for each app must be initiated in the Google Play Console."
          ],
          "description": "Optional. The requested type of price increase",
          "type": "string"
        },
        "oldestAllowedPriceVersionTime": {
          "format": "google-datetime",
          "description": "Required. Subscribers in all legacy price cohorts before this time will be migrated to the current price. Subscribers in any newer price cohorts are unaffected. Affected subscribers will receive one or more notifications from Google Play about the price change. Price decreases occur at the subscriber's next billing date. Price increases occur at the subscriber's next billing date following a notification period that varies by region and price increase type.",
          "type": "string"
        }
      },
      "description": "Configuration for migration of a legacy price cohort.",
      "type": "object",
      "id": "RegionalPriceMigrationConfig"
    },
    "RemoteInAppUpdate": {
      "id": "RemoteInAppUpdate",
      "description": "Object representation for Remote in-app update action type.",
      "type": "object",
      "properties": {
        "isRemoteInAppUpdateRequested": {
          "description": "Required. Set to true if Remote In-App Update action type is needed.",
          "type": "boolean"
        }
      }
    },
    "OneTimeProductPreOrderOffer": {
      "id": "OneTimeProductPreOrderOffer",
      "properties": {
        "endTime": {
          "description": "Required. Time when the pre-order will stop being available.",
          "type": "string",
          "format": "google-datetime"
        },
        "priceChangeBehavior": {
          "enum": [
            "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_UNSPECIFIED",
            "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_TWO_POINT_LOWEST",
            "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_NEW_ORDERS_ONLY"
          ],
          "enumDescriptions": [
            "Unspecified price change behavior. Must not be used.",
            "The buyer gets charged the minimum between the initial price at the time of pre-order and the final offer price on the release date.",
            "The buyer gets the same price as the one they pre-ordered, regardless of any price changes that may have happened after the pre-order."
          ],
          "description": "Required. Immutable. Specifies how price changes affect pre-existing pre-orders.",
          "type": "string"
        },
        "releaseTime": {
          "format": "google-datetime",
          "description": "Required. Time on which the product associated with the pre-order will be released and the pre-order orders fulfilled.",
          "type": "string"
        },
        "startTime": {
          "format": "google-datetime",
          "description": "Required. Time when the pre-order will start being available.",
          "type": "string"
        }
      },
      "description": "Configuration specific to pre-order offers.",
      "type": "object"
    },
    "RevocationContextProratedRefund": {
      "description": "Used to determine if the refund type in the RevocationContext is a prorated refund.",
      "type": "object",
      "properties": {},
      "id": "RevocationContextProratedRefund"
    },
    "Regions": {
      "id": "Regions",
      "description": "Region targeting data for app recovery action targeting.",
      "type": "object",
      "properties": {
        "regionCode": {
          "description": "Regions targeted by the recovery action. Region codes are ISO 3166 Alpha-2 country codes. For example, US stands for United States of America. See https://www.iso.org/iso-3166-country-codes.html for the complete list of country codes.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "RemoteInAppUpdateData": {
      "id": "RemoteInAppUpdateData",
      "properties": {
        "remoteAppUpdateDataPerBundle": {
          "description": "Data related to the recovery action at bundle level.",
          "type": "array",
          "items": {
            "$ref": "RemoteInAppUpdateDataPerBundle"
          }
        }
      },
      "description": "Data related to Remote In-App Update action such as recovered user count, affected user count etc.",
      "type": "object"
    },
    "OfferPhaseDetails": {
      "id": "OfferPhaseDetails",
      "description": "Details of a pricing phase for the entitlement period funded by this order.",
      "type": "object",
      "properties": {
        "freeTrialDetails": {
          "description": "The order funds a free trial period.",
          "$ref": "FreeTrialDetails"
        },
        "prorationPeriodDetails": {
          "$ref": "ProrationPeriodDetails",
          "description": "The order funds a proration period."
        },
        "introductoryPriceDetails": {
          "description": "The order funds an introductory pricing period.",
          "$ref": "IntroductoryPriceDetails"
        },
        "baseDetails": {
          "$ref": "BaseDetails",
          "description": "The order funds a base price period."
        }
      }
    },
    "UpdatePurchaseOptionStateRequest": {
      "description": "Request message to update the state of a one-time product purchase option.",
      "type": "object",
      "properties": {
        "activatePurchaseOptionRequest": {
          "$ref": "ActivatePurchaseOptionRequest",
          "description": "Activates a purchase option. Once activated, the purchase option will be available."
        },
        "deactivatePurchaseOptionRequest": {
          "description": "Deactivates a purchase option. Once deactivated, the purchase option will become unavailable.",
          "$ref": "DeactivatePurchaseOptionRequest"
        }
      },
      "id": "UpdatePurchaseOptionStateRequest"
    },
    "ConvertRegionPricesRequest": {
      "id": "ConvertRegionPricesRequest",
      "properties": {
        "price": {
          "description": "The intital price to convert other regions from. Tax exclusive.",
          "$ref": "Money"
        },
        "productTaxCategoryCode": {
          "description": "Optional. Product tax category code in context. Product tax category determines the transaction tax rates applied to the product that will be factored into the price calculation. If not set, tax rates for the default product tax category will be used. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.",
          "type": "string"
        }
      },
      "description": "Request message for ConvertRegionPrices.",
      "type": "object"
    },
    "Variant": {
      "id": "Variant",
      "properties": {
        "options": {
          "description": "Optional. Options applied to the generated APK.",
          "$ref": "SystemApkOptions"
        },
        "deviceSpec": {
          "description": "The device spec used to generate the APK.",
          "$ref": "DeviceSpec"
        },
        "variantId": {
          "readOnly": true,
          "description": "Output only. The ID of a previously created system APK variant.",
          "type": "integer",
          "format": "uint32"
        }
      },
      "description": "APK that is suitable for inclusion in a system image. The resource of SystemApksService.",
      "type": "object"
    },
    "ListReleaseSummariesResponse": {
      "description": "Response listing all releases for a given track that are either ready to be sent for review, in review, approved, not approved or available.",
      "type": "object",
      "properties": {
        "releases": {
          "items": {
            "$ref": "ReleaseSummary"
          },
          "description": "List of releases for this track. A maximum of 20 releases can be returned.",
          "type": "array"
        }
      },
      "id": "ListReleaseSummariesResponse"
    },
    "TracksListResponse": {
      "id": "TracksListResponse",
      "description": "Response listing all tracks.",
      "type": "object",
      "properties": {
        "kind": {
          "description": "The kind of this response (\"androidpublisher#tracksListResponse\").",
          "type": "string"
        },
        "tracks": {
          "description": "All tracks (including tracks with no releases).",
          "type": "array",
          "items": {
            "$ref": "Track"
          }
        }
      }
    },
    "OneTimeProductPurchaseOption": {
      "properties": {
        "purchaseOptionId": {
          "description": "Required. Immutable. The unique identifier of this purchase option. Must be unique within the one-time product. It must start with a number or lower-case letter, and can only contain lower-case letters (a-z), numbers (0-9), and hyphens (-). The maximum length is 63 characters.",
          "type": "string"
        },
        "state": {
          "description": "Output only. The state of the purchase option, i.e., whether it's active. This field cannot be changed by updating the resource. Use the dedicated endpoints instead.",
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "DRAFT",
            "ACTIVE",
            "INACTIVE",
            "INACTIVE_PUBLISHED"
          ],
          "readOnly": true,
          "enumDescriptions": [
            "Default value, should never be used.",
            "The purchase option is not and has never been available to users.",
            "The purchase option is available to users.",
            "The purchase option is not available to users anymore.",
            "The purchase option is not available for purchase anymore, but we continue to expose its offer via the Play Billing Library for backwards compatibility. Only automatically migrated purchase options can be in this state."
          ]
        },
        "rentOption": {
          "$ref": "OneTimeProductRentPurchaseOption",
          "description": "A purchase option that can be rented."
        },
        "newRegionsConfig": {
          "description": "Pricing information for any new locations Play may launch in the future. If omitted, the purchase option will not be automatically available in any new locations Play may launch in the future.",
          "$ref": "OneTimeProductPurchaseOptionNewRegionsConfig"
        },
        "taxAndComplianceSettings": {
          "description": "Optional. Details about taxes and legal compliance.",
          "$ref": "PurchaseOptionTaxAndComplianceSettings"
        },
        "offerTags": {
          "description": "Optional. List of up to 20 custom tags specified for this purchase option, and returned to the app through the billing library. Offers for this purchase option will also receive these tags in the billing library.",
          "type": "array",
          "items": {
            "$ref": "OfferTag"
          }
        },
        "buyOption": {
          "description": "A purchase option that can be bought.",
          "$ref": "OneTimeProductBuyPurchaseOption"
        },
        "regionalPricingAndAvailabilityConfigs": {
          "items": {
            "$ref": "OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig"
          },
          "description": "Regional pricing and availability information for this purchase option.",
          "type": "array"
        }
      },
      "description": "A single purchase option for a one-time product.",
      "type": "object",
      "id": "OneTimeProductPurchaseOption"
    },
    "SubscriptionPurchase": {
      "properties": {
        "promotionCode": {
          "description": "The promotion code applied on this purchase. This field is only set if a vanity code promotion is applied when the subscription was purchased.",
          "type": "string"
        },
        "obfuscatedExternalProfileId": {
          "description": "An obfuscated version of the id that is uniquely associated with the user's profile in your app. Only present if specified using https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid when the purchase was made.",
          "type": "string"
        },
        "obfuscatedExternalAccountId": {
          "description": "An obfuscated version of the id that is uniquely associated with the user's account in your app. Present for the following purchases: * If account linking happened as part of the subscription purchase flow. * It was specified using https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid when the purchase was made.",
          "type": "string"
        },
        "orderId": {
          "description": "The order id of the latest recurring order associated with the purchase of the subscription. If the subscription was canceled because payment was declined, this will be the order id from the payment declined order.",
          "type": "string"
        },
        "autoRenewing": {
          "description": "Whether the subscription will automatically be renewed when it reaches its current expiry time.",
          "type": "boolean"
        },
        "priceAmountMicros": {
          "description": "Price of the subscription, For tax exclusive countries, the price doesn't include tax. For tax inclusive countries, the price includes tax. Price is expressed in micro-units, where 1,000,000 micro-units represents one unit of the currency. For example, if the subscription price is €1.99, price_amount_micros is 1990000.",
          "type": "string",
          "format": "int64"
        },
        "startTimeMillis": {
          "description": "Time at which the subscription was granted, in milliseconds since the Epoch.",
          "type": "string",
          "format": "int64"
        },
        "cancelSurveyResult": {
          "$ref": "SubscriptionCancelSurveyResult",
          "description": "Information provided by the user when they complete the subscription cancellation flow (cancellation reason survey)."
        },
        "cancelReason": {
          "description": "The reason why a subscription was canceled or is not auto-renewing. Possible values are: 0. User canceled the subscription 1. Subscription was canceled by the system, for example because of a billing problem 2. Subscription was replaced with a new subscription 3. Subscription was canceled by the developer",
          "type": "integer",
          "format": "int32"
        },
        "priceCurrencyCode": {
          "description": "ISO 4217 currency code for the subscription price. For example, if the price is specified in British pounds sterling, price_currency_code is \"GBP\".",
          "type": "string"
        },
        "introductoryPriceInfo": {
          "$ref": "IntroductoryPriceInfo",
          "description": "Introductory price information of the subscription. This is only present when the subscription was purchased with an introductory price. This field does not indicate the subscription is currently in introductory price period."
        },
        "paymentState": {
          "format": "int32",
          "description": "The payment state of the subscription. Possible values are: 0. Payment pending 1. Payment received 2. Free trial 3. Pending deferred upgrade/downgrade Not present for canceled, expired subscriptions.",
          "type": "integer"
        },
        "purchaseType": {
          "description": "The type of purchase of the subscription. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: 0. Test (i.e. purchased from a license testing account) 1. Promo (i.e. purchased using a promo code)",
          "type": "integer",
          "format": "int32"
        },
        "promotionType": {
          "format": "int32",
          "description": "The type of promotion applied on this purchase. This field is only set if a promotion is applied when the subscription was purchased. Possible values are: 0. One time code 1. Vanity code",
          "type": "integer"
        },
        "countryCode": {
          "description": "ISO 3166-1 alpha-2 billing country/region code of the user at the time the subscription was granted.",
          "type": "string"
        },
        "userCancellationTimeMillis": {
          "format": "int64",
          "description": "The time at which the subscription was canceled by the user, in milliseconds since the epoch. Only present if cancelReason is 0.",
          "type": "string"
        },
        "givenName": {
          "description": "The given name of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.",
          "type": "string"
        },
        "acknowledgementState": {
          "description": "The acknowledgement state of the subscription product. Possible values are: 0. Yet to be acknowledged 1. Acknowledged",
          "type": "integer",
          "format": "int32"
        },
        "externalAccountId": {
          "description": "User account identifier in the third-party service. Only present if account linking happened as part of the subscription purchase flow.",
          "type": "string"
        },
        "kind": {
          "description": "This kind represents a subscriptionPurchase object in the androidpublisher service.",
          "type": "string"
        },
        "priceChange": {
          "description": "The latest price change information available. This is present only when there is an upcoming price change for the subscription yet to be applied. Once the subscription renews with the new price or the subscription is canceled, no price change information will be returned.",
          "$ref": "SubscriptionPriceChange"
        },
        "expiryTimeMillis": {
          "description": "Time at which the subscription will expire, in milliseconds since the Epoch.",
          "type": "string",
          "format": "int64"
        },
        "linkedPurchaseToken": {
          "description": "The purchase token of the originating purchase if this subscription is one of the following: 0. Re-signup of a canceled but non-lapsed subscription 1. Upgrade/downgrade from a previous subscription For example, suppose a user originally signs up and you receive purchase token X, then the user cancels and goes through the resignup flow (before their subscription lapses) and you receive purchase token Y, and finally the user upgrades their subscription and you receive purchase token Z. If you call this API with purchase token Z, this field will be set to Y. If you call this API with purchase token Y, this field will be set to X. If you call this API with purchase token X, this field will not be set.",
          "type": "string"
        },
        "emailAddress": {
          "description": "The email address of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.",
          "type": "string"
        },
        "profileId": {
          "description": "The Google profile id of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.",
          "type": "string"
        },
        "developerPayload": {
          "description": "A developer-specified string that contains supplemental information about an order.",
          "type": "string"
        },
        "familyName": {
          "description": "The family name of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.",
          "type": "string"
        },
        "autoResumeTimeMillis": {
          "description": "Time at which the subscription will be automatically resumed, in milliseconds since the Epoch. Only present if the user has requested to pause the subscription.",
          "type": "string",
          "format": "int64"
        },
        "profileName": {
          "description": "The profile name of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.",
          "type": "string"
        }
      },
      "description": "A SubscriptionPurchase resource indicates the status of a user's subscription purchase.",
      "type": "object",
      "id": "SubscriptionPurchase"
    },
    "DeviceFeatureTargeting": {
      "properties": {
        "requiredFeature": {
          "description": "Feature of the device.",
          "$ref": "DeviceFeature"
        }
      },
      "description": "Targeting for a device feature.",
      "type": "object",
      "id": "DeviceFeatureTargeting"
    },
    "OneTimeProductOfferRegionalPricingAndAvailabilityConfig": {
      "properties": {
        "relativeDiscount": {
          "format": "double",
          "description": "The fraction of the purchase option price that the user pays for this offer. For example, if the purchase option price for this region is $12, then a 50% discount would correspond to a price of $6. The discount must be specified as a fraction strictly larger than 0 and strictly smaller than 1. The resulting price will be rounded to the nearest billable unit (e.g. cents for USD). The relative discount is considered invalid if the discounted price ends up being smaller than the minimum price allowed in this region.",
          "type": "number"
        },
        "absoluteDiscount": {
          "description": "The absolute value of the discount that is subtracted from the purchase option price. It should be between 0 and the purchase option price.",
          "$ref": "Money"
        },
        "availability": {
          "enum": [
            "AVAILABILITY_UNSPECIFIED",
            "AVAILABLE",
            "NO_LONGER_AVAILABLE"
          ],
          "enumDescriptions": [
            "Unspecified availability. Must not be used.",
            "The offer is available to users.",
            "The offer is no longer available to users. This value can only be used if the availability was previously set as AVAILABLE."
          ],
          "description": "Required. The availability for this region.",
          "type": "string"
        },
        "regionCode": {
          "description": "Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g., \"US\".",
          "type": "string"
        },
        "noOverride": {
          "description": "The price defined in the purchase option for this region will be used.",
          "$ref": "OneTimeProductOfferNoPriceOverrideOptions"
        }
      },
      "description": "Regional pricing and availability configuration for a one-time product offer.",
      "type": "object",
      "id": "OneTimeProductOfferRegionalPricingAndAvailabilityConfig"
    },
    "ExpansionFilesUploadResponse": {
      "description": "Response for uploading an expansion file.",
      "type": "object",
      "properties": {
        "expansionFile": {
          "$ref": "ExpansionFile",
          "description": "The uploaded expansion file configuration."
        }
      },
      "id": "ExpansionFilesUploadResponse"
    },
    "SplitApkVariant": {
      "description": "Variant is a group of APKs that covers a part of the device configuration space. APKs from multiple variants are never combined on one device.",
      "type": "object",
      "properties": {
        "apkSet": {
          "description": "Set of APKs, one set per module.",
          "type": "array",
          "items": {
            "$ref": "ApkSet"
          }
        },
        "variantNumber": {
          "description": "Number of the variant, starting at 0 (unless overridden). A device will receive APKs from the first variant that matches the device configuration, with higher variant numbers having priority over lower variant numbers.",
          "type": "integer",
          "format": "int32"
        },
        "targeting": {
          "$ref": "VariantTargeting",
          "description": "Variant-level targeting."
        }
      },
      "id": "SplitApkVariant"
    },
    "SplitApkMetadata": {
      "id": "SplitApkMetadata",
      "description": "Holds data specific to Split APKs.",
      "type": "object",
      "properties": {
        "splitId": {
          "description": "Id of the split.",
          "type": "string"
        },
        "isMasterSplit": {
          "description": "Indicates whether this APK is the main split of the module.",
          "type": "boolean"
        }
      }
    },
    "AppEdit": {
      "id": "AppEdit",
      "properties": {
        "id": {
          "description": "Output only. Identifier of the edit. Can be used in subsequent API calls.",
          "type": "string",
          "readOnly": true
        },
        "expiryTimeSeconds": {
          "description": "Output only. The time (as seconds since Epoch) at which the edit will expire and will be no longer valid for use.",
          "type": "string",
          "readOnly": true
        }
      },
      "description": "An app edit. The resource for EditsService.",
      "type": "object"
    },
    "SystemApkOptions": {
      "id": "SystemApkOptions",
      "description": "Options for system APKs.",
      "type": "object",
      "properties": {
        "uncompressedNativeLibraries": {
          "description": "Whether system APK was generated with uncompressed native libraries.",
          "type": "boolean"
        },
        "uncompressedDexFiles": {
          "description": "Whether system APK was generated with uncompressed dex files.",
          "type": "boolean"
        },
        "rotated": {
          "description": "Whether to use the rotated key for signing the system APK.",
          "type": "boolean"
        }
      }
    },
    "SafetyLabelsUpdateResponse": {
      "properties": {},
      "description": "Response for SafetyLabelsUpdate rpc.",
      "type": "object",
      "id": "SafetyLabelsUpdateResponse"
    },
    "RegionalProductAgeRatingInfo": {
      "id": "RegionalProductAgeRatingInfo",
      "description": "Details about the age rating for a specific geographic region.",
      "type": "object",
      "properties": {
        "regionCode": {
          "description": "Region code this configuration applies to, as defined by ISO 3166-2, e.g. \"US\".",
          "type": "string"
        },
        "productAgeRatingTier": {
          "description": "The age rating tier of a product for the given region.",
          "type": "string",
          "enum": [
            "PRODUCT_AGE_RATING_TIER_UNKNOWN",
            "PRODUCT_AGE_RATING_TIER_EVERYONE",
            "PRODUCT_AGE_RATING_TIER_THIRTEEN_AND_ABOVE",
            "PRODUCT_AGE_RATING_TIER_SIXTEEN_AND_ABOVE",
            "PRODUCT_AGE_RATING_TIER_EIGHTEEN_AND_ABOVE"
          ],
          "enumDescriptions": [
            "Unknown age rating tier.",
            "Age rating tier for products that are appropriate for all ages.",
            "Age rating tier for products that are appropriate for 13 years and above.",
            "Age rating tier for products that are appropriate for 16 years and above.",
            "Age rating tier for products that are appropriate for 18 years and above."
          ]
        }
      }
    },
    "RevocationContextItemBasedRefund": {
      "id": "RevocationContextItemBasedRefund",
      "properties": {
        "productId": {
          "description": "Required. If the subscription is a subscription with add-ons, the product id of the subscription item to revoke.",
          "type": "string"
        }
      },
      "description": "Used to determine what specific item to revoke in a subscription with multiple items.",
      "type": "object"
    },
    "ExternalTransactionAddress": {
      "id": "ExternalTransactionAddress",
      "properties": {
        "regionCode": {
          "description": "Required. Two letter region code based on ISO-3166-1 Alpha-2 (UN region codes).",
          "type": "string"
        },
        "administrativeArea": {
          "description": "Optional. Top-level administrative subdivision of the country/region. Only required for transactions in India. Valid values are \"ANDAMAN AND NICOBAR ISLANDS\", \"ANDHRA PRADESH\", \"ARUNACHAL PRADESH\", \"ASSAM\", \"BIHAR\", \"CHANDIGARH\", \"CHHATTISGARH\", \"DADRA AND NAGAR HAVELI\", \"DADRA AND NAGAR HAVELI AND DAMAN AND DIU\", \"DAMAN AND DIU\", \"DELHI\", \"GOA\", \"GUJARAT\", \"HARYANA\", \"HIMACHAL PRADESH\", \"JAMMU AND KASHMIR\", \"JHARKHAND\", \"KARNATAKA\", \"KERALA\", \"LADAKH\", \"LAKSHADWEEP\", \"MADHYA PRADESH\", \"MAHARASHTRA\", \"MANIPUR\", \"MEGHALAYA\", \"MIZORAM\", \"NAGALAND\", \"ODISHA\", \"PUDUCHERRY\", \"PUNJAB\", \"RAJASTHAN\", \"SIKKIM\", \"TAMIL NADU\", \"TELANGANA\", \"TRIPURA\", \"UTTAR PRADESH\", \"UTTARAKHAND\", and \"WEST BENGAL\".",
          "type": "string"
        }
      },
      "description": "User's address for the external transaction.",
      "type": "object"
    },
    "SubscriptionPurchaseLineItem": {
      "id": "SubscriptionPurchaseLineItem",
      "properties": {
        "latestSuccessfulOrderId": {
          "description": "The order id of the latest successful order associated with this item. Not present if the item is not owned by the user yet (e.g. the item being deferred replaced to).",
          "type": "string"
        },
        "offerDetails": {
          "description": "The offer details for this item.",
          "$ref": "OfferDetails"
        },
        "signupPromotion": {
          "$ref": "SignupPromotion",
          "description": "Promotion details about this item. Only set if a promotion was applied during signup."
        },
        "offerPhase": {
          "$ref": "OfferPhase",
          "description": "Current offer phase details for this item."
        },
        "prepaidPlan": {
          "description": "The item is prepaid.",
          "$ref": "PrepaidPlan"
        },
        "deferredItemReplacement": {
          "$ref": "DeferredItemReplacement",
          "description": "Information for deferred item replacement."
        },
        "deferredItemRemoval": {
          "$ref": "DeferredItemRemoval",
          "description": "Information for deferred item removal."
        },
        "expiryTime": {
          "description": "Time at which the subscription expired or will expire unless the access is extended (ex. renews).",
          "type": "string",
          "format": "google-datetime"
        },
        "itemReplacement": {
          "$ref": "ItemReplacement",
          "description": "Details of the item being replaced. This field is only populated if this item replaced another item in a previous subscription and is only available for 60 days after the purchase time."
        },
        "productId": {
          "description": "The purchased product ID (for example, 'monthly001').",
          "type": "string"
        },
        "autoRenewingPlan": {
          "$ref": "AutoRenewingPlan",
          "description": "The item is auto renewing."
        }
      },
      "description": "Item-level info for a subscription purchase.",
      "type": "object"
    },
    "GeneratedStandaloneApk": {
      "properties": {
        "downloadId": {
          "description": "Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method.",
          "type": "string"
        },
        "variantId": {
          "description": "ID of the generated variant.",
          "type": "integer",
          "format": "int32"
        }
      },
      "description": "Download metadata for a standalone APK.",
      "type": "object",
      "id": "GeneratedStandaloneApk"
    },
    "OfferDetails": {
      "description": "Offer details information related to a purchase line item.",
      "type": "object",
      "properties": {
        "basePlanId": {
          "description": "The base plan ID. Present for all base plan and offers.",
          "type": "string"
        },
        "offerId": {
          "description": "The offer ID. Only present for discounted offers.",
          "type": "string"
        },
        "offerTags": {
          "items": {
            "type": "string"
          },
          "description": "The latest offer tags associated with the offer. It includes tags inherited from the base plan.",
          "type": "array"
        }
      },
      "id": "OfferDetails"
    },
    "ActivateSubscriptionOfferRequest": {
      "properties": {
        "packageName": {
          "description": "Required. The parent app (package name) of the offer to activate.",
          "type": "string"
        },
        "basePlanId": {
          "description": "Required. The parent base plan (ID) of the offer to activate.",
          "type": "string"
        },
        "offerId": {
          "description": "Required. The unique offer ID of the offer to activate.",
          "type": "string"
        },
        "latencyTolerance": {
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "type": "string",
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ],
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ]
        },
        "productId": {
          "description": "Required. The parent subscription (ID) of the offer to activate.",
          "type": "string"
        }
      },
      "description": "Request message for ActivateSubscriptionOffer.",
      "type": "object",
      "id": "ActivateSubscriptionOfferRequest"
    },
    "InstallmentsBasePlanType": {
      "id": "InstallmentsBasePlanType",
      "properties": {
        "gracePeriodDuration": {
          "description": "Grace period of the subscription, specified in ISO 8601 format. Acceptable values must be in days and between P0D and the lesser of 30D and base plan billing period. If not specified, a default value will be used based on the billing period. The sum of gracePeriodDuration and accountHoldDuration must be between P30D and P60D days, inclusive.",
          "type": "string"
        },
        "resubscribeState": {
          "enum": [
            "RESUBSCRIBE_STATE_UNSPECIFIED",
            "RESUBSCRIBE_STATE_ACTIVE",
            "RESUBSCRIBE_STATE_INACTIVE"
          ],
          "enumDescriptions": [
            "Unspecified state.",
            "Resubscribe is active.",
            "Resubscribe is inactive."
          ],
          "description": "Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified.",
          "type": "string"
        },
        "committedPaymentsCount": {
          "format": "int32",
          "description": "Required. Immutable. The number of payments the user is committed to. It is immutable after the base plan is created.",
          "type": "integer"
        },
        "prorationMode": {
          "description": "The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE.",
          "type": "string",
          "enum": [
            "SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED",
            "SUBSCRIPTION_PRORATION_MODE_CHARGE_ON_NEXT_BILLING_DATE",
            "SUBSCRIPTION_PRORATION_MODE_CHARGE_FULL_PRICE_IMMEDIATELY"
          ],
          "enumDescriptions": [
            "Unspecified mode.",
            "Users will be charged for their new base plan at the end of their current billing period.",
            "Users will be charged for their new base plan immediately and in full. Any remaining period of their existing subscription will be used to extend the duration of the new billing plan."
          ]
        },
        "renewalType": {
          "description": "Required. Immutable. Installments base plan renewal type. Determines the behavior at the end of the initial commitment. The renewal type is immutable after the base plan is created.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified state.",
            "Renews periodically for the billing period duration without commitment.",
            "Renews with the commitment of the same duration as the initial one."
          ],
          "enum": [
            "RENEWAL_TYPE_UNSPECIFIED",
            "RENEWAL_TYPE_RENEWS_WITHOUT_COMMITMENT",
            "RENEWAL_TYPE_RENEWS_WITH_COMMITMENT"
          ]
        },
        "billingPeriodDuration": {
          "description": "Required. Immutable. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center. The duration is immutable after the base plan is created.",
          "type": "string"
        },
        "accountHoldDuration": {
          "description": "Optional. Custom account hold period of the subscription, specified in ISO 8601 format. Acceptable values must be in days and between P0D and P60D. An empty field represents a recommended account hold, calculated as 60 days minus grace period. The sum of gracePeriodDuration and accountHoldDuration must be between P30D and P60D days, inclusive.",
          "type": "string"
        }
      },
      "description": "Represents an installments base plan where a user commits to a specified number of payments.",
      "type": "object"
    },
    "ApkDescription": {
      "id": "ApkDescription",
      "description": "Description of the created apks.",
      "type": "object",
      "properties": {
        "targeting": {
          "description": "Apk-level targeting.",
          "$ref": "ApkTargeting"
        },
        "standaloneApkMetadata": {
          "$ref": "StandaloneApkMetadata",
          "description": "Set only for standalone APKs."
        },
        "path": {
          "description": "Path of the Apk, will be in the following format: .apk where DownloadId is the ID used to download the apk using GeneratedApks.Download API.",
          "type": "string"
        },
        "instantApkMetadata": {
          "$ref": "SplitApkMetadata",
          "description": "Set only for Instant split APKs."
        },
        "splitApkMetadata": {
          "$ref": "SplitApkMetadata",
          "description": "Set only for Split APKs."
        },
        "assetSliceMetadata": {
          "description": "Set only for asset slices.",
          "$ref": "SplitApkMetadata"
        }
      }
    },
    "BatchGetSubscriptionOffersRequest": {
      "id": "BatchGetSubscriptionOffersRequest",
      "properties": {
        "requests": {
          "items": {
            "$ref": "GetSubscriptionOfferRequest"
          },
          "description": "Required. A list of update requests of up to 100 elements. All requests must update different subscriptions.",
          "type": "array"
        }
      },
      "description": "Request message for BatchGetSubscriptionOffers endpoint.",
      "type": "object"
    },
    "SdkVersion": {
      "properties": {
        "min": {
          "description": "Inclusive minimum value of an sdk version.",
          "type": "integer",
          "format": "int32"
        }
      },
      "description": "Represents an sdk version.",
      "type": "object",
      "id": "SdkVersion"
    },
    "TargetingRuleScopeAnySubscriptionInApp": {
      "properties": {},
      "description": "Represents the targeting rule scope corresponding to any subscription in the parent app.",
      "type": "object",
      "id": "TargetingRuleScopeAnySubscriptionInApp"
    },
    "AppVersionList": {
      "description": "Data format for a list of app versions.",
      "type": "object",
      "properties": {
        "versionCodes": {
          "description": "List of app version codes.",
          "type": "array",
          "items": {
            "type": "string",
            "format": "int64"
          }
        }
      },
      "id": "AppVersionList"
    },
    "InstallmentPlan": {
      "description": "Information to a installment plan.",
      "type": "object",
      "properties": {
        "initialCommittedPaymentsCount": {
          "description": "Total number of payments the user is initially committed for.",
          "type": "integer",
          "format": "int32"
        },
        "remainingCommittedPaymentsCount": {
          "description": "Total number of committed payments remaining to be paid for in this renewal cycle.",
          "type": "integer",
          "format": "int32"
        },
        "pendingCancellation": {
          "$ref": "PendingCancellation",
          "description": "If present, this installment plan is pending to be canceled. The cancellation will happen only after the user finished all committed payments."
        },
        "subsequentCommittedPaymentsCount": {
          "description": "Total number of payments the user will be committed for after each commitment period. Empty means the installment plan will fall back to a normal auto-renew subscription after initial commitment.",
          "type": "integer",
          "format": "int32"
        }
      },
      "id": "InstallmentPlan"
    },
    "DeferSubscriptionPurchaseResponse": {
      "id": "DeferSubscriptionPurchaseResponse",
      "properties": {
        "itemExpiryTimeDetails": {
          "items": {
            "$ref": "ItemExpiryTimeDetails"
          },
          "description": "The new expiry time for each subscription items.",
          "type": "array"
        }
      },
      "description": "Response for the v2 purchases.subscriptions.defer API.",
      "type": "object"
    },
    "SubscriptionListing": {
      "description": "The consumer-visible metadata of a subscription.",
      "type": "object",
      "properties": {
        "languageCode": {
          "description": "Required. The language of this listing, as defined by BCP-47, e.g. \"en-US\".",
          "type": "string"
        },
        "title": {
          "description": "Required. The title of this subscription in the language of this listing. Plain text.",
          "type": "string"
        },
        "description": {
          "description": "The description of this subscription in the language of this listing. Maximum length - 200 characters. Plain text.",
          "type": "string"
        },
        "benefits": {
          "items": {
            "type": "string"
          },
          "description": "A list of benefits shown to the user on platforms such as the Play Store and in restoration flows in the language of this listing. Plain text. Ordered list of at most four benefits.",
          "type": "array"
        }
      },
      "id": "SubscriptionListing"
    },
    "OneTimePurchaseDetails": {
      "id": "OneTimePurchaseDetails",
      "properties": {
        "offerId": {
          "description": "The offer ID of the one-time purchase offer.",
          "type": "string"
        },
        "purchaseOptionId": {
          "description": "ID of the purchase option. This field is set for both purchase options and variant offers. For purchase options, this ID identifies the purchase option itself. For variant offers, this ID refers to the associated purchase option, and in conjunction with offer_id it identifies the variant offer.",
          "type": "string"
        },
        "quantity": {
          "description": "The number of items purchased (for multi-quantity item purchases).",
          "type": "integer",
          "format": "int32"
        },
        "preorderDetails": {
          "description": "The details of a pre-order purchase. Only set if it is a pre-order purchase. Note that this field will be set even after pre-order is fulfilled.",
          "$ref": "PreorderDetails"
        },
        "rentalDetails": {
          "$ref": "RentalDetails",
          "description": "The details of a rent purchase. Only set if it is a rent purchase."
        }
      },
      "description": "Details of a one-time purchase.",
      "type": "object"
    },
    "AutoRenewingBasePlanType": {
      "properties": {
        "resubscribeState": {
          "description": "Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified state.",
            "Resubscribe is active.",
            "Resubscribe is inactive."
          ],
          "enum": [
            "RESUBSCRIBE_STATE_UNSPECIFIED",
            "RESUBSCRIBE_STATE_ACTIVE",
            "RESUBSCRIBE_STATE_INACTIVE"
          ]
        },
        "gracePeriodDuration": {
          "description": "Grace period of the subscription, specified in ISO 8601 format. Acceptable values must be in days and between P0D and the lesser of 30D and base plan billing period. If not specified, a default value will be used based on the billing period. The sum of gracePeriodDuration and accountHoldDuration must be between P30D and P60D days, inclusive.",
          "type": "string"
        },
        "legacyCompatible": {
          "description": "Whether the renewing base plan is backward compatible. The backward compatible base plan is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one renewing base plan can be marked as legacy compatible for a given subscription.",
          "type": "boolean"
        },
        "billingPeriodDuration": {
          "description": "Required. Immutable. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center. The duration is immutable after the base plan is created.",
          "type": "string"
        },
        "accountHoldDuration": {
          "description": "Optional. Custom account hold period of the subscription, specified in ISO 8601 format. Acceptable values must be in days and between P0D and P60D. An empty field represents a recommended account hold, calculated as 60 days minus grace period. The sum of gracePeriodDuration and accountHoldDuration must be between P30D and P60D days, inclusive.",
          "type": "string"
        },
        "prorationMode": {
          "description": "The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified mode.",
            "Users will be charged for their new base plan at the end of their current billing period.",
            "Users will be charged for their new base plan immediately and in full. Any remaining period of their existing subscription will be used to extend the duration of the new billing plan."
          ],
          "enum": [
            "SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED",
            "SUBSCRIPTION_PRORATION_MODE_CHARGE_ON_NEXT_BILLING_DATE",
            "SUBSCRIPTION_PRORATION_MODE_CHARGE_FULL_PRICE_IMMEDIATELY"
          ]
        },
        "legacyCompatibleSubscriptionOfferId": {
          "description": "Subscription offer id which is legacy compatible. The backward compatible subscription offer is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one subscription offer can be marked as legacy compatible for a given renewing base plan. To have no Subscription offer as legacy compatible set this field as empty string.",
          "type": "string"
        }
      },
      "description": "Represents a base plan that automatically renews at the end of its subscription period.",
      "type": "object",
      "id": "AutoRenewingBasePlanType"
    },
    "DeobfuscationFilesUploadResponse": {
      "id": "DeobfuscationFilesUploadResponse",
      "properties": {
        "deobfuscationFile": {
          "description": "The uploaded Deobfuscation File configuration.",
          "$ref": "DeobfuscationFile"
        }
      },
      "description": "Responses for the upload.",
      "type": "object"
    },
    "ProductLineItem": {
      "id": "ProductLineItem",
      "description": "Contains item-level info for a ProductPurchaseV2.",
      "type": "object",
      "properties": {
        "productId": {
          "description": "The purchased product ID (for example, 'monthly001').",
          "type": "string"
        },
        "productOfferDetails": {
          "description": "The offer details for this item.",
          "$ref": "ProductOfferDetails"
        }
      }
    },
    "DeactivateSubscriptionOfferRequest": {
      "id": "DeactivateSubscriptionOfferRequest",
      "description": "Request message for DeactivateSubscriptionOffer.",
      "type": "object",
      "properties": {
        "latencyTolerance": {
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "type": "string",
          "enumDescriptions": [
            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
          ],
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ]
        },
        "basePlanId": {
          "description": "Required. The parent base plan (ID) of the offer to deactivate.",
          "type": "string"
        },
        "offerId": {
          "description": "Required. The unique offer ID of the offer to deactivate.",
          "type": "string"
        },
        "productId": {
          "description": "Required. The parent subscription (ID) of the offer to deactivate.",
          "type": "string"
        },
        "packageName": {
          "description": "Required. The parent app (package name) of the offer to deactivate.",
          "type": "string"
        }
      }
    },
    "ExternalSubscription": {
      "properties": {
        "subscriptionType": {
          "description": "Required. The type of the external subscription.",
          "type": "string",
          "enum": [
            "SUBSCRIPTION_TYPE_UNSPECIFIED",
            "RECURRING",
            "PREPAID"
          ],
          "enumDescriptions": [
            "Unspecified, do not use.",
            "This is a recurring subscription where the user is charged every billing cycle.",
            "This is a prepaid subscription where the user pays up front."
          ]
        }
      },
      "description": "Details of an external subscription.",
      "type": "object",
      "id": "ExternalSubscription"
    },
    "BasePriceOfferPhase": {
      "id": "BasePriceOfferPhase",
      "properties": {},
      "description": "Details about base price offer phase.",
      "type": "object"
    },
    "Price": {
      "id": "Price",
      "description": "Definition of a price, i.e. currency and units.",
      "type": "object",
      "properties": {
        "priceMicros": {
          "description": "Price in 1/million of the currency base unit, represented as a string.",
          "type": "string"
        },
        "currency": {
          "description": "3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java",
          "type": "string"
        }
      }
    },
    "OtherRegionsSubscriptionOfferPhaseConfig": {
      "id": "OtherRegionsSubscriptionOfferPhaseConfig",
      "properties": {
        "relativeDiscount": {
          "description": "The fraction of the base plan price prorated over the phase duration that the user pays for this offer phase. For example, if the base plan price for this region is $12 for a period of 1 year, then a 50% discount for a phase of a duration of 3 months would correspond to a price of $1.50. The discount must be specified as a fraction strictly larger than 0 and strictly smaller than 1. The resulting price will be rounded to the nearest billable unit (e.g. cents for USD). The relative discount is considered invalid if the discounted price ends up being smaller than the minimum price allowed in any new locations Play may launch in.",
          "type": "number",
          "format": "double"
        },
        "absoluteDiscounts": {
          "$ref": "OtherRegionsSubscriptionOfferPhasePrices",
          "description": "The absolute amount of money subtracted from the base plan price prorated over the phase duration that the user pays for this offer phase. For example, if the base plan price for this region is $12 for a period of 1 year, then a $1 absolute discount for a phase of a duration of 3 months would correspond to a price of $2. The resulting price may not be smaller than the minimum price allowed for any new locations Play may launch in."
        },
        "free": {
          "$ref": "OtherRegionsSubscriptionOfferPhaseFreePriceOverride",
          "description": "Set to specify this offer is free to obtain."
        },
        "otherRegionsPrices": {
          "$ref": "OtherRegionsSubscriptionOfferPhasePrices",
          "description": "The absolute price the user pays for this offer phase. The price must not be smaller than the minimum price allowed for any new locations Play may launch in."
        }
      },
      "description": "Configuration for any new locations Play may launch in for a single offer phase.",
      "type": "object"
    },
    "BatchDeletePurchaseOptionsRequest": {
      "description": "Request message for BatchDeletePurchaseOption.",
      "type": "object",
      "properties": {
        "requests": {
          "description": "Required. A list of delete requests of up to 100 elements. All requests must delete purchase options from different one-time products.",
          "type": "array",
          "items": {
            "$ref": "DeletePurchaseOptionRequest"
          }
        }
      },
      "id": "BatchDeletePurchaseOptionsRequest"
    },
    "TextureCompressionFormat": {
      "id": "TextureCompressionFormat",
      "description": "Represents texture compression format.",
      "type": "object",
      "properties": {
        "alias": {
          "description": "Alias for texture compression format.",
          "type": "string",
          "enum": [
            "UNSPECIFIED_TEXTURE_COMPRESSION_FORMAT",
            "ETC1_RGB8",
            "PALETTED",
            "THREE_DC",
            "ATC",
            "LATC",
            "DXT1",
            "S3TC",
            "PVRTC",
            "ASTC",
            "ETC2"
          ],
          "enumDescriptions": [
            "Unspecified format.",
            "ETC1_RGB8 format.",
            "PALETTED format.",
            "THREE_DC format.",
            "ATC format.",
            "LATC format.",
            "DXT1 format.",
            "S3TC format.",
            "PVRTC format.",
            "ASTC format.",
            "ETC2 format."
          ]
        }
      }
    },
    "DeployAppRecoveryRequest": {
      "properties": {},
      "description": "Request message for DeployAppRecovery.",
      "type": "object",
      "id": "DeployAppRecoveryRequest"
    },
    "Listing": {
      "id": "Listing",
      "description": "A localized store listing. The resource for ListingsService.",
      "type": "object",
      "properties": {
        "shortDescription": {
          "description": "Short description of the app.",
          "type": "string"
        },
        "fullDescription": {
          "description": "Full description of the app.",
          "type": "string"
        },
        "title": {
          "description": "Localized title of the app.",
          "type": "string"
        },
        "language": {
          "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German).",
          "type": "string"
        },
        "video": {
          "description": "URL of a promotional YouTube video for the app.",
          "type": "string"
        }
      }
    },
    "OneTimeProduct": {
      "id": "OneTimeProduct",
      "properties": {
        "taxAndComplianceSettings": {
          "description": "Details about taxes and legal compliance.",
          "$ref": "OneTimeProductTaxAndComplianceSettings"
        },
        "productId": {
          "description": "Required. Immutable. Unique product ID of the product. Unique within the parent app. Product IDs must start with a number or lowercase letter, and can contain numbers (0-9), lowercase letters (a-z), underscores (_), and periods (.).",
          "type": "string"
        },
        "purchaseOptions": {
          "description": "Required. The set of purchase options for this one-time product.",
          "type": "array",
          "items": {
            "$ref": "OneTimeProductPurchaseOption"
          }
        },
        "offerTags": {
          "description": "Optional. List of up to 20 custom tags specified for this one-time product, and returned to the app through the billing library. Purchase options and offers for this product will also receive these tags in the billing library.",
          "type": "array",
          "items": {
            "$ref": "OfferTag"
          }
        },
        "regionsVersion": {
          "description": "Output only. The version of the regions configuration that was used to generate the one-time product.",
          "readOnly": true,
          "$ref": "RegionsVersion"
        },
        "packageName": {
          "description": "Required. Immutable. Package name of the parent app.",
          "type": "string"
        },
        "restrictedPaymentCountries": {
          "$ref": "RestrictedPaymentCountries",
          "description": "Optional. Countries where the purchase of this one-time product is restricted to payment methods registered in the same country. If empty, no payment location restrictions are imposed."
        },
        "listings": {
          "description": "Required. Set of localized title and description data. Must not have duplicate entries with the same language_code.",
          "type": "array",
          "items": {
            "$ref": "OneTimeProductListing"
          }
        }
      },
      "description": "A single one-time product for an app.",
      "type": "object"
    },
    "AppRecoveryAction": {
      "properties": {
        "status": {
          "enum": [
            "RECOVERY_STATUS_UNSPECIFIED",
            "RECOVERY_STATUS_ACTIVE",
            "RECOVERY_STATUS_CANCELED",
            "RECOVERY_STATUS_DRAFT",
            "RECOVERY_STATUS_GENERATION_IN_PROGRESS",
            "RECOVERY_STATUS_GENERATION_FAILED"
          ],
          "enumDescriptions": [
            "RecoveryStatus is unspecified.",
            "The app recovery action has not been canceled since it has been created.",
            "The recovery action has been canceled. The action cannot be resumed.",
            "The recovery action is in the draft state and has not yet been deployed to users.",
            "The recovery action is generating recovery apks.",
            "The app recovery action generation has failed."
          ],
          "description": "The status of the recovery action.",
          "type": "string"
        },
        "createTime": {
          "description": "Timestamp of when the app recovery action is created by the developer. It is always set after creation of the recovery action.",
          "type": "string",
          "format": "google-datetime"
        },
        "lastUpdateTime": {
          "description": "Timestamp of when the developer last updated recovery action. In case the action is cancelled, it corresponds to cancellation time. It is always set after creation of the recovery action.",
          "type": "string",
          "format": "google-datetime"
        },
        "remoteInAppUpdateData": {
          "description": "Data about the remote in-app update action such as such as recovered user base, recoverable user base etc. Set only if the recovery action type is Remote In-App Update.",
          "$ref": "RemoteInAppUpdateData"
        },
        "deployTime": {
          "description": "Timestamp of when the app recovery action is deployed to the users. Only set if the recovery action has been deployed.",
          "type": "string",
          "format": "google-datetime"
        },
        "cancelTime": {
          "description": "Timestamp of when the app recovery action is canceled by the developer. Only set if the recovery action has been canceled.",
          "type": "string",
          "format": "google-datetime"
        },
        "appRecoveryId": {
          "description": "ID corresponding to the app recovery action.",
          "type": "string",
          "format": "int64"
        },
        "targeting": {
          "$ref": "Targeting",
          "description": "Specifies targeting criteria for the recovery action such as regions, android sdk versions, app versions etc."
        }
      },
      "description": "Information about an app recovery action.",
      "type": "object",
      "id": "AppRecoveryAction"
    },
    "OutOfAppPurchaseContext": {
      "id": "OutOfAppPurchaseContext",
      "description": "Information specific to an out of app purchase.",
      "type": "object",
      "properties": {
        "expiredPurchaseToken": {
          "description": "The purchase token of the last expired subscription. This purchase token must only be used to help identify the user if the link between the purchaseToken and user is stored in your database. This cannot be used to call the Google Developer API if it has been more than 60 days since expiry.",
          "type": "string"
        },
        "expiredExternalAccountIdentifiers": {
          "$ref": "ExternalAccountIdentifiers",
          "description": "User account identifier from the last expired subscription for this SKU."
        }
      }
    },
    "ArchiveSubscriptionRequest": {
      "deprecated": true,
      "id": "ArchiveSubscriptionRequest",
      "properties": {},
      "description": "Deprecated: subscription archiving is not supported.",
      "type": "object"
    },
    "UserCountrySet": {
      "id": "UserCountrySet",
      "properties": {
        "name": {
          "description": "Country set name.",
          "type": "string"
        },
        "countryCodes": {
          "description": "List of country codes representing countries. A Country code is represented in ISO 3166 alpha-2 format. For Example:- \"IT\" for Italy, \"GE\" for Georgia.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "A set of user countries. A country set determines what variation of app content gets served to a specific location.",
      "type": "object"
    },
    "ExternalAccountIds": {
      "description": "User account identifier in your app.",
      "type": "object",
      "properties": {
        "obfuscatedProfileId": {
          "description": "Optional. Specifies an optional obfuscated string that is uniquely associated with the purchaser's user profile in your app. If you pass this value, Google Play can use it to detect irregular activity. Do not use this field to store any Personally Identifiable Information (PII) such as emails in cleartext. Attempting to store PII in this field will result in purchases being blocked. Google Play recommends that you use either encryption or a one-way hash to generate an obfuscated identifier to send to Google Play. This identifier is limited to 64 characters. This field can only be set for resubscription purchases. See https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid to set this field for purchases made using the standard in-app billing flow.",
          "type": "string"
        },
        "obfuscatedAccountId": {
          "description": "Optional. Specifies an optional obfuscated string that is uniquely associated with the purchaser's user account in your app. If you pass this value, Google Play can use it to detect irregular activity. Do not use this field to store any Personally Identifiable Information (PII) such as emails in cleartext. Attempting to store PII in this field will result in purchases being blocked. Google Play recommends that you use either encryption or a one-way hash to generate an obfuscated identifier to send to Google Play. This identifier is limited to 64 characters. This field can only be set for resubscription purchases. See https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid to set this field for purchases made using the standard in-app billing flow.",
          "type": "string"
        }
      },
      "id": "ExternalAccountIds"
    },
    "DeveloperInitiatedCancellation": {
      "properties": {},
      "description": "Information specific to cancellations initiated by developers.",
      "type": "object",
      "id": "DeveloperInitiatedCancellation"
    },
    "BatchUpdateBasePlanStatesRequest": {
      "properties": {
        "requests": {
          "items": {
            "$ref": "UpdateBasePlanStateRequest"
          },
          "description": "Required. The update request list of up to 100 elements. All requests must update different base plans.",
          "type": "array"
        }
      },
      "description": "Request message for BatchUpdateBasePlanStates.",
      "type": "object",
      "id": "BatchUpdateBasePlanStatesRequest"
    },
    "ModuleMetadata": {
      "properties": {
        "name": {
          "description": "Module name.",
          "type": "string"
        },
        "deliveryType": {
          "description": "Indicates the delivery type (e.g. on-demand) of the module.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified delivery type.",
            "This module will always be downloaded as part of the initial install of the app.",
            "This module is requested on-demand, which means it will not be part of the initial install, and will only be sent when requested by the client.",
            "This module will be downloaded immediately after initial install finishes. The app can be opened before these modules are downloaded."
          ],
          "enum": [
            "UNKNOWN_DELIVERY_TYPE",
            "INSTALL_TIME",
            "ON_DEMAND",
            "FAST_FOLLOW"
          ]
        },
        "dependencies": {
          "items": {
            "type": "string"
          },
          "description": "Names of the modules that this module directly depends on. Each module implicitly depends on the base module.",
          "type": "array"
        },
        "moduleType": {
          "description": "Indicates the type of this feature module.",
          "type": "string",
          "enum": [
            "UNKNOWN_MODULE_TYPE",
            "FEATURE_MODULE"
          ],
          "enumDescriptions": [
            "Unknown feature module.",
            "Regular feature module."
          ]
        },
        "targeting": {
          "$ref": "ModuleTargeting",
          "description": "The targeting that makes a conditional module installed. Relevant only for Split APKs."
        }
      },
      "description": "Metadata of a module.",
      "type": "object",
      "id": "ModuleMetadata"
    },
    "Apk": {
      "description": "Information about an APK. The resource for ApksService.",
      "type": "object",
      "properties": {
        "binary": {
          "$ref": "ApkBinary",
          "description": "Information about the binary payload of this APK."
        },
        "versionCode": {
          "description": "The version code of the APK, as specified in the manifest file.",
          "type": "integer",
          "format": "int32"
        }
      },
      "id": "Apk"
    },
    "DeferralContext": {
      "description": "Deferral context of the purchases.subscriptionsv2.defer API.",
      "type": "object",
      "properties": {
        "validateOnly": {
          "description": "If set to \"true\", the request is a dry run to validate the effect of Defer, the subscription would not be impacted.",
          "type": "boolean"
        },
        "etag": {
          "description": "Required. The API will fail if the etag does not match the latest etag for this subscription. The etag is retrieved from purchases.subscriptionsv2.get: https://developers.google.com/android-publisher/api-ref/rest/v3/purchases.subscriptionsv2/get",
          "type": "string"
        },
        "deferDuration": {
          "description": "Required. The duration by which all subscription items should be deferred.",
          "type": "string",
          "format": "google-duration"
        }
      },
      "id": "DeferralContext"
    },
    "Image": {
      "properties": {
        "sha256": {
          "description": "A sha256 hash of the image.",
          "type": "string"
        },
        "id": {
          "description": "A unique id representing this image.",
          "type": "string"
        },
        "url": {
          "description": "A URL that will serve a preview of the image.",
          "type": "string"
        },
        "sha1": {
          "description": "A sha1 hash of the image.",
          "type": "string"
        }
      },
      "description": "An uploaded image. The resource for ImagesService.",
      "type": "object",
      "id": "Image"
    },
    "Abi": {
      "id": "Abi",
      "description": "Represents an Abi.",
      "type": "object",
      "properties": {
        "alias": {
          "enumDescriptions": [
            "Unspecified abi.",
            "ARMEABI abi.",
            "ARMEABI_V7A abi.",
            "ARM64_V8A abi.",
            "X86 abi.",
            "X86_64 abi.",
            "RISCV64 abi."
          ],
          "enum": [
            "UNSPECIFIED_CPU_ARCHITECTURE",
            "ARMEABI",
            "ARMEABI_V7A",
            "ARM64_V8A",
            "X86",
            "X86_64",
            "RISCV64"
          ],
          "description": "Alias for an abi.",
          "type": "string"
        }
      }
    },
    "LineItem": {
      "description": "Details of a line item.",
      "type": "object",
      "properties": {
        "subscriptionDetails": {
          "$ref": "SubscriptionDetails",
          "description": "Details of a subscription purchase."
        },
        "paidAppDetails": {
          "description": "Details of a paid app purchase.",
          "$ref": "PaidAppDetails"
        },
        "oneTimePurchaseDetails": {
          "description": "Details of a one-time purchase.",
          "$ref": "OneTimePurchaseDetails"
        },
        "productTitle": {
          "description": "Developer-specified name of the product. Displayed in buyer's locale. Example: coins, monthly subscription, etc.",
          "type": "string"
        },
        "productId": {
          "description": "The purchased product ID or in-app SKU (for example, 'monthly001' or 'com.some.thing.inapp1').",
          "type": "string"
        },
        "total": {
          "$ref": "Money",
          "description": "The total amount paid by the user for this line item, taking into account discounts and tax."
        },
        "listingPrice": {
          "description": "Item's listed price on Play Store, this may or may not include tax. Excludes Google-funded discounts only.",
          "$ref": "Money"
        },
        "tax": {
          "$ref": "Money",
          "description": "The tax paid for this line item."
        }
      },
      "id": "LineItem"
    },
    "BatchUpdateSubscriptionOfferStatesRequest": {
      "id": "BatchUpdateSubscriptionOfferStatesRequest",
      "description": "Request message for BatchUpdateSubscriptionOfferStates.",
      "type": "object",
      "properties": {
        "requests": {
          "items": {
            "$ref": "UpdateSubscriptionOfferStateRequest"
          },
          "description": "Required. The update request list of up to 100 elements. All requests must update different offers.",
          "type": "array"
        }
      }
    }
  },
  "discoveryVersion": "v1",
  "resources": {
    "inappproducts": {
      "methods": {
        "insert": {
          "httpMethod": "POST",
          "request": {
            "$ref": "InAppProduct"
          },
          "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts",
          "path": "androidpublisher/v3/applications/{packageName}/inappproducts",
          "id": "androidpublisher.inappproducts.insert",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            },
            "autoConvertMissingPrices": {
              "description": "If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.",
              "location": "query",
              "type": "boolean"
            }
          },
          "response": {
            "$ref": "InAppProduct"
          },
          "description": "Creates an in-app product (a managed product or a subscription). This method should no longer be used to create subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.",
          "parameterOrder": [
            "packageName"
          ]
        },
        "batchDelete": {
          "httpMethod": "POST",
          "request": {
            "$ref": "InappproductsBatchDeleteRequest"
          },
          "path": "androidpublisher/v3/applications/{packageName}/inappproducts:batchDelete",
          "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts:batchDelete",
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            }
          },
          "description": "Deletes in-app products (managed products or subscriptions). Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. This method should not be used to delete subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "id": "androidpublisher.inappproducts.batchDelete",
          "parameterOrder": [
            "packageName"
          ]
        },
        "update": {
          "httpMethod": "PUT",
          "request": {
            "$ref": "InAppProduct"
          },
          "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
          "path": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
          "id": "androidpublisher.inappproducts.update",
          "parameters": {
            "autoConvertMissingPrices": {
              "description": "If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.",
              "location": "query",
              "type": "boolean"
            },
            "latencyTolerance": {
              "enumDescriptions": [
                "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
                "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
                "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
              ],
              "enum": [
                "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
                "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
                "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
              ],
              "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
              "location": "query",
              "type": "string"
            },
            "packageName": {
              "description": "Package name of the app.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "sku": {
              "required": true,
              "description": "Unique identifier for the in-app product.",
              "location": "path",
              "type": "string"
            },
            "allowMissing": {
              "description": "If set to true, and the in-app product with the given package_name and sku doesn't exist, the in-app product will be created.",
              "location": "query",
              "type": "boolean"
            }
          },
          "response": {
            "$ref": "InAppProduct"
          },
          "description": "Updates an in-app product (a managed product or a subscription). This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameterOrder": [
            "packageName",
            "sku"
          ]
        },
        "batchGet": {
          "parameterOrder": [
            "packageName"
          ],
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "packageName": {
              "description": "Package name of the app.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "sku": {
              "description": "Unique identifier for the in-app products.",
              "location": "query",
              "repeated": true,
              "type": "string"
            }
          },
          "response": {
            "$ref": "InappproductsBatchGetResponse"
          },
          "description": "Reads multiple in-app products, which can be managed products or subscriptions. This method should not be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.",
          "id": "androidpublisher.inappproducts.batchGet",
          "path": "androidpublisher/v3/applications/{packageName}/inappproducts:batchGet",
          "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts:batchGet",
          "httpMethod": "GET"
        },
        "get": {
          "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
          "path": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
          "httpMethod": "GET",
          "parameterOrder": [
            "packageName",
            "sku"
          ],
          "id": "androidpublisher.inappproducts.get",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "packageName": {
              "description": "Package name of the app.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "sku": {
              "required": true,
              "description": "Unique identifier for the in-app product.",
              "location": "path",
              "type": "string"
            }
          },
          "response": {
            "$ref": "InAppProduct"
          },
          "description": "Gets an in-app product, which can be a managed product or a subscription. This method should no longer be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information."
        },
        "batchUpdate": {
          "id": "androidpublisher.inappproducts.batchUpdate",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "packageName": {
              "description": "Package name of the app.",
              "location": "path",
              "type": "string",
              "required": true
            }
          },
          "response": {
            "$ref": "InappproductsBatchUpdateResponse"
          },
          "description": "Updates or inserts one or more in-app products (managed products or subscriptions). Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.",
          "parameterOrder": [
            "packageName"
          ],
          "httpMethod": "POST",
          "request": {
            "$ref": "InappproductsBatchUpdateRequest"
          },
          "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts:batchUpdate",
          "path": "androidpublisher/v3/applications/{packageName}/inappproducts:batchUpdate"
        },
        "delete": {
          "id": "androidpublisher.inappproducts.delete",
          "httpMethod": "DELETE",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "packageName": {
              "description": "Package name of the app.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "sku": {
              "description": "Unique identifier for the in-app product.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "latencyTolerance": {
              "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
              "location": "query",
              "type": "string",
              "enum": [
                "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
                "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
                "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
              ],
              "enumDescriptions": [
                "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
                "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
                "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
              ]
            }
          },
          "description": "Deletes an in-app product (a managed product or a subscription). This method should no longer be used to delete subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.",
          "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
          "parameterOrder": [
            "packageName",
            "sku"
          ],
          "path": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}"
        },
        "list": {
          "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts",
          "path": "androidpublisher/v3/applications/{packageName}/inappproducts",
          "httpMethod": "GET",
          "parameterOrder": [
            "packageName"
          ],
          "id": "androidpublisher.inappproducts.list",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "startIndex": {
              "description": "Deprecated and ignored. Set the `token` parameter to retrieve the next page.",
              "location": "query",
              "type": "integer",
              "deprecated": true,
              "format": "uint32"
            },
            "token": {
              "description": "Pagination token. If empty, list starts at the first product.",
              "location": "query",
              "type": "string"
            },
            "maxResults": {
              "deprecated": true,
              "format": "uint32",
              "description": "Deprecated and ignored. The page size is determined by the server.",
              "location": "query",
              "type": "integer"
            },
            "packageName": {
              "description": "Package name of the app.",
              "location": "path",
              "type": "string",
              "required": true
            }
          },
          "response": {
            "$ref": "InappproductsListResponse"
          },
          "description": "Lists all in-app products - both managed products and subscriptions. If an app has a large number of in-app products, the response may be paginated. In this case the response field `tokenPagination.nextPageToken` will be set and the caller should provide its value as a `token` request parameter to retrieve the next page. This method should no longer be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information."
        },
        "patch": {
          "parameterOrder": [
            "packageName",
            "sku"
          ],
          "id": "androidpublisher.inappproducts.patch",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "autoConvertMissingPrices": {
              "description": "If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.",
              "location": "query",
              "type": "boolean"
            },
            "packageName": {
              "description": "Package name of the app.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "sku": {
              "description": "Unique identifier for the in-app product.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "latencyTolerance": {
              "enum": [
                "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
                "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
                "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
              ],
              "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
              "location": "query",
              "type": "string",
              "enumDescriptions": [
                "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
                "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
                "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
              ]
            }
          },
          "response": {
            "$ref": "InAppProduct"
          },
          "description": "Patches an in-app product (a managed product or a subscription). This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.",
          "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
          "path": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
          "httpMethod": "PATCH",
          "request": {
            "$ref": "InAppProduct"
          }
        }
      }
    },
    "purchases": {
      "resources": {
        "products": {
          "methods": {
            "acknowledge": {
              "path": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge",
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge",
              "httpMethod": "POST",
              "request": {
                "$ref": "ProductPurchasesAcknowledgeRequest"
              },
              "parameterOrder": [
                "packageName",
                "productId",
                "token"
              ],
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "productId": {
                  "description": "The inapp product SKU (for example, 'com.some.thing.inapp1').",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "token": {
                  "description": "The token provided to the user's device when the inapp product was purchased.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "packageName": {
                  "required": true,
                  "description": "The package name of the application the inapp product was sold in (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string"
                }
              },
              "description": "Acknowledges a purchase of an inapp item.",
              "id": "androidpublisher.purchases.products.acknowledge"
            },
            "consume": {
              "parameterOrder": [
                "packageName",
                "productId",
                "token"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:consume",
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:consume",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "The package name of the application the inapp product was sold in (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string"
                },
                "productId": {
                  "description": "The inapp product SKU (for example, 'com.some.thing.inapp1').",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "token": {
                  "required": true,
                  "description": "The token provided to the user's device when the inapp product was purchased.",
                  "location": "path",
                  "type": "string"
                }
              },
              "description": "Consumes a purchase for an inapp item.",
              "id": "androidpublisher.purchases.products.consume",
              "httpMethod": "POST"
            },
            "get": {
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "The package name of the application the inapp product was sold in (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string"
                },
                "productId": {
                  "description": "The inapp product SKU (for example, 'com.some.thing.inapp1').",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "token": {
                  "required": true,
                  "description": "The token provided to the user's device when the inapp product was purchased.",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "ProductPurchase"
              },
              "description": "Checks the purchase and consumption status of an inapp item.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.purchases.products.get",
              "parameterOrder": [
                "packageName",
                "productId",
                "token"
              ],
              "httpMethod": "GET",
              "path": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}",
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}"
            }
          }
        },
        "subscriptions": {
          "methods": {
            "acknowledge": {
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "subscriptionId": {
                  "description": "Note: Since May 21, 2025, subscription_id is not required, and not recommended for subscription with add-ons. The purchased subscription ID (for example, 'monthly001').",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "token": {
                  "required": true,
                  "description": "The token provided to the user's device when the subscription was purchased.",
                  "location": "path",
                  "type": "string"
                },
                "packageName": {
                  "required": true,
                  "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string"
                }
              },
              "description": "Acknowledges a subscription purchase.",
              "id": "androidpublisher.purchases.subscriptions.acknowledge",
              "parameterOrder": [
                "packageName",
                "subscriptionId",
                "token"
              ],
              "httpMethod": "POST",
              "request": {
                "$ref": "SubscriptionPurchasesAcknowledgeRequest"
              },
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge",
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge"
            },
            "revoke": {
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke",
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke",
              "httpMethod": "POST",
              "parameterOrder": [
                "packageName",
                "subscriptionId",
                "token"
              ],
              "deprecated": true,
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "packageName": {
                  "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "subscriptionId": {
                  "required": true,
                  "description": "The purchased subscription ID (for example, 'monthly001').",
                  "location": "path",
                  "type": "string"
                },
                "token": {
                  "description": "The token provided to the user's device when the subscription was purchased.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "description": "Deprecated: Use purchases.subscriptionsv2.revoke instead. Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring.",
              "id": "androidpublisher.purchases.subscriptions.revoke"
            },
            "cancel": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel",
              "parameterOrder": [
                "packageName",
                "subscriptionId",
                "token"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel",
              "id": "androidpublisher.purchases.subscriptions.cancel",
              "httpMethod": "POST",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "subscriptionId": {
                  "required": true,
                  "description": "Note: Since May 21, 2025, subscription_id is not required, and not recommended for subscription with add-ons. The purchased subscription ID (for example, 'monthly001').",
                  "location": "path",
                  "type": "string"
                },
                "token": {
                  "description": "The token provided to the user's device when the subscription was purchased.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "packageName": {
                  "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "description": "Cancels a user's subscription purchase. The subscription remains valid until its expiration time. Newer version is available at purchases.subscriptionsv2.cancel for better client library support."
            },
            "refund": {
              "deprecated": true,
              "parameterOrder": [
                "packageName",
                "subscriptionId",
                "token"
              ],
              "id": "androidpublisher.purchases.subscriptions.refund",
              "parameters": {
                "subscriptionId": {
                  "required": true,
                  "description": "\"The purchased subscription ID (for example, 'monthly001').",
                  "location": "path",
                  "type": "string"
                },
                "token": {
                  "required": true,
                  "description": "The token provided to the user's device when the subscription was purchased.",
                  "location": "path",
                  "type": "string"
                },
                "packageName": {
                  "required": true,
                  "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string"
                }
              },
              "description": "Deprecated: Use orders.refund instead. Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund",
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund",
              "httpMethod": "POST"
            },
            "get": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}",
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}",
              "httpMethod": "GET",
              "deprecated": true,
              "parameterOrder": [
                "packageName",
                "subscriptionId",
                "token"
              ],
              "id": "androidpublisher.purchases.subscriptions.get",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "subscriptionId": {
                  "required": true,
                  "description": "The purchased subscription ID (for example, 'monthly001').",
                  "location": "path",
                  "type": "string"
                },
                "token": {
                  "required": true,
                  "description": "The token provided to the user's device when the subscription was purchased.",
                  "location": "path",
                  "type": "string"
                },
                "packageName": {
                  "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "SubscriptionPurchase"
              },
              "description": "Deprecated: Use purchases.subscriptionsv2.get instead. Checks whether a user's subscription purchase is valid and returns its expiry time."
            },
            "defer": {
              "parameters": {
                "subscriptionId": {
                  "description": "The purchased subscription ID (for example, 'monthly001').",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "token": {
                  "required": true,
                  "description": "The token provided to the user's device when the subscription was purchased.",
                  "location": "path",
                  "type": "string"
                },
                "packageName": {
                  "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "SubscriptionPurchasesDeferResponse"
              },
              "description": "Defers a user's subscription purchase until a specified future expiration time.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.purchases.subscriptions.defer",
              "parameterOrder": [
                "packageName",
                "subscriptionId",
                "token"
              ],
              "httpMethod": "POST",
              "request": {
                "$ref": "SubscriptionPurchasesDeferRequest"
              },
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer",
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer"
            }
          }
        },
        "subscriptionsv2": {
          "methods": {
            "cancel": {
              "httpMethod": "POST",
              "request": {
                "$ref": "CancelSubscriptionPurchaseRequest"
              },
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:cancel",
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:cancel",
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Required. The package of the application for which this subscription was purchased (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string"
                },
                "token": {
                  "description": "Required. The token provided to the user's device when the subscription was purchased.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "CancelSubscriptionPurchaseResponse"
              },
              "description": "Cancel a subscription purchase for the user.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.purchases.subscriptionsv2.cancel",
              "parameterOrder": [
                "packageName",
                "token"
              ]
            },
            "defer": {
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:defer",
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:defer",
              "httpMethod": "POST",
              "request": {
                "$ref": "DeferSubscriptionPurchaseRequest"
              },
              "parameterOrder": [
                "packageName",
                "token"
              ],
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Required. The package of the application for which this subscription was purchased (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string"
                },
                "token": {
                  "description": "Required. The token provided to the user's device when the subscription was purchased.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "DeferSubscriptionPurchaseResponse"
              },
              "description": "Defers the renewal of a subscription.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.purchases.subscriptionsv2.defer"
            },
            "get": {
              "httpMethod": "GET",
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}",
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}",
              "id": "androidpublisher.purchases.subscriptionsv2.get",
              "parameters": {
                "packageName": {
                  "description": "The package of the application for which this subscription was purchased (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "token": {
                  "required": true,
                  "description": "Required. The token provided to the user's device when the subscription was purchased.",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "SubscriptionPurchaseV2"
              },
              "description": "Get metadata about a subscription",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameterOrder": [
                "packageName",
                "token"
              ]
            },
            "revoke": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:revoke",
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:revoke",
              "httpMethod": "POST",
              "request": {
                "$ref": "RevokeSubscriptionPurchaseRequest"
              },
              "parameterOrder": [
                "packageName",
                "token"
              ],
              "id": "androidpublisher.purchases.subscriptionsv2.revoke",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Required. The package of the application for which this subscription was purchased (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string"
                },
                "token": {
                  "description": "Required. The token provided to the user's device when the subscription was purchased.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "RevokeSubscriptionPurchaseResponse"
              },
              "description": "Revoke a subscription purchase for the user."
            }
          }
        },
        "productsv2": {
          "methods": {
            "getproductpurchasev2": {
              "parameterOrder": [
                "packageName",
                "token"
              ],
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "The package name of the application the inapp product was sold in (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string"
                },
                "token": {
                  "required": true,
                  "description": "The token provided to the user's device when the inapp product was purchased.",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "ProductPurchaseV2"
              },
              "description": "Checks the purchase and consumption status of an inapp item.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.purchases.productsv2.getproductpurchasev2",
              "path": "androidpublisher/v3/applications/{packageName}/purchases/productsv2/tokens/{token}",
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/productsv2/tokens/{token}",
              "httpMethod": "GET"
            }
          }
        },
        "voidedpurchases": {
          "methods": {
            "list": {
              "httpMethod": "GET",
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/voidedpurchases",
              "path": "androidpublisher/v3/applications/{packageName}/purchases/voidedpurchases",
              "id": "androidpublisher.purchases.voidedpurchases.list",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "startTime": {
                  "description": "The time, in milliseconds since the Epoch, of the oldest voided purchase that you want to see in the response. The value of this parameter cannot be older than 30 days and is ignored if a pagination token is set. Default value is current time minus 30 days. Note: This filter is applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response.",
                  "location": "query",
                  "type": "string",
                  "format": "int64"
                },
                "endTime": {
                  "format": "int64",
                  "description": "The time, in milliseconds since the Epoch, of the newest voided purchase that you want to see in the response. The value of this parameter cannot be greater than the current time and is ignored if a pagination token is set. Default value is current time. Note: This filter is applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response.",
                  "location": "query",
                  "type": "string"
                },
                "maxResults": {
                  "description": "Defines how many results the list operation should return. The default number depends on the resource collection.",
                  "location": "query",
                  "type": "integer",
                  "format": "uint32"
                },
                "token": {
                  "description": "Defines the token of the page to return, usually taken from TokenPagination. This can only be used if token paging is enabled.",
                  "location": "query",
                  "type": "string"
                },
                "type": {
                  "description": "The type of voided purchases that you want to see in the response. Possible values are: 0. Only voided in-app product purchases will be returned in the response. This is the default value. 1. Both voided in-app purchases and voided subscription purchases will be returned in the response. Note: Before requesting to receive voided subscription purchases, you must switch to use orderId in the response which uniquely identifies one-time purchases and subscriptions. Otherwise, you will receive multiple subscription orders with the same PurchaseToken, because subscription renewal orders share the same PurchaseToken.",
                  "location": "query",
                  "type": "integer",
                  "format": "int32"
                },
                "startIndex": {
                  "description": "Defines the index of the first element to return. This can only be used if indexed paging is enabled.",
                  "location": "query",
                  "type": "integer",
                  "format": "uint32"
                },
                "includeQuantityBasedPartialRefund": {
                  "description": "Optional. Whether to include voided purchases of quantity-based partial refunds, which are applicable only to multi-quantity purchases. If true, additional voided purchases may be returned with voidedQuantity that indicates the refund quantity of a quantity-based partial refund. The default value is false.",
                  "location": "query",
                  "type": "boolean"
                },
                "packageName": {
                  "description": "The package name of the application for which voided purchases need to be returned (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "VoidedPurchasesListResponse"
              },
              "description": "Lists the purchases that were canceled, refunded or charged-back.",
              "parameterOrder": [
                "packageName"
              ]
            }
          }
        }
      }
    },
    "generatedapks": {
      "methods": {
        "list": {
          "httpMethod": "GET",
          "path": "androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}",
          "flatPath": "androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}",
          "parameters": {
            "versionCode": {
              "format": "int32",
              "required": true,
              "description": "Version code of the app bundle.",
              "location": "path",
              "type": "integer"
            },
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            }
          },
          "response": {
            "$ref": "GeneratedApksListResponse"
          },
          "description": "Returns download metadata for all APKs that were generated from a given app bundle.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "id": "androidpublisher.generatedapks.list",
          "parameterOrder": [
            "packageName",
            "versionCode"
          ]
        },
        "download": {
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            },
            "downloadId": {
              "description": "Download ID, which uniquely identifies the APK to download. Can be obtained from the response of `generatedapks.list` method.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "versionCode": {
              "format": "int32",
              "description": "Version code of the app bundle.",
              "location": "path",
              "type": "integer",
              "required": true
            }
          },
          "description": "Downloads a single signed APK generated from an app bundle.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "id": "androidpublisher.generatedapks.download",
          "parameterOrder": [
            "packageName",
            "versionCode",
            "downloadId"
          ],
          "supportsMediaDownload": true,
          "useMediaDownloadService": true,
          "httpMethod": "GET",
          "path": "androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download",
          "flatPath": "androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download"
        }
      }
    },
    "applications": {
      "methods": {
        "dataSafety": {
          "flatPath": "androidpublisher/v3/applications/{packageName}/dataSafety",
          "path": "androidpublisher/v3/applications/{packageName}/dataSafety",
          "httpMethod": "POST",
          "request": {
            "$ref": "SafetyLabelsUpdateRequest"
          },
          "parameterOrder": [
            "packageName"
          ],
          "id": "androidpublisher.applications.dataSafety",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "packageName": {
              "description": "Required. Package name of the app.",
              "location": "path",
              "type": "string",
              "required": true
            }
          },
          "response": {
            "$ref": "SafetyLabelsUpdateResponse"
          },
          "description": "Writes the Safety Labels declaration of an app."
        }
      },
      "resources": {
        "deviceTierConfigs": {
          "methods": {
            "create": {
              "httpMethod": "POST",
              "request": {
                "$ref": "DeviceTierConfig"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/deviceTierConfigs",
              "path": "androidpublisher/v3/applications/{packageName}/deviceTierConfigs",
              "id": "androidpublisher.applications.deviceTierConfigs.create",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "allowUnknownDevices": {
                  "description": "Whether the service should accept device IDs that are unknown to Play's device catalog.",
                  "location": "query",
                  "type": "boolean"
                }
              },
              "response": {
                "$ref": "DeviceTierConfig"
              },
              "description": "Creates a new device tier config for an app.",
              "parameterOrder": [
                "packageName"
              ]
            },
            "list": {
              "httpMethod": "GET",
              "path": "androidpublisher/v3/applications/{packageName}/deviceTierConfigs",
              "flatPath": "androidpublisher/v3/applications/{packageName}/deviceTierConfigs",
              "parameters": {
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "pageToken": {
                  "description": "A page token, received from a previous `ListDeviceTierConfigs` call. Provide this to retrieve the subsequent page.",
                  "location": "query",
                  "type": "string"
                },
                "pageSize": {
                  "description": "The maximum number of device tier configs to return. The service may return fewer than this value. If unspecified, at most 10 device tier configs will be returned. The maximum value for this field is 100; values above 100 will be coerced to 100. Device tier configs will be ordered by descending creation time.",
                  "location": "query",
                  "type": "integer",
                  "format": "int32"
                }
              },
              "response": {
                "$ref": "ListDeviceTierConfigsResponse"
              },
              "description": "Returns created device tier configs, ordered by descending creation time.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.applications.deviceTierConfigs.list",
              "parameterOrder": [
                "packageName"
              ]
            },
            "get": {
              "parameterOrder": [
                "packageName",
                "deviceTierConfigId"
              ],
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "deviceTierConfigId": {
                  "format": "int64",
                  "description": "Required. Id of an existing device tier config.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "DeviceTierConfig"
              },
              "description": "Returns a particular device tier config.",
              "id": "androidpublisher.applications.deviceTierConfigs.get",
              "path": "androidpublisher/v3/applications/{packageName}/deviceTierConfigs/{deviceTierConfigId}",
              "flatPath": "androidpublisher/v3/applications/{packageName}/deviceTierConfigs/{deviceTierConfigId}",
              "httpMethod": "GET"
            }
          }
        },
        "tracks": {
          "resources": {
            "releases": {
              "methods": {
                "list": {
                  "httpMethod": "GET",
                  "path": "androidpublisher/v3/{+parent}/releases",
                  "flatPath": "androidpublisher/v3/applications/{applicationsId}/tracks/{tracksId}/releases",
                  "scopes": [
                    "https://www.googleapis.com/auth/androidpublisher"
                  ],
                  "parameters": {
                    "parent": {
                      "required": true,
                      "pattern": "^applications/[^/]+/tracks/[^/]+$",
                      "description": "Required. The parent track, which owns this collection of releases. Format: applications/{package_name}/tracks/{track}",
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "response": {
                    "$ref": "ListReleaseSummariesResponse"
                  },
                  "description": "Returns the list of all releases for a given track. This excludes any releases that are obsolete.",
                  "id": "androidpublisher.applications.tracks.releases.list",
                  "parameterOrder": [
                    "parent"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "users": {
      "methods": {
        "create": {
          "flatPath": "androidpublisher/v3/developers/{developersId}/users",
          "path": "androidpublisher/v3/{+parent}/users",
          "httpMethod": "POST",
          "request": {
            "$ref": "User"
          },
          "parameterOrder": [
            "parent"
          ],
          "id": "androidpublisher.users.create",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "parent": {
              "description": "Required. The developer account to add the user to. Format: developers/{developer}",
              "location": "path",
              "type": "string",
              "required": true,
              "pattern": "^developers/[^/]+$"
            }
          },
          "response": {
            "$ref": "User"
          },
          "description": "Grant access for a user to the given developer account."
        },
        "list": {
          "httpMethod": "GET",
          "path": "androidpublisher/v3/{+parent}/users",
          "flatPath": "androidpublisher/v3/developers/{developersId}/users",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "pageToken": {
              "description": "A token received from a previous call to this method, in order to retrieve further results.",
              "location": "query",
              "type": "string"
            },
            "pageSize": {
              "format": "int32",
              "description": "The maximum number of results to return. This must be set to -1 to disable pagination.",
              "location": "query",
              "type": "integer"
            },
            "parent": {
              "required": true,
              "pattern": "^developers/[^/]+$",
              "description": "Required. The developer account to fetch users from. Format: developers/{developer}",
              "location": "path",
              "type": "string"
            }
          },
          "response": {
            "$ref": "ListUsersResponse"
          },
          "description": "Lists all users with access to a developer account.",
          "id": "androidpublisher.users.list",
          "parameterOrder": [
            "parent"
          ]
        },
        "patch": {
          "parameterOrder": [
            "name"
          ],
          "id": "androidpublisher.users.patch",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "name": {
              "pattern": "^developers/[^/]+/users/[^/]+$",
              "required": true,
              "description": "Required. Resource name for this user, following the pattern \"developers/{developer}/users/{email}\".",
              "location": "path",
              "type": "string"
            },
            "updateMask": {
              "format": "google-fieldmask",
              "description": "Optional. The list of fields to be updated.",
              "location": "query",
              "type": "string"
            }
          },
          "response": {
            "$ref": "User"
          },
          "description": "Updates access for the user to the developer account.",
          "flatPath": "androidpublisher/v3/developers/{developersId}/users/{usersId}",
          "path": "androidpublisher/v3/{+name}",
          "httpMethod": "PATCH",
          "request": {
            "$ref": "User"
          }
        },
        "delete": {
          "httpMethod": "DELETE",
          "id": "androidpublisher.users.delete",
          "parameters": {
            "name": {
              "description": "Required. The name of the user to delete. Format: developers/{developer}/users/{email}",
              "location": "path",
              "type": "string",
              "required": true,
              "pattern": "^developers/[^/]+/users/[^/]+$"
            }
          },
          "description": "Removes all access for the user to the given developer account.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "flatPath": "androidpublisher/v3/developers/{developersId}/users/{usersId}",
          "path": "androidpublisher/v3/{+name}",
          "parameterOrder": [
            "name"
          ]
        }
      }
    },
    "systemapks": {
      "resources": {
        "variants": {
          "methods": {
            "create": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants",
              "path": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants",
              "httpMethod": "POST",
              "request": {
                "$ref": "Variant"
              },
              "parameterOrder": [
                "packageName",
                "versionCode"
              ],
              "id": "androidpublisher.systemapks.variants.create",
              "parameters": {
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "versionCode": {
                  "format": "int64",
                  "description": "The version code of the App Bundle.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "Variant"
              },
              "description": "Creates an APK which is suitable for inclusion in a system image from an already uploaded Android App Bundle.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ]
            },
            "list": {
              "httpMethod": "GET",
              "path": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants",
              "flatPath": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants",
              "parameters": {
                "versionCode": {
                  "description": "The version code of the App Bundle.",
                  "location": "path",
                  "type": "string",
                  "required": true,
                  "format": "int64"
                },
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "SystemApksListResponse"
              },
              "description": "Returns the list of previously created system APK variants.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.systemapks.variants.list",
              "parameterOrder": [
                "packageName",
                "versionCode"
              ]
            },
            "get": {
              "path": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}",
              "flatPath": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}",
              "httpMethod": "GET",
              "parameterOrder": [
                "packageName",
                "versionCode",
                "variantId"
              ],
              "parameters": {
                "versionCode": {
                  "required": true,
                  "description": "The version code of the App Bundle.",
                  "location": "path",
                  "type": "string",
                  "format": "int64"
                },
                "variantId": {
                  "format": "uint32",
                  "required": true,
                  "description": "The ID of a previously created system APK variant.",
                  "location": "path",
                  "type": "integer"
                },
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "Variant"
              },
              "description": "Returns a previously created system APK variant.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.systemapks.variants.get"
            },
            "download": {
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "versionCode": {
                  "required": true,
                  "description": "The version code of the App Bundle.",
                  "location": "path",
                  "type": "string",
                  "format": "int64"
                },
                "variantId": {
                  "description": "The ID of a previously created system APK variant.",
                  "location": "path",
                  "type": "integer",
                  "required": true,
                  "format": "uint32"
                }
              },
              "description": "Downloads a previously created system APK which is suitable for inclusion in a system image.",
              "id": "androidpublisher.systemapks.variants.download",
              "parameterOrder": [
                "packageName",
                "versionCode",
                "variantId"
              ],
              "supportsMediaDownload": true,
              "useMediaDownloadService": true,
              "httpMethod": "GET",
              "path": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download",
              "flatPath": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download"
            }
          }
        }
      }
    },
    "edits": {
      "resources": {
        "bundles": {
          "methods": {
            "list": {
              "httpMethod": "GET",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "BundlesListResponse"
              },
              "description": "Lists all current Android App Bundles of the app and edit.",
              "id": "androidpublisher.edits.bundles.list",
              "parameterOrder": [
                "packageName",
                "editId"
              ]
            },
            "upload": {
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "parameters": {
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                },
                "ackBundleInstallationWarning": {
                  "deprecated": true,
                  "description": "Deprecated. The installation warning has been removed, it's not necessary to set this field anymore.",
                  "location": "query",
                  "type": "boolean"
                },
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "deviceTierConfigId": {
                  "description": "Device tier config (DTC) to be used for generating deliverables (APKs). Contains id of the DTC or \"LATEST\" for last uploaded DTC.",
                  "location": "query",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "Bundle"
              },
              "description": "Uploads a new Android App Bundle to this edit. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See [Timeouts and Errors](https://developers.google.com/api-client-library/java/google-api-java-client/errors) for an example in java.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.edits.bundles.upload",
              "supportsMediaUpload": true,
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles",
              "mediaUpload": {
                "maxSize": "53687091200",
                "protocols": {
                  "resumable": {
                    "multipart": true,
                    "path": "/resumable/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles"
                  },
                  "simple": {
                    "multipart": true,
                    "path": "/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles"
                  }
                },
                "accept": [
                  "application/octet-stream"
                ]
              },
              "httpMethod": "POST"
            }
          }
        },
        "details": {
          "methods": {
            "get": {
              "httpMethod": "GET",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
              "id": "androidpublisher.edits.details.get",
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "AppDetails"
              },
              "description": "Gets details of an app.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameterOrder": [
                "packageName",
                "editId"
              ]
            },
            "update": {
              "httpMethod": "PUT",
              "request": {
                "$ref": "AppDetails"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
              "id": "androidpublisher.edits.details.update",
              "parameters": {
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "AppDetails"
              },
              "description": "Updates details of an app.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameterOrder": [
                "packageName",
                "editId"
              ]
            },
            "patch": {
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "AppDetails"
              },
              "description": "Patches details of an app.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.edits.details.patch",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
              "httpMethod": "PATCH",
              "request": {
                "$ref": "AppDetails"
              }
            }
          }
        },
        "tracks": {
          "methods": {
            "update": {
              "parameterOrder": [
                "packageName",
                "editId",
                "track"
              ],
              "id": "androidpublisher.edits.tracks.update",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "track": {
                  "required": true,
                  "description": "Identifier of the track. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name)",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "Track"
              },
              "description": "Updates a track.",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
              "httpMethod": "PUT",
              "request": {
                "$ref": "Track"
              }
            },
            "patch": {
              "parameterOrder": [
                "packageName",
                "editId",
                "track"
              ],
              "id": "androidpublisher.edits.tracks.patch",
              "parameters": {
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                },
                "track": {
                  "description": "Identifier of the track. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name)",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "Track"
              },
              "description": "Patches a track.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
              "httpMethod": "PATCH",
              "request": {
                "$ref": "Track"
              }
            },
            "list": {
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "id": "androidpublisher.edits.tracks.list",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "TracksListResponse"
              },
              "description": "Lists all tracks.",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks",
              "httpMethod": "GET"
            },
            "create": {
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "id": "androidpublisher.edits.tracks.create",
              "parameters": {
                "packageName": {
                  "description": "Required. Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "editId": {
                  "required": true,
                  "description": "Required. Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "Track"
              },
              "description": "Creates a new track.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks",
              "httpMethod": "POST",
              "request": {
                "$ref": "TrackConfig"
              }
            },
            "get": {
              "httpMethod": "GET",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
              "id": "androidpublisher.edits.tracks.get",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                },
                "track": {
                  "description": "Identifier of the track. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name)",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "Track"
              },
              "description": "Gets a track.",
              "parameterOrder": [
                "packageName",
                "editId",
                "track"
              ]
            }
          }
        },
        "expansionfiles": {
          "methods": {
            "upload": {
              "id": "androidpublisher.edits.expansionfiles.upload",
              "supportsMediaUpload": true,
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "expansionFileType": {
                  "enumDescriptions": [
                    "Unspecified expansion file type.",
                    "Main expansion file.",
                    "Patch expansion file."
                  ],
                  "description": "The file type of the expansion file configuration which is being updated.",
                  "location": "path",
                  "type": "string",
                  "enum": [
                    "expansionFileTypeUnspecified",
                    "main",
                    "patch"
                  ],
                  "required": true
                },
                "apkVersionCode": {
                  "description": "The version code of the APK whose expansion file configuration is being read or modified.",
                  "location": "path",
                  "type": "integer",
                  "required": true,
                  "format": "int32"
                },
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "ExpansionFilesUploadResponse"
              },
              "description": "Uploads a new expansion file and attaches to the specified APK.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameterOrder": [
                "packageName",
                "editId",
                "apkVersionCode",
                "expansionFileType"
              ],
              "httpMethod": "POST",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
              "mediaUpload": {
                "accept": [
                  "application/octet-stream"
                ],
                "maxSize": "2147483648",
                "protocols": {
                  "resumable": {
                    "multipart": true,
                    "path": "/resumable/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}"
                  },
                  "simple": {
                    "multipart": true,
                    "path": "/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}"
                  }
                }
              },
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}"
            },
            "get": {
              "parameters": {
                "apkVersionCode": {
                  "required": true,
                  "description": "The version code of the APK whose expansion file configuration is being read or modified.",
                  "location": "path",
                  "type": "integer",
                  "format": "int32"
                },
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "expansionFileType": {
                  "enumDescriptions": [
                    "Unspecified expansion file type.",
                    "Main expansion file.",
                    "Patch expansion file."
                  ],
                  "required": true,
                  "enum": [
                    "expansionFileTypeUnspecified",
                    "main",
                    "patch"
                  ],
                  "description": "The file type of the file configuration which is being read or modified.",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "ExpansionFile"
              },
              "description": "Fetches the expansion file configuration for the specified APK.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.edits.expansionfiles.get",
              "parameterOrder": [
                "packageName",
                "editId",
                "apkVersionCode",
                "expansionFileType"
              ],
              "httpMethod": "GET",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}"
            },
            "update": {
              "parameters": {
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "expansionFileType": {
                  "description": "The file type of the file configuration which is being read or modified.",
                  "location": "path",
                  "type": "string",
                  "required": true,
                  "enum": [
                    "expansionFileTypeUnspecified",
                    "main",
                    "patch"
                  ],
                  "enumDescriptions": [
                    "Unspecified expansion file type.",
                    "Main expansion file.",
                    "Patch expansion file."
                  ]
                },
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                },
                "apkVersionCode": {
                  "format": "int32",
                  "required": true,
                  "description": "The version code of the APK whose expansion file configuration is being read or modified.",
                  "location": "path",
                  "type": "integer"
                }
              },
              "response": {
                "$ref": "ExpansionFile"
              },
              "description": "Updates the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.edits.expansionfiles.update",
              "parameterOrder": [
                "packageName",
                "editId",
                "apkVersionCode",
                "expansionFileType"
              ],
              "httpMethod": "PUT",
              "request": {
                "$ref": "ExpansionFile"
              },
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}"
            },
            "patch": {
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "apkVersionCode": {
                  "format": "int32",
                  "description": "The version code of the APK whose expansion file configuration is being read or modified.",
                  "location": "path",
                  "type": "integer",
                  "required": true
                },
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                },
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "expansionFileType": {
                  "enumDescriptions": [
                    "Unspecified expansion file type.",
                    "Main expansion file.",
                    "Patch expansion file."
                  ],
                  "required": true,
                  "enum": [
                    "expansionFileTypeUnspecified",
                    "main",
                    "patch"
                  ],
                  "description": "The file type of the expansion file configuration which is being updated.",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "ExpansionFile"
              },
              "description": "Patches the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method.",
              "id": "androidpublisher.edits.expansionfiles.patch",
              "parameterOrder": [
                "packageName",
                "editId",
                "apkVersionCode",
                "expansionFileType"
              ],
              "httpMethod": "PATCH",
              "request": {
                "$ref": "ExpansionFile"
              },
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}"
            }
          }
        },
        "apks": {
          "methods": {
            "list": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks",
              "httpMethod": "GET",
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "id": "androidpublisher.edits.apks.list",
              "parameters": {
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "ApksListResponse"
              },
              "description": "Lists all current APKs of the app and edit.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ]
            },
            "upload": {
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "Apk"
              },
              "description": "Uploads an APK and adds to the current edit.",
              "id": "androidpublisher.edits.apks.upload",
              "supportsMediaUpload": true,
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "httpMethod": "POST",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks",
              "mediaUpload": {
                "accept": [
                  "application/octet-stream",
                  "application/vnd.android.package-archive"
                ],
                "maxSize": "10737418240",
                "protocols": {
                  "resumable": {
                    "multipart": true,
                    "path": "/resumable/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks"
                  },
                  "simple": {
                    "multipart": true,
                    "path": "/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks"
                  }
                }
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks"
            },
            "addexternallyhosted": {
              "id": "androidpublisher.edits.apks.addexternallyhosted",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "ApksAddExternallyHostedResponse"
              },
              "description": "Creates a new APK without uploading the APK itself to Google Play, instead hosting the APK at a specified URL. This function is only available to organizations using Managed Play whose application is configured to restrict distribution to the organizations.",
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "httpMethod": "POST",
              "request": {
                "$ref": "ApksAddExternallyHostedRequest"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/externallyHosted",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/externallyHosted"
            }
          }
        },
        "deobfuscationfiles": {
          "methods": {
            "upload": {
              "httpMethod": "POST",
              "mediaUpload": {
                "accept": [
                  "application/octet-stream"
                ],
                "maxSize": "1677721600",
                "protocols": {
                  "resumable": {
                    "multipart": true,
                    "path": "/resumable/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}"
                  },
                  "simple": {
                    "multipart": true,
                    "path": "/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}"
                  }
                }
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}",
              "id": "androidpublisher.edits.deobfuscationfiles.upload",
              "supportsMediaUpload": true,
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Unique identifier for the Android app.",
                  "location": "path",
                  "type": "string"
                },
                "apkVersionCode": {
                  "format": "int32",
                  "description": "The version code of the APK whose Deobfuscation File is being uploaded.",
                  "location": "path",
                  "type": "integer",
                  "required": true
                },
                "editId": {
                  "required": true,
                  "description": "Unique identifier for this edit.",
                  "location": "path",
                  "type": "string"
                },
                "deobfuscationFileType": {
                  "description": "The type of the deobfuscation file.",
                  "location": "path",
                  "type": "string",
                  "required": true,
                  "enum": [
                    "deobfuscationFileTypeUnspecified",
                    "proguard",
                    "nativeCode"
                  ],
                  "enumDescriptions": [
                    "Unspecified deobfuscation file type.",
                    "Proguard deobfuscation file type.",
                    "Native debugging symbols file type."
                  ]
                }
              },
              "response": {
                "$ref": "DeobfuscationFilesUploadResponse"
              },
              "description": "Uploads a new deobfuscation file and attaches to the specified APK.",
              "parameterOrder": [
                "packageName",
                "editId",
                "apkVersionCode",
                "deobfuscationFileType"
              ]
            }
          }
        },
        "images": {
          "methods": {
            "list": {
              "httpMethod": "GET",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
              "id": "androidpublisher.edits.images.list",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "imageType": {
                  "required": true,
                  "enum": [
                    "appImageTypeUnspecified",
                    "phoneScreenshots",
                    "sevenInchScreenshots",
                    "tenInchScreenshots",
                    "tvScreenshots",
                    "wearScreenshots",
                    "icon",
                    "featureGraphic",
                    "tvBanner"
                  ],
                  "description": "Type of the Image. Providing an image type that refers to no images will return an empty response.",
                  "location": "path",
                  "type": "string",
                  "enumDescriptions": [
                    "Unspecified type. Do not use.",
                    "Phone screenshot.",
                    "Seven inch screenshot.",
                    "Ten inch screenshot.",
                    "TV screenshot.",
                    "Wear screenshot.",
                    "Icon.",
                    "Feature graphic.",
                    "TV banner."
                  ]
                },
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "language": {
                  "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German). There must be a store listing for the specified language.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "ImagesListResponse"
              },
              "description": "Lists all images. The response may be empty.",
              "parameterOrder": [
                "packageName",
                "editId",
                "language",
                "imageType"
              ]
            },
            "deleteall": {
              "httpMethod": "DELETE",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
              "id": "androidpublisher.edits.images.deleteall",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "language": {
                  "required": true,
                  "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German). Providing a language that is not supported by the App is a no-op.",
                  "location": "path",
                  "type": "string"
                },
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "imageType": {
                  "required": true,
                  "enum": [
                    "appImageTypeUnspecified",
                    "phoneScreenshots",
                    "sevenInchScreenshots",
                    "tenInchScreenshots",
                    "tvScreenshots",
                    "wearScreenshots",
                    "icon",
                    "featureGraphic",
                    "tvBanner"
                  ],
                  "description": "Type of the Image. Providing an image type that refers to no images is a no-op.",
                  "location": "path",
                  "type": "string",
                  "enumDescriptions": [
                    "Unspecified type. Do not use.",
                    "Phone screenshot.",
                    "Seven inch screenshot.",
                    "Ten inch screenshot.",
                    "TV screenshot.",
                    "Wear screenshot.",
                    "Icon.",
                    "Feature graphic.",
                    "TV banner."
                  ]
                }
              },
              "response": {
                "$ref": "ImagesDeleteAllResponse"
              },
              "description": "Deletes all images for the specified language and image type. Returns an empty response if no images are found.",
              "parameterOrder": [
                "packageName",
                "editId",
                "language",
                "imageType"
              ]
            },
            "upload": {
              "httpMethod": "POST",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
              "mediaUpload": {
                "maxSize": "15728640",
                "protocols": {
                  "resumable": {
                    "multipart": true,
                    "path": "/resumable/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}"
                  },
                  "simple": {
                    "multipart": true,
                    "path": "/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}"
                  }
                },
                "accept": [
                  "image/*"
                ]
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                },
                "imageType": {
                  "enum": [
                    "appImageTypeUnspecified",
                    "phoneScreenshots",
                    "sevenInchScreenshots",
                    "tenInchScreenshots",
                    "tvScreenshots",
                    "wearScreenshots",
                    "icon",
                    "featureGraphic",
                    "tvBanner"
                  ],
                  "required": true,
                  "description": "Type of the Image.",
                  "location": "path",
                  "type": "string",
                  "enumDescriptions": [
                    "Unspecified type. Do not use.",
                    "Phone screenshot.",
                    "Seven inch screenshot.",
                    "Ten inch screenshot.",
                    "TV screenshot.",
                    "Wear screenshot.",
                    "Icon.",
                    "Feature graphic.",
                    "TV banner."
                  ]
                },
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "language": {
                  "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German). Providing a language that is not supported by the App is a no-op.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "ImagesUploadResponse"
              },
              "description": "Uploads an image of the specified language and image type, and adds to the edit.",
              "id": "androidpublisher.edits.images.upload",
              "supportsMediaUpload": true,
              "parameterOrder": [
                "packageName",
                "editId",
                "language",
                "imageType"
              ]
            },
            "delete": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}",
              "parameterOrder": [
                "packageName",
                "editId",
                "language",
                "imageType",
                "imageId"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}",
              "id": "androidpublisher.edits.images.delete",
              "httpMethod": "DELETE",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "imageType": {
                  "description": "Type of the Image.",
                  "location": "path",
                  "type": "string",
                  "required": true,
                  "enum": [
                    "appImageTypeUnspecified",
                    "phoneScreenshots",
                    "sevenInchScreenshots",
                    "tenInchScreenshots",
                    "tvScreenshots",
                    "wearScreenshots",
                    "icon",
                    "featureGraphic",
                    "tvBanner"
                  ],
                  "enumDescriptions": [
                    "Unspecified type. Do not use.",
                    "Phone screenshot.",
                    "Seven inch screenshot.",
                    "Ten inch screenshot.",
                    "TV screenshot.",
                    "Wear screenshot.",
                    "Icon.",
                    "Feature graphic.",
                    "TV banner."
                  ]
                },
                "language": {
                  "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German).",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                },
                "imageId": {
                  "description": "Unique identifier an image within the set of images attached to this edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "description": "Deletes the image (specified by id) from the edit."
            }
          }
        },
        "countryavailability": {
          "methods": {
            "get": {
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "track": {
                  "description": "The track to read from.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "TrackCountryAvailability"
              },
              "description": "Gets country availability.",
              "id": "androidpublisher.edits.countryavailability.get",
              "parameterOrder": [
                "packageName",
                "editId",
                "track"
              ],
              "httpMethod": "GET",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/countryAvailability/{track}",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/countryAvailability/{track}"
            }
          }
        },
        "listings": {
          "methods": {
            "get": {
              "httpMethod": "GET",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                },
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "language": {
                  "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German).",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "Listing"
              },
              "description": "Gets a localized store listing.",
              "id": "androidpublisher.edits.listings.get",
              "parameterOrder": [
                "packageName",
                "editId",
                "language"
              ]
            },
            "delete": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
              "parameterOrder": [
                "packageName",
                "editId",
                "language"
              ],
              "httpMethod": "DELETE",
              "id": "androidpublisher.edits.listings.delete",
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "language": {
                  "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German).",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "description": "Deletes a localized store listing.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ]
            },
            "list": {
              "httpMethod": "GET",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings",
              "id": "androidpublisher.edits.listings.list",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "ListingsListResponse"
              },
              "description": "Lists all localized store listings.",
              "parameterOrder": [
                "packageName",
                "editId"
              ]
            },
            "update": {
              "parameters": {
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "language": {
                  "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German).",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "Listing"
              },
              "description": "Creates or updates a localized store listing.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.edits.listings.update",
              "parameterOrder": [
                "packageName",
                "editId",
                "language"
              ],
              "httpMethod": "PUT",
              "request": {
                "$ref": "Listing"
              },
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}"
            },
            "patch": {
              "parameters": {
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "language": {
                  "required": true,
                  "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German).",
                  "location": "path",
                  "type": "string"
                },
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "Listing"
              },
              "description": "Patches a localized store listing.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.edits.listings.patch",
              "parameterOrder": [
                "packageName",
                "editId",
                "language"
              ],
              "httpMethod": "PATCH",
              "request": {
                "$ref": "Listing"
              },
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}"
            },
            "deleteall": {
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings",
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings",
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "description": "Deletes all store listings.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "httpMethod": "DELETE",
              "id": "androidpublisher.edits.listings.deleteall"
            }
          }
        },
        "testers": {
          "methods": {
            "get": {
              "parameterOrder": [
                "packageName",
                "editId",
                "track"
              ],
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                },
                "track": {
                  "required": true,
                  "description": "The track to read from.",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "Testers"
              },
              "description": "Gets testers. Note: Testers resource does not support email lists.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.edits.testers.get",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
              "httpMethod": "GET"
            },
            "update": {
              "parameterOrder": [
                "packageName",
                "editId",
                "track"
              ],
              "id": "androidpublisher.edits.testers.update",
              "parameters": {
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                },
                "track": {
                  "required": true,
                  "description": "The track to update.",
                  "location": "path",
                  "type": "string"
                },
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "Testers"
              },
              "description": "Updates testers. Note: Testers resource does not support email lists.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
              "httpMethod": "PUT",
              "request": {
                "$ref": "Testers"
              }
            },
            "patch": {
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
              "httpMethod": "PATCH",
              "request": {
                "$ref": "Testers"
              },
              "parameterOrder": [
                "packageName",
                "editId",
                "track"
              ],
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                },
                "track": {
                  "description": "The track to update.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "Testers"
              },
              "description": "Patches testers. Note: Testers resource does not support email lists.",
              "id": "androidpublisher.edits.testers.patch"
            }
          }
        }
      },
      "methods": {
        "get": {
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            },
            "editId": {
              "required": true,
              "description": "Identifier of the edit.",
              "location": "path",
              "type": "string"
            }
          },
          "response": {
            "$ref": "AppEdit"
          },
          "description": "Gets an app edit.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "id": "androidpublisher.edits.get",
          "parameterOrder": [
            "packageName",
            "editId"
          ],
          "httpMethod": "GET",
          "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}",
          "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}"
        },
        "insert": {
          "parameterOrder": [
            "packageName"
          ],
          "id": "androidpublisher.edits.insert",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            }
          },
          "response": {
            "$ref": "AppEdit"
          },
          "description": "Creates a new edit for an app.",
          "flatPath": "androidpublisher/v3/applications/{packageName}/edits",
          "path": "androidpublisher/v3/applications/{packageName}/edits",
          "httpMethod": "POST",
          "request": {
            "$ref": "AppEdit"
          }
        },
        "delete": {
          "id": "androidpublisher.edits.delete",
          "httpMethod": "DELETE",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            },
            "editId": {
              "description": "Identifier of the edit.",
              "location": "path",
              "type": "string",
              "required": true
            }
          },
          "description": "Deletes an app edit.",
          "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}",
          "parameterOrder": [
            "packageName",
            "editId"
          ],
          "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}"
        },
        "validate": {
          "parameterOrder": [
            "packageName",
            "editId"
          ],
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            },
            "editId": {
              "description": "Identifier of the edit.",
              "location": "path",
              "type": "string",
              "required": true
            }
          },
          "response": {
            "$ref": "AppEdit"
          },
          "description": "Validates an app edit.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "id": "androidpublisher.edits.validate",
          "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}:validate",
          "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}:validate",
          "httpMethod": "POST"
        },
        "commit": {
          "id": "androidpublisher.edits.commit",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "editId": {
              "description": "Identifier of the edit.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "packageName": {
              "description": "Package name of the app.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "changesNotSentForReview": {
              "description": "When a rejection happens, the parameter will make sure that the changes in this edit won't be reviewed until they are explicitly sent for review from within the Google Play Console UI. These changes will be added to any other changes that are not yet sent for review.",
              "location": "query",
              "type": "boolean"
            },
            "changesInReviewBehavior": {
              "enumDescriptions": [
                "Defaults to CANCEL_IN_REVIEW_AND_SUBMIT.",
                "If there are changes already in review, then this will cancel that review first and then send all the changes for publishing.",
                "If there are changes in review, then this will return an error. Please refer to the error message sample that is returned when this happens. Note that this won't invalidate the edit. If there aren't any changes in review, then this will continue and send the new changes for publishing."
              ],
              "enum": [
                "CHANGES_IN_REVIEW_BEHAVIOR_TYPE_UNSPECIFIED",
                "CANCEL_IN_REVIEW_AND_SUBMIT",
                "ERROR_IF_IN_REVIEW"
              ],
              "description": "Optional. Specify how the API should behave if there are changes currently in review. If this value is not set, it will default to \"CANCEL_IN_REVIEW_AND_SUBMIT\", which will cancel the changes in review and then send all the changes for publishing.",
              "location": "query",
              "type": "string"
            }
          },
          "response": {
            "$ref": "AppEdit"
          },
          "description": "Commits an app edit.",
          "parameterOrder": [
            "packageName",
            "editId"
          ],
          "httpMethod": "POST",
          "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}:commit",
          "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}:commit"
        }
      }
    },
    "apprecovery": {
      "methods": {
        "create": {
          "httpMethod": "POST",
          "request": {
            "$ref": "CreateDraftAppRecoveryRequest"
          },
          "flatPath": "androidpublisher/v3/applications/{packageName}/appRecoveries",
          "path": "androidpublisher/v3/applications/{packageName}/appRecoveries",
          "id": "androidpublisher.apprecovery.create",
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Required. Package name of the app on which recovery action is performed.",
              "location": "path",
              "type": "string"
            }
          },
          "response": {
            "$ref": "AppRecoveryAction"
          },
          "description": "Create an app recovery action with recovery status as DRAFT. Note that this action does not execute the recovery action.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameterOrder": [
            "packageName"
          ]
        },
        "list": {
          "flatPath": "androidpublisher/v3/applications/{packageName}/appRecoveries",
          "path": "androidpublisher/v3/applications/{packageName}/appRecoveries",
          "httpMethod": "GET",
          "parameterOrder": [
            "packageName"
          ],
          "id": "androidpublisher.apprecovery.list",
          "parameters": {
            "versionCode": {
              "format": "int64",
              "description": "Required. Version code targeted by the list of recovery actions.",
              "location": "query",
              "type": "string"
            },
            "packageName": {
              "required": true,
              "description": "Required. Package name of the app for which list of recovery actions is requested.",
              "location": "path",
              "type": "string"
            }
          },
          "response": {
            "$ref": "ListAppRecoveriesResponse"
          },
          "description": "List all app recovery action resources associated with a particular package name and app version.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ]
        },
        "cancel": {
          "parameterOrder": [
            "packageName",
            "appRecoveryId"
          ],
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Required. Package name of the app for which recovery action cancellation is requested.",
              "location": "path",
              "type": "string"
            },
            "appRecoveryId": {
              "required": true,
              "description": "Required. ID corresponding to the app recovery action.",
              "location": "path",
              "type": "string",
              "format": "int64"
            }
          },
          "response": {
            "$ref": "CancelAppRecoveryResponse"
          },
          "description": "Cancel an already executing app recovery action. Note that this action changes status of the recovery action to CANCELED.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "id": "androidpublisher.apprecovery.cancel",
          "path": "androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:cancel",
          "flatPath": "androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:cancel",
          "httpMethod": "POST",
          "request": {
            "$ref": "CancelAppRecoveryRequest"
          }
        },
        "deploy": {
          "parameterOrder": [
            "packageName",
            "appRecoveryId"
          ],
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "packageName": {
              "description": "Required. Package name of the app for which recovery action is deployed.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "appRecoveryId": {
              "required": true,
              "description": "Required. ID corresponding to the app recovery action to deploy.",
              "location": "path",
              "type": "string",
              "format": "int64"
            }
          },
          "response": {
            "$ref": "DeployAppRecoveryResponse"
          },
          "description": "Deploy an already created app recovery action with recovery status DRAFT. Note that this action activates the recovery action for all targeted users and changes its status to ACTIVE.",
          "id": "androidpublisher.apprecovery.deploy",
          "path": "androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:deploy",
          "flatPath": "androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:deploy",
          "httpMethod": "POST",
          "request": {
            "$ref": "DeployAppRecoveryRequest"
          }
        },
        "addTargeting": {
          "httpMethod": "POST",
          "request": {
            "$ref": "AddTargetingRequest"
          },
          "flatPath": "androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:addTargeting",
          "path": "androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:addTargeting",
          "id": "androidpublisher.apprecovery.addTargeting",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "packageName": {
              "description": "Required. Package name of the app for which recovery action is to be updated.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "appRecoveryId": {
              "description": "Required. ID corresponding to the app recovery action.",
              "location": "path",
              "type": "string",
              "required": true,
              "format": "int64"
            }
          },
          "response": {
            "$ref": "AddTargetingResponse"
          },
          "description": "Incrementally update targeting for a recovery action. Note that only the criteria selected during the creation of recovery action can be expanded.",
          "parameterOrder": [
            "packageName",
            "appRecoveryId"
          ]
        }
      }
    },
    "grants": {
      "methods": {
        "create": {
          "parameterOrder": [
            "parent"
          ],
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "parent": {
              "required": true,
              "pattern": "^developers/[^/]+/users/[^/]+$",
              "description": "Required. The user which needs permission. Format: developers/{developer}/users/{user}",
              "location": "path",
              "type": "string"
            }
          },
          "response": {
            "$ref": "Grant"
          },
          "description": "Grant access for a user to the given package.",
          "id": "androidpublisher.grants.create",
          "path": "androidpublisher/v3/{+parent}/grants",
          "flatPath": "androidpublisher/v3/developers/{developersId}/users/{usersId}/grants",
          "httpMethod": "POST",
          "request": {
            "$ref": "Grant"
          }
        },
        "patch": {
          "httpMethod": "PATCH",
          "request": {
            "$ref": "Grant"
          },
          "path": "androidpublisher/v3/{+name}",
          "flatPath": "androidpublisher/v3/developers/{developersId}/users/{usersId}/grants/{grantsId}",
          "parameters": {
            "name": {
              "pattern": "^developers/[^/]+/users/[^/]+/grants/[^/]+$",
              "required": true,
              "description": "Required. Resource name for this grant, following the pattern \"developers/{developer}/users/{email}/grants/{package_name}\". If this grant is for a draft app, the app ID will be used in this resource name instead of the package name.",
              "location": "path",
              "type": "string"
            },
            "updateMask": {
              "description": "Optional. The list of fields to be updated.",
              "location": "query",
              "type": "string",
              "format": "google-fieldmask"
            }
          },
          "response": {
            "$ref": "Grant"
          },
          "description": "Updates access for the user to the given package.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "id": "androidpublisher.grants.patch",
          "parameterOrder": [
            "name"
          ]
        },
        "delete": {
          "path": "androidpublisher/v3/{+name}",
          "parameterOrder": [
            "name"
          ],
          "flatPath": "androidpublisher/v3/developers/{developersId}/users/{usersId}/grants/{grantsId}",
          "parameters": {
            "name": {
              "description": "Required. The name of the grant to delete. Format: developers/{developer}/users/{email}/grants/{package_name}",
              "location": "path",
              "type": "string",
              "required": true,
              "pattern": "^developers/[^/]+/users/[^/]+/grants/[^/]+$"
            }
          },
          "description": "Removes all access for the user to the given package or developer account.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "httpMethod": "DELETE",
          "id": "androidpublisher.grants.delete"
        }
      }
    },
    "orders": {
      "methods": {
        "refund": {
          "flatPath": "androidpublisher/v3/applications/{packageName}/orders/{orderId}:refund",
          "path": "androidpublisher/v3/applications/{packageName}/orders/{orderId}:refund",
          "parameterOrder": [
            "packageName",
            "orderId"
          ],
          "httpMethod": "POST",
          "id": "androidpublisher.orders.refund",
          "parameters": {
            "packageName": {
              "description": "The package name of the application for which this subscription or in-app item was purchased (for example, 'com.some.thing').",
              "location": "path",
              "type": "string",
              "required": true
            },
            "revoke": {
              "description": "Whether to revoke the purchased item. If set to true, access to the subscription or in-app item will be terminated immediately. If the item is a recurring subscription, all future payments will also be terminated. Consumed in-app items need to be handled by developer's app. (optional).",
              "location": "query",
              "type": "boolean"
            },
            "orderId": {
              "required": true,
              "description": "The order ID provided to the user when the subscription or in-app order was purchased.",
              "location": "path",
              "type": "string"
            }
          },
          "description": "Refunds a user's subscription or in-app purchase order. Orders older than 3 years cannot be refunded.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ]
        },
        "get": {
          "parameters": {
            "packageName": {
              "description": "Required. The package name of the application for which this subscription or in-app item was purchased (for example, 'com.some.thing').",
              "location": "path",
              "type": "string",
              "required": true
            },
            "orderId": {
              "required": true,
              "description": "Required. The order ID provided to the user when the subscription or in-app order was purchased.",
              "location": "path",
              "type": "string"
            }
          },
          "response": {
            "$ref": "Order"
          },
          "description": "Get order details for a single order.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "id": "androidpublisher.orders.get",
          "parameterOrder": [
            "packageName",
            "orderId"
          ],
          "httpMethod": "GET",
          "path": "androidpublisher/v3/applications/{packageName}/orders/{orderId}",
          "flatPath": "androidpublisher/v3/applications/{packageName}/orders/{orderId}"
        },
        "batchget": {
          "id": "androidpublisher.orders.batchget",
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Required. The package name of the application for which this subscription or in-app item was purchased (for example, 'com.some.thing').",
              "location": "path",
              "type": "string"
            },
            "orderIds": {
              "description": "Required. The list of order IDs to retrieve order details for. There must be between 1 and 1000 (inclusive) order IDs per request. If any order ID is not found or does not match the provided package, the entire request will fail with an error. The order IDs must be distinct.",
              "location": "query",
              "repeated": true,
              "type": "string"
            }
          },
          "response": {
            "$ref": "BatchGetOrdersResponse"
          },
          "description": "Get order details for a list of orders.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameterOrder": [
            "packageName"
          ],
          "httpMethod": "GET",
          "flatPath": "androidpublisher/v3/applications/{packageName}/orders:batchGet",
          "path": "androidpublisher/v3/applications/{packageName}/orders:batchGet"
        }
      }
    },
    "reviews": {
      "methods": {
        "reply": {
          "path": "androidpublisher/v3/applications/{packageName}/reviews/{reviewId}:reply",
          "flatPath": "androidpublisher/v3/applications/{packageName}/reviews/{reviewId}:reply",
          "httpMethod": "POST",
          "request": {
            "$ref": "ReviewsReplyRequest"
          },
          "parameterOrder": [
            "packageName",
            "reviewId"
          ],
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "reviewId": {
              "description": "Unique identifier for a review.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            }
          },
          "response": {
            "$ref": "ReviewsReplyResponse"
          },
          "description": "Replies to a single review, or updates an existing reply.",
          "id": "androidpublisher.reviews.reply"
        },
        "list": {
          "parameterOrder": [
            "packageName"
          ],
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            },
            "token": {
              "description": "Pagination token. If empty, list starts at the first review.",
              "location": "query",
              "type": "string"
            },
            "startIndex": {
              "format": "uint32",
              "description": "The index of the first element to return.",
              "location": "query",
              "type": "integer"
            },
            "translationLanguage": {
              "description": "Language localization code.",
              "location": "query",
              "type": "string"
            },
            "maxResults": {
              "format": "uint32",
              "description": "How many results the list operation should return.",
              "location": "query",
              "type": "integer"
            }
          },
          "response": {
            "$ref": "ReviewsListResponse"
          },
          "description": "Lists all reviews.",
          "id": "androidpublisher.reviews.list",
          "path": "androidpublisher/v3/applications/{packageName}/reviews",
          "flatPath": "androidpublisher/v3/applications/{packageName}/reviews",
          "httpMethod": "GET"
        },
        "get": {
          "id": "androidpublisher.reviews.get",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "translationLanguage": {
              "description": "Language localization code.",
              "location": "query",
              "type": "string"
            },
            "reviewId": {
              "description": "Unique identifier for a review.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "packageName": {
              "description": "Package name of the app.",
              "location": "path",
              "type": "string",
              "required": true
            }
          },
          "response": {
            "$ref": "Review"
          },
          "description": "Gets a single review.",
          "parameterOrder": [
            "packageName",
            "reviewId"
          ],
          "httpMethod": "GET",
          "flatPath": "androidpublisher/v3/applications/{packageName}/reviews/{reviewId}",
          "path": "androidpublisher/v3/applications/{packageName}/reviews/{reviewId}"
        }
      }
    },
    "externaltransactions": {
      "methods": {
        "refundexternaltransaction": {
          "parameters": {
            "name": {
              "required": true,
              "pattern": "^applications/[^/]+/externalTransactions/[^/]+$",
              "description": "Required. The name of the external transaction that will be refunded. Format: applications/{package_name}/externalTransactions/{external_transaction}",
              "location": "path",
              "type": "string"
            }
          },
          "response": {
            "$ref": "ExternalTransaction"
          },
          "description": "Refunds or partially refunds an existing external transaction.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "id": "androidpublisher.externaltransactions.refundexternaltransaction",
          "parameterOrder": [
            "name"
          ],
          "httpMethod": "POST",
          "request": {
            "$ref": "RefundExternalTransactionRequest"
          },
          "path": "androidpublisher/v3/{+name}:refund",
          "flatPath": "androidpublisher/v3/applications/{applicationsId}/externalTransactions/{externalTransactionsId}:refund"
        },
        "createexternaltransaction": {
          "parameters": {
            "parent": {
              "description": "Required. The parent resource where this external transaction will be created. Format: applications/{package_name}",
              "location": "path",
              "type": "string",
              "pattern": "^applications/[^/]+$",
              "required": true
            },
            "externalTransactionId": {
              "description": "Required. The id to use for the external transaction. Must be unique across all other transactions for the app. This value should be 1-63 characters and valid characters are /a-zA-Z0-9_-/. Do not use this field to store any Personally Identifiable Information (PII) such as emails. Attempting to store PII in this field may result in requests being blocked.",
              "location": "query",
              "type": "string"
            }
          },
          "response": {
            "$ref": "ExternalTransaction"
          },
          "description": "Creates a new external transaction.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "id": "androidpublisher.externaltransactions.createexternaltransaction",
          "parameterOrder": [
            "parent"
          ],
          "httpMethod": "POST",
          "request": {
            "$ref": "ExternalTransaction"
          },
          "path": "androidpublisher/v3/{+parent}/externalTransactions",
          "flatPath": "androidpublisher/v3/applications/{applicationsId}/externalTransactions"
        },
        "getexternaltransaction": {
          "httpMethod": "GET",
          "flatPath": "androidpublisher/v3/applications/{applicationsId}/externalTransactions/{externalTransactionsId}",
          "path": "androidpublisher/v3/{+name}",
          "id": "androidpublisher.externaltransactions.getexternaltransaction",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "name": {
              "pattern": "^applications/[^/]+/externalTransactions/[^/]+$",
              "required": true,
              "description": "Required. The name of the external transaction to retrieve. Format: applications/{package_name}/externalTransactions/{external_transaction}",
              "location": "path",
              "type": "string"
            }
          },
          "response": {
            "$ref": "ExternalTransaction"
          },
          "description": "Gets an existing external transaction.",
          "parameterOrder": [
            "name"
          ]
        }
      }
    },
    "internalappsharingartifacts": {
      "methods": {
        "uploadapk": {
          "parameterOrder": [
            "packageName"
          ],
          "id": "androidpublisher.internalappsharingartifacts.uploadapk",
          "supportsMediaUpload": true,
          "parameters": {
            "packageName": {
              "description": "Package name of the app.",
              "location": "path",
              "type": "string",
              "required": true
            }
          },
          "response": {
            "$ref": "InternalAppSharingArtifact"
          },
          "description": "Uploads an APK to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See [Timeouts and Errors](https://developers.google.com/api-client-library/java/google-api-java-client/errors) for an example in java.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "flatPath": "androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk",
          "mediaUpload": {
            "maxSize": "1073741824",
            "protocols": {
              "resumable": {
                "multipart": true,
                "path": "/resumable/upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk"
              },
              "simple": {
                "multipart": true,
                "path": "/upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk"
              }
            },
            "accept": [
              "application/octet-stream",
              "application/vnd.android.package-archive"
            ]
          },
          "path": "androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk",
          "httpMethod": "POST"
        },
        "uploadbundle": {
          "httpMethod": "POST",
          "mediaUpload": {
            "maxSize": "10737418240",
            "protocols": {
              "resumable": {
                "multipart": true,
                "path": "/resumable/upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle"
              },
              "simple": {
                "multipart": true,
                "path": "/upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle"
              }
            },
            "accept": [
              "application/octet-stream"
            ]
          },
          "flatPath": "androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle",
          "path": "androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle",
          "id": "androidpublisher.internalappsharingartifacts.uploadbundle",
          "supportsMediaUpload": true,
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            }
          },
          "response": {
            "$ref": "InternalAppSharingArtifact"
          },
          "description": "Uploads an app bundle to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See [Timeouts and Errors](https://developers.google.com/api-client-library/java/google-api-java-client/errors) for an example in java.",
          "parameterOrder": [
            "packageName"
          ]
        }
      }
    },
    "monetization": {
      "resources": {
        "onetimeproducts": {
          "resources": {
            "purchaseOptions": {
              "methods": {
                "batchUpdateStates": {
                  "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions:batchUpdateStates",
                  "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions:batchUpdateStates",
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "BatchUpdatePurchaseOptionStatesRequest"
                  },
                  "parameterOrder": [
                    "packageName",
                    "productId"
                  ],
                  "parameters": {
                    "packageName": {
                      "description": "Required. The parent app (package name) of the updated purchase options.",
                      "location": "path",
                      "type": "string",
                      "required": true
                    },
                    "productId": {
                      "description": "Required. The product ID of the parent one-time product, if all updated purchase options belong to the same one-time product. If this batch update spans multiple one-time products, set this field to \"-\".",
                      "location": "path",
                      "type": "string",
                      "required": true
                    }
                  },
                  "response": {
                    "$ref": "BatchUpdatePurchaseOptionStatesResponse"
                  },
                  "description": "Activates or deactivates purchase options across one or multiple one-time products.",
                  "scopes": [
                    "https://www.googleapis.com/auth/androidpublisher"
                  ],
                  "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.batchUpdateStates"
                },
                "batchDelete": {
                  "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.batchDelete",
                  "parameters": {
                    "packageName": {
                      "description": "Required. The parent app (package name) of the purchase options to delete.",
                      "location": "path",
                      "type": "string",
                      "required": true
                    },
                    "productId": {
                      "description": "Required. The product ID of the parent one-time product, if all purchase options to delete belong to the same one-time product. If this batch delete spans multiple one-time products, set this field to \"-\".",
                      "location": "path",
                      "type": "string",
                      "required": true
                    }
                  },
                  "description": "Deletes purchase options across one or multiple one-time products. By default this operation will fail if there are any existing offers under the deleted purchase options. Use the force parameter to override the default behavior.",
                  "scopes": [
                    "https://www.googleapis.com/auth/androidpublisher"
                  ],
                  "parameterOrder": [
                    "packageName",
                    "productId"
                  ],
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "BatchDeletePurchaseOptionsRequest"
                  },
                  "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions:batchDelete",
                  "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions:batchDelete"
                }
              },
              "resources": {
                "offers": {
                  "methods": {
                    "list": {
                      "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers",
                      "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers",
                      "httpMethod": "GET",
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "purchaseOptionId"
                      ],
                      "parameters": {
                        "pageSize": {
                          "format": "int32",
                          "description": "Optional. The maximum number of offers to return. The service may return fewer than this value. If unspecified, at most 50 offers will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
                          "location": "query",
                          "type": "integer"
                        },
                        "pageToken": {
                          "description": "Optional. A page token, received from a previous `ListOneTimeProductsOffers` call. Provide this to retrieve the subsequent page. When paginating, product_id, package_name and purchase_option_id provided to `ListOneTimeProductsOffersRequest` must match the call that provided the page token.",
                          "location": "query",
                          "type": "string"
                        },
                        "packageName": {
                          "required": true,
                          "description": "Required. The parent app (package name) for which the offers should be read.",
                          "location": "path",
                          "type": "string"
                        },
                        "productId": {
                          "description": "Required. The parent one-time product (ID) for which the offers should be read. May be specified as '-' to read all offers under an app.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "purchaseOptionId": {
                          "required": true,
                          "description": "Required. The parent purchase option (ID) for which the offers should be read. May be specified as '-' to read all offers under a one-time product or an app. Must be specified as '-' if product_id is specified as '-'.",
                          "location": "path",
                          "type": "string"
                        }
                      },
                      "response": {
                        "$ref": "ListOneTimeProductOffersResponse"
                      },
                      "description": "Lists all offers under a given app, product, or purchase option.",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.list"
                    },
                    "cancel": {
                      "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:cancel",
                      "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:cancel",
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "CancelOneTimeProductOfferRequest"
                      },
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "purchaseOptionId",
                        "offerId"
                      ],
                      "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.cancel",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "parameters": {
                        "productId": {
                          "required": true,
                          "description": "Required. The parent one-time product (ID) of the offer to cancel.",
                          "location": "path",
                          "type": "string"
                        },
                        "offerId": {
                          "description": "Required. The offer ID of the offer to cancel.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "packageName": {
                          "description": "Required. The parent app (package name) of the offer to cancel.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "purchaseOptionId": {
                          "required": true,
                          "description": "Required. The parent purchase option (ID) of the offer to cancel.",
                          "location": "path",
                          "type": "string"
                        }
                      },
                      "response": {
                        "$ref": "OneTimeProductOffer"
                      },
                      "description": "Cancels a one-time product offer."
                    },
                    "batchGet": {
                      "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchGet",
                      "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchGet",
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "BatchGetOneTimeProductOffersRequest"
                      },
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "purchaseOptionId"
                      ],
                      "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchGet",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "parameters": {
                        "productId": {
                          "description": "Required. The product ID of the parent one-time product, if all updated offers belong to the same product. If this request spans multiple one-time products, set this field to \"-\".",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "packageName": {
                          "required": true,
                          "description": "Required. The parent app (package name) of the updated offers. Must be equal to the package_name field on all the updated OneTimeProductOffer resources.",
                          "location": "path",
                          "type": "string"
                        },
                        "purchaseOptionId": {
                          "required": true,
                          "description": "Required. The parent purchase option (ID) for which the offers should be updated. May be specified as '-' to update offers from multiple purchase options.",
                          "location": "path",
                          "type": "string"
                        }
                      },
                      "response": {
                        "$ref": "BatchGetOneTimeProductOffersResponse"
                      },
                      "description": "Reads one or more one-time product offers."
                    },
                    "activate": {
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "purchaseOptionId",
                        "offerId"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "parameters": {
                        "offerId": {
                          "description": "Required. The offer ID of the offer to activate.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "packageName": {
                          "required": true,
                          "description": "Required. The parent app (package name) of the offer to activate.",
                          "location": "path",
                          "type": "string"
                        },
                        "purchaseOptionId": {
                          "description": "Required. The parent purchase option (ID) of the offer to activate.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "productId": {
                          "required": true,
                          "description": "Required. The parent one-time product (ID) of the offer to activate.",
                          "location": "path",
                          "type": "string"
                        }
                      },
                      "response": {
                        "$ref": "OneTimeProductOffer"
                      },
                      "description": "Activates a one-time product offer.",
                      "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.activate",
                      "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:activate",
                      "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:activate",
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "ActivateOneTimeProductOfferRequest"
                      }
                    },
                    "deactivate": {
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "DeactivateOneTimeProductOfferRequest"
                      },
                      "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:deactivate",
                      "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:deactivate",
                      "parameters": {
                        "productId": {
                          "description": "Required. The parent one-time product (ID) of the offer to deactivate.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "offerId": {
                          "required": true,
                          "description": "Required. The offer ID of the offer to deactivate.",
                          "location": "path",
                          "type": "string"
                        },
                        "packageName": {
                          "description": "Required. The parent app (package name) of the offer to deactivate.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "purchaseOptionId": {
                          "description": "Required. The parent purchase option (ID) of the offer to deactivate.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        }
                      },
                      "response": {
                        "$ref": "OneTimeProductOffer"
                      },
                      "description": "Deactivates a one-time product offer.",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.deactivate",
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "purchaseOptionId",
                        "offerId"
                      ]
                    },
                    "batchUpdateStates": {
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "purchaseOptionId"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "parameters": {
                        "productId": {
                          "description": "Required. The product ID of the parent one-time product, if all updated offers belong to the same one-time product. If this batch update spans multiple one-time products, set this field to \"-\".",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "packageName": {
                          "required": true,
                          "description": "Required. The parent app (package name) of the updated one-time product offers.",
                          "location": "path",
                          "type": "string"
                        },
                        "purchaseOptionId": {
                          "description": "Required. The purchase option ID of the parent purchase option, if all updated offers belong to the same purchase option. If this batch update spans multiple purchase options, set this field to \"-\".",
                          "location": "path",
                          "type": "string",
                          "required": true
                        }
                      },
                      "response": {
                        "$ref": "BatchUpdateOneTimeProductOfferStatesResponse"
                      },
                      "description": "Updates a batch of one-time product offer states.",
                      "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchUpdateStates",
                      "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchUpdateStates",
                      "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchUpdateStates",
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "BatchUpdateOneTimeProductOfferStatesRequest"
                      }
                    },
                    "batchDelete": {
                      "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchDelete",
                      "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchDelete",
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "BatchDeleteOneTimeProductOffersRequest"
                      },
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "purchaseOptionId"
                      ],
                      "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchDelete",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "parameters": {
                        "productId": {
                          "required": true,
                          "description": "Required. The product ID of the parent one-time product, if all offers to delete belong to the same product. If this request spans multiple one-time products, set this field to \"-\".",
                          "location": "path",
                          "type": "string"
                        },
                        "packageName": {
                          "description": "Required. The parent app (package name) of the offers to delete. Must be equal to the package_name field on all the OneTimeProductOffer resources.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "purchaseOptionId": {
                          "required": true,
                          "description": "Required. The parent purchase option (ID) for which the offers should be deleted. May be specified as '-' to update offers from multiple purchase options.",
                          "location": "path",
                          "type": "string"
                        }
                      },
                      "description": "Deletes one or more one-time product offers."
                    },
                    "batchUpdate": {
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "BatchUpdateOneTimeProductOffersRequest"
                      },
                      "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchUpdate",
                      "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchUpdate",
                      "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchUpdate",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "parameters": {
                        "packageName": {
                          "description": "Required. The parent app (package name) of the updated offers. Must be equal to the package_name field on all the updated OneTimeProductOffer resources.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "purchaseOptionId": {
                          "required": true,
                          "description": "Required. The parent purchase option (ID) for which the offers should be updated. May be specified as '-' to update offers from multiple purchase options.",
                          "location": "path",
                          "type": "string"
                        },
                        "productId": {
                          "required": true,
                          "description": "Required. The product ID of the parent one-time product, if all updated offers belong to the same product. If this request spans multiple one-time products, set this field to \"-\".",
                          "location": "path",
                          "type": "string"
                        }
                      },
                      "response": {
                        "$ref": "BatchUpdateOneTimeProductOffersResponse"
                      },
                      "description": "Creates or updates one or more one-time product offers.",
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "purchaseOptionId"
                      ]
                    }
                  }
                }
              }
            }
          },
          "methods": {
            "batchGet": {
              "httpMethod": "GET",
              "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchGet",
              "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchGet",
              "id": "androidpublisher.monetization.onetimeproducts.batchGet",
              "parameters": {
                "productIds": {
                  "description": "Required. A list of up to 100 product IDs to retrieve. All IDs must be different.",
                  "location": "query",
                  "repeated": true,
                  "type": "string"
                },
                "packageName": {
                  "description": "Required. The parent app (package name) for which the products should be retrieved. Must be equal to the package_name field on all requests.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "BatchGetOneTimeProductsResponse"
              },
              "description": "Reads one or more one-time products.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameterOrder": [
                "packageName"
              ]
            },
            "list": {
              "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts",
              "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts",
              "httpMethod": "GET",
              "parameterOrder": [
                "packageName"
              ],
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "pageToken": {
                  "description": "Optional. A page token, received from a previous `ListOneTimeProducts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListOneTimeProducts` must match the call that provided the page token.",
                  "location": "query",
                  "type": "string"
                },
                "pageSize": {
                  "description": "Optional. The maximum number of one-time product to return. The service may return fewer than this value. If unspecified, at most 50 one-time products will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
                  "location": "query",
                  "type": "integer",
                  "format": "int32"
                },
                "packageName": {
                  "description": "Required. The parent app (package name) for which the one-time product should be read.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "ListOneTimeProductsResponse"
              },
              "description": "Lists all one-time products under a given app.",
              "id": "androidpublisher.monetization.onetimeproducts.list"
            },
            "patch": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/onetimeproducts/{productId}",
              "path": "androidpublisher/v3/applications/{packageName}/onetimeproducts/{productId}",
              "httpMethod": "PATCH",
              "request": {
                "$ref": "OneTimeProduct"
              },
              "parameterOrder": [
                "packageName",
                "productId"
              ],
              "id": "androidpublisher.monetization.onetimeproducts.patch",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "regionsVersion.version": {
                  "description": "Required. A string representing the version of available regions being used for the specified resource. Regional prices and latest supported version for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available.",
                  "location": "query",
                  "type": "string"
                },
                "latencyTolerance": {
                  "description": "Optional. The latency tolerance for the propagation of this product upsert. Defaults to latency-sensitive.",
                  "location": "query",
                  "type": "string",
                  "enum": [
                    "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
                    "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
                    "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
                  ],
                  "enumDescriptions": [
                    "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
                    "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
                    "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
                  ]
                },
                "productId": {
                  "required": true,
                  "description": "Required. Immutable. Unique product ID of the product. Unique within the parent app. Product IDs must start with a number or lowercase letter, and can contain numbers (0-9), lowercase letters (a-z), underscores (_), and periods (.).",
                  "location": "path",
                  "type": "string"
                },
                "updateMask": {
                  "description": "Required. The list of fields to be updated.",
                  "location": "query",
                  "type": "string",
                  "format": "google-fieldmask"
                },
                "packageName": {
                  "required": true,
                  "description": "Required. Immutable. Package name of the parent app.",
                  "location": "path",
                  "type": "string"
                },
                "allowMissing": {
                  "description": "Optional. If set to true, and the one-time product with the given package_name and product_id doesn't exist, the one-time product will be created. If a new one-time product is created, update_mask is ignored.",
                  "location": "query",
                  "type": "boolean"
                }
              },
              "response": {
                "$ref": "OneTimeProduct"
              },
              "description": "Creates or updates a one-time product."
            },
            "batchUpdate": {
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Required. The parent app (package name) for which the one-time products should be updated. Must be equal to the package_name field on all the OneTimeProduct resources.",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "BatchUpdateOneTimeProductsResponse"
              },
              "description": "Creates or updates one or more one-time products.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.monetization.onetimeproducts.batchUpdate",
              "parameterOrder": [
                "packageName"
              ],
              "httpMethod": "POST",
              "request": {
                "$ref": "BatchUpdateOneTimeProductsRequest"
              },
              "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchUpdate",
              "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchUpdate"
            },
            "delete": {
              "httpMethod": "DELETE",
              "id": "androidpublisher.monetization.onetimeproducts.delete",
              "parameters": {
                "productId": {
                  "required": true,
                  "description": "Required. The one-time product ID of the one-time product to delete.",
                  "location": "path",
                  "type": "string"
                },
                "packageName": {
                  "description": "Required. The parent app (package name) of the one-time product to delete.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "latencyTolerance": {
                  "enum": [
                    "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
                    "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
                    "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
                  ],
                  "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
                  "location": "query",
                  "type": "string",
                  "enumDescriptions": [
                    "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
                    "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
                    "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
                  ]
                }
              },
              "description": "Deletes a one-time product.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}",
              "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}",
              "parameterOrder": [
                "packageName",
                "productId"
              ]
            },
            "batchDelete": {
              "id": "androidpublisher.monetization.onetimeproducts.batchDelete",
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Required. The parent app (package name) for which the one-time products should be deleted. Must be equal to the package_name field on all the OneTimeProduct resources.",
                  "location": "path",
                  "type": "string"
                }
              },
              "description": "Deletes one or more one-time products.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameterOrder": [
                "packageName"
              ],
              "httpMethod": "POST",
              "request": {
                "$ref": "BatchDeleteOneTimeProductsRequest"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchDelete",
              "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchDelete"
            },
            "get": {
              "httpMethod": "GET",
              "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}",
              "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}",
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Required. The parent app (package name) of the product to retrieve.",
                  "location": "path",
                  "type": "string"
                },
                "productId": {
                  "description": "Required. The product ID of the product to retrieve.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "OneTimeProduct"
              },
              "description": "Reads a single one-time product.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.monetization.onetimeproducts.get",
              "parameterOrder": [
                "packageName",
                "productId"
              ]
            }
          }
        },
        "subscriptions": {
          "methods": {
            "batchGet": {
              "path": "androidpublisher/v3/applications/{packageName}/subscriptions:batchGet",
              "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions:batchGet",
              "httpMethod": "GET",
              "parameterOrder": [
                "packageName"
              ],
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Required. The parent app (package name) for which the subscriptions should be retrieved. Must be equal to the package_name field on all the requests.",
                  "location": "path",
                  "type": "string"
                },
                "productIds": {
                  "description": "Required. A list of up to 100 subscription product IDs to retrieve. All the IDs must be different.",
                  "location": "query",
                  "repeated": true,
                  "type": "string"
                }
              },
              "response": {
                "$ref": "BatchGetSubscriptionsResponse"
              },
              "description": "Reads one or more subscriptions.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.monetization.subscriptions.batchGet"
            },
            "patch": {
              "httpMethod": "PATCH",
              "request": {
                "$ref": "Subscription"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
              "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
              "id": "androidpublisher.monetization.subscriptions.patch",
              "parameters": {
                "productId": {
                  "description": "Immutable. Unique product ID of the product. Unique within the parent app. Product IDs must be composed of lower-case letters (a-z), numbers (0-9), underscores (_) and dots (.). It must start with a lower-case letter or number, and be between 1 and 40 (inclusive) characters in length.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "updateMask": {
                  "description": "Required. The list of fields to be updated.",
                  "location": "query",
                  "type": "string",
                  "format": "google-fieldmask"
                },
                "latencyTolerance": {
                  "enumDescriptions": [
                    "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
                    "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
                    "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
                  ],
                  "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
                  "location": "query",
                  "type": "string",
                  "enum": [
                    "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
                    "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
                    "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
                  ]
                },
                "regionsVersion.version": {
                  "description": "Required. A string representing the version of available regions being used for the specified resource. Regional prices and latest supported version for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available.",
                  "location": "query",
                  "type": "string"
                },
                "allowMissing": {
                  "description": "Optional. If set to true, and the subscription with the given package_name and product_id doesn't exist, the subscription will be created. If a new subscription is created, update_mask is ignored.",
                  "location": "query",
                  "type": "boolean"
                },
                "packageName": {
                  "description": "Immutable. Package name of the parent app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "Subscription"
              },
              "description": "Updates an existing subscription.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameterOrder": [
                "packageName",
                "productId"
              ]
            },
            "list": {
              "parameterOrder": [
                "packageName"
              ],
              "id": "androidpublisher.monetization.subscriptions.list",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "pageSize": {
                  "description": "The maximum number of subscriptions to return. The service may return fewer than this value. If unspecified, at most 50 subscriptions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
                  "location": "query",
                  "type": "integer",
                  "format": "int32"
                },
                "showArchived": {
                  "description": "Deprecated: subscription archiving is not supported.",
                  "location": "query",
                  "type": "boolean",
                  "deprecated": true
                },
                "pageToken": {
                  "description": "A page token, received from a previous `ListSubscriptions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSubscriptions` must match the call that provided the page token.",
                  "location": "query",
                  "type": "string"
                },
                "packageName": {
                  "description": "Required. The parent app (package name) for which the subscriptions should be read.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "ListSubscriptionsResponse"
              },
              "description": "Lists all subscriptions under a given app.",
              "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions",
              "path": "androidpublisher/v3/applications/{packageName}/subscriptions",
              "httpMethod": "GET"
            },
            "create": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions",
              "path": "androidpublisher/v3/applications/{packageName}/subscriptions",
              "httpMethod": "POST",
              "request": {
                "$ref": "Subscription"
              },
              "parameterOrder": [
                "packageName"
              ],
              "id": "androidpublisher.monetization.subscriptions.create",
              "parameters": {
                "productId": {
                  "description": "Required. The ID to use for the subscription. For the requirements on this format, see the documentation of the product_id field on the Subscription resource.",
                  "location": "query",
                  "type": "string"
                },
                "packageName": {
                  "description": "Required. The parent app (package name) for which the subscription should be created. Must be equal to the package_name field on the Subscription resource.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "regionsVersion.version": {
                  "description": "Required. A string representing the version of available regions being used for the specified resource. Regional prices and latest supported version for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available.",
                  "location": "query",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "Subscription"
              },
              "description": "Creates a new subscription. Newly added base plans will remain in draft state until activated.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ]
            },
            "batchUpdate": {
              "httpMethod": "POST",
              "request": {
                "$ref": "BatchUpdateSubscriptionsRequest"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions:batchUpdate",
              "path": "androidpublisher/v3/applications/{packageName}/subscriptions:batchUpdate",
              "id": "androidpublisher.monetization.subscriptions.batchUpdate",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Required. The parent app (package name) for which the subscriptions should be updated. Must be equal to the package_name field on all the Subscription resources.",
                  "location": "path",
                  "type": "string"
                }
              },
              "response": {
                "$ref": "BatchUpdateSubscriptionsResponse"
              },
              "description": "Updates a batch of subscriptions. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.",
              "parameterOrder": [
                "packageName"
              ]
            },
            "delete": {
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Required. The parent app (package name) of the app of the subscription to delete.",
                  "location": "path",
                  "type": "string"
                },
                "productId": {
                  "description": "Required. The unique product ID of the subscription to delete.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "description": "Deletes a subscription. A subscription can only be deleted if it has never had a base plan published.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "httpMethod": "DELETE",
              "id": "androidpublisher.monetization.subscriptions.delete",
              "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
              "parameterOrder": [
                "packageName",
                "productId"
              ],
              "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}"
            },
            "archive": {
              "id": "androidpublisher.monetization.subscriptions.archive",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Required. The parent app (package name) of the app of the subscription to delete.",
                  "location": "path",
                  "type": "string"
                },
                "productId": {
                  "description": "Required. The unique product ID of the subscription to delete.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "Subscription"
              },
              "description": "Deprecated: subscription archiving is not supported.",
              "deprecated": true,
              "parameterOrder": [
                "packageName",
                "productId"
              ],
              "httpMethod": "POST",
              "request": {
                "$ref": "ArchiveSubscriptionRequest"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}:archive",
              "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}:archive"
            },
            "get": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
              "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
              "httpMethod": "GET",
              "parameterOrder": [
                "packageName",
                "productId"
              ],
              "id": "androidpublisher.monetization.subscriptions.get",
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Required. The parent app (package name) of the subscription to get.",
                  "location": "path",
                  "type": "string"
                },
                "productId": {
                  "description": "Required. The unique product ID of the subscription to get.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "response": {
                "$ref": "Subscription"
              },
              "description": "Reads a single subscription.",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ]
            }
          },
          "resources": {
            "basePlans": {
              "resources": {
                "offers": {
                  "methods": {
                    "batchUpdate": {
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "BatchUpdateSubscriptionOffersRequest"
                      },
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers:batchUpdate",
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers:batchUpdate",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "parameters": {
                        "productId": {
                          "required": true,
                          "description": "Required. The product ID of the parent subscription, if all updated offers belong to the same subscription. If this request spans multiple subscriptions, set this field to \"-\". Must be set.",
                          "location": "path",
                          "type": "string"
                        },
                        "basePlanId": {
                          "required": true,
                          "description": "Required. The parent base plan (ID) for which the offers should be updated. May be specified as '-' to update offers from multiple base plans.",
                          "location": "path",
                          "type": "string"
                        },
                        "packageName": {
                          "description": "Required. The parent app (package name) of the updated subscription offers. Must be equal to the package_name field on all the updated SubscriptionOffer resources.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        }
                      },
                      "response": {
                        "$ref": "BatchUpdateSubscriptionOffersResponse"
                      },
                      "description": "Updates a batch of subscription offers. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.",
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.batchUpdate",
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId"
                      ]
                    },
                    "delete": {
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}",
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId",
                        "offerId"
                      ],
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}",
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.delete",
                      "httpMethod": "DELETE",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "parameters": {
                        "basePlanId": {
                          "required": true,
                          "description": "Required. The parent base plan (ID) of the offer to delete.",
                          "location": "path",
                          "type": "string"
                        },
                        "offerId": {
                          "required": true,
                          "description": "Required. The unique offer ID of the offer to delete.",
                          "location": "path",
                          "type": "string"
                        },
                        "packageName": {
                          "required": true,
                          "description": "Required. The parent app (package name) of the offer to delete.",
                          "location": "path",
                          "type": "string"
                        },
                        "productId": {
                          "description": "Required. The parent subscription (ID) of the offer to delete.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        }
                      },
                      "description": "Deletes a subscription offer. Can only be done for draft offers. This action is irreversible."
                    },
                    "get": {
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId",
                        "offerId"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "parameters": {
                        "productId": {
                          "required": true,
                          "description": "Required. The parent subscription (ID) of the offer to get.",
                          "location": "path",
                          "type": "string"
                        },
                        "basePlanId": {
                          "required": true,
                          "description": "Required. The parent base plan (ID) of the offer to get.",
                          "location": "path",
                          "type": "string"
                        },
                        "offerId": {
                          "description": "Required. The unique offer ID of the offer to get.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "packageName": {
                          "description": "Required. The parent app (package name) of the offer to get.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        }
                      },
                      "response": {
                        "$ref": "SubscriptionOffer"
                      },
                      "description": "Reads a single offer",
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.get",
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}",
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}",
                      "httpMethod": "GET"
                    },
                    "batchUpdateStates": {
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId"
                      ],
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.batchUpdateStates",
                      "parameters": {
                        "basePlanId": {
                          "required": true,
                          "description": "Required. The parent base plan (ID) for which the offers should be updated. May be specified as '-' to update offers from multiple base plans.",
                          "location": "path",
                          "type": "string"
                        },
                        "packageName": {
                          "required": true,
                          "description": "Required. The parent app (package name) of the updated subscription offers. Must be equal to the package_name field on all the updated SubscriptionOffer resources.",
                          "location": "path",
                          "type": "string"
                        },
                        "productId": {
                          "description": "Required. The product ID of the parent subscription, if all updated offers belong to the same subscription. If this request spans multiple subscriptions, set this field to \"-\". Must be set.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        }
                      },
                      "response": {
                        "$ref": "BatchUpdateSubscriptionOfferStatesResponse"
                      },
                      "description": "Updates a batch of subscription offer states. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers:batchUpdateStates",
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers:batchUpdateStates",
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "BatchUpdateSubscriptionOfferStatesRequest"
                      }
                    },
                    "activate": {
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}:activate",
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}:activate",
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "ActivateSubscriptionOfferRequest"
                      },
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId",
                        "offerId"
                      ],
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.activate",
                      "parameters": {
                        "productId": {
                          "description": "Required. The parent subscription (ID) of the offer to activate.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "basePlanId": {
                          "required": true,
                          "description": "Required. The parent base plan (ID) of the offer to activate.",
                          "location": "path",
                          "type": "string"
                        },
                        "offerId": {
                          "required": true,
                          "description": "Required. The unique offer ID of the offer to activate.",
                          "location": "path",
                          "type": "string"
                        },
                        "packageName": {
                          "description": "Required. The parent app (package name) of the offer to activate.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        }
                      },
                      "response": {
                        "$ref": "SubscriptionOffer"
                      },
                      "description": "Activates a subscription offer. Once activated, subscription offers will be available to new subscribers.",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ]
                    },
                    "deactivate": {
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "DeactivateSubscriptionOfferRequest"
                      },
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}:deactivate",
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}:deactivate",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "parameters": {
                        "productId": {
                          "required": true,
                          "description": "Required. The parent subscription (ID) of the offer to deactivate.",
                          "location": "path",
                          "type": "string"
                        },
                        "packageName": {
                          "required": true,
                          "description": "Required. The parent app (package name) of the offer to deactivate.",
                          "location": "path",
                          "type": "string"
                        },
                        "basePlanId": {
                          "description": "Required. The parent base plan (ID) of the offer to deactivate.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "offerId": {
                          "required": true,
                          "description": "Required. The unique offer ID of the offer to deactivate.",
                          "location": "path",
                          "type": "string"
                        }
                      },
                      "response": {
                        "$ref": "SubscriptionOffer"
                      },
                      "description": "Deactivates a subscription offer. Once deactivated, existing subscribers will maintain their subscription, but the offer will become unavailable to new subscribers.",
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.deactivate",
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId",
                        "offerId"
                      ]
                    },
                    "list": {
                      "httpMethod": "GET",
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers",
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers",
                      "parameters": {
                        "productId": {
                          "description": "Required. The parent subscription (ID) for which the offers should be read. May be specified as '-' to read all offers under an app.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "basePlanId": {
                          "description": "Required. The parent base plan (ID) for which the offers should be read. May be specified as '-' to read all offers under a subscription or an app. Must be specified as '-' if product_id is specified as '-'.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "pageSize": {
                          "description": "The maximum number of subscriptions to return. The service may return fewer than this value. If unspecified, at most 50 subscriptions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
                          "location": "query",
                          "type": "integer",
                          "format": "int32"
                        },
                        "pageToken": {
                          "description": "A page token, received from a previous `ListSubscriptionsOffers` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSubscriptionOffers` must match the call that provided the page token.",
                          "location": "query",
                          "type": "string"
                        },
                        "packageName": {
                          "required": true,
                          "description": "Required. The parent app (package name) for which the subscriptions should be read.",
                          "location": "path",
                          "type": "string"
                        }
                      },
                      "response": {
                        "$ref": "ListSubscriptionOffersResponse"
                      },
                      "description": "Lists all offers under a given subscription.",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.list",
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId"
                      ]
                    },
                    "create": {
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "SubscriptionOffer"
                      },
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers",
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "parameters": {
                        "packageName": {
                          "required": true,
                          "description": "Required. The parent app (package name) for which the offer should be created. Must be equal to the package_name field on the Subscription resource.",
                          "location": "path",
                          "type": "string"
                        },
                        "productId": {
                          "required": true,
                          "description": "Required. The parent subscription (ID) for which the offer should be created. Must be equal to the product_id field on the SubscriptionOffer resource.",
                          "location": "path",
                          "type": "string"
                        },
                        "basePlanId": {
                          "description": "Required. The parent base plan (ID) for which the offer should be created. Must be equal to the base_plan_id field on the SubscriptionOffer resource.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "offerId": {
                          "description": "Required. The ID to use for the offer. For the requirements on this format, see the documentation of the offer_id field on the SubscriptionOffer resource.",
                          "location": "query",
                          "type": "string"
                        },
                        "regionsVersion.version": {
                          "description": "Required. A string representing the version of available regions being used for the specified resource. Regional prices and latest supported version for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available.",
                          "location": "query",
                          "type": "string"
                        }
                      },
                      "response": {
                        "$ref": "SubscriptionOffer"
                      },
                      "description": "Creates a new subscription offer. Only auto-renewing base plans can have subscription offers. The offer state will be DRAFT until it is activated.",
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.create",
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId"
                      ]
                    },
                    "patch": {
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId",
                        "offerId"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "parameters": {
                        "productId": {
                          "description": "Required. Immutable. The ID of the parent subscription this offer belongs to.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "updateMask": {
                          "format": "google-fieldmask",
                          "description": "Required. The list of fields to be updated.",
                          "location": "query",
                          "type": "string"
                        },
                        "latencyTolerance": {
                          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
                          "location": "query",
                          "type": "string",
                          "enum": [
                            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
                            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
                            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
                          ],
                          "enumDescriptions": [
                            "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
                            "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
                            "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
                          ]
                        },
                        "basePlanId": {
                          "required": true,
                          "description": "Required. Immutable. The ID of the base plan to which this offer is an extension.",
                          "location": "path",
                          "type": "string"
                        },
                        "offerId": {
                          "description": "Required. Immutable. Unique ID of this subscription offer. Must be unique within the base plan.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "regionsVersion.version": {
                          "description": "Required. A string representing the version of available regions being used for the specified resource. Regional prices and latest supported version for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available.",
                          "location": "query",
                          "type": "string"
                        },
                        "allowMissing": {
                          "description": "Optional. If set to true, and the subscription offer with the given package_name, product_id, base_plan_id and offer_id doesn't exist, an offer will be created. If a new offer is created, update_mask is ignored.",
                          "location": "query",
                          "type": "boolean"
                        },
                        "packageName": {
                          "description": "Required. Immutable. The package name of the app the parent subscription belongs to.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        }
                      },
                      "response": {
                        "$ref": "SubscriptionOffer"
                      },
                      "description": "Updates an existing subscription offer.",
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.patch",
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}",
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}",
                      "httpMethod": "PATCH",
                      "request": {
                        "$ref": "SubscriptionOffer"
                      }
                    },
                    "batchGet": {
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "parameters": {
                        "productId": {
                          "description": "Required. The product ID of the parent subscription, if all updated offers belong to the same subscription. If this request spans multiple subscriptions, set this field to \"-\". Must be set.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "packageName": {
                          "required": true,
                          "description": "Required. The parent app (package name) for which the subscriptions should be created or updated. Must be equal to the package_name field on all the requests.",
                          "location": "path",
                          "type": "string"
                        },
                        "basePlanId": {
                          "description": "Required. The parent base plan (ID) for which the offers should be read. May be specified as '-' to read offers from multiple base plans.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        }
                      },
                      "response": {
                        "$ref": "BatchGetSubscriptionOffersResponse"
                      },
                      "description": "Reads one or more subscription offers.",
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.batchGet",
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId"
                      ],
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "BatchGetSubscriptionOffersRequest"
                      },
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers:batchGet",
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers:batchGet"
                    }
                  }
                }
              },
              "methods": {
                "batchMigratePrices": {
                  "parameterOrder": [
                    "packageName",
                    "productId"
                  ],
                  "id": "androidpublisher.monetization.subscriptions.basePlans.batchMigratePrices",
                  "parameters": {
                    "packageName": {
                      "description": "Required. The parent app (package name) for which the subscriptions should be created or updated. Must be equal to the package_name field on all the Subscription resources.",
                      "location": "path",
                      "type": "string",
                      "required": true
                    },
                    "productId": {
                      "description": "Required. The product ID of the parent subscription, if all updated offers belong to the same subscription. If this batch update spans multiple subscriptions, set this field to \"-\". Must be set.",
                      "location": "path",
                      "type": "string",
                      "required": true
                    }
                  },
                  "response": {
                    "$ref": "BatchMigrateBasePlanPricesResponse"
                  },
                  "description": "Batch variant of the MigrateBasePlanPrices endpoint. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.",
                  "scopes": [
                    "https://www.googleapis.com/auth/androidpublisher"
                  ],
                  "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchMigratePrices",
                  "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchMigratePrices",
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "BatchMigrateBasePlanPricesRequest"
                  }
                },
                "activate": {
                  "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:activate",
                  "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:activate",
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "ActivateBasePlanRequest"
                  },
                  "parameterOrder": [
                    "packageName",
                    "productId",
                    "basePlanId"
                  ],
                  "parameters": {
                    "packageName": {
                      "required": true,
                      "description": "Required. The parent app (package name) of the base plan to activate.",
                      "location": "path",
                      "type": "string"
                    },
                    "basePlanId": {
                      "required": true,
                      "description": "Required. The unique base plan ID of the base plan to activate.",
                      "location": "path",
                      "type": "string"
                    },
                    "productId": {
                      "description": "Required. The parent subscription (ID) of the base plan to activate.",
                      "location": "path",
                      "type": "string",
                      "required": true
                    }
                  },
                  "response": {
                    "$ref": "Subscription"
                  },
                  "description": "Activates a base plan. Once activated, base plans will be available to new subscribers.",
                  "scopes": [
                    "https://www.googleapis.com/auth/androidpublisher"
                  ],
                  "id": "androidpublisher.monetization.subscriptions.basePlans.activate"
                },
                "deactivate": {
                  "id": "androidpublisher.monetization.subscriptions.basePlans.deactivate",
                  "parameters": {
                    "packageName": {
                      "description": "Required. The parent app (package name) of the base plan to deactivate.",
                      "location": "path",
                      "type": "string",
                      "required": true
                    },
                    "basePlanId": {
                      "required": true,
                      "description": "Required. The unique base plan ID of the base plan to deactivate.",
                      "location": "path",
                      "type": "string"
                    },
                    "productId": {
                      "required": true,
                      "description": "Required. The parent subscription (ID) of the base plan to deactivate.",
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "response": {
                    "$ref": "Subscription"
                  },
                  "description": "Deactivates a base plan. Once deactivated, the base plan will become unavailable to new subscribers, but existing subscribers will maintain their subscription",
                  "scopes": [
                    "https://www.googleapis.com/auth/androidpublisher"
                  ],
                  "parameterOrder": [
                    "packageName",
                    "productId",
                    "basePlanId"
                  ],
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "DeactivateBasePlanRequest"
                  },
                  "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:deactivate",
                  "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:deactivate"
                },
                "batchUpdateStates": {
                  "id": "androidpublisher.monetization.subscriptions.basePlans.batchUpdateStates",
                  "parameters": {
                    "packageName": {
                      "required": true,
                      "description": "Required. The parent app (package name) of the updated base plans.",
                      "location": "path",
                      "type": "string"
                    },
                    "productId": {
                      "required": true,
                      "description": "Required. The product ID of the parent subscription, if all updated base plans belong to the same subscription. If this batch update spans multiple subscriptions, set this field to \"-\". Must be set.",
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "response": {
                    "$ref": "BatchUpdateBasePlanStatesResponse"
                  },
                  "description": "Activates or deactivates base plans across one or multiple subscriptions. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.",
                  "scopes": [
                    "https://www.googleapis.com/auth/androidpublisher"
                  ],
                  "parameterOrder": [
                    "packageName",
                    "productId"
                  ],
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "BatchUpdateBasePlanStatesRequest"
                  },
                  "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchUpdateStates",
                  "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchUpdateStates"
                },
                "delete": {
                  "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}",
                  "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}",
                  "parameterOrder": [
                    "packageName",
                    "productId",
                    "basePlanId"
                  ],
                  "httpMethod": "DELETE",
                  "id": "androidpublisher.monetization.subscriptions.basePlans.delete",
                  "parameters": {
                    "productId": {
                      "required": true,
                      "description": "Required. The parent subscription (ID) of the base plan to delete.",
                      "location": "path",
                      "type": "string"
                    },
                    "packageName": {
                      "required": true,
                      "description": "Required. The parent app (package name) of the base plan to delete.",
                      "location": "path",
                      "type": "string"
                    },
                    "basePlanId": {
                      "required": true,
                      "description": "Required. The unique offer ID of the base plan to delete.",
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "description": "Deletes a base plan. Can only be done for draft base plans. This action is irreversible.",
                  "scopes": [
                    "https://www.googleapis.com/auth/androidpublisher"
                  ]
                },
                "migratePrices": {
                  "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:migratePrices",
                  "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:migratePrices",
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "MigrateBasePlanPricesRequest"
                  },
                  "parameterOrder": [
                    "packageName",
                    "productId",
                    "basePlanId"
                  ],
                  "parameters": {
                    "productId": {
                      "required": true,
                      "description": "Required. The ID of the subscription to update. Must be equal to the product_id field on the Subscription resource.",
                      "location": "path",
                      "type": "string"
                    },
                    "basePlanId": {
                      "required": true,
                      "description": "Required. The unique base plan ID of the base plan to update prices on.",
                      "location": "path",
                      "type": "string"
                    },
                    "packageName": {
                      "description": "Required. Package name of the parent app. Must be equal to the package_name field on the Subscription resource.",
                      "location": "path",
                      "type": "string",
                      "required": true
                    }
                  },
                  "response": {
                    "$ref": "MigrateBasePlanPricesResponse"
                  },
                  "description": "Migrates subscribers from one or more legacy price cohorts to the current price. Requests result in Google Play notifying affected subscribers. Only up to 250 simultaneous legacy price cohorts are supported.",
                  "scopes": [
                    "https://www.googleapis.com/auth/androidpublisher"
                  ],
                  "id": "androidpublisher.monetization.subscriptions.basePlans.migratePrices"
                }
              }
            }
          }
        }
      },
      "methods": {
        "convertRegionPrices": {
          "httpMethod": "POST",
          "request": {
            "$ref": "ConvertRegionPricesRequest"
          },
          "path": "androidpublisher/v3/applications/{packageName}/pricing:convertRegionPrices",
          "flatPath": "androidpublisher/v3/applications/{packageName}/pricing:convertRegionPrices",
          "parameters": {
            "packageName": {
              "description": "Required. The app package name.",
              "location": "path",
              "type": "string",
              "required": true
            }
          },
          "response": {
            "$ref": "ConvertRegionPricesResponse"
          },
          "description": "Calculates the region prices, using today's exchange rate and country-specific pricing patterns, based on the price in the request for a set of regions.",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "id": "androidpublisher.monetization.convertRegionPrices",
          "parameterOrder": [
            "packageName"
          ]
        }
      }
    }
  },
  "batchPath": "batch",
  "rootUrl": "https://androidpublisher.googleapis.com/",
  "kind": "discovery#restDescription",
  "ownerName": "Google",
  "protocol": "rest",
  "mtlsRootUrl": "https://androidpublisher.mtls.googleapis.com/",
  "id": "androidpublisher:v3",
  "documentationLink": "https://developers.google.com/android-publisher",
  "canonicalName": "Android Publisher",
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  }
}
