{
  "discoveryVersion": "v1",
  "ownerName": "Google",
  "baseUrl": "https://androidpublisher.googleapis.com/",
  "parameters": {
    "uploadType": {
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
      "location": "query",
      "type": "string"
    },
    "access_token": {
      "type": "string",
      "description": "OAuth access token.",
      "location": "query"
    },
    "upload_protocol": {
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
      "location": "query",
      "type": "string"
    },
    "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"
    },
    "alt": {
      "default": "json",
      "location": "query",
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "description": "Data format for response.",
      "enum": [
        "json",
        "media",
        "proto"
      ],
      "type": "string"
    },
    "$.xgafv": {
      "description": "V1 error format.",
      "enum": [
        "1",
        "2"
      ],
      "type": "string",
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "location": "query"
    },
    "prettyPrint": {
      "type": "boolean",
      "description": "Returns response with indentations and line breaks.",
      "default": "true",
      "location": "query"
    },
    "callback": {
      "type": "string",
      "description": "JSONP",
      "location": "query"
    },
    "oauth_token": {
      "type": "string",
      "description": "OAuth 2.0 token for the current user.",
      "location": "query"
    },
    "fields": {
      "description": "Selector specifying which fields to include in a partial response.",
      "location": "query",
      "type": "string"
    },
    "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"
    }
  },
  "id": "androidpublisher:v3",
  "canonicalName": "Android Publisher",
  "rootUrl": "https://androidpublisher.googleapis.com/",
  "title": "Google Play Android Developer API",
  "revision": "20260706",
  "mtlsRootUrl": "https://androidpublisher.mtls.googleapis.com/",
  "basePath": "",
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  },
  "documentationLink": "https://developers.google.com/android-publisher",
  "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. ",
  "version": "v3",
  "kind": "discovery#restDescription",
  "ownerDomain": "google.com",
  "name": "androidpublisher",
  "protocol": "rest",
  "servicePath": "",
  "auth": {
    "oauth2": {
      "scopes": {
        "https://www.googleapis.com/auth/androidpublisher": {
          "description": "View and manage your Google Play Developer account"
        }
      }
    }
  },
  "schemas": {
    "AcquisitionTargetingRule": {
      "properties": {
        "scope": {
          "description": "Required. The scope of subscriptions this rule considers. Only allows \"this subscription\" and \"any subscription in app\".",
          "$ref": "TargetingRuleScope"
        }
      },
      "id": "AcquisitionTargetingRule",
      "type": "object",
      "description": "Represents a targeting rule of the form: User never had {scope} before."
    },
    "DeactivateOneTimeProductOfferRequest": {
      "description": "Request message for DeactivateOneTimeProductOffer.",
      "id": "DeactivateOneTimeProductOfferRequest",
      "type": "object",
      "properties": {
        "packageName": {
          "type": "string",
          "description": "Required. The parent app (package name) of the offer to deactivate."
        },
        "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."
          ],
          "type": "string",
          "description": "Optional. The latency tolerance for the propagation of this update. Defaults to latency-sensitive.",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ]
        },
        "productId": {
          "description": "Required. The parent one-time product (ID) of the offer to deactivate.",
          "type": "string"
        },
        "purchaseOptionId": {
          "description": "Required. The parent purchase option (ID) of the offer to deactivate.",
          "type": "string"
        },
        "offerId": {
          "description": "Required. The offer ID of the offer to deactivate.",
          "type": "string"
        }
      }
    },
    "InappproductsBatchDeleteRequest": {
      "properties": {
        "requests": {
          "type": "array",
          "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."
        }
      },
      "id": "InappproductsBatchDeleteRequest",
      "type": "object",
      "description": "Request to delete multiple in-app products."
    },
    "ReviewsReplyResponse": {
      "id": "ReviewsReplyResponse",
      "type": "object",
      "description": "Response on status of replying to a review.",
      "properties": {
        "result": {
          "description": "The result of replying/updating a reply to review.",
          "$ref": "ReviewReplyResult"
        }
      }
    },
    "RevokeSubscriptionPurchaseResponse": {
      "properties": {},
      "id": "RevokeSubscriptionPurchaseResponse",
      "type": "object",
      "description": "Response for the purchases.subscriptionsv2.revoke API."
    },
    "UsesPermission": {
      "properties": {
        "maxSdkVersion": {
          "type": "integer",
          "description": "Optionally, the maximum SDK version for which the permission is required.",
          "format": "int32"
        },
        "name": {
          "type": "string",
          "description": "The name of the permission requested."
        }
      },
      "description": "A permission used by this APK.",
      "id": "UsesPermission",
      "type": "object"
    },
    "OfferDetails": {
      "properties": {
        "offerId": {
          "description": "The offer ID. Only present for discounted offers.",
          "type": "string"
        },
        "basePlanId": {
          "type": "string",
          "description": "The base plan ID. Present for all base plan and offers."
        },
        "offerTags": {
          "description": "The latest offer tags associated with the offer. It includes tags inherited from the base plan.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "id": "OfferDetails",
      "type": "object",
      "description": "Offer details information related to a purchase line item."
    },
    "UpdateSubscriptionOfferStateRequest": {
      "properties": {
        "deactivateSubscriptionOfferRequest": {
          "description": "Deactivates an offer. Once deactivated, the offer will become unavailable to new subscribers, but existing subscribers will maintain their subscription",
          "$ref": "DeactivateSubscriptionOfferRequest"
        },
        "activateSubscriptionOfferRequest": {
          "description": "Activates an offer. Once activated, the offer will be available to new subscribers.",
          "$ref": "ActivateSubscriptionOfferRequest"
        }
      },
      "id": "UpdateSubscriptionOfferStateRequest",
      "type": "object",
      "description": "Request message to update the state of a subscription offer."
    },
    "BatchUpdateSubscriptionOfferStatesResponse": {
      "description": "Response message for BatchUpdateSubscriptionOfferStates.",
      "id": "BatchUpdateSubscriptionOfferStatesResponse",
      "type": "object",
      "properties": {
        "subscriptionOffers": {
          "type": "array",
          "items": {
            "$ref": "SubscriptionOffer"
          },
          "description": "The updated subscription offers list."
        }
      }
    },
    "TrackTargetedCountry": {
      "properties": {
        "countryCode": {
          "description": "The country that can be targeted, as a two-letter CLDR code.",
          "type": "string"
        }
      },
      "id": "TrackTargetedCountry",
      "type": "object",
      "description": "Representation of a single country where the contents of a track can be made available."
    },
    "InternalAppSharingArtifact": {
      "properties": {
        "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"
        },
        "certificateFingerprint": {
          "type": "string",
          "description": "The sha256 fingerprint of the certificate used to sign the generated artifact."
        },
        "sha256": {
          "type": "string",
          "description": "The sha256 hash of the artifact represented as a lowercase hexadecimal number, matching the output of the sha256sum command."
        }
      },
      "description": "An artifact resource which gets created when uploading an APK or Android App Bundle through internal app sharing.",
      "id": "InternalAppSharingArtifact",
      "type": "object"
    },
    "DeployAppRecoveryResponse": {
      "id": "DeployAppRecoveryResponse",
      "type": "object",
      "description": "Response message for DeployAppRecovery.",
      "properties": {}
    },
    "ApkBinary": {
      "properties": {
        "sha256": {
          "type": "string",
          "description": "A sha256 hash of the APK payload, encoded as a hex string and matching the output of the sha256sum command."
        },
        "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.",
      "id": "ApkBinary",
      "type": "object"
    },
    "Timestamp": {
      "properties": {
        "seconds": {
          "description": "Represents seconds of UTC time since Unix epoch.",
          "format": "int64",
          "type": "string"
        },
        "nanos": {
          "description": "Non-negative fractions of a second at nanosecond resolution. Must be from 0 to 999,999,999 inclusive.",
          "format": "int32",
          "type": "integer"
        }
      },
      "id": "Timestamp",
      "type": "object",
      "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."
    },
    "DeviceMetadata": {
      "properties": {
        "glEsVersion": {
          "type": "integer",
          "description": "OpenGL version",
          "format": "int32"
        },
        "screenDensityDpi": {
          "type": "integer",
          "description": "Screen density in DPI",
          "format": "int32"
        },
        "deviceClass": {
          "description": "Device class (e.g. tablet)",
          "type": "string"
        },
        "screenWidthPx": {
          "type": "integer",
          "description": "Screen width in pixels",
          "format": "int32"
        },
        "screenHeightPx": {
          "type": "integer",
          "description": "Screen height in pixels",
          "format": "int32"
        },
        "cpuMake": {
          "description": "Device CPU make, e.g. \"Qualcomm\"",
          "type": "string"
        },
        "productName": {
          "type": "string",
          "description": "Device model name (e.g. Droid)"
        },
        "ramMb": {
          "description": "Device RAM in Megabytes, e.g. \"2048\"",
          "format": "int32",
          "type": "integer"
        },
        "manufacturer": {
          "type": "string",
          "description": "Device manufacturer (e.g. Motorola)"
        },
        "nativePlatform": {
          "description": "Comma separated list of native platforms (e.g. \"arm\", \"arm7\")",
          "type": "string"
        },
        "cpuModel": {
          "description": "Device CPU model, e.g. \"MSM8974\"",
          "type": "string"
        }
      },
      "description": "Characteristics of the user's device.",
      "id": "DeviceMetadata",
      "type": "object"
    },
    "CancelSubscriptionPurchaseRequest": {
      "description": "Request for the purchases.subscriptionsv2.cancel API.",
      "id": "CancelSubscriptionPurchaseRequest",
      "type": "object",
      "properties": {
        "cancellationContext": {
          "description": "Required. Additional details around the subscription revocation.",
          "$ref": "CancellationContext"
        }
      }
    },
    "PurchaseOptionTaxAndComplianceSettings": {
      "properties": {
        "withdrawalRightType": {
          "type": "string",
          "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.",
          "enum": [
            "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED",
            "WITHDRAWAL_RIGHT_DIGITAL_CONTENT",
            "WITHDRAWAL_RIGHT_SERVICE"
          ],
          "enumDescriptions": [
            "",
            "",
            ""
          ]
        }
      },
      "id": "PurchaseOptionTaxAndComplianceSettings",
      "type": "object",
      "description": "Details about taxation, Google Play policy and legal compliance for one-time product purchase options."
    },
    "SubscriptionCancelSurveyResult": {
      "id": "SubscriptionCancelSurveyResult",
      "type": "object",
      "description": "Information provided by the user when they complete the subscription cancellation flow (cancellation reason survey).",
      "properties": {
        "cancelSurveyReason": {
          "type": "integer",
          "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",
          "format": "int32"
        },
        "userInputCancelReason": {
          "description": "The customized input cancel reason from the user. Only present when cancelReason is 0.",
          "type": "string"
        }
      }
    },
    "GeneratedSplitApk": {
      "properties": {
        "variantId": {
          "type": "integer",
          "description": "ID of the generated variant.",
          "format": "int32"
        },
        "moduleName": {
          "type": "string",
          "description": "Name of the module that this APK belongs to."
        },
        "downloadId": {
          "type": "string",
          "description": "Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method."
        },
        "splitId": {
          "description": "Split ID. Empty for the main split of the base module.",
          "type": "string"
        }
      },
      "description": "Download metadata for a split APK.",
      "id": "GeneratedSplitApk",
      "type": "object"
    },
    "SubscriptionOfferTargeting": {
      "properties": {
        "acquisitionRule": {
          "description": "Offer targeting rule for new user acquisition.",
          "$ref": "AcquisitionTargetingRule"
        },
        "upgradeRule": {
          "description": "Offer targeting rule for upgrading users' existing plans.",
          "$ref": "UpgradeTargetingRule"
        }
      },
      "id": "SubscriptionOfferTargeting",
      "type": "object",
      "description": "Defines the rule a user needs to satisfy to receive this offer."
    },
    "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"
        },
        "regionalConfigs": {
          "description": "Region-specific information for this base plan.",
          "type": "array",
          "items": {
            "$ref": "RegionalBasePlanConfig"
          }
        },
        "state": {
          "type": "string",
          "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.",
          "readOnly": true,
          "enum": [
            "STATE_UNSPECIFIED",
            "DRAFT",
            "ACTIVE",
            "INACTIVE"
          ],
          "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."
          ]
        },
        "installmentsBasePlanType": {
          "description": "Set for installments base plans where a user is committed to a specified number of payments.",
          "$ref": "InstallmentsBasePlanType"
        },
        "autoRenewingBasePlanType": {
          "description": "Set when the base plan automatically renews at a regular interval.",
          "$ref": "AutoRenewingBasePlanType"
        },
        "prepaidBasePlanType": {
          "description": "Set when the base plan does not automatically renew at the end of the billing period.",
          "$ref": "PrepaidBasePlanType"
        },
        "offerTags": {
          "type": "array",
          "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."
        },
        "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"
        }
      },
      "id": "BasePlan",
      "type": "object",
      "description": "A single base plan for a subscription."
    },
    "RegionalSubscriptionOfferPhaseFreePriceOverride": {
      "id": "RegionalSubscriptionOfferPhaseFreePriceOverride",
      "type": "object",
      "description": "Represents the free price override configuration for a single phase of a subscription offer",
      "properties": {}
    },
    "CancelOneTimeProductOfferRequest": {
      "properties": {
        "offerId": {
          "type": "string",
          "description": "Required. The offer ID of the offer to cancel."
        },
        "purchaseOptionId": {
          "description": "Required. The parent purchase option (ID) of the offer to cancel.",
          "type": "string"
        },
        "productId": {
          "type": "string",
          "description": "Required. The parent one-time product (ID) of the offer to cancel."
        },
        "latencyTolerance": {
          "description": "Optional. The latency tolerance for the propagation of this update. Defaults to latency-sensitive.",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "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."
          ]
        },
        "packageName": {
          "description": "Required. The parent app (package name) of the offer to cancel.",
          "type": "string"
        }
      },
      "description": "Request message for CancelOneTimeProductOffer.",
      "id": "CancelOneTimeProductOfferRequest",
      "type": "object"
    },
    "SafetyLabelsUpdateResponse": {
      "properties": {},
      "description": "Response for SafetyLabelsUpdate rpc.",
      "id": "SafetyLabelsUpdateResponse",
      "type": "object"
    },
    "SdkVersion": {
      "properties": {
        "min": {
          "description": "Inclusive minimum value of an sdk version.",
          "format": "int32",
          "type": "integer"
        }
      },
      "id": "SdkVersion",
      "type": "object",
      "description": "Represents an sdk version."
    },
    "RevocationContextItemBasedRefund": {
      "id": "RevocationContextItemBasedRefund",
      "type": "object",
      "description": "Used to determine what specific item to revoke in a subscription with multiple items.",
      "properties": {
        "productId": {
          "description": "Required. If the subscription is a subscription with add-ons, the product id of the subscription item to revoke.",
          "type": "string"
        }
      }
    },
    "CountryTargeting": {
      "description": "Country targeting specification.",
      "id": "CountryTargeting",
      "type": "object",
      "properties": {
        "countries": {
          "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",
          "items": {
            "type": "string"
          }
        },
        "includeRestOfWorld": {
          "type": "boolean",
          "description": "Include \"rest of world\" as well as explicitly targeted countries."
        }
      }
    },
    "GeneratedApksPerSigningKey": {
      "id": "GeneratedApksPerSigningKey",
      "type": "object",
      "description": "Download metadata for split, standalone and universal APKs, as well as asset pack slices, signed with a given key.",
      "properties": {
        "generatedStandaloneApks": {
          "type": "array",
          "items": {
            "$ref": "GeneratedStandaloneApk"
          },
          "description": "List of generated standalone APKs, signed with a key corresponding to certificate_sha256_hash."
        },
        "unprotectedGeneratedStandaloneApks": {
          "description": "List of generated standalone APKs without automatic protection, signed with a key corresponding to certificate_sha256_hash. This field is only present if the app uses automatic protection. In this case, `generated_standalone_apks` contains APKs with automatic protection enabled, whereas this field contains APKs without automatic protection.",
          "type": "array",
          "items": {
            "$ref": "GeneratedStandaloneApk"
          }
        },
        "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"
          }
        },
        "generatedSplitApks": {
          "type": "array",
          "items": {
            "$ref": "GeneratedSplitApk"
          },
          "description": "List of generated split APKs, signed with a key corresponding to certificate_sha256_hash."
        },
        "unprotectedGeneratedSplitApks": {
          "type": "array",
          "items": {
            "$ref": "GeneratedSplitApk"
          },
          "description": "List of generated split APKs without automatic protection, signed with a key corresponding to certificate_sha256_hash. This field is only present if the app uses automatic protection. In this case, `generated_split_apks` contains APKs with automatic protection enabled, whereas this field contains APKs without automatic protection."
        },
        "targetingInfo": {
          "description": "Contains targeting information about the generated apks.",
          "$ref": "TargetingInfo"
        },
        "generatedRecoveryModules": {
          "type": "array",
          "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."
        },
        "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.",
          "$ref": "GeneratedUniversalApk"
        },
        "certificateSha256Hash": {
          "type": "string",
          "description": "SHA256 hash of the APK signing public key certificate."
        }
      }
    },
    "InAppProductListing": {
      "properties": {
        "benefits": {
          "description": "Localized entitlement benefits for a subscription.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "title": {
          "description": "Title for the store listing.",
          "type": "string"
        },
        "description": {
          "description": "Description for the store listing.",
          "type": "string"
        }
      },
      "description": "Store listing of a single in-app product.",
      "id": "InAppProductListing",
      "type": "object"
    },
    "SystemApkOptions": {
      "id": "SystemApkOptions",
      "type": "object",
      "description": "Options for system APKs.",
      "properties": {
        "uncompressedNativeLibraries": {
          "description": "Whether system APK was generated with uncompressed native libraries.",
          "type": "boolean"
        },
        "rotated": {
          "description": "Whether to use the rotated key for signing the system APK.",
          "type": "boolean"
        },
        "uncompressedDexFiles": {
          "description": "Whether system APK was generated with uncompressed dex files.",
          "type": "boolean"
        }
      }
    },
    "RentOfferDetails": {
      "properties": {},
      "description": "Offer details information related to a rental line item.",
      "id": "RentOfferDetails",
      "type": "object"
    },
    "ReleaseSummary": {
      "properties": {
        "releaseName": {
          "type": "string",
          "description": "Name of the release."
        },
        "track": {
          "type": "string",
          "description": "Identifier for the track. [Learn more about track names.](https://developers.google.com/android-publisher/tracks)."
        },
        "activeArtifacts": {
          "description": "List of active artifacts on this release",
          "type": "array",
          "items": {
            "$ref": "ArtifactSummary"
          }
        },
        "releaseLifecycleState": {
          "type": "string",
          "description": "The lifecycle state of a release.",
          "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."
          ]
        }
      },
      "id": "ReleaseSummary",
      "type": "object",
      "description": "Summary of a release."
    },
    "BatchGetOneTimeProductsResponse": {
      "id": "BatchGetOneTimeProductsResponse",
      "type": "object",
      "description": "Response message for the BatchGetOneTimeProducts endpoint.",
      "properties": {
        "oneTimeProducts": {
          "type": "array",
          "items": {
            "$ref": "OneTimeProduct"
          },
          "description": "The list of requested one-time products, in the same order as the request."
        }
      }
    },
    "ProrationPeriodOfferPhase": {
      "properties": {
        "originalOfferPhaseType": {
          "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."
          ],
          "description": "The original offer phase type before the proration period. Only set when the proration period is updated from an existing offer phase.",
          "enum": [
            "ORIGINAL_OFFER_PHASE_TYPE_UNSPECIFIED",
            "BASE",
            "INTRODUCTORY",
            "FREE_TRIAL"
          ],
          "type": "string"
        }
      },
      "id": "ProrationPeriodOfferPhase",
      "type": "object",
      "description": "Details about proration period offer phase."
    },
    "Money": {
      "description": "Represents an amount of money with its currency type.",
      "id": "Money",
      "type": "object",
      "properties": {
        "units": {
          "description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
          "format": "int64",
          "type": "string"
        },
        "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.",
          "format": "int32",
          "type": "integer"
        },
        "currencyCode": {
          "type": "string",
          "description": "The three-letter currency code defined in ISO 4217."
        }
      }
    },
    "SafetyLabelsUpdateRequest": {
      "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"
        }
      },
      "id": "SafetyLabelsUpdateRequest",
      "type": "object",
      "description": "Request to update Safety Labels of an app."
    },
    "OneTimeProductBuyPurchaseOption": {
      "description": "A purchase option that can be bought.",
      "id": "OneTimeProductBuyPurchaseOption",
      "type": "object",
      "properties": {
        "legacyCompatible": {
          "type": "boolean",
          "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."
        },
        "multiQuantityEnabled": {
          "type": "boolean",
          "description": "Optional. Whether this purchase option allows multi-quantity. Multi-quantity allows buyer to purchase more than one item in a single checkout."
        }
      }
    },
    "UpgradeTargetingRule": {
      "properties": {
        "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"
        },
        "oncePerUser": {
          "type": "boolean",
          "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."
        }
      },
      "description": "Represents a targeting rule of the form: User currently has {scope} [with billing period {billing_period}].",
      "id": "UpgradeTargetingRule",
      "type": "object"
    },
    "OneTimeCode": {
      "properties": {},
      "id": "OneTimeCode",
      "type": "object",
      "description": "A single use promotion code."
    },
    "CancelSurveyResult": {
      "properties": {
        "reasonUserInput": {
          "type": "string",
          "description": "Only set for CANCEL_SURVEY_REASON_OTHERS. This is the user's freeform response to the survey."
        },
        "reason": {
          "description": "The reason the user selected in the cancel survey.",
          "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"
          ],
          "type": "string",
          "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."
          ]
        }
      },
      "description": "Result of the cancel survey when the subscription was canceled by the user.",
      "id": "CancelSurveyResult",
      "type": "object"
    },
    "ListingsListResponse": {
      "description": "Response listing all localized listings.",
      "id": "ListingsListResponse",
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "description": "The kind of this response (\"androidpublisher#listingsListResponse\")."
        },
        "listings": {
          "type": "array",
          "items": {
            "$ref": "Listing"
          },
          "description": "All localized listings."
        }
      }
    },
    "RefundDetails": {
      "properties": {
        "total": {
          "description": "The total amount refunded, including tax.",
          "$ref": "Money"
        },
        "tax": {
          "description": "The amount of tax refunded.",
          "$ref": "Money"
        }
      },
      "description": "Details for a partial or full refund.",
      "id": "RefundDetails",
      "type": "object"
    },
    "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.",
      "id": "MultiAbi",
      "type": "object"
    },
    "UpdateSubscriptionRequest": {
      "id": "UpdateSubscriptionRequest",
      "type": "object",
      "description": "Request message for UpdateSubscription.",
      "properties": {
        "updateMask": {
          "type": "string",
          "description": "Required. The list of fields to be updated.",
          "format": "google-fieldmask"
        },
        "regionsVersion": {
          "description": "Required. The version of the available regions being used for the subscription.",
          "$ref": "RegionsVersion"
        },
        "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"
        },
        "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."
          ],
          "type": "string",
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ]
        },
        "subscription": {
          "description": "Required. The subscription to update.",
          "$ref": "Subscription"
        }
      }
    },
    "AddTargetingRequest": {
      "properties": {
        "targetingUpdate": {
          "description": "Specifies targeting updates such as regions, android sdk versions etc.",
          "$ref": "TargetingUpdate"
        }
      },
      "id": "AddTargetingRequest",
      "type": "object",
      "description": "Request message for AddTargeting."
    },
    "InappproductsBatchUpdateResponse": {
      "properties": {
        "inappproducts": {
          "description": "The updated or inserted in-app products.",
          "type": "array",
          "items": {
            "$ref": "InAppProduct"
          }
        }
      },
      "description": "Response for a batch in-app product update.",
      "id": "InappproductsBatchUpdateResponse",
      "type": "object"
    },
    "SubscriptionPurchasesAcknowledgeRequest": {
      "description": "Request for the purchases.subscriptions.acknowledge API.",
      "id": "SubscriptionPurchasesAcknowledgeRequest",
      "type": "object",
      "properties": {
        "developerPayload": {
          "description": "Payload to attach to the purchase.",
          "type": "string"
        },
        "externalAccountIds": {
          "description": "Optional. User account identifier in your app.",
          "$ref": "ExternalAccountIds"
        }
      }
    },
    "PrepaidPlan": {
      "properties": {
        "allowExtendAfterTime": {
          "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.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "id": "PrepaidPlan",
      "type": "object",
      "description": "Information related to a prepaid plan."
    },
    "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"
        },
        "regionsVersion": {
          "description": "Required. The version of the available regions being used for the regional_price_migrations.",
          "$ref": "RegionsVersion"
        },
        "packageName": {
          "type": "string",
          "description": "Required. Package name of the parent app. Must be equal to the package_name field on the Subscription resource."
        },
        "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."
          ],
          "type": "string",
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "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"
          }
        }
      },
      "id": "MigrateBasePlanPricesRequest",
      "type": "object",
      "description": "Request message for MigrateBasePlanPrices."
    },
    "DeferSubscriptionPurchaseResponse": {
      "properties": {
        "itemExpiryTimeDetails": {
          "description": "The new expiry time for each subscription items.",
          "type": "array",
          "items": {
            "$ref": "ItemExpiryTimeDetails"
          }
        }
      },
      "description": "Response for the v2 purchases.subscriptions.defer API.",
      "id": "DeferSubscriptionPurchaseResponse",
      "type": "object"
    },
    "BatchUpdateSubscriptionOffersRequest": {
      "description": "Request message for BatchUpdateSubscriptionOffers.",
      "id": "BatchUpdateSubscriptionOffersRequest",
      "type": "object",
      "properties": {
        "requests": {
          "type": "array",
          "items": {
            "$ref": "UpdateSubscriptionOfferRequest"
          },
          "description": "Required. A list of update requests of up to 100 elements. All requests must update different subscription offers."
        }
      }
    },
    "DeviceSpec": {
      "properties": {
        "supportedAbis": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "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\"."
        },
        "screenDensity": {
          "description": "Screen dpi.",
          "format": "uint32",
          "type": "integer"
        },
        "supportedLocales": {
          "description": "All installed locales represented as BCP-47 strings, e.g. \"en-US\".",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "The device spec used to generate a system APK.",
      "id": "DeviceSpec",
      "type": "object"
    },
    "SubscriptionDeferralInfo": {
      "description": "A SubscriptionDeferralInfo contains the data needed to defer a subscription purchase to a future expiry time.",
      "id": "SubscriptionDeferralInfo",
      "type": "object",
      "properties": {
        "expectedExpiryTimeMillis": {
          "type": "string",
          "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.",
          "format": "int64"
        },
        "desiredExpiryTimeMillis": {
          "type": "string",
          "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.",
          "format": "int64"
        }
      }
    },
    "CoarseLocation": {
      "id": "CoarseLocation",
      "type": "object",
      "description": "Coarse Geographic location details for where the consumption happened.",
      "properties": {
        "regionCode": {
          "type": "string",
          "description": "Required. [CLDR region code](https://cldr.unicode.org/) of the country/region of the address. This value is never inferred and you must ensure the value is correct. Example: \"CH\" for Switzerland."
        },
        "sublocality": {
          "type": "string",
          "description": "Optional. Sublocality of the address. For example, this can be a neighborhood, borough, or district. For most addresses, you can omit this."
        },
        "locality": {
          "description": "Optional. Generally refers to the city or town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave `locality` empty.",
          "type": "string"
        },
        "administrativeArea": {
          "description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. For Spain, this is the province and not the autonomous community (for example, \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example, in Switzerland, this should be left unpopulated.",
          "type": "string"
        }
      }
    },
    "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.",
      "id": "RegionsVersion",
      "type": "object"
    },
    "InstallmentsBasePlanType": {
      "description": "Represents an installments base plan where a user commits to a specified number of payments.",
      "id": "InstallmentsBasePlanType",
      "type": "object",
      "properties": {
        "accountHoldDuration": {
          "type": "string",
          "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."
        },
        "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.",
          "enum": [
            "SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED",
            "SUBSCRIPTION_PRORATION_MODE_CHARGE_ON_NEXT_BILLING_DATE",
            "SUBSCRIPTION_PRORATION_MODE_CHARGE_FULL_PRICE_IMMEDIATELY"
          ],
          "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."
          ]
        },
        "renewalType": {
          "enumDescriptions": [
            "Unspecified state.",
            "Renews periodically for the billing period duration without commitment.",
            "Renews with the commitment of the same duration as the initial one."
          ],
          "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.",
          "enum": [
            "RENEWAL_TYPE_UNSPECIFIED",
            "RENEWAL_TYPE_RENEWS_WITHOUT_COMMITMENT",
            "RENEWAL_TYPE_RENEWS_WITH_COMMITMENT"
          ],
          "type": "string"
        },
        "committedPaymentsCount": {
          "type": "integer",
          "description": "Required. Immutable. The number of payments the user is committed to. It is immutable after the base plan is created.",
          "format": "int32"
        },
        "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": {
          "description": "Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified.",
          "enum": [
            "RESUBSCRIBE_STATE_UNSPECIFIED",
            "RESUBSCRIBE_STATE_ACTIVE",
            "RESUBSCRIBE_STATE_INACTIVE"
          ],
          "type": "string",
          "enumDescriptions": [
            "Unspecified state.",
            "Resubscribe is active.",
            "Resubscribe is inactive."
          ]
        },
        "billingPeriodDuration": {
          "type": "string",
          "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."
        }
      }
    },
    "ModuleTargeting": {
      "description": "Targeting on the module level.",
      "id": "ModuleTargeting",
      "type": "object",
      "properties": {
        "sdkVersionTargeting": {
          "description": "The sdk version that the variant targets",
          "$ref": "SdkVersionTargeting"
        },
        "deviceFeatureTargeting": {
          "type": "array",
          "items": {
            "$ref": "DeviceFeatureTargeting"
          },
          "description": "Targeting for device features."
        },
        "userCountriesTargeting": {
          "description": "Countries-level targeting",
          "$ref": "UserCountriesTargeting"
        }
      }
    },
    "VanityCode": {
      "id": "VanityCode",
      "type": "object",
      "description": "A multiple use, predefined promotion code.",
      "properties": {
        "promotionCode": {
          "description": "The promotion code.",
          "type": "string"
        }
      }
    },
    "AssetModuleMetadata": {
      "properties": {
        "deliveryType": {
          "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.",
          "enum": [
            "UNKNOWN_DELIVERY_TYPE",
            "INSTALL_TIME",
            "ON_DEMAND",
            "FAST_FOLLOW"
          ],
          "type": "string"
        },
        "name": {
          "description": "Module name.",
          "type": "string"
        }
      },
      "id": "AssetModuleMetadata",
      "type": "object",
      "description": "Metadata of an asset module."
    },
    "OneTimeProductPurchaseOption": {
      "properties": {
        "purchaseOptionId": {
          "type": "string",
          "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."
        },
        "rentOption": {
          "description": "A purchase option that can be rented.",
          "$ref": "OneTimeProductRentPurchaseOption"
        },
        "buyOption": {
          "description": "A purchase option that can be bought.",
          "$ref": "OneTimeProductBuyPurchaseOption"
        },
        "regionalPricingAndAvailabilityConfigs": {
          "description": "Regional pricing and availability information for this purchase option.",
          "type": "array",
          "items": {
            "$ref": "OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig"
          }
        },
        "offerTags": {
          "type": "array",
          "items": {
            "$ref": "OfferTag"
          },
          "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."
        },
        "taxAndComplianceSettings": {
          "description": "Optional. Details about taxes and legal compliance.",
          "$ref": "PurchaseOptionTaxAndComplianceSettings"
        },
        "state": {
          "type": "string",
          "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.",
          "readOnly": true,
          "enum": [
            "STATE_UNSPECIFIED",
            "DRAFT",
            "ACTIVE",
            "INACTIVE",
            "INACTIVE_PUBLISHED"
          ],
          "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."
          ]
        },
        "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"
        }
      },
      "description": "A single purchase option for a one-time product.",
      "id": "OneTimeProductPurchaseOption",
      "type": "object"
    },
    "OneTimeProductOfferNoPriceOverrideOptions": {
      "properties": {},
      "description": "Options for one-time product offers without a regional price override.",
      "id": "OneTimeProductOfferNoPriceOverrideOptions",
      "type": "object"
    },
    "DeactivateBasePlanRequest": {
      "properties": {
        "productId": {
          "type": "string",
          "description": "Required. The parent subscription (ID) of the base plan to deactivate."
        },
        "basePlanId": {
          "description": "Required. The unique base plan ID of the base plan to deactivate.",
          "type": "string"
        },
        "packageName": {
          "type": "string",
          "description": "Required. The parent app (package name) of the base plan to deactivate."
        },
        "latencyTolerance": {
          "type": "string",
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "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": "Request message for DeactivateBasePlan.",
      "id": "DeactivateBasePlanRequest",
      "type": "object"
    },
    "OneTimeProductTaxAndComplianceSettings": {
      "description": "Details about taxation, Google Play policy and legal compliance for one-time products.",
      "id": "OneTimeProductTaxAndComplianceSettings",
      "type": "object",
      "properties": {
        "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"
        },
        "regionalTaxConfigs": {
          "description": "Regional tax configuration.",
          "type": "array",
          "items": {
            "$ref": "RegionalTaxConfig"
          }
        },
        "isTokenizedDigitalAsset": {
          "description": "Whether this one-time product is declared as a product representing a tokenized digital asset.",
          "type": "boolean"
        },
        "regionalProductAgeRatingInfos": {
          "description": "Regional age rating information. Currently this field is only supported for region code `US`.",
          "type": "array",
          "items": {
            "$ref": "RegionalProductAgeRatingInfo"
          }
        }
      }
    },
    "ConvertedOtherRegionsPrice": {
      "properties": {
        "eurPrice": {
          "description": "Price in EUR to use for the \"Other regions\" location exclusive of taxes.",
          "$ref": "Money"
        },
        "usdPrice": {
          "description": "Price in USD to use for the \"Other regions\" location exclusive of taxes.",
          "$ref": "Money"
        }
      },
      "description": "Converted other regions prices.",
      "id": "ConvertedOtherRegionsPrice",
      "type": "object"
    },
    "SignupPromotion": {
      "id": "SignupPromotion",
      "type": "object",
      "description": "The promotion applied on this item when purchased.",
      "properties": {
        "vanityCode": {
          "description": "A vanity code was applied.",
          "$ref": "VanityCode"
        },
        "oneTimeCode": {
          "description": "A one-time code was applied.",
          "$ref": "OneTimeCode"
        }
      }
    },
    "ExpansionFile": {
      "properties": {
        "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.",
          "format": "int64",
          "type": "string"
        },
        "referencesVersion": {
          "description": "If set, this APK's expansion file references another APK's expansion file. The file_size field will not be set.",
          "format": "int32",
          "type": "integer"
        }
      },
      "description": "An expansion file. The resource for ExpansionFilesService.",
      "id": "ExpansionFile",
      "type": "object"
    },
    "SubscriptionTaxAndComplianceSettings": {
      "id": "SubscriptionTaxAndComplianceSettings",
      "type": "object",
      "description": "Details about taxation, Google Play policy, and legal compliance for subscription products.",
      "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"
        },
        "isTokenizedDigitalAsset": {
          "description": "Whether this subscription is declared as a product representing a tokenized digital asset.",
          "type": "boolean"
        },
        "regionalProductAgeRatingInfos": {
          "type": "array",
          "items": {
            "$ref": "RegionalProductAgeRatingInfo"
          },
          "description": "Regional age rating information. Currently this field is only supported for region code `US`."
        },
        "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.",
          "enum": [
            "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED",
            "WITHDRAWAL_RIGHT_DIGITAL_CONTENT",
            "WITHDRAWAL_RIGHT_SERVICE"
          ],
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ]
        },
        "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"
          }
        }
      }
    },
    "RemoteInAppUpdateDataPerBundle": {
      "id": "RemoteInAppUpdateDataPerBundle",
      "type": "object",
      "description": "Data related to the recovery action at bundle level.",
      "properties": {
        "totalDeviceCount": {
          "description": "Total number of devices affected by this recovery action associated with bundle of the app.",
          "format": "int64",
          "type": "string"
        },
        "versionCode": {
          "type": "string",
          "description": "Version Code corresponding to the target bundle.",
          "format": "int64"
        },
        "recoveredDeviceCount": {
          "type": "string",
          "description": "Total number of devices which have been rescued.",
          "format": "int64"
        }
      }
    },
    "InappproductsDeleteRequest": {
      "properties": {
        "packageName": {
          "description": "Package name of the app.",
          "type": "string"
        },
        "sku": {
          "description": "Unique identifier for the in-app product.",
          "type": "string"
        },
        "latencyTolerance": {
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "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."
          ]
        }
      },
      "id": "InappproductsDeleteRequest",
      "type": "object",
      "description": "Request to delete an in-app product."
    },
    "SubscriptionPriceChange": {
      "properties": {
        "newPrice": {
          "description": "The new price the subscription will renew with if the price change is accepted by the user.",
          "$ref": "Price"
        },
        "state": {
          "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.",
          "format": "int32",
          "type": "integer"
        }
      },
      "id": "SubscriptionPriceChange",
      "type": "object",
      "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."
    },
    "InstallmentPlan": {
      "properties": {
        "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.",
          "format": "int32",
          "type": "integer"
        },
        "remainingCommittedPaymentsCount": {
          "type": "integer",
          "description": "Total number of committed payments remaining to be paid for in this renewal cycle.",
          "format": "int32"
        },
        "initialCommittedPaymentsCount": {
          "description": "Total number of payments the user is initially committed for.",
          "format": "int32",
          "type": "integer"
        },
        "pendingCancellation": {
          "description": "If present, this installment plan is pending to be canceled. The cancellation will happen only after the user finished all committed payments.",
          "$ref": "PendingCancellation"
        }
      },
      "description": "Information to a installment plan.",
      "id": "InstallmentPlan",
      "type": "object"
    },
    "DeferredItemRemoval": {
      "properties": {},
      "id": "DeferredItemRemoval",
      "type": "object",
      "description": "Information related to deferred item replacement."
    },
    "Track": {
      "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": {
          "description": "In a read request, represents all active releases in the track. In an update request, represents desired changes.",
          "type": "array",
          "items": {
            "$ref": "TrackRelease"
          }
        }
      },
      "id": "Track",
      "type": "object",
      "description": "A track configuration. The resource for TracksService."
    },
    "ProductLineItem": {
      "properties": {
        "productId": {
          "description": "The purchased product ID (for example, 'monthly001').",
          "type": "string"
        },
        "productOfferDetails": {
          "description": "The offer details for this item.",
          "$ref": "ProductOfferDetails"
        }
      },
      "id": "ProductLineItem",
      "type": "object",
      "description": "Contains item-level info for a ProductPurchaseV2."
    },
    "BatchUpdateBasePlanStatesRequest": {
      "properties": {
        "requests": {
          "description": "Required. The update request list of up to 100 elements. All requests must update different base plans.",
          "type": "array",
          "items": {
            "$ref": "UpdateBasePlanStateRequest"
          }
        }
      },
      "id": "BatchUpdateBasePlanStatesRequest",
      "type": "object",
      "description": "Request message for BatchUpdateBasePlanStates."
    },
    "GeneratedStandaloneApk": {
      "properties": {
        "downloadId": {
          "type": "string",
          "description": "Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method."
        },
        "variantId": {
          "type": "integer",
          "description": "ID of the generated variant.",
          "format": "int32"
        }
      },
      "description": "Download metadata for a standalone APK.",
      "id": "GeneratedStandaloneApk",
      "type": "object"
    },
    "UserCountriesTargeting": {
      "properties": {
        "countryCodes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "List of country codes in the two-letter CLDR territory format."
        },
        "exclude": {
          "description": "Indicates if the list above is exclusive.",
          "type": "boolean"
        }
      },
      "description": "Describes an inclusive/exclusive list of country codes that module targets.",
      "id": "UserCountriesTargeting",
      "type": "object"
    },
    "ProcessedEvent": {
      "properties": {
        "eventTime": {
          "description": "The time when the order was processed.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "description": "Details of when the order was processed.",
      "id": "ProcessedEvent",
      "type": "object"
    },
    "ProductPurchasesAcknowledgeRequest": {
      "description": "Request for the product.purchases.acknowledge API.",
      "id": "ProductPurchasesAcknowledgeRequest",
      "type": "object",
      "properties": {
        "developerPayload": {
          "type": "string",
          "description": "Payload to attach to the purchase."
        }
      }
    },
    "TestPurchaseContext": {
      "properties": {
        "fopType": {
          "description": "The fop type of the test purchase.",
          "enum": [
            "FOP_TYPE_UNSPECIFIED",
            "TEST"
          ],
          "type": "string",
          "enumDescriptions": [
            "Fop type unspecified. This value should never be set.",
            "The purchase was made using a test card."
          ]
        }
      },
      "id": "TestPurchaseContext",
      "type": "object",
      "description": "Context about a test purchase."
    },
    "GeneratedRecoveryApk": {
      "properties": {
        "recoveryId": {
          "type": "string",
          "description": "ID of the recovery action.",
          "format": "int64"
        },
        "moduleName": {
          "type": "string",
          "description": "Name of the module which recovery apk belongs to."
        },
        "downloadId": {
          "description": "Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method.",
          "type": "string"
        },
        "recoveryStatus": {
          "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 corresponding to the recovery apk.",
          "enum": [
            "RECOVERY_STATUS_UNSPECIFIED",
            "RECOVERY_STATUS_ACTIVE",
            "RECOVERY_STATUS_CANCELED",
            "RECOVERY_STATUS_DRAFT",
            "RECOVERY_STATUS_GENERATION_IN_PROGRESS",
            "RECOVERY_STATUS_GENERATION_FAILED"
          ],
          "type": "string"
        }
      },
      "description": "Download metadata for an app recovery module.",
      "id": "GeneratedRecoveryApk",
      "type": "object"
    },
    "RemoteInAppUpdateData": {
      "properties": {
        "remoteAppUpdateDataPerBundle": {
          "description": "Data related to the recovery action at bundle level.",
          "type": "array",
          "items": {
            "$ref": "RemoteInAppUpdateDataPerBundle"
          }
        }
      },
      "id": "RemoteInAppUpdateData",
      "type": "object",
      "description": "Data related to Remote In-App Update action such as recovered user count, affected user count etc."
    },
    "BatchUpdateOneTimeProductOfferStatesResponse": {
      "properties": {
        "oneTimeProductOffers": {
          "description": "The updated one-time product offers list, in the same order as the request.",
          "type": "array",
          "items": {
            "$ref": "OneTimeProductOffer"
          }
        }
      },
      "id": "BatchUpdateOneTimeProductOfferStatesResponse",
      "type": "object",
      "description": "Response message for BatchUpdateOneTimeProductOfferStates."
    },
    "OutOfAppPurchaseContext": {
      "properties": {
        "expiredExternalAccountIdentifiers": {
          "description": "User account identifier from the last expired subscription for this SKU.",
          "$ref": "ExternalAccountIdentifiers"
        },
        "expiredPurchaseToken": {
          "type": "string",
          "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."
        }
      },
      "description": "Information specific to an out of app purchase.",
      "id": "OutOfAppPurchaseContext",
      "type": "object"
    },
    "BatchGetSubscriptionOffersRequest": {
      "description": "Request message for BatchGetSubscriptionOffers endpoint.",
      "id": "BatchGetSubscriptionOffersRequest",
      "type": "object",
      "properties": {
        "requests": {
          "description": "Required. A list of update requests of up to 100 elements. All requests must update different subscriptions.",
          "type": "array",
          "items": {
            "$ref": "GetSubscriptionOfferRequest"
          }
        }
      }
    },
    "LanguageTargeting": {
      "id": "LanguageTargeting",
      "type": "object",
      "description": "Targeting based on language.",
      "properties": {
        "value": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "ISO-639: 2 or 3 letter language code."
        },
        "alternatives": {
          "description": "Alternative languages.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "InappproductsBatchGetResponse": {
      "description": "Response message for BatchGetSubscriptions endpoint.",
      "id": "InappproductsBatchGetResponse",
      "type": "object",
      "properties": {
        "inappproduct": {
          "description": "The list of requested in-app products, in the same order as the request.",
          "type": "array",
          "items": {
            "$ref": "InAppProduct"
          }
        }
      }
    },
    "AppRecoveryAction": {
      "properties": {
        "appRecoveryId": {
          "description": "ID corresponding to the app recovery action.",
          "format": "int64",
          "type": "string"
        },
        "cancelTime": {
          "description": "Timestamp of when the app recovery action is canceled by the developer. Only set if the recovery action has been canceled.",
          "format": "google-datetime",
          "type": "string"
        },
        "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.",
          "format": "google-datetime",
          "type": "string"
        },
        "status": {
          "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."
          ],
          "type": "string",
          "description": "The status of the recovery action.",
          "enum": [
            "RECOVERY_STATUS_UNSPECIFIED",
            "RECOVERY_STATUS_ACTIVE",
            "RECOVERY_STATUS_CANCELED",
            "RECOVERY_STATUS_DRAFT",
            "RECOVERY_STATUS_GENERATION_IN_PROGRESS",
            "RECOVERY_STATUS_GENERATION_FAILED"
          ]
        },
        "targeting": {
          "description": "Specifies targeting criteria for the recovery action such as regions, android sdk versions, app versions etc.",
          "$ref": "Targeting"
        },
        "deployTime": {
          "description": "Timestamp of when the app recovery action is deployed to the users. Only set if the recovery action has been deployed.",
          "format": "google-datetime",
          "type": "string"
        },
        "createTime": {
          "type": "string",
          "description": "Timestamp of when the app recovery action is created by the developer. It is always set after creation of the recovery action.",
          "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"
        }
      },
      "id": "AppRecoveryAction",
      "type": "object",
      "description": "Information about an app recovery action."
    },
    "OfferTag": {
      "id": "OfferTag",
      "type": "object",
      "description": "Represents a custom tag specified for a product offer.",
      "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"
        }
      }
    },
    "ActivateOneTimeProductOfferRequest": {
      "id": "ActivateOneTimeProductOfferRequest",
      "type": "object",
      "description": "Request message for ActivateOneTimeProductOffer.",
      "properties": {
        "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"
        },
        "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 update. Defaults to latency-sensitive.",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "type": "string"
        },
        "productId": {
          "type": "string",
          "description": "Required. The parent one-time product (ID) of the offer to activate."
        },
        "purchaseOptionId": {
          "description": "Required. The parent purchase option (ID) of the offer to activate.",
          "type": "string"
        }
      }
    },
    "DeviceTierConfig": {
      "properties": {
        "deviceGroups": {
          "description": "Definition of device groups for the app.",
          "type": "array",
          "items": {
            "$ref": "DeviceGroup"
          }
        },
        "userCountrySets": {
          "type": "array",
          "items": {
            "$ref": "UserCountrySet"
          },
          "description": "Definition of user country sets for the app."
        },
        "deviceTierSet": {
          "description": "Definition of the set of device tiers for the app.",
          "$ref": "DeviceTierSet"
        },
        "deviceTierConfigId": {
          "description": "Output only. The device tier config ID.",
          "readOnly": true,
          "format": "int64",
          "type": "string"
        }
      },
      "id": "DeviceTierConfig",
      "type": "object",
      "description": "Configuration describing device targeting criteria for the content of an app."
    },
    "SystemInitiatedCancellation": {
      "properties": {},
      "description": "Information specific to cancellations initiated by Google system.",
      "id": "SystemInitiatedCancellation",
      "type": "object"
    },
    "PendingCancellation": {
      "id": "PendingCancellation",
      "type": "object",
      "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.",
      "properties": {}
    },
    "SubscriptionPurchasesDeferRequest": {
      "properties": {
        "deferralInfo": {
          "description": "The information about the new desired expiry time for the subscription.",
          "$ref": "SubscriptionDeferralInfo"
        }
      },
      "description": "Request for the purchases.subscriptions.defer API.",
      "id": "SubscriptionPurchasesDeferRequest",
      "type": "object"
    },
    "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.",
      "id": "Order",
      "type": "object",
      "properties": {
        "lastEventTime": {
          "type": "string",
          "description": "The time of the last event that occurred on the order.",
          "format": "google-datetime"
        },
        "tax": {
          "description": "The total tax paid as a part of this order.",
          "$ref": "Money"
        },
        "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.",
          "$ref": "BuyerAddress"
        },
        "createTime": {
          "description": "The time when the order was created.",
          "format": "google-datetime",
          "type": "string"
        },
        "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."
          ],
          "description": "The originating sales channel of the order.",
          "enum": [
            "SALES_CHANNEL_UNSPECIFIED",
            "IN_APP",
            "PC_EMULATOR",
            "NATIVE_PC",
            "PLAY_STORE",
            "OUTSIDE_PLAY_STORE"
          ],
          "type": "string"
        },
        "purchaseToken": {
          "description": "The token provided to the user's device when the subscription or item was purchased.",
          "type": "string"
        },
        "lineItems": {
          "type": "array",
          "items": {
            "$ref": "LineItem"
          },
          "description": "The individual line items making up this order."
        },
        "pointsDetails": {
          "description": "Play points applied to the order, including offer information, discount rate and point values.",
          "$ref": "PointsDetails"
        },
        "orderId": {
          "type": "string",
          "description": "The order ID."
        },
        "state": {
          "type": "string",
          "description": "The state of the order.",
          "enum": [
            "STATE_UNSPECIFIED",
            "PENDING",
            "PROCESSED",
            "CANCELED",
            "PENDING_REFUND",
            "PARTIALLY_REFUNDED",
            "REFUNDED"
          ],
          "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."
          ]
        },
        "orderHistory": {
          "description": "Details about events which modified the order.",
          "$ref": "OrderHistory"
        },
        "total": {
          "description": "The final amount paid by the customer, taking into account discounts and taxes.",
          "$ref": "Money"
        },
        "orderDetails": {
          "description": "Detailed information about the order at creation time.",
          "$ref": "OrderDetails"
        },
        "developerRevenueInBuyerCurrency": {
          "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.",
          "$ref": "Money"
        }
      }
    },
    "ExternalSubscription": {
      "description": "Details of an external subscription.",
      "id": "ExternalSubscription",
      "type": "object",
      "properties": {
        "subscriptionType": {
          "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."
          ],
          "type": "string",
          "description": "Required. The type of the external subscription.",
          "enum": [
            "SUBSCRIPTION_TYPE_UNSPECIFIED",
            "RECURRING",
            "PREPAID"
          ]
        }
      }
    },
    "ListUsersResponse": {
      "properties": {
        "users": {
          "type": "array",
          "items": {
            "$ref": "User"
          },
          "description": "The resulting users."
        },
        "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.",
      "id": "ListUsersResponse",
      "type": "object"
    },
    "Variant": {
      "id": "Variant",
      "type": "object",
      "description": "APK that is suitable for inclusion in a system image. The resource of SystemApksService.",
      "properties": {
        "variantId": {
          "type": "integer",
          "description": "Output only. The ID of a previously created system APK variant.",
          "readOnly": true,
          "format": "uint32"
        },
        "deviceSpec": {
          "description": "The device spec used to generate the APK.",
          "$ref": "DeviceSpec"
        },
        "options": {
          "description": "Optional. Options applied to the generated APK.",
          "$ref": "SystemApkOptions"
        }
      }
    },
    "TestPurchase": {
      "properties": {},
      "description": "Whether this subscription purchase is a test purchase.",
      "id": "TestPurchase",
      "type": "object"
    },
    "TargetingRuleScopeThisSubscription": {
      "properties": {},
      "description": "Represents the targeting rule scope corresponding to the subscriptions in which this offer is defined.",
      "id": "TargetingRuleScopeThisSubscription",
      "type": "object"
    },
    "RevokeSubscriptionPurchaseRequest": {
      "properties": {
        "revocationContext": {
          "description": "Required. Additional details around the subscription revocation.",
          "$ref": "RevocationContext"
        }
      },
      "description": "Request for the purchases.subscriptionsv2.revoke API.",
      "id": "RevokeSubscriptionPurchaseRequest",
      "type": "object"
    },
    "DeferralContext": {
      "properties": {
        "deferDuration": {
          "type": "string",
          "description": "Required. The duration by which all subscription items should be deferred.",
          "format": "google-duration"
        },
        "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"
        }
      },
      "description": "Deferral context of the purchases.subscriptionsv2.defer API.",
      "id": "DeferralContext",
      "type": "object"
    },
    "TargetingUpdate": {
      "properties": {
        "androidSdks": {
          "description": "Additional android sdk levels are targeted by the recovery action.",
          "$ref": "AndroidSdks"
        },
        "regions": {
          "description": "Additional regions are targeted by the recovery action.",
          "$ref": "Regions"
        },
        "allUsers": {
          "description": "All users are targeted.",
          "$ref": "AllUsers"
        }
      },
      "description": "Update type for targeting. Note it is always a subset Targeting.",
      "id": "TargetingUpdate",
      "type": "object"
    },
    "PreorderOfferDetails": {
      "description": "Offer details information related to a preorder line item.",
      "id": "PreorderOfferDetails",
      "type": "object",
      "properties": {
        "preorderReleaseTime": {
          "description": "The time when a preordered item is released for a preorder purchase.",
          "format": "google-datetime",
          "type": "string"
        }
      }
    },
    "ProrationPeriodDetails": {
      "properties": {
        "originalOfferPhase": {
          "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."
          ],
          "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.",
          "enum": [
            "OFFER_PHASE_UNSPECIFIED",
            "BASE",
            "INTRODUCTORY",
            "FREE_TRIAL"
          ],
          "type": "string"
        }
      },
      "id": "ProrationPeriodDetails",
      "type": "object",
      "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))."
    },
    "RegionalSubscriptionOfferConfig": {
      "properties": {
        "regionCode": {
          "type": "string",
          "description": "Required. Immutable. Region code this configuration applies to, as defined by ISO 3166-2, e.g. \"US\"."
        },
        "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",
      "type": "object",
      "description": "Configuration for a subscription offer in a single region."
    },
    "AppEdit": {
      "description": "An app edit. The resource for EditsService.",
      "id": "AppEdit",
      "type": "object",
      "properties": {
        "id": {
          "description": "Output only. Identifier of the edit. Can be used in subsequent API calls.",
          "readOnly": true,
          "type": "string"
        },
        "expiryTimeSeconds": {
          "description": "Output only. The time (as seconds since Epoch) at which the edit will expire and will be no longer valid for use.",
          "readOnly": true,
          "type": "string"
        }
      }
    },
    "OneTimePurchaseDetails": {
      "description": "Details of a one-time purchase.",
      "id": "OneTimePurchaseDetails",
      "type": "object",
      "properties": {
        "rentalDetails": {
          "description": "The details of a rent purchase. Only set if it is a rent purchase.",
          "$ref": "RentalDetails"
        },
        "quantity": {
          "type": "integer",
          "description": "The number of items purchased (for multi-quantity item purchases).",
          "format": "int32"
        },
        "purchaseOptionId": {
          "type": "string",
          "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."
        },
        "offerId": {
          "type": "string",
          "description": "The offer ID of the one-time purchase offer."
        },
        "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"
        }
      }
    },
    "DeviceSelector": {
      "id": "DeviceSelector",
      "type": "object",
      "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",
      "properties": {
        "systemOnChips": {
          "type": "array",
          "items": {
            "$ref": "SystemOnChip"
          },
          "description": "Optional. The SoCs included by this selector. Only works for Android S+ devices."
        },
        "deviceRam": {
          "description": "Conditions on the device's RAM.",
          "$ref": "DeviceRam"
        },
        "excludedDeviceIds": {
          "type": "array",
          "items": {
            "$ref": "DeviceId"
          },
          "description": "Device models excluded by this selector, even if they match all other conditions."
        },
        "forbiddenSystemFeatures": {
          "type": "array",
          "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."
        },
        "requiredSystemFeatures": {
          "type": "array",
          "items": {
            "$ref": "SystemFeature"
          },
          "description": "A device needs to have all these system features to be included by the selector."
        },
        "includedDeviceIds": {
          "description": "Device models included by this selector.",
          "type": "array",
          "items": {
            "$ref": "DeviceId"
          }
        }
      }
    },
    "OtherRegionsSubscriptionOfferPhasePrices": {
      "properties": {
        "usdPrice": {
          "description": "Required. Price in USD to use for any new locations Play may launch in.",
          "$ref": "Money"
        },
        "eurPrice": {
          "description": "Required. Price in EUR to use for any new locations Play may launch in.",
          "$ref": "Money"
        }
      },
      "id": "OtherRegionsSubscriptionOfferPhasePrices",
      "type": "object",
      "description": "Pricing information for any new locations Play may launch in."
    },
    "AppDetails": {
      "properties": {
        "contactWebsite": {
          "type": "string",
          "description": "The user-visible website for this app."
        },
        "contactEmail": {
          "description": "The user-visible support email for this app.",
          "type": "string"
        },
        "defaultLanguage": {
          "type": "string",
          "description": "Default language code, in BCP 47 format (eg \"en-US\")."
        },
        "contactPhone": {
          "type": "string",
          "description": "The user-visible support telephone number for this app."
        }
      },
      "description": "The app details. The resource for DetailsService.",
      "id": "AppDetails",
      "type": "object"
    },
    "OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig": {
      "properties": {
        "price": {
          "description": "The price of the purchase option in the specified region. Must be set in the currency that is linked to the specified region.",
          "$ref": "Money"
        },
        "availability": {
          "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.",
          "enum": [
            "AVAILABILITY_UNSPECIFIED",
            "AVAILABLE",
            "NO_LONGER_AVAILABLE",
            "AVAILABLE_IF_RELEASED",
            "AVAILABLE_FOR_OFFERS_ONLY"
          ],
          "type": "string"
        },
        "regionCode": {
          "description": "Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g., \"US\".",
          "type": "string"
        }
      },
      "description": "Regional pricing and availability configuration for a purchase option.",
      "id": "OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig",
      "type": "object"
    },
    "SystemOnChip": {
      "properties": {
        "model": {
          "type": "string",
          "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."
        },
        "manufacturer": {
          "type": "string",
          "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."
        }
      },
      "id": "SystemOnChip",
      "type": "object",
      "description": "Representation of a System-on-Chip (SoC) of an Android device. Can be used to target S+ devices."
    },
    "ActivatePurchaseOptionRequest": {
      "properties": {
        "packageName": {
          "type": "string",
          "description": "Required. The parent app (package name) of the purchase option to activate."
        },
        "latencyTolerance": {
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "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."
          ]
        },
        "productId": {
          "type": "string",
          "description": "Required. The parent one-time product (ID) of the purchase option to activate."
        },
        "purchaseOptionId": {
          "description": "Required. The purchase option ID of the purchase option to activate.",
          "type": "string"
        }
      },
      "description": "Request message for UpdatePurchaseOptionState.",
      "id": "ActivatePurchaseOptionRequest",
      "type": "object"
    },
    "BatchMigrateBasePlanPricesResponse": {
      "properties": {
        "responses": {
          "type": "array",
          "items": {
            "$ref": "MigrateBasePlanPricesResponse"
          },
          "description": "Contains one response per requested price migration, in the same order as the request."
        }
      },
      "id": "BatchMigrateBasePlanPricesResponse",
      "type": "object",
      "description": "Response message for BatchMigrateBasePlanPrices."
    },
    "DeobfuscationFile": {
      "id": "DeobfuscationFile",
      "type": "object",
      "description": "Represents a deobfuscation file.",
      "properties": {
        "symbolType": {
          "description": "The type of the deobfuscation file.",
          "enum": [
            "deobfuscationFileTypeUnspecified",
            "proguard",
            "nativeCode"
          ],
          "type": "string",
          "enumDescriptions": [
            "Unspecified deobfuscation file type.",
            "Proguard deobfuscation file type.",
            "Native debugging symbols file type."
          ]
        }
      }
    },
    "BatchUpdateSubscriptionsRequest": {
      "description": "Request message for BatchUpdateSubscription.",
      "id": "BatchUpdateSubscriptionsRequest",
      "type": "object",
      "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"
          }
        }
      }
    },
    "TokenPagination": {
      "properties": {
        "previousPageToken": {
          "type": "string"
        },
        "nextPageToken": {
          "description": "Tokens to pass to the standard list field 'page_token'. Whenever available, tokens are preferred over manipulating start_index.",
          "type": "string"
        }
      },
      "id": "TokenPagination",
      "type": "object",
      "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."
    },
    "Targeting": {
      "properties": {
        "regions": {
          "description": "Targeting is based on the user account region.",
          "$ref": "Regions"
        },
        "versionList": {
          "description": "Target version codes as a list.",
          "$ref": "AppVersionList"
        },
        "allUsers": {
          "description": "All users are targeted.",
          "$ref": "AllUsers"
        },
        "androidSdks": {
          "description": "Targeting is based on android api levels of devices.",
          "$ref": "AndroidSdks"
        },
        "versionRange": {
          "description": "Target version codes as a range.",
          "$ref": "AppVersionRange"
        }
      },
      "description": "Targeting details for a recovery action such as regions, android sdk levels, app versions etc.",
      "id": "Targeting",
      "type": "object"
    },
    "ListDeviceTierConfigsResponse": {
      "id": "ListDeviceTierConfigsResponse",
      "type": "object",
      "description": "Response listing existing device tier configs.",
      "properties": {
        "deviceTierConfigs": {
          "description": "Device tier configs created by the developer.",
          "type": "array",
          "items": {
            "$ref": "DeviceTierConfig"
          }
        },
        "nextPageToken": {
          "type": "string",
          "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."
        }
      }
    },
    "OtherRecurringProduct": {
      "id": "OtherRecurringProduct",
      "type": "object",
      "description": "Details of a recurring external transaction product which doesn't belong to any other more specific category.",
      "properties": {}
    },
    "InappproductsBatchUpdateRequest": {
      "properties": {
        "requests": {
          "type": "array",
          "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."
        }
      },
      "id": "InappproductsBatchUpdateRequest",
      "type": "object",
      "description": "Request to update or insert one or more in-app products."
    },
    "OneTimeProduct": {
      "properties": {
        "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.",
          "$ref": "RestrictedPaymentCountries"
        },
        "regionsVersion": {
          "description": "Output only. The version of the regions configuration that was used to generate the one-time product.",
          "readOnly": true,
          "$ref": "RegionsVersion"
        },
        "productId": {
          "type": "string",
          "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 (.)."
        },
        "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"
          }
        },
        "packageName": {
          "description": "Required. Immutable. Package name of the parent app.",
          "type": "string"
        },
        "taxAndComplianceSettings": {
          "description": "Details about taxes and legal compliance.",
          "$ref": "OneTimeProductTaxAndComplianceSettings"
        },
        "offerTags": {
          "type": "array",
          "items": {
            "$ref": "OfferTag"
          },
          "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."
        },
        "purchaseOptions": {
          "type": "array",
          "items": {
            "$ref": "OneTimeProductPurchaseOption"
          },
          "description": "Required. The set of purchase options for this one-time product."
        }
      },
      "id": "OneTimeProduct",
      "type": "object",
      "description": "A single one-time product for an app."
    },
    "BatchGetOrdersResponse": {
      "properties": {
        "orders": {
          "type": "array",
          "items": {
            "$ref": "Order"
          },
          "description": "Details for the requested order IDs."
        }
      },
      "id": "BatchGetOrdersResponse",
      "type": "object",
      "description": "Response for the orders.batchGet API."
    },
    "UpdatePurchaseOptionStateRequest": {
      "id": "UpdatePurchaseOptionStateRequest",
      "type": "object",
      "description": "Request message to update the state of a one-time product purchase option.",
      "properties": {
        "activatePurchaseOptionRequest": {
          "description": "Activates a purchase option. Once activated, the purchase option will be available.",
          "$ref": "ActivatePurchaseOptionRequest"
        },
        "deactivatePurchaseOptionRequest": {
          "description": "Deactivates a purchase option. Once deactivated, the purchase option will become unavailable.",
          "$ref": "DeactivatePurchaseOptionRequest"
        }
      }
    },
    "BatchUpdateOneTimeProductOfferStatesRequest": {
      "description": "Request message for BatchUpdateOneTimeProductOfferStates.",
      "id": "BatchUpdateOneTimeProductOfferStatesRequest",
      "type": "object",
      "properties": {
        "requests": {
          "type": "array",
          "items": {
            "$ref": "UpdateOneTimeProductOfferStateRequest"
          },
          "description": "Required. The update request list of up to 100 elements. All requests must update different offers."
        }
      }
    },
    "TargetingRuleScope": {
      "properties": {
        "specificSubscriptionInApp": {
          "type": "string",
          "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."
        },
        "thisSubscription": {
          "description": "The scope of the current targeting rule is the subscription in which this offer is defined.",
          "$ref": "TargetingRuleScopeThisSubscription"
        },
        "anySubscriptionInApp": {
          "description": "The scope of the current targeting rule is any subscription in the parent app.",
          "$ref": "TargetingRuleScopeAnySubscriptionInApp"
        }
      },
      "description": "Defines the scope of subscriptions which a targeting rule can match to target offers to users based on past or current entitlement.",
      "id": "TargetingRuleScope",
      "type": "object"
    },
    "ActivateBasePlanRequest": {
      "description": "Request message for ActivateBasePlan.",
      "id": "ActivateBasePlanRequest",
      "type": "object",
      "properties": {
        "packageName": {
          "description": "Required. The parent app (package name) of the base plan to activate.",
          "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."
          ],
          "type": "string",
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "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 base plan to activate.",
          "type": "string"
        },
        "basePlanId": {
          "description": "Required. The unique base plan ID of the base plan to activate.",
          "type": "string"
        }
      }
    },
    "Apk": {
      "properties": {
        "versionCode": {
          "description": "The version code of the APK, as specified in the manifest file.",
          "format": "int32",
          "type": "integer"
        },
        "binary": {
          "description": "Information about the binary payload of this APK.",
          "$ref": "ApkBinary"
        }
      },
      "description": "Information about an APK. The resource for ApksService.",
      "id": "Apk",
      "type": "object"
    },
    "AutoRenewingPlan": {
      "id": "AutoRenewingPlan",
      "type": "object",
      "description": "Information related to an auto renewing plan.",
      "properties": {
        "autoRenewEnabled": {
          "type": "boolean",
          "description": "If the subscription is currently set to auto-renew, e.g. the user has not canceled the subscription"
        },
        "installmentDetails": {
          "description": "The installment plan commitment and state related info for the auto renewing plan.",
          "$ref": "InstallmentPlan"
        },
        "recurringPrice": {
          "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.",
          "$ref": "Money"
        },
        "priceChangeDetails": {
          "description": "The information of the last price change for the item since subscription signup.",
          "$ref": "SubscriptionItemPriceChangeDetails"
        },
        "priceStepUpConsentDetails": {
          "description": "The information of the latest price step-up consent.",
          "$ref": "PriceStepUpConsentDetails"
        }
      }
    },
    "UserCountrySet": {
      "properties": {
        "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"
          }
        },
        "name": {
          "type": "string",
          "description": "Country set name."
        }
      },
      "id": "UserCountrySet",
      "type": "object",
      "description": "A set of user countries. A country set determines what variation of app content gets served to a specific location."
    },
    "OneTimeProductListing": {
      "description": "Regional store listing for a one-time product.",
      "id": "OneTimeProductListing",
      "type": "object",
      "properties": {
        "languageCode": {
          "type": "string",
          "description": "Required. The language of this listing, as defined by BCP-47, e.g., \"en-US\"."
        },
        "title": {
          "type": "string",
          "description": "Required. The title of this product in the language of this listing. The maximum length is 55 characters."
        },
        "description": {
          "type": "string",
          "description": "Required. The description of this product in the language of this listing. The maximum length is 200 characters."
        }
      }
    },
    "SubscriptionOfferPhase": {
      "id": "SubscriptionOfferPhase",
      "type": "object",
      "description": "A single phase of a subscription offer.",
      "properties": {
        "recurrenceCount": {
          "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.",
          "format": "int32",
          "type": "integer"
        },
        "regionalConfigs": {
          "type": "array",
          "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."
        },
        "otherRegionsConfig": {
          "description": "Pricing information for any new locations Play may launch in.",
          "$ref": "OtherRegionsSubscriptionOfferPhaseConfig"
        },
        "duration": {
          "description": "Required. The duration of a single recurrence of this phase. Specified in ISO 8601 format.",
          "type": "string"
        }
      }
    },
    "SplitApkVariant": {
      "properties": {
        "apkSet": {
          "type": "array",
          "items": {
            "$ref": "ApkSet"
          },
          "description": "Set of APKs, one set per module."
        },
        "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.",
          "format": "int32",
          "type": "integer"
        },
        "targeting": {
          "description": "Variant-level targeting.",
          "$ref": "VariantTargeting"
        }
      },
      "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.",
      "id": "SplitApkVariant",
      "type": "object"
    },
    "BatchUpdateSubscriptionsResponse": {
      "id": "BatchUpdateSubscriptionsResponse",
      "type": "object",
      "description": "Response message for BatchUpdateSubscription.",
      "properties": {
        "subscriptions": {
          "type": "array",
          "items": {
            "$ref": "Subscription"
          },
          "description": "The updated subscriptions list."
        }
      }
    },
    "RentalDetails": {
      "id": "RentalDetails",
      "type": "object",
      "description": "Details of a rental purchase.",
      "properties": {}
    },
    "DeviceTierSet": {
      "id": "DeviceTierSet",
      "type": "object",
      "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.",
      "properties": {
        "deviceTiers": {
          "description": "Device tiers belonging to the set.",
          "type": "array",
          "items": {
            "$ref": "DeviceTier"
          }
        }
      }
    },
    "InappproductsUpdateRequest": {
      "id": "InappproductsUpdateRequest",
      "type": "object",
      "description": "Request to update an in-app product.",
      "properties": {
        "sku": {
          "description": "Unique identifier for the in-app product.",
          "type": "string"
        },
        "autoConvertMissingPrices": {
          "type": "boolean",
          "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."
        },
        "allowMissing": {
          "type": "boolean",
          "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."
        },
        "inappproduct": {
          "description": "The new in-app product.",
          "$ref": "InAppProduct"
        },
        "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."
          ],
          "type": "string",
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ]
        },
        "packageName": {
          "type": "string",
          "description": "Package name of the app."
        }
      }
    },
    "RegionalProductAgeRatingInfo": {
      "id": "RegionalProductAgeRatingInfo",
      "type": "object",
      "description": "Details about the age rating for a specific geographic region.",
      "properties": {
        "productAgeRatingTier": {
          "type": "string",
          "description": "The age rating tier of a product for the given region.",
          "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."
          ]
        },
        "regionCode": {
          "description": "Region code this configuration applies to, as defined by ISO 3166-2, e.g. \"US\".",
          "type": "string"
        }
      }
    },
    "SystemApksListResponse": {
      "description": "Response to list previously created system APK variants.",
      "id": "SystemApksListResponse",
      "type": "object",
      "properties": {
        "variants": {
          "type": "array",
          "items": {
            "$ref": "Variant"
          },
          "description": "All system APK variants created."
        }
      }
    },
    "ImagesDeleteAllResponse": {
      "description": "Response for deleting all images.",
      "id": "ImagesDeleteAllResponse",
      "type": "object",
      "properties": {
        "deleted": {
          "type": "array",
          "items": {
            "$ref": "Image"
          },
          "description": "The deleted images."
        }
      }
    },
    "GetSubscriptionOfferRequest": {
      "properties": {
        "packageName": {
          "description": "Required. The parent app (package name) of the offer to get.",
          "type": "string"
        },
        "offerId": {
          "description": "Required. The unique offer ID of the offer to get.",
          "type": "string"
        },
        "productId": {
          "type": "string",
          "description": "Required. The parent subscription (ID) of the offer to get."
        },
        "basePlanId": {
          "type": "string",
          "description": "Required. The parent base plan (ID) of the offer to get."
        }
      },
      "id": "GetSubscriptionOfferRequest",
      "type": "object",
      "description": "Request message for GetSubscriptionOffer."
    },
    "OrdersReviewRefundRequest": {
      "properties": {
        "pendingRefundToken": {
          "type": "string",
          "description": "Required. The pending refund token included in the pending refund review notification."
        },
        "sampleContentProvided": {
          "description": "Required. Indicates whether you provided a free sample, trial, or information about the functionality prior to the purchase.",
          "type": "boolean"
        },
        "consumptionUsageEvents": {
          "type": "array",
          "items": {
            "$ref": "ConsumptionUsageEvent"
          },
          "description": "Optional. List of events, each representing an instance where the user consumed or used the purchased item or service. Lists with over 1000 items will be rejected."
        },
        "consumptionPercentageMilliunits": {
          "type": "integer",
          "description": "Optional. Percentage of the In-App purchase the customer consumed, in milliunits. Minimum: 0 Maximum: 100,000. For paid apps, this can be omitted. Example : 45200 represents 45.2%.",
          "format": "int32"
        },
        "refundPreference": {
          "type": "string",
          "description": "Required. Indicates your preference, based on your operational logic, as to whether the Play Store should grant the refund.",
          "enum": [
            "REFUND_PREFERENCE_UNSPECIFIED",
            "DECLINE",
            "APPROVE",
            "NEUTRAL"
          ],
          "enumDescriptions": [
            "Refund preference unspecified. This value is not used.",
            "Developer prefers that Play declines the refund.",
            "Developer prefers that Play grants the refund in full.",
            "Developer has no preference about Google Play's decision to issue a refund"
          ]
        }
      },
      "id": "OrdersReviewRefundRequest",
      "type": "object",
      "description": "Request for the orders.reviewrefund API."
    },
    "ApksAddExternallyHostedResponse": {
      "id": "ApksAddExternallyHostedResponse",
      "type": "object",
      "description": "Response for creating a new externally hosted APK.",
      "properties": {
        "externallyHostedApk": {
          "description": "The definition of the externally-hosted APK and where it is located.",
          "$ref": "ExternallyHostedApk"
        }
      }
    },
    "TextureCompressionFormat": {
      "id": "TextureCompressionFormat",
      "type": "object",
      "description": "Represents texture compression format.",
      "properties": {
        "alias": {
          "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."
          ],
          "description": "Alias for texture compression format.",
          "enum": [
            "UNSPECIFIED_TEXTURE_COMPRESSION_FORMAT",
            "ETC1_RGB8",
            "PALETTED",
            "THREE_DC",
            "ATC",
            "LATC",
            "DXT1",
            "S3TC",
            "PVRTC",
            "ASTC",
            "ETC2"
          ],
          "type": "string"
        }
      }
    },
    "RegionalTaxRateInfo": {
      "properties": {
        "streamingTaxType": {
          "type": "string",
          "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).",
          "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"
          ],
          "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."
          ]
        },
        "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"
        },
        "taxTier": {
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "type": "string",
          "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).",
          "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"
          ]
        }
      },
      "description": "Specified details about taxation in a given geographical region.",
      "id": "RegionalTaxRateInfo",
      "type": "object"
    },
    "BasePriceOfferPhase": {
      "properties": {},
      "description": "Details about base price offer phase.",
      "id": "BasePriceOfferPhase",
      "type": "object"
    },
    "ProductOfferDetails": {
      "properties": {
        "purchaseOptionId": {
          "description": "The purchase option ID.",
          "type": "string"
        },
        "quantity": {
          "description": "The quantity associated with the purchase of the inapp product.",
          "format": "int32",
          "type": "integer"
        },
        "rentOfferDetails": {
          "description": "Offer details about rent offers. This will only be set for rental line items.",
          "$ref": "RentOfferDetails"
        },
        "consumptionState": {
          "enumDescriptions": [
            "Consumption state unspecified. This value should never be set.",
            "Yet to be consumed.",
            "Consumed already."
          ],
          "type": "string",
          "description": "Output only. The consumption state of the purchase.",
          "readOnly": true,
          "enum": [
            "CONSUMPTION_STATE_UNSPECIFIED",
            "CONSUMPTION_STATE_YET_TO_BE_CONSUMED",
            "CONSUMPTION_STATE_CONSUMED"
          ]
        },
        "preorderOfferDetails": {
          "description": "Offer details for a preorder offer. This will only be set for preorders.",
          "$ref": "PreorderOfferDetails"
        },
        "offerToken": {
          "description": "The per-transaction offer token used to make this purchase line item.",
          "type": "string"
        },
        "offerId": {
          "description": "The offer ID. Only present for offers.",
          "type": "string"
        },
        "refundableQuantity": {
          "type": "integer",
          "description": "The quantity eligible for refund, i.e. quantity that hasn't been refunded. The value reflects quantity-based partial refunds and full refunds.",
          "format": "int32"
        },
        "offerTags": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The latest offer tags associated with the offer. It includes tags inherited from the purchase option."
        }
      },
      "id": "ProductOfferDetails",
      "type": "object",
      "description": "Offer details information related to a purchase line item."
    },
    "AddTargetingResponse": {
      "properties": {},
      "id": "AddTargetingResponse",
      "type": "object",
      "description": "Response message for AddTargeting."
    },
    "Comment": {
      "id": "Comment",
      "type": "object",
      "description": "An entry of conversation between user and developer.",
      "properties": {
        "userComment": {
          "description": "A comment from a user.",
          "$ref": "UserComment"
        },
        "developerComment": {
          "description": "A comment from a developer.",
          "$ref": "DeveloperComment"
        }
      }
    },
    "ApkSet": {
      "properties": {
        "moduleMetadata": {
          "description": "Metadata about the module represented by this ApkSet",
          "$ref": "ModuleMetadata"
        },
        "apkDescription": {
          "description": "Description of the generated apks.",
          "type": "array",
          "items": {
            "$ref": "ApkDescription"
          }
        }
      },
      "id": "ApkSet",
      "type": "object",
      "description": "A set of apks representing a module."
    },
    "BatchUpdateOneTimeProductOffersRequest": {
      "id": "BatchUpdateOneTimeProductOffersRequest",
      "type": "object",
      "description": "Request message for BatchUpdateOneTimeProductOffers.",
      "properties": {
        "requests": {
          "type": "array",
          "items": {
            "$ref": "UpdateOneTimeProductOfferRequest"
          },
          "description": "Required. A list of update requests of up to 100 elements. All requests must update different offers."
        }
      }
    },
    "OtherRegionsSubscriptionOfferConfig": {
      "description": "Configuration for any new locations Play may launch in specified on a subscription offer.",
      "id": "OtherRegionsSubscriptionOfferConfig",
      "type": "object",
      "properties": {
        "otherRegionsNewSubscriberAvailability": {
          "type": "boolean",
          "description": "Whether the subscription offer in any new locations Play may launch in the future. If not specified, this will default to false."
        }
      }
    },
    "CreateDraftAppRecoveryRequest": {
      "properties": {
        "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.",
          "$ref": "RemoteInAppUpdate"
        },
        "targeting": {
          "description": "Specifies targeting criteria for the recovery action such as regions, android sdk versions, app versions etc.",
          "$ref": "Targeting"
        }
      },
      "description": "Request message for CreateDraftAppRecovery.",
      "id": "CreateDraftAppRecoveryRequest",
      "type": "object"
    },
    "BatchDeleteOneTimeProductsRequest": {
      "properties": {
        "requests": {
          "description": "Required. A list of delete requests of up to 100 elements. All requests must delete different one-time products.",
          "type": "array",
          "items": {
            "$ref": "DeleteOneTimeProductRequest"
          }
        }
      },
      "description": "Request message for BatchDeleteOneTimeProduct.",
      "id": "BatchDeleteOneTimeProductsRequest",
      "type": "object"
    },
    "StandaloneApkMetadata": {
      "id": "StandaloneApkMetadata",
      "type": "object",
      "description": "Holds data specific to Standalone APKs.",
      "properties": {
        "fusedModuleName": {
          "description": "Names of the modules fused in this standalone APK.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "SubscriptionPurchasesDeferResponse": {
      "properties": {
        "newExpiryTimeMillis": {
          "type": "string",
          "description": "The new expiry time for the subscription in milliseconds since the Epoch.",
          "format": "int64"
        }
      },
      "description": "Response for the purchases.subscriptions.defer API.",
      "id": "SubscriptionPurchasesDeferResponse",
      "type": "object"
    },
    "ListOneTimeProductsResponse": {
      "properties": {
        "oneTimeProducts": {
          "type": "array",
          "items": {
            "$ref": "OneTimeProduct"
          },
          "description": "The one-time products from the specified app."
        },
        "nextPageToken": {
          "type": "string",
          "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."
        }
      },
      "description": "Response message for ListOneTimeProducts.",
      "id": "ListOneTimeProductsResponse",
      "type": "object"
    },
    "InAppProduct": {
      "description": "An in-app product. The resource for InappproductsService.",
      "id": "InAppProduct",
      "type": "object",
      "properties": {
        "prices": {
          "type": "object",
          "additionalProperties": {
            "$ref": "Price"
          },
          "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."
        },
        "subscriptionTaxesAndComplianceSettings": {
          "description": "Details about taxes and legal compliance. Only applicable to subscription products.",
          "$ref": "SubscriptionTaxAndComplianceSettings"
        },
        "managedProductTaxesAndComplianceSettings": {
          "description": "Details about taxes and legal compliance. Only applicable to managed products.",
          "$ref": "ManagedProductTaxAndComplianceSettings"
        },
        "gracePeriod": {
          "type": "string",
          "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)."
        },
        "packageName": {
          "type": "string",
          "description": "Package name of the parent app."
        },
        "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"
        },
        "defaultPrice": {
          "description": "Default price. Cannot be zero, as in-app products are never free. Always in the developer's Checkout merchant currency.",
          "$ref": "Price"
        },
        "status": {
          "enumDescriptions": [
            "Unspecified status.",
            "The product is published and active in the store.",
            "The product is not published and therefore inactive in the store."
          ],
          "description": "The status of the product, e.g. whether it's active.",
          "enum": [
            "statusUnspecified",
            "active",
            "inactive"
          ],
          "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"
        },
        "purchaseType": {
          "enumDescriptions": [
            "Unspecified purchase type.",
            "The default product type - one time purchase.",
            "In-app product with a recurring period."
          ],
          "type": "string",
          "description": "The type of the product, e.g. a recurring subscription.",
          "enum": [
            "purchaseTypeUnspecified",
            "managedUser",
            "subscription"
          ]
        },
        "sku": {
          "type": "string",
          "description": "Stock-keeping-unit (SKU) of the product, unique within an app."
        },
        "defaultLanguage": {
          "description": "Default language of the localized data, as defined by BCP-47. e.g. \"en-US\".",
          "type": "string"
        }
      }
    },
    "RegionalPriceMigrationConfig": {
      "properties": {
        "oldestAllowedPriceVersionTime": {
          "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.",
          "format": "google-datetime",
          "type": "string"
        },
        "regionCode": {
          "description": "Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g. \"US\".",
          "type": "string"
        },
        "priceIncreaseType": {
          "type": "string",
          "description": "Optional. The requested type of price increase",
          "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": "Configuration for migration of a legacy price cohort.",
      "id": "RegionalPriceMigrationConfig",
      "type": "object"
    },
    "Listing": {
      "description": "A localized store listing. The resource for ListingsService.",
      "id": "Listing",
      "type": "object",
      "properties": {
        "fullDescription": {
          "description": "Full description of the app.",
          "type": "string"
        },
        "language": {
          "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German).",
          "type": "string"
        },
        "title": {
          "description": "Localized title of the app.",
          "type": "string"
        },
        "video": {
          "type": "string",
          "description": "URL of a promotional YouTube video for the app."
        },
        "shortDescription": {
          "type": "string",
          "description": "Short description of the app."
        }
      }
    },
    "PaidAppDetails": {
      "description": "Details of a paid app purchase.",
      "id": "PaidAppDetails",
      "type": "object",
      "properties": {}
    },
    "SubscriptionItemPriceChangeDetails": {
      "properties": {
        "priceChangeMode": {
          "description": "Price change mode specifies how the subscription item price is changing.",
          "enum": [
            "PRICE_CHANGE_MODE_UNSPECIFIED",
            "PRICE_DECREASE",
            "PRICE_INCREASE",
            "OPT_OUT_PRICE_INCREASE"
          ],
          "type": "string",
          "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."
          ]
        },
        "newPrice": {
          "description": "New recurring price for the subscription item.",
          "$ref": "Money"
        },
        "priceChangeState": {
          "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."
          ],
          "type": "string",
          "description": "State the price change is currently in.",
          "enum": [
            "PRICE_CHANGE_STATE_UNSPECIFIED",
            "OUTSTANDING",
            "CONFIRMED",
            "APPLIED",
            "CANCELED"
          ]
        },
        "expectedNewPriceChargeTime": {
          "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.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "description": "Price change related information of a subscription item.",
      "id": "SubscriptionItemPriceChangeDetails",
      "type": "object"
    },
    "UpdateBasePlanStateRequest": {
      "properties": {
        "activateBasePlanRequest": {
          "description": "Activates a base plan. Once activated, base plans will be available to new subscribers.",
          "$ref": "ActivateBasePlanRequest"
        },
        "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"
        }
      },
      "description": "Request message to update the state of a subscription base plan.",
      "id": "UpdateBasePlanStateRequest",
      "type": "object"
    },
    "ExternalAccountIdentifiers": {
      "properties": {
        "externalAccountId": {
          "type": "string",
          "description": "User account identifier in the third-party service. Only present if account linking happened as part of the subscription purchase flow."
        },
        "obfuscatedExternalProfileId": {
          "type": "string",
          "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."
        },
        "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"
        }
      },
      "id": "ExternalAccountIdentifiers",
      "type": "object",
      "description": "User account identifier in the third-party service."
    },
    "CancelAppRecoveryResponse": {
      "properties": {},
      "id": "CancelAppRecoveryResponse",
      "type": "object",
      "description": "Response message for CancelAppRecovery."
    },
    "ScreenDensity": {
      "id": "ScreenDensity",
      "type": "object",
      "description": "Represents a screen density.",
      "properties": {
        "densityDpi": {
          "type": "integer",
          "description": "Value for density dpi.",
          "format": "int32"
        },
        "densityAlias": {
          "description": "Alias for a screen density.",
          "enum": [
            "DENSITY_UNSPECIFIED",
            "NODPI",
            "LDPI",
            "MDPI",
            "TVDPI",
            "HDPI",
            "XHDPI",
            "XXHDPI",
            "XXXHDPI"
          ],
          "type": "string",
          "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."
          ]
        }
      }
    },
    "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).",
      "id": "RecurringExternalTransaction",
      "type": "object",
      "properties": {
        "migratedTransactionProgram": {
          "description": "Input only. Provided during the call to Create. Must only be used when migrating a subscription from manual monthly reporting to automated reporting.",
          "enum": [
            "EXTERNAL_TRANSACTION_PROGRAM_UNSPECIFIED",
            "USER_CHOICE_BILLING",
            "ALTERNATIVE_BILLING_ONLY"
          ],
          "type": "string",
          "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."
          ]
        },
        "externalSubscription": {
          "description": "Details of an external subscription.",
          "$ref": "ExternalSubscription"
        },
        "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"
        },
        "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"
        },
        "otherRecurringProduct": {
          "description": "Details of a recurring external transaction product which doesn't belong to any other specific category.",
          "$ref": "OtherRecurringProduct"
        }
      }
    },
    "ListAppRecoveriesResponse": {
      "properties": {
        "recoveryActions": {
          "type": "array",
          "items": {
            "$ref": "AppRecoveryAction"
          },
          "description": "List of recovery actions associated with the requested package name."
        }
      },
      "description": "Response message for ListAppRecoveries. -- api-linter: core::0158::response-next-page-token-field=disabled",
      "id": "ListAppRecoveriesResponse",
      "type": "object"
    },
    "TrackCountryAvailability": {
      "description": "Resource for per-track country availability information.",
      "id": "TrackCountryAvailability",
      "type": "object",
      "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": {
          "type": "array",
          "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."
        },
        "restOfWorld": {
          "description": "Whether artifacts in this track are available to \"rest of the world\" countries.",
          "type": "boolean"
        }
      }
    },
    "ScreenDensityTargeting": {
      "description": "Targeting based on screen density.",
      "id": "ScreenDensityTargeting",
      "type": "object",
      "properties": {
        "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": "ScreenDensity"
          }
        },
        "value": {
          "description": "Value of a screen density.",
          "type": "array",
          "items": {
            "$ref": "ScreenDensity"
          }
        }
      }
    },
    "SplitApkMetadata": {
      "description": "Holds data specific to Split APKs.",
      "id": "SplitApkMetadata",
      "type": "object",
      "properties": {
        "splitId": {
          "description": "Id of the split.",
          "type": "string"
        },
        "isMasterSplit": {
          "type": "boolean",
          "description": "Indicates whether this APK is the main split of the module."
        }
      }
    },
    "ApksListResponse": {
      "properties": {
        "kind": {
          "type": "string",
          "description": "The kind of this response (\"androidpublisher#apksListResponse\")."
        },
        "apks": {
          "description": "All APKs.",
          "type": "array",
          "items": {
            "$ref": "Apk"
          }
        }
      },
      "description": "Response listing all APKs.",
      "id": "ApksListResponse",
      "type": "object"
    },
    "DeviceRam": {
      "description": "Conditions about a device's RAM capabilities.",
      "id": "DeviceRam",
      "type": "object",
      "properties": {
        "minBytes": {
          "description": "Minimum RAM in bytes (bound included).",
          "format": "int64",
          "type": "string"
        },
        "maxBytes": {
          "description": "Maximum RAM in bytes (bound excluded).",
          "format": "int64",
          "type": "string"
        }
      }
    },
    "ItemReplacement": {
      "description": "Details about a subscription line item that is being replaced.",
      "id": "ItemReplacement",
      "type": "object",
      "properties": {
        "productId": {
          "description": "The product ID of the subscription line item being replaced.",
          "type": "string"
        },
        "basePlanId": {
          "description": "The base plan ID of the subscription line item being replaced.",
          "type": "string"
        },
        "replacementMode": {
          "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."
          ],
          "type": "string",
          "description": "The replacement mode applied during the purchase.",
          "enum": [
            "REPLACEMENT_MODE_UNSPECIFIED",
            "WITH_TIME_PRORATION",
            "CHARGE_PRORATED_PRICE",
            "WITHOUT_PRORATION",
            "CHARGE_FULL_PRICE",
            "DEFERRED",
            "KEEP_EXISTING"
          ]
        },
        "offerId": {
          "description": "The offer ID of the subscription line item being replaced, if applicable.",
          "type": "string"
        }
      }
    },
    "GeneratedApksListResponse": {
      "properties": {
        "generatedApks": {
          "description": "All generated APKs, grouped by the APK signing key.",
          "type": "array",
          "items": {
            "$ref": "GeneratedApksPerSigningKey"
          }
        }
      },
      "id": "GeneratedApksListResponse",
      "type": "object",
      "description": "Response to list generated APKs."
    },
    "UserInitiatedCancellation": {
      "properties": {
        "cancelSurveyResult": {
          "description": "Information provided by the user when they complete the subscription cancellation flow (cancellation reason survey).",
          "$ref": "CancelSurveyResult"
        },
        "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.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "description": "Information specific to cancellations initiated by users.",
      "id": "UserInitiatedCancellation",
      "type": "object"
    },
    "RemoteInAppUpdate": {
      "id": "RemoteInAppUpdate",
      "type": "object",
      "description": "Object representation for Remote in-app update action type.",
      "properties": {
        "isRemoteInAppUpdateRequested": {
          "type": "boolean",
          "description": "Required. Set to true if Remote In-App Update action type is needed."
        }
      }
    },
    "DeployAppRecoveryRequest": {
      "id": "DeployAppRecoveryRequest",
      "type": "object",
      "description": "Request message for DeployAppRecovery.",
      "properties": {}
    },
    "SdkVersionTargeting": {
      "properties": {
        "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"
          }
        },
        "value": {
          "type": "array",
          "items": {
            "$ref": "SdkVersion"
          },
          "description": "Value of an sdk version."
        }
      },
      "description": "Targeting based on sdk version.",
      "id": "SdkVersionTargeting",
      "type": "object"
    },
    "OneTimeProductRentPurchaseOption": {
      "description": "A purchase option that can be rented.",
      "id": "OneTimeProductRentPurchaseOption",
      "type": "object",
      "properties": {
        "rentalPeriod": {
          "type": "string",
          "description": "Required. The amount of time a user has the entitlement for. Starts at purchase flow completion. Specified in ISO 8601 format."
        },
        "expirationPeriod": {
          "type": "string",
          "description": "Optional. The amount of time the user has after starting consuming the entitlement before it is revoked. Specified in ISO 8601 format."
        }
      }
    },
    "UpdateSubscriptionOfferRequest": {
      "description": "Request message for UpdateSubscriptionOffer.",
      "id": "UpdateSubscriptionOfferRequest",
      "type": "object",
      "properties": {
        "latencyTolerance": {
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "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."
          ]
        },
        "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"
        },
        "updateMask": {
          "type": "string",
          "description": "Required. The list of fields to be updated.",
          "format": "google-fieldmask"
        },
        "regionsVersion": {
          "description": "Required. The version of the available regions being used for the subscription_offer.",
          "$ref": "RegionsVersion"
        },
        "subscriptionOffer": {
          "description": "Required. The subscription offer to update.",
          "$ref": "SubscriptionOffer"
        }
      }
    },
    "IntroductoryPriceInfo": {
      "properties": {
        "introductoryPriceCycles": {
          "type": "integer",
          "description": "The number of billing period to offer introductory pricing.",
          "format": "int32"
        },
        "introductoryPriceCurrencyCode": {
          "type": "string",
          "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\"."
        },
        "introductoryPriceAmountMicros": {
          "type": "string",
          "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.",
          "format": "int64"
        },
        "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"
        }
      },
      "id": "IntroductoryPriceInfo",
      "type": "object",
      "description": "Contains the introductory price information for a subscription."
    },
    "OtherRegionsSubscriptionOfferPhaseFreePriceOverride": {
      "id": "OtherRegionsSubscriptionOfferPhaseFreePriceOverride",
      "type": "object",
      "description": "Represents the free price override configuration for any new locations Play may launch for a single offer phase.",
      "properties": {}
    },
    "ImagesUploadResponse": {
      "properties": {
        "image": {
          "description": "The uploaded image.",
          "$ref": "Image"
        }
      },
      "id": "ImagesUploadResponse",
      "type": "object",
      "description": "Response for uploading an image."
    },
    "FreeTrialDetails": {
      "description": "Details of a free trial pricing phase.",
      "id": "FreeTrialDetails",
      "type": "object",
      "properties": {}
    },
    "OrderDetails": {
      "description": "Detailed information about the order at creation time.",
      "id": "OrderDetails",
      "type": "object",
      "properties": {
        "taxInclusive": {
          "type": "boolean",
          "description": "Indicates whether the listed price was tax inclusive or not."
        }
      }
    },
    "UpdateOneTimeProductOfferRequest": {
      "description": "Request message for UpdateOneTimeProductOffer.",
      "id": "UpdateOneTimeProductOfferRequest",
      "type": "object",
      "properties": {
        "oneTimeProductOffer": {
          "description": "Required. The one-time product offer to update.",
          "$ref": "OneTimeProductOffer"
        },
        "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 offer update. Defaults to latency-sensitive.",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "type": "string"
        },
        "updateMask": {
          "type": "string",
          "description": "Required. The list of fields to be updated.",
          "format": "google-fieldmask"
        },
        "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"
        }
      }
    },
    "OtherRegionsBasePlanConfig": {
      "id": "OtherRegionsBasePlanConfig",
      "type": "object",
      "description": "Pricing information for any new locations Play may launch in.",
      "properties": {
        "eurPrice": {
          "description": "Required. Price in EUR to use for any new locations Play may launch in.",
          "$ref": "Money"
        },
        "newSubscriberAvailability": {
          "type": "boolean",
          "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."
        },
        "usdPrice": {
          "description": "Required. Price in USD to use for any new locations Play may launch in.",
          "$ref": "Money"
        }
      }
    },
    "AutoRenewingBasePlanType": {
      "id": "AutoRenewingBasePlanType",
      "type": "object",
      "description": "Represents a base plan that automatically renews at the end of its subscription period.",
      "properties": {
        "accountHoldDuration": {
          "type": "string",
          "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."
        },
        "billingPeriodDuration": {
          "type": "string",
          "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."
        },
        "gracePeriodDuration": {
          "type": "string",
          "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."
        },
        "resubscribeState": {
          "type": "string",
          "description": "Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified.",
          "enum": [
            "RESUBSCRIBE_STATE_UNSPECIFIED",
            "RESUBSCRIBE_STATE_ACTIVE",
            "RESUBSCRIBE_STATE_INACTIVE"
          ],
          "enumDescriptions": [
            "Unspecified state.",
            "Resubscribe is active.",
            "Resubscribe is inactive."
          ]
        },
        "legacyCompatibleSubscriptionOfferId": {
          "type": "string",
          "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."
        },
        "prorationMode": {
          "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."
          ],
          "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.",
          "enum": [
            "SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED",
            "SUBSCRIPTION_PRORATION_MODE_CHARGE_ON_NEXT_BILLING_DATE",
            "SUBSCRIPTION_PRORATION_MODE_CHARGE_FULL_PRICE_IMMEDIATELY"
          ],
          "type": "string"
        },
        "legacyCompatible": {
          "type": "boolean",
          "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."
        }
      }
    },
    "CancelSubscriptionPurchaseResponse": {
      "id": "CancelSubscriptionPurchaseResponse",
      "type": "object",
      "description": "Response for the purchases.subscriptionsv2.cancel API.",
      "properties": {}
    },
    "BatchUpdateSubscriptionOfferStatesRequest": {
      "id": "BatchUpdateSubscriptionOfferStatesRequest",
      "type": "object",
      "description": "Request message for BatchUpdateSubscriptionOfferStates.",
      "properties": {
        "requests": {
          "type": "array",
          "items": {
            "$ref": "UpdateSubscriptionOfferStateRequest"
          },
          "description": "Required. The update request list of up to 100 elements. All requests must update different offers."
        }
      }
    },
    "AbiTargeting": {
      "description": "Targeting based on Abi.",
      "id": "AbiTargeting",
      "type": "object",
      "properties": {
        "alternatives": {
          "type": "array",
          "items": {
            "$ref": "Abi"
          },
          "description": "Targeting of other sibling directories that were in the Bundle. For main splits this is targeting of other main splits."
        },
        "value": {
          "type": "array",
          "items": {
            "$ref": "Abi"
          },
          "description": "Value of an abi."
        }
      }
    },
    "ExternalTransactionAddress": {
      "description": "User's address for the external transaction.",
      "id": "ExternalTransactionAddress",
      "type": "object",
      "properties": {
        "regionCode": {
          "type": "string",
          "description": "Required. Two letter region code based on ISO-3166-1 Alpha-2 (UN region codes)."
        },
        "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"
        }
      }
    },
    "BatchUpdatePurchaseOptionStatesResponse": {
      "id": "BatchUpdatePurchaseOptionStatesResponse",
      "type": "object",
      "description": "Response message for BatchUpdatePurchaseOptionStates.",
      "properties": {
        "oneTimeProducts": {
          "type": "array",
          "items": {
            "$ref": "OneTimeProduct"
          },
          "description": "The list of updated one-time products. This list will match the requests one to one, in the same order."
        }
      }
    },
    "BatchDeleteOneTimeProductOffersRequest": {
      "properties": {
        "requests": {
          "description": "Required. A list of update requests of up to 100 elements. All requests must correspond to different offers.",
          "type": "array",
          "items": {
            "$ref": "DeleteOneTimeProductOfferRequest"
          }
        }
      },
      "description": "Request message for BatchDeleteOneTimeProductOffers.",
      "id": "BatchDeleteOneTimeProductOffersRequest",
      "type": "object"
    },
    "ExternallyHostedApk": {
      "properties": {
        "certificateBase64s": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "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."
        },
        "externallyHostedUrl": {
          "type": "string",
          "description": "The URL at which the APK is hosted. This must be an https URL."
        },
        "applicationLabel": {
          "description": "The application label.",
          "type": "string"
        },
        "packageName": {
          "description": "The package name.",
          "type": "string"
        },
        "fileSha1Base64": {
          "description": "The sha1 checksum of this APK, represented as a base64 encoded byte array.",
          "type": "string"
        },
        "maximumSdk": {
          "type": "integer",
          "description": "The maximum SDK supported by this APK (optional).",
          "format": "int32"
        },
        "versionCode": {
          "type": "integer",
          "description": "The version code of this APK.",
          "format": "int32"
        },
        "versionName": {
          "description": "The version name of this APK.",
          "type": "string"
        },
        "usesPermissions": {
          "type": "array",
          "items": {
            "$ref": "UsesPermission"
          },
          "description": "The permissions requested by this APK."
        },
        "nativeCodes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The native code environments supported by this APK (optional)."
        },
        "minimumSdk": {
          "description": "The minimum SDK targeted by this APK.",
          "format": "int32",
          "type": "integer"
        },
        "usesFeatures": {
          "description": "The features required by this APK (optional).",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "fileSize": {
          "type": "string",
          "description": "The file size in bytes of this APK.",
          "format": "int64"
        },
        "fileSha256Base64": {
          "type": "string",
          "description": "The sha256 checksum of this APK, represented as a base64 encoded byte array."
        },
        "iconBase64": {
          "type": "string",
          "description": "The icon image from the APK, as a base64 encoded byte array."
        }
      },
      "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.",
      "id": "ExternallyHostedApk",
      "type": "object"
    },
    "Abi": {
      "description": "Represents an Abi.",
      "id": "Abi",
      "type": "object",
      "properties": {
        "alias": {
          "description": "Alias for an abi.",
          "enum": [
            "UNSPECIFIED_CPU_ARCHITECTURE",
            "ARMEABI",
            "ARMEABI_V7A",
            "ARM64_V8A",
            "X86",
            "X86_64",
            "RISCV64"
          ],
          "type": "string",
          "enumDescriptions": [
            "Unspecified abi.",
            "ARMEABI abi.",
            "ARMEABI_V7A abi.",
            "ARM64_V8A abi.",
            "X86 abi.",
            "X86_64 abi.",
            "RISCV64 abi."
          ]
        }
      }
    },
    "OneTimeProductPreOrderOffer": {
      "properties": {
        "releaseTime": {
          "description": "Required. Time on which the product associated with the pre-order will be released and the pre-order orders fulfilled.",
          "format": "google-datetime",
          "type": "string"
        },
        "startTime": {
          "description": "Required. Time when the pre-order will start being available.",
          "format": "google-datetime",
          "type": "string"
        },
        "endTime": {
          "type": "string",
          "description": "Required. Time when the pre-order will stop being available.",
          "format": "google-datetime"
        },
        "priceChangeBehavior": {
          "description": "Required. Immutable. Specifies how price changes affect pre-existing pre-orders.",
          "enum": [
            "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_UNSPECIFIED",
            "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_TWO_POINT_LOWEST",
            "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_NEW_ORDERS_ONLY"
          ],
          "type": "string",
          "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": "Configuration specific to pre-order offers.",
      "id": "OneTimeProductPreOrderOffer",
      "type": "object"
    },
    "LineItem": {
      "properties": {
        "productId": {
          "description": "The purchased product ID or in-app SKU (for example, 'monthly001' or 'com.some.thing.inapp1').",
          "type": "string"
        },
        "tax": {
          "description": "The tax paid for this line item.",
          "$ref": "Money"
        },
        "oneTimePurchaseDetails": {
          "description": "Details of a one-time purchase.",
          "$ref": "OneTimePurchaseDetails"
        },
        "subscriptionDetails": {
          "description": "Details of a subscription purchase.",
          "$ref": "SubscriptionDetails"
        },
        "listingPrice": {
          "description": "Item's listed price on Play Store, this may or may not include tax. Excludes Google-funded discounts only.",
          "$ref": "Money"
        },
        "productTitle": {
          "description": "Developer-specified name of the product. Displayed in buyer's locale. Example: coins, monthly subscription, etc.",
          "type": "string"
        },
        "paidAppDetails": {
          "description": "Details of a paid app purchase.",
          "$ref": "PaidAppDetails"
        },
        "total": {
          "description": "The total amount paid by the user for this line item, taking into account discounts and tax.",
          "$ref": "Money"
        }
      },
      "id": "LineItem",
      "type": "object",
      "description": "Details of a line item."
    },
    "GeneratedUniversalApk": {
      "id": "GeneratedUniversalApk",
      "type": "object",
      "description": "Download metadata for a universal APK.",
      "properties": {
        "downloadId": {
          "description": "Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method.",
          "type": "string"
        }
      }
    },
    "BatchDeletePurchaseOptionsRequest": {
      "properties": {
        "requests": {
          "type": "array",
          "items": {
            "$ref": "DeletePurchaseOptionRequest"
          },
          "description": "Required. A list of delete requests of up to 100 elements. All requests must delete purchase options from different one-time products."
        }
      },
      "description": "Request message for BatchDeletePurchaseOption.",
      "id": "BatchDeletePurchaseOptionsRequest",
      "type": "object"
    },
    "Testers": {
      "id": "Testers",
      "type": "object",
      "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.",
      "properties": {
        "googleGroups": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "All testing Google Groups, as email addresses."
        }
      }
    },
    "InappproductsListResponse": {
      "description": "Response listing all in-app products.",
      "id": "InappproductsListResponse",
      "type": "object",
      "properties": {
        "inappproduct": {
          "description": "All in-app products.",
          "type": "array",
          "items": {
            "$ref": "InAppProduct"
          }
        },
        "tokenPagination": {
          "description": "Pagination token, to handle a number of products that is over one page.",
          "$ref": "TokenPagination"
        },
        "pageInfo": {
          "description": "Deprecated and unset.",
          "deprecated": true,
          "$ref": "PageInfo"
        },
        "kind": {
          "type": "string",
          "description": "The kind of this response (\"androidpublisher#inappproductsListResponse\")."
        }
      }
    },
    "Regions": {
      "description": "Region targeting data for app recovery action targeting.",
      "id": "Regions",
      "type": "object",
      "properties": {
        "regionCode": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "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."
        }
      }
    },
    "ReviewsReplyRequest": {
      "properties": {
        "replyText": {
          "type": "string",
          "description": "The text to set as the reply. Replies of more than approximately 350 characters will be rejected. HTML tags will be stripped."
        }
      },
      "description": "Request to reply to review or update existing reply.",
      "id": "ReviewsReplyRequest",
      "type": "object"
    },
    "VoidedPurchase": {
      "description": "A VoidedPurchase resource indicates a purchase that was either canceled/refunded/charged-back.",
      "id": "VoidedPurchase",
      "type": "object",
      "properties": {
        "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"
        },
        "voidedQuantity": {
          "type": "integer",
          "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.",
          "format": "int32"
        },
        "kind": {
          "type": "string",
          "description": "This kind represents a voided purchase object in the androidpublisher service."
        },
        "orderId": {
          "type": "string",
          "description": "The order id which uniquely identifies a one-time purchase, subscription purchase, or subscription renewal."
        },
        "purchaseTimeMillis": {
          "description": "The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970).",
          "format": "int64",
          "type": "string"
        },
        "voidedTimeMillis": {
          "type": "string",
          "description": "The time at which the purchase was canceled/refunded/charged-back, in milliseconds since the epoch (Jan 1, 1970).",
          "format": "int64"
        },
        "voidedSource": {
          "type": "integer",
          "description": "The initiator of voided purchase, possible values are: 0. User 1. Developer 2. Google",
          "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",
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "SubscriptionPurchase": {
      "properties": {
        "familyName": {
          "type": "string",
          "description": "The family name of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'."
        },
        "countryCode": {
          "type": "string",
          "description": "ISO 3166-1 alpha-2 billing country/region code of the user at the time the subscription was granted."
        },
        "profileName": {
          "description": "The profile name of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.",
          "type": "string"
        },
        "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"
        },
        "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"
        },
        "priceAmountMicros": {
          "type": "string",
          "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.",
          "format": "int64"
        },
        "cancelSurveyResult": {
          "description": "Information provided by the user when they complete the subscription cancellation flow (cancellation reason survey).",
          "$ref": "SubscriptionCancelSurveyResult"
        },
        "promotionType": {
          "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",
          "format": "int32",
          "type": "integer"
        },
        "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"
        },
        "userCancellationTimeMillis": {
          "description": "The time at which the subscription was canceled by the user, in milliseconds since the epoch. Only present if cancelReason is 0.",
          "format": "int64",
          "type": "string"
        },
        "paymentState": {
          "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.",
          "format": "int32",
          "type": "integer"
        },
        "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.",
          "$ref": "IntroductoryPriceInfo"
        },
        "acknowledgementState": {
          "type": "integer",
          "description": "The acknowledgement state of the subscription product. Possible values are: 0. Yet to be acknowledged 1. Acknowledged",
          "format": "int32"
        },
        "emailAddress": {
          "type": "string",
          "description": "The email address of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'."
        },
        "orderId": {
          "type": "string",
          "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."
        },
        "purchaseType": {
          "type": "integer",
          "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)",
          "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"
        },
        "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",
          "format": "int32",
          "type": "integer"
        },
        "obfuscatedExternalAccountId": {
          "type": "string",
          "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."
        },
        "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"
        },
        "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.",
          "format": "int64",
          "type": "string"
        },
        "developerPayload": {
          "description": "A developer-specified string that contains supplemental information about an order.",
          "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"
        },
        "autoRenewing": {
          "type": "boolean",
          "description": "Whether the subscription will automatically be renewed when it reaches its current expiry time."
        },
        "kind": {
          "description": "This kind represents a subscriptionPurchase object in the androidpublisher service.",
          "type": "string"
        },
        "expiryTimeMillis": {
          "description": "Time at which the subscription will expire, in milliseconds since the Epoch.",
          "format": "int64",
          "type": "string"
        },
        "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"
        },
        "startTimeMillis": {
          "type": "string",
          "description": "Time at which the subscription was granted, in milliseconds since the Epoch.",
          "format": "int64"
        },
        "profileId": {
          "type": "string",
          "description": "The Google profile id of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'."
        }
      },
      "id": "SubscriptionPurchase",
      "type": "object",
      "deprecated": true,
      "description": "Deprecated: Use SubscriptionPurchaseV2 instead. A SubscriptionPurchase resource indicates the status of a user's subscription purchase."
    },
    "DeferredItemReplacement": {
      "properties": {
        "productId": {
          "description": "The product_id going to replace the existing product_id.",
          "type": "string"
        }
      },
      "id": "DeferredItemReplacement",
      "type": "object",
      "description": "Information related to deferred item replacement."
    },
    "FreeTrialOfferPhase": {
      "properties": {},
      "description": "Details about free trial offer phase.",
      "id": "FreeTrialOfferPhase",
      "type": "object"
    },
    "PausedStateContext": {
      "properties": {
        "autoResumeTime": {
          "type": "string",
          "description": "Time at which the subscription will be automatically resumed.",
          "format": "google-datetime"
        }
      },
      "description": "Information specific to a subscription in paused state.",
      "id": "PausedStateContext",
      "type": "object"
    },
    "ExternalTransaction": {
      "properties": {
        "createTime": {
          "description": "Output only. The time when this transaction was created. This is the time when Google was notified of the transaction.",
          "readOnly": true,
          "format": "google-datetime",
          "type": "string"
        },
        "originalPreTaxAmount": {
          "description": "Required. The original transaction amount before taxes. This represents the pre-tax amount originally notified to Google before any refunds were applied.",
          "$ref": "Price"
        },
        "currentTaxAmount": {
          "description": "Output only. The current tax amount. This represents the current tax amount including any refunds that may have been applied to this transaction.",
          "readOnly": true,
          "$ref": "Price"
        },
        "testPurchase": {
          "description": "Output only. If set, this transaction was a test purchase. Google will not charge for a test transaction.",
          "readOnly": true,
          "$ref": "ExternalTransactionTestPurchase"
        },
        "transactionState": {
          "description": "Output only. The current state of the transaction.",
          "readOnly": true,
          "enum": [
            "TRANSACTION_STATE_UNSPECIFIED",
            "TRANSACTION_REPORTED",
            "TRANSACTION_CANCELED"
          ],
          "type": "string",
          "enumDescriptions": [
            "Unspecified transaction state. Not used.",
            "The transaction has been successfully reported to Google.",
            "The transaction has been fully refunded."
          ]
        },
        "userTaxAddress": {
          "description": "Required. User address for tax computation.",
          "$ref": "ExternalTransactionAddress"
        },
        "currentPreTaxAmount": {
          "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,
          "$ref": "Price"
        },
        "externalOfferDetails": {
          "description": "Optional. Details necessary to accurately report external offers transactions.",
          "$ref": "ExternalOfferDetails"
        },
        "externalTransactionId": {
          "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.",
          "readOnly": true,
          "type": "string"
        },
        "oneTimeTransaction": {
          "description": "This is a one-time transaction and not part of a subscription.",
          "$ref": "OneTimeExternalTransaction"
        },
        "transactionTime": {
          "type": "string",
          "description": "Required. The time when the transaction was completed.",
          "format": "google-datetime"
        },
        "originalTaxAmount": {
          "description": "Required. The original tax amount. This represents the tax amount originally notified to Google before any refunds were applied.",
          "$ref": "Price"
        },
        "transactionProgramCode": {
          "type": "integer",
          "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.",
          "format": "int32"
        },
        "packageName": {
          "type": "string",
          "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').",
          "readOnly": true
        },
        "recurringTransaction": {
          "description": "This transaction is part of a recurring series of transactions.",
          "$ref": "RecurringExternalTransaction"
        }
      },
      "description": "The details of an external transaction.",
      "id": "ExternalTransaction",
      "type": "object"
    },
    "OneTimeProductDiscountedOffer": {
      "properties": {
        "startTime": {
          "type": "string",
          "description": "Time when the offer will start being available.",
          "format": "google-datetime"
        },
        "endTime": {
          "type": "string",
          "description": "Time when the offer will stop being available.",
          "format": "google-datetime"
        },
        "redemptionLimit": {
          "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.",
          "format": "int64",
          "type": "string"
        }
      },
      "id": "OneTimeProductDiscountedOffer",
      "type": "object",
      "description": "Configuration specific to discounted offers."
    },
    "ReviewsListResponse": {
      "id": "ReviewsListResponse",
      "type": "object",
      "description": "Response listing reviews.",
      "properties": {
        "reviews": {
          "description": "List of reviews.",
          "type": "array",
          "items": {
            "$ref": "Review"
          }
        },
        "tokenPagination": {
          "description": "Pagination token, to handle a number of products that is over one page.",
          "$ref": "TokenPagination"
        },
        "pageInfo": {
          "description": "Information about the current page.",
          "$ref": "PageInfo"
        }
      }
    },
    "RegionalTaxConfig": {
      "properties": {
        "taxTier": {
          "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).",
          "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"
          ],
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            ""
          ]
        },
        "regionCode": {
          "type": "string",
          "description": "Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g. \"US\"."
        },
        "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": {
          "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."
          ],
          "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).",
          "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"
          ],
          "type": "string"
        }
      },
      "description": "Details about taxation in a given geographical region.",
      "id": "RegionalTaxConfig",
      "type": "object"
    },
    "AndroidSdks": {
      "description": "Android api level targeting data for app recovery action targeting.",
      "id": "AndroidSdks",
      "type": "object",
      "properties": {
        "sdkLevels": {
          "type": "array",
          "items": {
            "format": "int64",
            "type": "string"
          },
          "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."
        }
      }
    },
    "RenewalDeclinedContext": {
      "properties": {
        "pendingOrderId": {
          "type": "string",
          "description": "Required. The ID of the pending or failed order causing the state."
        }
      },
      "id": "RenewalDeclinedContext",
      "type": "object",
      "description": "Context related to renewal declined scenario."
    },
    "ConsumptionUsageEvent": {
      "description": "List of events, each representing an instance where the user consumed or used the purchased item or service.",
      "id": "ConsumptionUsageEvent",
      "type": "object",
      "properties": {
        "ipAddress": {
          "type": "string",
          "description": "Optional. The IP address from which the consumption occurred."
        },
        "consumptionItemDescription": {
          "type": "string",
          "description": "Optional. Free form text that allows developers to provide more info on the item consumed. Maximum length is 5000 characters."
        },
        "location": {
          "description": "Optional. Geographic location where the consumption occurred.",
          "$ref": "CoarseLocation"
        },
        "consumptionTime": {
          "description": "Optional. Time when the user consumed, used, downloaded, opened, or streamed the content.",
          "format": "google-datetime",
          "type": "string"
        },
        "obfuscatedAccountId": {
          "description": "Optional. Obfuscated string that is uniquely associated with the purchaser's user account in the app. https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setObfuscatedAccountId(java.lang.String)",
          "type": "string"
        },
        "obfuscatedProfileId": {
          "description": "Optional. Obfuscated string that is uniquely associated with the purchaser's user profile in the app. https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setObfuscatedProfileId(java.lang.String)",
          "type": "string"
        }
      }
    },
    "GeneratedAssetPackSlice": {
      "description": "Download metadata for an asset pack slice.",
      "id": "GeneratedAssetPackSlice",
      "type": "object",
      "properties": {
        "version": {
          "description": "Asset module version.",
          "format": "int64",
          "type": "string"
        },
        "moduleName": {
          "description": "Name of the module that this asset slice belongs to.",
          "type": "string"
        },
        "sliceId": {
          "type": "string",
          "description": "Asset slice ID."
        },
        "downloadId": {
          "type": "string",
          "description": "Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method."
        }
      }
    },
    "CanceledStateContext": {
      "id": "CanceledStateContext",
      "type": "object",
      "description": "Information specific to a subscription in the SUBSCRIPTION_STATE_CANCELED or SUBSCRIPTION_STATE_EXPIRED state.",
      "properties": {
        "systemInitiatedCancellation": {
          "description": "Subscription was canceled by the system, for example because of a billing problem.",
          "$ref": "SystemInitiatedCancellation"
        },
        "userInitiatedCancellation": {
          "description": "Subscription was canceled by user.",
          "$ref": "UserInitiatedCancellation"
        },
        "replacementCancellation": {
          "description": "Subscription was replaced by a new subscription.",
          "$ref": "ReplacementCancellation"
        },
        "developerInitiatedCancellation": {
          "description": "Subscription was canceled by the developer.",
          "$ref": "DeveloperInitiatedCancellation"
        }
      }
    },
    "AppVersionList": {
      "id": "AppVersionList",
      "type": "object",
      "description": "Data format for a list of app versions.",
      "properties": {
        "versionCodes": {
          "type": "array",
          "items": {
            "format": "int64",
            "type": "string"
          },
          "description": "List of app version codes."
        }
      }
    },
    "BatchMigrateBasePlanPricesRequest": {
      "properties": {
        "requests": {
          "type": "array",
          "items": {
            "$ref": "MigrateBasePlanPricesRequest"
          },
          "description": "Required. Up to 100 price migration requests. All requests must update different base plans."
        }
      },
      "description": "Request message for BatchMigrateBasePlanPrices.",
      "id": "BatchMigrateBasePlanPricesRequest",
      "type": "object"
    },
    "PageInfo": {
      "id": "PageInfo",
      "type": "object",
      "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.",
      "properties": {
        "totalResults": {
          "type": "integer",
          "description": "Total number of results available on the backend ! The total number of results in the result set.",
          "format": "int32"
        },
        "resultPerPage": {
          "type": "integer",
          "description": "Maximum number of results returned in one page. ! The number of results included in the API response.",
          "format": "int32"
        },
        "startIndex": {
          "description": "Index of the first result returned in the current page.",
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "PreorderDetails": {
      "description": "Details of a pre-order purchase.",
      "id": "PreorderDetails",
      "type": "object",
      "properties": {}
    },
    "AppVersionRange": {
      "id": "AppVersionRange",
      "type": "object",
      "description": "Data format for a continuous range of app versions.",
      "properties": {
        "versionCodeStart": {
          "description": "Lowest app version in the range, inclusive.",
          "format": "int64",
          "type": "string"
        },
        "versionCodeEnd": {
          "type": "string",
          "description": "Highest app version in the range, inclusive.",
          "format": "int64"
        }
      }
    },
    "DeletePurchaseOptionRequest": {
      "id": "DeletePurchaseOptionRequest",
      "type": "object",
      "description": "Request message for deleting a purchase option.",
      "properties": {
        "productId": {
          "description": "Required. The parent one-time product (ID) of the purchase option to delete.",
          "type": "string"
        },
        "purchaseOptionId": {
          "description": "Required. The purchase option ID 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"
        },
        "packageName": {
          "type": "string",
          "description": "Required. The parent app (package name) of the purchase option to delete."
        },
        "latencyTolerance": {
          "type": "string",
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "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."
          ]
        }
      }
    },
    "BatchUpdateOneTimeProductsRequest": {
      "properties": {
        "requests": {
          "description": "Required. A list of update requests of up to 100 elements. All requests must update different one-time products.",
          "type": "array",
          "items": {
            "$ref": "UpdateOneTimeProductRequest"
          }
        }
      },
      "id": "BatchUpdateOneTimeProductsRequest",
      "type": "object",
      "description": "Request message for BatchUpdateOneTimeProduct."
    },
    "RefundExternalTransactionRequest": {
      "description": "A request to refund an existing external transaction.",
      "id": "RefundExternalTransactionRequest",
      "type": "object",
      "properties": {
        "partialRefund": {
          "description": "A partial refund.",
          "$ref": "PartialRefund"
        },
        "fullRefund": {
          "description": "A full-amount refund.",
          "$ref": "FullRefund"
        },
        "refundTime": {
          "type": "string",
          "description": "Required. The time that the transaction was refunded.",
          "format": "google-datetime"
        }
      }
    },
    "MigrateBasePlanPricesResponse": {
      "id": "MigrateBasePlanPricesResponse",
      "type": "object",
      "description": "Response message for MigrateBasePlanPrices.",
      "properties": {}
    },
    "SubscribeWithGoogleInfo": {
      "properties": {
        "profileId": {
          "description": "The Google profile id of the user when the subscription was purchased.",
          "type": "string"
        },
        "familyName": {
          "type": "string",
          "description": "The family name of the user when the subscription was purchased."
        },
        "profileName": {
          "type": "string",
          "description": "The profile name of the user when the subscription was purchased."
        },
        "emailAddress": {
          "type": "string",
          "description": "The email address of the user when the subscription was purchased."
        },
        "givenName": {
          "description": "The given name of the user when the subscription was purchased.",
          "type": "string"
        }
      },
      "description": "Information associated with purchases made with 'Subscribe with Google'.",
      "id": "SubscribeWithGoogleInfo",
      "type": "object"
    },
    "DeferSubscriptionPurchaseRequest": {
      "description": "Request for the v2 purchases.subscriptions.defer API.",
      "id": "DeferSubscriptionPurchaseRequest",
      "type": "object",
      "properties": {
        "deferralContext": {
          "description": "Required. Details about the subscription deferral.",
          "$ref": "DeferralContext"
        }
      }
    },
    "SubscriptionDetails": {
      "properties": {
        "offerPhase": {
          "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."
          ],
          "type": "string",
          "description": "Deprecated: Use offer_phase_details instead. The pricing phase for the billing period funded by this order.",
          "deprecated": true,
          "enum": [
            "OFFER_PHASE_UNSPECIFIED",
            "BASE",
            "INTRODUCTORY",
            "FREE_TRIAL"
          ]
        },
        "offerId": {
          "type": "string",
          "description": "The offer ID for the current subscription offer."
        },
        "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.",
          "format": "google-datetime",
          "type": "string"
        },
        "servicePeriodEndTime": {
          "type": "string",
          "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.",
          "format": "google-datetime"
        },
        "basePlanId": {
          "description": "The base plan ID of the subscription.",
          "type": "string"
        },
        "offerPhaseDetails": {
          "description": "The pricing phase details for the entitlement period funded by this order.",
          "$ref": "OfferPhaseDetails"
        }
      },
      "description": "Details of a subscription purchase.",
      "id": "SubscriptionDetails",
      "type": "object"
    },
    "Subscription": {
      "id": "Subscription",
      "type": "object",
      "description": "A single subscription for an app.",
      "properties": {
        "taxAndComplianceSettings": {
          "description": "Details about taxes and legal compliance.",
          "$ref": "SubscriptionTaxAndComplianceSettings"
        },
        "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"
          }
        },
        "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": {
          "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.",
          "$ref": "RestrictedPaymentCountries"
        },
        "packageName": {
          "description": "Immutable. Package name of the parent app.",
          "type": "string"
        },
        "archived": {
          "type": "boolean",
          "description": "Output only. Deprecated: subscription archiving is not supported.",
          "readOnly": true,
          "deprecated": true
        }
      }
    },
    "PointsDetails": {
      "properties": {
        "pointsOfferId": {
          "description": "ID unique to the play points offer in use for this order.",
          "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.",
          "format": "int64",
          "type": "string"
        },
        "pointsCouponValue": {
          "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.",
          "$ref": "Money"
        },
        "pointsSpent": {
          "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.",
          "format": "int64",
          "type": "string"
        }
      },
      "id": "PointsDetails",
      "type": "object",
      "description": "Details relating to any Play Points applied to an order."
    },
    "IntroductoryPriceOfferPhase": {
      "properties": {},
      "description": "Details about introductory price offer phase.",
      "id": "IntroductoryPriceOfferPhase",
      "type": "object"
    },
    "FullRefund": {
      "description": "A full refund of the remaining amount of a transaction.",
      "id": "FullRefund",
      "type": "object",
      "properties": {}
    },
    "OrderHistory": {
      "description": "Details about events which modified the order.",
      "id": "OrderHistory",
      "type": "object",
      "properties": {
        "processedEvent": {
          "description": "Details of when the order was processed.",
          "$ref": "ProcessedEvent"
        },
        "cancellationEvent": {
          "description": "Details of when the order was canceled.",
          "$ref": "CancellationEvent"
        },
        "refundEvent": {
          "description": "Details of when the order was fully refunded.",
          "$ref": "RefundEvent"
        },
        "partialRefundEvents": {
          "type": "array",
          "items": {
            "$ref": "PartialRefundEvent"
          },
          "description": "Details of the partial refund events for this order."
        }
      }
    },
    "DeviceTier": {
      "properties": {
        "level": {
          "type": "integer",
          "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.",
          "format": "int32"
        },
        "deviceGroupNames": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Groups of devices included in this tier. These groups must be defined explicitly under device_groups in this configuration."
        }
      },
      "description": "A single device tier. Devices matching any of the device groups in device_group_names are considered to match the tier.",
      "id": "DeviceTier",
      "type": "object"
    },
    "ExpansionFilesUploadResponse": {
      "properties": {
        "expansionFile": {
          "description": "The uploaded expansion file configuration.",
          "$ref": "ExpansionFile"
        }
      },
      "description": "Response for uploading an expansion file.",
      "id": "ExpansionFilesUploadResponse",
      "type": "object"
    },
    "DeleteOneTimeProductOfferRequest": {
      "properties": {
        "offerId": {
          "type": "string",
          "description": "Required. The unique offer ID of the offer to delete."
        },
        "productId": {
          "description": "Required. The parent one-time product (ID) of the offer to delete.",
          "type": "string"
        },
        "purchaseOptionId": {
          "type": "string",
          "description": "Required. The parent purchase option (ID) of the offer to delete."
        },
        "packageName": {
          "type": "string",
          "description": "Required. The parent app (package name) of the offer to delete."
        },
        "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.",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "type": "string"
        }
      },
      "id": "DeleteOneTimeProductOfferRequest",
      "type": "object",
      "description": "Request message for deleting an one-time product offer."
    },
    "BatchGetOneTimeProductOffersRequest": {
      "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"
          }
        }
      },
      "id": "BatchGetOneTimeProductOffersRequest",
      "type": "object",
      "description": "Request message for the BatchGetOneTimeProductOffers endpoint."
    },
    "VariantTargeting": {
      "description": "Targeting on the level of variants.",
      "id": "VariantTargeting",
      "type": "object",
      "properties": {
        "sdkVersionTargeting": {
          "description": "The sdk version that the variant targets",
          "$ref": "SdkVersionTargeting"
        },
        "abiTargeting": {
          "description": "The abi that the variant targets",
          "$ref": "AbiTargeting"
        },
        "screenDensityTargeting": {
          "description": "The screen densities that this variant supports",
          "$ref": "ScreenDensityTargeting"
        },
        "multiAbiTargeting": {
          "description": "Multi-api-level targeting",
          "$ref": "MultiAbiTargeting"
        },
        "textureCompressionFormatTargeting": {
          "description": "Texture-compression-format-level targeting",
          "$ref": "TextureCompressionFormatTargeting"
        }
      }
    },
    "RevocationContextProratedRefund": {
      "description": "Used to determine if the refund type in the RevocationContext is a prorated refund.",
      "id": "RevocationContextProratedRefund",
      "type": "object",
      "properties": {}
    },
    "BatchUpdateSubscriptionOffersResponse": {
      "id": "BatchUpdateSubscriptionOffersResponse",
      "type": "object",
      "description": "Response message for BatchUpdateSubscriptionOffers.",
      "properties": {
        "subscriptionOffers": {
          "type": "array",
          "items": {
            "$ref": "SubscriptionOffer"
          },
          "description": "The updated subscription offers list."
        }
      }
    },
    "DeviceFeatureTargeting": {
      "description": "Targeting for a device feature.",
      "id": "DeviceFeatureTargeting",
      "type": "object",
      "properties": {
        "requiredFeature": {
          "description": "Feature of the device.",
          "$ref": "DeviceFeature"
        }
      }
    },
    "Bundle": {
      "id": "Bundle",
      "type": "object",
      "description": "Information about an app bundle. The resource for BundlesService.",
      "properties": {
        "sha256": {
          "type": "string",
          "description": "A sha256 hash of the upload payload, encoded as a hex string and matching the output of the sha256sum command."
        },
        "versionCode": {
          "type": "integer",
          "description": "The version code of the Android App Bundle, as specified in the Android App Bundle's base module APK manifest file.",
          "format": "int32"
        },
        "sha1": {
          "type": "string",
          "description": "A sha1 hash of the upload payload, encoded as a hex string and matching the output of the sha1sum command."
        }
      }
    },
    "ListSubscriptionsResponse": {
      "properties": {
        "subscriptions": {
          "description": "The subscriptions from the specified app.",
          "type": "array",
          "items": {
            "$ref": "Subscription"
          }
        },
        "nextPageToken": {
          "type": "string",
          "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."
        }
      },
      "id": "ListSubscriptionsResponse",
      "type": "object",
      "description": "Response message for ListSubscriptions."
    },
    "DeviceFeature": {
      "properties": {
        "featureVersion": {
          "type": "integer",
          "description": "The feature version specified by android:glEsVersion or android:version in in the AndroidManifest.",
          "format": "int32"
        },
        "featureName": {
          "description": "Name of the feature.",
          "type": "string"
        }
      },
      "description": "Represents a device feature.",
      "id": "DeviceFeature",
      "type": "object"
    },
    "ApkDescription": {
      "description": "Description of the created apks.",
      "id": "ApkDescription",
      "type": "object",
      "properties": {
        "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"
        },
        "standaloneApkMetadata": {
          "description": "Set only for standalone APKs.",
          "$ref": "StandaloneApkMetadata"
        },
        "splitApkMetadata": {
          "description": "Set only for Split APKs.",
          "$ref": "SplitApkMetadata"
        },
        "assetSliceMetadata": {
          "description": "Set only for asset slices.",
          "$ref": "SplitApkMetadata"
        },
        "targeting": {
          "description": "Apk-level targeting.",
          "$ref": "ApkTargeting"
        },
        "instantApkMetadata": {
          "description": "Set only for Instant split APKs.",
          "$ref": "SplitApkMetadata"
        }
      }
    },
    "Image": {
      "id": "Image",
      "type": "object",
      "description": "An uploaded image. The resource for ImagesService.",
      "properties": {
        "sha256": {
          "type": "string",
          "description": "A sha256 hash of the image."
        },
        "id": {
          "type": "string",
          "description": "A unique id representing this image."
        },
        "url": {
          "description": "A URL that will serve a preview of the image.",
          "type": "string"
        },
        "sha1": {
          "description": "A sha1 hash of the image.",
          "type": "string"
        },
        "aiGeneratedState": {
          "type": "string",
          "description": "Optional. Whether the image was generated by AI. Attested by the developer.",
          "enum": [
            "aiGeneratedStateUnspecified",
            "aiGeneratedStateNotAiGenerated",
            "aiGeneratedStateAiGeneratedDeveloperAttested"
          ],
          "enumDescriptions": [
            "Catch-all for unrecognized enum values. See go/protodosdonts.",
            "The content is not generated by AI.",
            "The content is generated by AI and attested by the developer."
          ]
        }
      }
    },
    "PriceStepUpConsentDetails": {
      "properties": {
        "newPrice": {
          "description": "The new price which requires user consent.",
          "$ref": "Money"
        },
        "state": {
          "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."
          ],
          "description": "Output only. The state of the price step-up consent.",
          "readOnly": true,
          "enum": [
            "CONSENT_STATE_UNSPECIFIED",
            "PENDING",
            "CONFIRMED",
            "COMPLETED"
          ],
          "type": "string"
        },
        "consentDeadlineTime": {
          "description": "The deadline by which the user must provide consent. If consent is not provided by this time, the subscription will be canceled.",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "description": "Information related to a price step-up that requires user consent.",
      "id": "PriceStepUpConsentDetails",
      "type": "object"
    },
    "ReviewReplyResult": {
      "description": "The result of replying/updating a reply to review.",
      "id": "ReviewReplyResult",
      "type": "object",
      "properties": {
        "replyText": {
          "description": "The reply text that was applied.",
          "type": "string"
        },
        "lastEdited": {
          "description": "The time at which the reply took effect.",
          "$ref": "Timestamp"
        }
      }
    },
    "BatchUpdateOneTimeProductsResponse": {
      "description": "Response message for BatchUpdateOneTimeProduct.",
      "id": "BatchUpdateOneTimeProductsResponse",
      "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"
          }
        }
      }
    },
    "DeviceGroup": {
      "id": "DeviceGroup",
      "type": "object",
      "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).",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the group."
        },
        "deviceSelectors": {
          "description": "Device selectors for this group. A device matching any of the selectors is included in this group.",
          "type": "array",
          "items": {
            "$ref": "DeviceSelector"
          }
        }
      }
    },
    "GetOneTimeProductOfferRequest": {
      "description": "Request message for GetOneTimeProductOffers.",
      "id": "GetOneTimeProductOfferRequest",
      "type": "object",
      "properties": {
        "packageName": {
          "type": "string",
          "description": "Required. The parent app (package name) of the offer to get."
        },
        "offerId": {
          "type": "string",
          "description": "Required. The unique offer ID of the offer to get."
        },
        "productId": {
          "type": "string",
          "description": "Required. The parent one-time product (ID) of the offer to get."
        },
        "purchaseOptionId": {
          "type": "string",
          "description": "Required. The parent purchase option (ID) of the offer to get."
        }
      }
    },
    "OfferPhaseDetails": {
      "properties": {
        "freeTrialDetails": {
          "description": "The order funds a free trial period.",
          "$ref": "FreeTrialDetails"
        },
        "introductoryPriceDetails": {
          "description": "The order funds an introductory pricing period.",
          "$ref": "IntroductoryPriceDetails"
        },
        "prorationPeriodDetails": {
          "description": "The order funds a proration period.",
          "$ref": "ProrationPeriodDetails"
        },
        "baseDetails": {
          "description": "The order funds a base price period.",
          "$ref": "BaseDetails"
        }
      },
      "description": "Details of a pricing phase for the entitlement period funded by this order.",
      "id": "OfferPhaseDetails",
      "type": "object"
    },
    "PartialRefundEvent": {
      "description": "Details of the partial refund events for this order.",
      "id": "PartialRefundEvent",
      "type": "object",
      "properties": {
        "refundDetails": {
          "description": "Details for the partial refund.",
          "$ref": "RefundDetails"
        },
        "createTime": {
          "type": "string",
          "description": "The time when the partial refund was created.",
          "format": "google-datetime"
        },
        "processTime": {
          "type": "string",
          "description": "The time when the partial refund was processed.",
          "format": "google-datetime"
        },
        "state": {
          "description": "The state of the partial refund.",
          "enum": [
            "STATE_UNSPECIFIED",
            "PENDING",
            "PROCESSED_SUCCESSFULLY"
          ],
          "type": "string",
          "enumDescriptions": [
            "State unspecified. This value is not used.",
            "The partial refund has been created, but not yet processed.",
            "The partial refund was processed successfully."
          ]
        }
      }
    },
    "ConvertRegionPricesResponse": {
      "properties": {
        "convertedRegionPrices": {
          "type": "object",
          "additionalProperties": {
            "$ref": "ConvertedRegionPrice"
          },
          "description": "Map from region code to converted region price."
        },
        "regionVersion": {
          "description": "The region version at which the prices were generated.",
          "$ref": "RegionsVersion"
        },
        "convertedOtherRegionsPrice": {
          "description": "Converted other regions prices in USD and EUR, to use for countries where Play doesn't support a country's local currency.",
          "$ref": "ConvertedOtherRegionsPrice"
        }
      },
      "id": "ConvertRegionPricesResponse",
      "type": "object",
      "description": "Response message for ConvertRegionPrices."
    },
    "BatchGetSubscriptionsResponse": {
      "properties": {
        "subscriptions": {
          "type": "array",
          "items": {
            "$ref": "Subscription"
          },
          "description": "The list of requested subscriptions, in the same order as the request."
        }
      },
      "id": "BatchGetSubscriptionsResponse",
      "type": "object",
      "description": "Response message for BatchGetSubscriptions endpoint."
    },
    "OneTimeProductOfferRegionalPricingAndAvailabilityConfig": {
      "id": "OneTimeProductOfferRegionalPricingAndAvailabilityConfig",
      "type": "object",
      "description": "Regional pricing and availability configuration for a one-time product offer.",
      "properties": {
        "noOverride": {
          "description": "The price defined in the purchase option for this region will be used.",
          "$ref": "OneTimeProductOfferNoPriceOverrideOptions"
        },
        "relativeDiscount": {
          "type": "number",
          "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.",
          "format": "double"
        },
        "availability": {
          "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."
          ],
          "type": "string",
          "description": "Required. The availability for this region.",
          "enum": [
            "AVAILABILITY_UNSPECIFIED",
            "AVAILABLE",
            "NO_LONGER_AVAILABLE"
          ]
        },
        "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"
        },
        "regionCode": {
          "type": "string",
          "description": "Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g., \"US\"."
        }
      }
    },
    "BatchGetSubscriptionOffersResponse": {
      "description": "Response message for BatchGetSubscriptionOffers endpoint.",
      "id": "BatchGetSubscriptionOffersResponse",
      "type": "object",
      "properties": {
        "subscriptionOffers": {
          "type": "array",
          "items": {
            "$ref": "SubscriptionOffer"
          }
        }
      }
    },
    "CancelAppRecoveryRequest": {
      "properties": {},
      "id": "CancelAppRecoveryRequest",
      "type": "object",
      "description": "Request message for CancelAppRecovery."
    },
    "OneTimeProductPurchaseOptionNewRegionsConfig": {
      "properties": {
        "usdPrice": {
          "description": "Required. Price in USD to use for any new regions Play may launch in.",
          "$ref": "Money"
        },
        "availability": {
          "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.",
          "enum": [
            "AVAILABILITY_UNSPECIFIED",
            "AVAILABLE",
            "NO_LONGER_AVAILABLE"
          ],
          "type": "string",
          "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."
          ]
        },
        "eurPrice": {
          "description": "Required. Price in EUR to use for any new regions Play may launch in.",
          "$ref": "Money"
        }
      },
      "description": "Pricing information for any new regions Play may launch in the future.",
      "id": "OneTimeProductPurchaseOptionNewRegionsConfig",
      "type": "object"
    },
    "SubscriptionOffer": {
      "description": "A single, temporary offer",
      "id": "SubscriptionOffer",
      "type": "object",
      "properties": {
        "basePlanId": {
          "description": "Required. Immutable. The ID of the base plan to which this offer is an extension.",
          "type": "string"
        },
        "productId": {
          "type": "string",
          "description": "Required. Immutable. The ID of the parent subscription this offer belongs to."
        },
        "targeting": {
          "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.",
          "$ref": "SubscriptionOfferTargeting"
        },
        "packageName": {
          "type": "string",
          "description": "Required. Immutable. The package name of the app the parent subscription belongs to."
        },
        "otherRegionsConfig": {
          "description": "The configuration for any new locations Play may launch in the future.",
          "$ref": "OtherRegionsSubscriptionOfferConfig"
        },
        "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"
          }
        },
        "offerId": {
          "type": "string",
          "description": "Required. Immutable. Unique ID of this subscription offer. Must be unique within the base plan."
        },
        "state": {
          "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.",
          "readOnly": true,
          "enum": [
            "STATE_UNSPECIFIED",
            "DRAFT",
            "ACTIVE",
            "INACTIVE"
          ],
          "type": "string"
        },
        "regionalConfigs": {
          "type": "array",
          "items": {
            "$ref": "RegionalSubscriptionOfferConfig"
          },
          "description": "Required. The region-specific configuration of this offer. Must contain at least one entry."
        },
        "phases": {
          "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",
          "items": {
            "$ref": "SubscriptionOfferPhase"
          }
        }
      }
    },
    "RevocationContextFullRefund": {
      "properties": {},
      "description": "Used to determine if the refund type in the RevocationContext is a full refund.",
      "id": "RevocationContextFullRefund",
      "type": "object"
    },
    "ArchiveSubscriptionRequest": {
      "properties": {},
      "deprecated": true,
      "description": "Deprecated: subscription archiving is not supported.",
      "id": "ArchiveSubscriptionRequest",
      "type": "object"
    },
    "ProductPurchase": {
      "id": "ProductPurchase",
      "type": "object",
      "description": "A ProductPurchase resource indicates the status of a user's inapp product purchase.",
      "properties": {
        "acknowledgementState": {
          "description": "The acknowledgement state of the inapp product. Possible values are: 0. Yet to be acknowledged 1. Acknowledged",
          "format": "int32",
          "type": "integer"
        },
        "regionCode": {
          "type": "string",
          "description": "ISO 3166-1 alpha-2 billing region code of the user at the time the product was granted."
        },
        "purchaseState": {
          "type": "integer",
          "description": "The purchase state of the order. Possible values are: 0. Purchased 1. Canceled 2. Pending",
          "format": "int32"
        },
        "consumptionState": {
          "description": "The consumption state of the inapp product. Possible values are: 0. Yet to be consumed 1. Consumed",
          "format": "int32",
          "type": "integer"
        },
        "orderId": {
          "type": "string",
          "description": "The order id associated with the purchase of the inapp product."
        },
        "purchaseType": {
          "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)",
          "format": "int32",
          "type": "integer"
        },
        "productId": {
          "description": "The inapp product SKU. May not be present.",
          "type": "string"
        },
        "quantity": {
          "type": "integer",
          "description": "The quantity associated with the purchase of the inapp product. If not present, the quantity is 1.",
          "format": "int32"
        },
        "purchaseToken": {
          "description": "The purchase token generated to identify this purchase. May not be present.",
          "type": "string"
        },
        "purchaseTimeMillis": {
          "type": "string",
          "description": "The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).",
          "format": "int64"
        },
        "kind": {
          "type": "string",
          "description": "This kind represents an inappPurchase object in the androidpublisher service."
        },
        "obfuscatedExternalAccountId": {
          "type": "string",
          "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."
        },
        "refundableQuantity": {
          "type": "integer",
          "description": "The quantity eligible for refund, i.e. quantity that hasn't been refunded. The value reflects quantity-based partial refunds and full refunds.",
          "format": "int32"
        },
        "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"
        },
        "developerPayload": {
          "type": "string",
          "description": "A developer-specified string that contains supplemental information about an order."
        }
      }
    },
    "BatchUpdateOneTimeProductOffersResponse": {
      "properties": {
        "oneTimeProductOffers": {
          "type": "array",
          "items": {
            "$ref": "OneTimeProductOffer"
          },
          "description": "The list of updated one-time product offers, in the same order as the request."
        }
      },
      "id": "BatchUpdateOneTimeProductOffersResponse",
      "type": "object",
      "description": "Response message for BatchUpdateOneTimeProductOffers."
    },
    "ExternalTransactionTestPurchase": {
      "properties": {},
      "description": "Represents a transaction performed using a test account. These transactions will not be charged by Google.",
      "id": "ExternalTransactionTestPurchase",
      "type": "object"
    },
    "BatchUpdateBasePlanStatesResponse": {
      "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",
      "type": "object",
      "description": "Response message for BatchUpdateBasePlanStates."
    },
    "BatchUpdatePurchaseOptionStatesRequest": {
      "properties": {
        "requests": {
          "type": "array",
          "items": {
            "$ref": "UpdatePurchaseOptionStateRequest"
          },
          "description": "Required. The update request list of up to 100 elements. All requests must update different purchase options."
        }
      },
      "id": "BatchUpdatePurchaseOptionStatesRequest",
      "type": "object",
      "description": "Request message for BatchUpdatePurchaseOptionStates."
    },
    "ListSubscriptionOffersResponse": {
      "id": "ListSubscriptionOffersResponse",
      "type": "object",
      "description": "Response message for ListSubscriptionOffers.",
      "properties": {
        "subscriptionOffers": {
          "type": "array",
          "items": {
            "$ref": "SubscriptionOffer"
          },
          "description": "The subscription offers from the specified subscription."
        },
        "nextPageToken": {
          "type": "string",
          "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."
        }
      }
    },
    "ModuleMetadata": {
      "description": "Metadata of a module.",
      "id": "ModuleMetadata",
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Module name."
        },
        "deliveryType": {
          "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."
          ],
          "type": "string",
          "description": "Indicates the delivery type (e.g. on-demand) of the module.",
          "enum": [
            "UNKNOWN_DELIVERY_TYPE",
            "INSTALL_TIME",
            "ON_DEMAND",
            "FAST_FOLLOW"
          ]
        },
        "moduleType": {
          "type": "string",
          "description": "Indicates the type of this feature module.",
          "enum": [
            "UNKNOWN_MODULE_TYPE",
            "FEATURE_MODULE"
          ],
          "enumDescriptions": [
            "Unknown feature module.",
            "Regular feature module."
          ]
        },
        "targeting": {
          "description": "The targeting that makes a conditional module installed. Relevant only for Split APKs.",
          "$ref": "ModuleTargeting"
        },
        "dependencies": {
          "description": "Names of the modules that this module directly depends on. Each module implicitly depends on the base module.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "BuyerAddress": {
      "properties": {
        "buyerPostcode": {
          "description": "Postal code of an address. When Google is the Merchant of Record for the order, this information is not included.",
          "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"
        },
        "buyerCountry": {
          "type": "string",
          "description": "Two letter country code based on ISO-3166-1 Alpha-2 (UN country codes)."
        }
      },
      "description": "Address information for the customer, for use in tax computation.",
      "id": "BuyerAddress",
      "type": "object"
    },
    "UpdateOneTimeProductOfferStateRequest": {
      "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": {
          "description": "Deactivates an offer. Once deactivated, the offer is no longer available to users. This state transition is specific to discounted offers.",
          "$ref": "DeactivateOneTimeProductOfferRequest"
        },
        "activateOneTimeProductOfferRequest": {
          "description": "Activates an offer. Once activated, the offer is available to users, as long as its conditions are met.",
          "$ref": "ActivateOneTimeProductOfferRequest"
        }
      },
      "id": "UpdateOneTimeProductOfferStateRequest",
      "type": "object",
      "description": "Request message to update the state of a one-time product offer."
    },
    "IntroductoryPriceDetails": {
      "id": "IntroductoryPriceDetails",
      "type": "object",
      "description": "Details of an introductory price pricing phase.",
      "properties": {}
    },
    "PrepaidBasePlanType": {
      "id": "PrepaidBasePlanType",
      "type": "object",
      "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.",
      "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": {
          "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."
          ],
          "type": "string",
          "description": "Whether users should be able to extend this prepaid base plan in Google Play surfaces. Defaults to TIME_EXTENSION_ACTIVE if not specified.",
          "enum": [
            "TIME_EXTENSION_UNSPECIFIED",
            "TIME_EXTENSION_ACTIVE",
            "TIME_EXTENSION_INACTIVE"
          ]
        }
      }
    },
    "SubscriptionListing": {
      "properties": {
        "benefits": {
          "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",
          "items": {
            "type": "string"
          }
        },
        "languageCode": {
          "description": "Required. The language of this listing, as defined by BCP-47, e.g. \"en-US\".",
          "type": "string"
        },
        "title": {
          "type": "string",
          "description": "Required. The title of this subscription in the language of this listing. Plain text."
        },
        "description": {
          "type": "string",
          "description": "The description of this subscription in the language of this listing. Maximum length - 200 characters. Plain text."
        }
      },
      "id": "SubscriptionListing",
      "type": "object",
      "description": "The consumer-visible metadata of a subscription."
    },
    "ApkTargeting": {
      "properties": {
        "textureCompressionFormatTargeting": {
          "description": "Texture-compression-format-level targeting",
          "$ref": "TextureCompressionFormatTargeting"
        },
        "multiAbiTargeting": {
          "description": "Multi-api-level targeting.",
          "$ref": "MultiAbiTargeting"
        },
        "abiTargeting": {
          "description": "The abi that the apk targets",
          "$ref": "AbiTargeting"
        },
        "languageTargeting": {
          "description": "The language that the apk targets",
          "$ref": "LanguageTargeting"
        },
        "screenDensityTargeting": {
          "description": "The screen density that this apk supports.",
          "$ref": "ScreenDensityTargeting"
        },
        "sdkVersionTargeting": {
          "description": "The sdk version that the apk targets",
          "$ref": "SdkVersionTargeting"
        }
      },
      "id": "ApkTargeting",
      "type": "object",
      "description": "Represents a set of apk-level targetings."
    },
    "ImagesListResponse": {
      "properties": {
        "images": {
          "description": "All listed Images.",
          "type": "array",
          "items": {
            "$ref": "Image"
          }
        }
      },
      "id": "ImagesListResponse",
      "type": "object",
      "description": "Response listing all images."
    },
    "OneTimeProductOffer": {
      "properties": {
        "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"
        },
        "state": {
          "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.",
          "readOnly": true,
          "enum": [
            "STATE_UNSPECIFIED",
            "DRAFT",
            "ACTIVE",
            "CANCELLED",
            "INACTIVE"
          ],
          "type": "string"
        },
        "offerTags": {
          "type": "array",
          "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."
        },
        "preOrderOffer": {
          "description": "A pre-order offer.",
          "$ref": "OneTimeProductPreOrderOffer"
        },
        "discountedOffer": {
          "description": "A discounted offer.",
          "$ref": "OneTimeProductDiscountedOffer"
        },
        "regionalPricingAndAvailabilityConfigs": {
          "description": "Set of regional pricing and availability information for this offer. Must not have duplicate entries with the same region_code.",
          "type": "array",
          "items": {
            "$ref": "OneTimeProductOfferRegionalPricingAndAvailabilityConfig"
          }
        },
        "packageName": {
          "type": "string",
          "description": "Required. Immutable. The package name of the app the parent product belongs to."
        },
        "purchaseOptionId": {
          "description": "Required. Immutable. The ID of the purchase option to which this offer is an extension.",
          "type": "string"
        },
        "regionsVersion": {
          "description": "Output only. The version of the regions configuration that was used to generate the one-time product offer.",
          "readOnly": true,
          "$ref": "RegionsVersion"
        },
        "productId": {
          "type": "string",
          "description": "Required. Immutable. The ID of the parent product this offer belongs to."
        }
      },
      "description": "A single offer for a one-time product.",
      "id": "OneTimeProductOffer",
      "type": "object"
    },
    "UserComment": {
      "description": "User entry from conversation between user and developer.",
      "id": "UserComment",
      "type": "object",
      "properties": {
        "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.",
          "format": "int32",
          "type": "integer"
        },
        "starRating": {
          "type": "integer",
          "description": "The star rating associated with the review, from 1 to 5.",
          "format": "int32"
        },
        "appVersionCode": {
          "description": "Integer version code of the app as installed at the time the review was written. May be absent.",
          "format": "int32",
          "type": "integer"
        },
        "thumbsDownCount": {
          "description": "Number of users who have given this review a thumbs down.",
          "format": "int32",
          "type": "integer"
        },
        "deviceMetadata": {
          "description": "Information about the characteristics of the user's device.",
          "$ref": "DeviceMetadata"
        },
        "thumbsUpCount": {
          "description": "Number of users who have given this review a thumbs up.",
          "format": "int32",
          "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"
        },
        "device": {
          "type": "string",
          "description": "Codename for the reviewer's device, e.g. klte, flounder. May be absent."
        },
        "lastModified": {
          "description": "The last time at which this comment was updated.",
          "$ref": "Timestamp"
        },
        "appVersionName": {
          "description": "String version name of the app as installed at the time the review was written. May be absent.",
          "type": "string"
        },
        "originalText": {
          "type": "string",
          "description": "Untranslated text of the review, where the review was translated. If the review was not translated this is left blank."
        },
        "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"
        }
      }
    },
    "TracksListResponse": {
      "properties": {
        "kind": {
          "type": "string",
          "description": "The kind of this response (\"androidpublisher#tracksListResponse\")."
        },
        "tracks": {
          "type": "array",
          "items": {
            "$ref": "Track"
          },
          "description": "All tracks (including tracks with no releases)."
        }
      },
      "id": "TracksListResponse",
      "type": "object",
      "description": "Response listing all tracks."
    },
    "ItemExpiryTimeDetails": {
      "properties": {
        "productId": {
          "type": "string",
          "description": "The product ID of the subscription item (for example, 'premium_plan')."
        },
        "expiryTime": {
          "type": "string",
          "description": "The new expiry time for this subscription item.",
          "format": "google-datetime"
        }
      },
      "id": "ItemExpiryTimeDetails",
      "type": "object",
      "description": "Expiry time details of a subscription item."
    },
    "PartialRefund": {
      "description": "A partial refund of a transaction.",
      "id": "PartialRefund",
      "type": "object",
      "properties": {
        "refundId": {
          "type": "string",
          "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."
        },
        "refundPreTaxAmount": {
          "description": "Required. The pre-tax amount of the partial refund. Should be less than the remaining pre-tax amount of the transaction.",
          "$ref": "Price"
        }
      }
    },
    "BatchGetOneTimeProductOffersResponse": {
      "properties": {
        "oneTimeProductOffers": {
          "type": "array",
          "items": {
            "$ref": "OneTimeProductOffer"
          },
          "description": "The list of updated one-time product offers, in the same order as the request."
        }
      },
      "id": "BatchGetOneTimeProductOffersResponse",
      "type": "object",
      "description": "Response message for the BatchGetOneTimeProductOffers endpoint."
    },
    "CancellationContext": {
      "properties": {
        "cancellationType": {
          "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"
          ],
          "type": "string",
          "description": "Required. The type of cancellation for the purchased subscription.",
          "enum": [
            "CANCELLATION_TYPE_UNSPECIFIED",
            "USER_REQUESTED_STOP_RENEWALS",
            "DEVELOPER_REQUESTED_STOP_PAYMENTS"
          ]
        }
      },
      "description": "Cancellation context of the purchases.subscriptionsv2.cancel API.",
      "id": "CancellationContext",
      "type": "object"
    },
    "ListReleaseSummariesResponse": {
      "properties": {
        "releases": {
          "type": "array",
          "items": {
            "$ref": "ReleaseSummary"
          },
          "description": "List of releases for this track. A maximum of 20 releases can be returned."
        }
      },
      "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.",
      "id": "ListReleaseSummariesResponse",
      "type": "object"
    },
    "MultiAbiTargeting": {
      "properties": {
        "value": {
          "type": "array",
          "items": {
            "$ref": "MultiAbi"
          },
          "description": "Value of a multi abi."
        },
        "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": "MultiAbi"
          }
        }
      },
      "description": "Targeting based on multiple abis.",
      "id": "MultiAbiTargeting",
      "type": "object"
    },
    "UpdateOneTimeProductRequest": {
      "description": "Request message for UpdateOneTimeProduct.",
      "id": "UpdateOneTimeProductRequest",
      "type": "object",
      "properties": {
        "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 upsert. Defaults to latency-sensitive.",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "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.",
          "type": "boolean"
        },
        "updateMask": {
          "type": "string",
          "description": "Required. The list of fields to be updated.",
          "format": "google-fieldmask"
        },
        "regionsVersion": {
          "description": "Required. The version of the available regions being used for the one-time product.",
          "$ref": "RegionsVersion"
        },
        "oneTimeProduct": {
          "description": "Required. The one-time product to upsert.",
          "$ref": "OneTimeProduct"
        }
      }
    },
    "ReplacementCancellation": {
      "properties": {},
      "id": "ReplacementCancellation",
      "type": "object",
      "description": "Information specific to cancellations caused by subscription replacement."
    },
    "TrackConfig": {
      "id": "TrackConfig",
      "type": "object",
      "description": "Configurations of the new track.",
      "properties": {
        "type": {
          "enumDescriptions": [
            "Fallback value, do not use.",
            "Closed testing track."
          ],
          "type": "string",
          "description": "Required. Type of the new track. Currently, the only supported value is closedTesting.",
          "enum": [
            "TRACK_TYPE_UNSPECIFIED",
            "CLOSED_TESTING"
          ]
        },
        "formFactor": {
          "description": "Required. Form factor of the new track. Defaults to the default track.",
          "enum": [
            "FORM_FACTOR_UNSPECIFIED",
            "DEFAULT",
            "WEAR",
            "AUTOMOTIVE"
          ],
          "type": "string",
          "enumDescriptions": [
            "Fallback value, do not use.",
            "Default track.",
            "Wear form factor track.",
            "Automotive form factor track."
          ]
        },
        "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"
        }
      }
    },
    "DeveloperInitiatedCancellation": {
      "properties": {},
      "id": "DeveloperInitiatedCancellation",
      "type": "object",
      "description": "Information specific to cancellations initiated by developers."
    },
    "TrackRelease": {
      "properties": {
        "versionCodes": {
          "type": "array",
          "items": {
            "format": "int64",
            "type": "string"
          },
          "description": "Version codes of all APKs in the release. Must include version codes to retain from previous releases."
        },
        "inAppUpdatePriority": {
          "type": "integer",
          "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.",
          "format": "int32"
        },
        "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\".",
          "format": "double",
          "type": "number"
        },
        "name": {
          "type": "string",
          "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."
        },
        "status": {
          "type": "string",
          "description": "The status of the release.",
          "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."
          ]
        },
        "releaseNotes": {
          "type": "array",
          "items": {
            "$ref": "LocalizedText"
          },
          "description": "A description of what is new in this release."
        },
        "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.",
      "id": "TrackRelease",
      "type": "object"
    },
    "ExternalOfferDetails": {
      "properties": {
        "linkType": {
          "enumDescriptions": [
            "Unspecified, do not use.",
            "An offer to purchase digital content.",
            "An app install."
          ],
          "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.",
          "enum": [
            "EXTERNAL_OFFER_LINK_TYPE_UNSPECIFIED",
            "LINK_TO_DIGITAL_CONTENT_OFFER",
            "LINK_TO_APP_DOWNLOAD"
          ],
          "type": "string"
        },
        "installedAppCategory": {
          "type": "string",
          "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.",
          "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."
          ]
        },
        "installedAppPackage": {
          "type": "string",
          "description": "Optional. The package name of the app downloaded through this transaction. Required when link_type is LINK_TO_APP_DOWNLOAD."
        },
        "appDownloadEventExternalTransactionId": {
          "type": "string",
          "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."
        }
      },
      "id": "ExternalOfferDetails",
      "type": "object",
      "description": "Reporting details unique to the external offers program."
    },
    "BaseDetails": {
      "id": "BaseDetails",
      "type": "object",
      "description": "Details of a base price pricing phase.",
      "properties": {}
    },
    "VoidedPurchasesListResponse": {
      "id": "VoidedPurchasesListResponse",
      "type": "object",
      "description": "Response for the voidedpurchases.list API.",
      "properties": {
        "pageInfo": {
          "description": "General pagination information.",
          "$ref": "PageInfo"
        },
        "tokenPagination": {
          "description": "Pagination information for token pagination.",
          "$ref": "TokenPagination"
        },
        "voidedPurchases": {
          "type": "array",
          "items": {
            "$ref": "VoidedPurchase"
          }
        }
      }
    },
    "SubscriptionPurchaseV2": {
      "properties": {
        "subscriptionState": {
          "description": "The current state of the 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"
          ],
          "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."
          ]
        },
        "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"
        },
        "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"
        },
        "inGracePeriodStateContext": {
          "description": "Optional. Additional context around subscriptions in IN_GRACE_PERIOD state. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_IN_GRACE_PERIOD.",
          "$ref": "InGracePeriodStateContext"
        },
        "kind": {
          "description": "This kind represents a SubscriptionPurchaseV2 object in the androidpublisher service.",
          "type": "string"
        },
        "subscribeWithGoogleInfo": {
          "description": "User profile associated with purchases made with 'Subscribe with Google'.",
          "$ref": "SubscribeWithGoogleInfo"
        },
        "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"
        },
        "externalAccountIdentifiers": {
          "description": "User account identifier in the third-party service.",
          "$ref": "ExternalAccountIdentifiers"
        },
        "testPurchase": {
          "description": "Only present if this subscription purchase is a test purchase.",
          "$ref": "TestPurchase"
        },
        "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"
        },
        "pausedStateContext": {
          "description": "Additional context around paused subscriptions. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_PAUSED.",
          "$ref": "PausedStateContext"
        },
        "acknowledgementState": {
          "enumDescriptions": [
            "Unspecified acknowledgement state.",
            "The subscription is not acknowledged yet.",
            "The subscription is acknowledged."
          ],
          "description": "The acknowledgement state of the subscription.",
          "enum": [
            "ACKNOWLEDGEMENT_STATE_UNSPECIFIED",
            "ACKNOWLEDGEMENT_STATE_PENDING",
            "ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED"
          ],
          "type": "string"
        },
        "onHoldStateContext": {
          "description": "Optional. Additional context around subscriptions in ON_HOLD state. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_ON_HOLD.",
          "$ref": "OnHoldStateContext"
        },
        "regionCode": {
          "type": "string",
          "description": "ISO 3166-1 alpha-2 billing country/region code of the user at the time the subscription was granted."
        },
        "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.",
          "deprecated": true,
          "type": "string"
        },
        "lineItems": {
          "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",
          "items": {
            "$ref": "SubscriptionPurchaseLineItem"
          }
        },
        "startTime": {
          "type": "string",
          "description": "Time at which the subscription was granted. Not set for pending subscriptions (subscription was created but awaiting payment during signup).",
          "format": "google-datetime"
        }
      },
      "description": "Indicates the status of a user's subscription purchase.",
      "id": "SubscriptionPurchaseV2",
      "type": "object"
    },
    "ListOneTimeProductOffersResponse": {
      "id": "ListOneTimeProductOffersResponse",
      "type": "object",
      "description": "Response message for ListOneTimeProductOffers.",
      "properties": {
        "oneTimeProductOffers": {
          "type": "array",
          "items": {
            "$ref": "OneTimeProductOffer"
          },
          "description": "The one_time_product offers from the specified request."
        },
        "nextPageToken": {
          "type": "string",
          "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."
        }
      }
    },
    "SubscriptionPurchaseLineItem": {
      "properties": {
        "offerDetails": {
          "description": "The offer details for this item.",
          "$ref": "OfferDetails"
        },
        "productId": {
          "type": "string",
          "description": "The purchased product ID (for example, 'monthly001')."
        },
        "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.",
          "$ref": "ItemReplacement"
        },
        "latestSuccessfulOrderId": {
          "type": "string",
          "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)."
        },
        "prepaidPlan": {
          "description": "The item is prepaid.",
          "$ref": "PrepaidPlan"
        },
        "autoRenewingPlan": {
          "description": "The item is auto renewing.",
          "$ref": "AutoRenewingPlan"
        },
        "deferredItemRemoval": {
          "description": "Information for deferred item removal.",
          "$ref": "DeferredItemRemoval"
        },
        "offerPhase": {
          "description": "Current offer phase details for this item.",
          "$ref": "OfferPhase"
        },
        "expiryTime": {
          "description": "Time at which the subscription expired or will expire unless the access is extended (ex. renews).",
          "format": "google-datetime",
          "type": "string"
        },
        "signupPromotion": {
          "description": "Promotion details about this item. Only set if a promotion was applied during signup.",
          "$ref": "SignupPromotion"
        },
        "deferredItemReplacement": {
          "description": "Information for deferred item replacement.",
          "$ref": "DeferredItemReplacement"
        }
      },
      "description": "Item-level info for a subscription purchase.",
      "id": "SubscriptionPurchaseLineItem",
      "type": "object"
    },
    "OtherRegionsSubscriptionOfferPhaseConfig": {
      "description": "Configuration for any new locations Play may launch in for a single offer phase.",
      "id": "OtherRegionsSubscriptionOfferPhaseConfig",
      "type": "object",
      "properties": {
        "absoluteDiscounts": {
          "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.",
          "$ref": "OtherRegionsSubscriptionOfferPhasePrices"
        },
        "free": {
          "description": "Set to specify this offer is free to obtain.",
          "$ref": "OtherRegionsSubscriptionOfferPhaseFreePriceOverride"
        },
        "otherRegionsPrices": {
          "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.",
          "$ref": "OtherRegionsSubscriptionOfferPhasePrices"
        },
        "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.",
          "format": "double",
          "type": "number"
        }
      }
    },
    "DeobfuscationFilesUploadResponse": {
      "properties": {
        "deobfuscationFile": {
          "description": "The uploaded Deobfuscation File configuration.",
          "$ref": "DeobfuscationFile"
        }
      },
      "description": "Responses for the upload.",
      "id": "DeobfuscationFilesUploadResponse",
      "type": "object"
    },
    "ExternalAccountIds": {
      "properties": {
        "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"
        },
        "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"
        }
      },
      "description": "User account identifier in your app.",
      "id": "ExternalAccountIds",
      "type": "object"
    },
    "RestrictedPaymentCountries": {
      "properties": {
        "regionCodes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Required. Region codes to impose payment restrictions on, as defined by ISO 3166-2, e.g. \"US\"."
        }
      },
      "id": "RestrictedPaymentCountries",
      "type": "object",
      "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."
    },
    "OnHoldStateContext": {
      "properties": {
        "renewalDeclined": {
          "description": "Optional. The payment for the renewal was declined.",
          "$ref": "RenewalDeclinedContext"
        }
      },
      "description": "Additional context around subscriptions in ON_HOLD state.",
      "id": "OnHoldStateContext",
      "type": "object"
    },
    "ApksAddExternallyHostedRequest": {
      "description": "Request to create a new externally hosted APK.",
      "id": "ApksAddExternallyHostedRequest",
      "type": "object",
      "properties": {
        "externallyHostedApk": {
          "description": "The definition of the externally-hosted APK and where it is located.",
          "$ref": "ExternallyHostedApk"
        }
      }
    },
    "DeleteOneTimeProductRequest": {
      "description": "Request message for deleting a one-time product.",
      "id": "DeleteOneTimeProductRequest",
      "type": "object",
      "properties": {
        "productId": {
          "type": "string",
          "description": "Required. The one-time product ID of the one-time product to delete."
        },
        "packageName": {
          "description": "Required. The parent app (package name) of the one-time product to delete.",
          "type": "string"
        },
        "latencyTolerance": {
          "type": "string",
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "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."
          ]
        }
      }
    },
    "User": {
      "id": "User",
      "type": "object",
      "description": "A user resource.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Required. Resource name for this user, following the pattern \"developers/{developer}/users/{email}\"."
        },
        "developerAccountPermissions": {
          "type": "array",
          "items": {
            "enumDeprecated": [
              false,
              true,
              false,
              false,
              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",
              "CAN_VIEW_CONNECTED_APPS_GLOBAL",
              "CAN_EDIT_CONNECTED_APPS_GLOBAL"
            ],
            "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.",
              "Allows viewing connected apps in the Google Play Console.",
              "Allows editing connected apps in the Google Play Console."
            ]
          },
          "description": "Permissions for the user which apply across the developer account."
        },
        "email": {
          "description": "Immutable. The user's email address.",
          "type": "string"
        },
        "accessState": {
          "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."
          ],
          "type": "string",
          "description": "Output only. The state of the user's access to the Play Console.",
          "readOnly": true,
          "enum": [
            "ACCESS_STATE_UNSPECIFIED",
            "INVITED",
            "INVITATION_EXPIRED",
            "ACCESS_GRANTED",
            "ACCESS_EXPIRED"
          ]
        },
        "expirationTime": {
          "description": "The time at which the user's access expires, if set. When setting this value, it must always be in the future.",
          "format": "google-datetime",
          "type": "string"
        },
        "partial": {
          "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.",
          "readOnly": true,
          "type": "boolean"
        },
        "grants": {
          "type": "array",
          "items": {
            "$ref": "Grant"
          },
          "description": "Output only. Per-app permissions for the user.",
          "readOnly": true
        }
      }
    },
    "OneTimeExternalTransaction": {
      "id": "OneTimeExternalTransaction",
      "type": "object",
      "description": "Represents a one-time transaction.",
      "properties": {
        "externalTransactionToken": {
          "description": "Input only. Provided during the call to Create. Retrieved from the client when the alternative billing flow is launched.",
          "type": "string"
        }
      }
    },
    "LocalizedText": {
      "id": "LocalizedText",
      "type": "object",
      "description": "Localized text in given language.",
      "properties": {
        "text": {
          "type": "string",
          "description": "The text in the given language."
        },
        "language": {
          "type": "string",
          "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German)."
        }
      }
    },
    "RevocationContext": {
      "description": "Revocation context of the purchases.subscriptionsv2.revoke API.",
      "id": "RevocationContext",
      "type": "object",
      "properties": {
        "fullRefund": {
          "description": "Optional. Used when users should be refunded the full amount of latest charge on each item in the subscription.",
          "$ref": "RevocationContextFullRefund"
        },
        "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"
        },
        "itemBasedRefund": {
          "description": "Optional. Used when a specific item should be refunded in a subscription with add-on items.",
          "$ref": "RevocationContextItemBasedRefund"
        }
      }
    },
    "ManagedProductTaxAndComplianceSettings": {
      "properties": {
        "eeaWithdrawalRightType": {
          "type": "string",
          "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.",
          "enum": [
            "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED",
            "WITHDRAWAL_RIGHT_DIGITAL_CONTENT",
            "WITHDRAWAL_RIGHT_SERVICE"
          ],
          "enumDescriptions": [
            "",
            "",
            ""
          ]
        },
        "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"
          }
        },
        "regionalProductAgeRatingInfos": {
          "type": "array",
          "items": {
            "$ref": "RegionalProductAgeRatingInfo"
          },
          "description": "Regional age rating information. Currently this field is only supported for region code `US`."
        },
        "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"
        },
        "isTokenizedDigitalAsset": {
          "description": "Whether this in-app product is declared as a product representing a tokenized digital asset.",
          "type": "boolean"
        }
      },
      "id": "ManagedProductTaxAndComplianceSettings",
      "type": "object",
      "description": "Details about taxation and legal compliance for managed products."
    },
    "DeactivatePurchaseOptionRequest": {
      "properties": {
        "purchaseOptionId": {
          "type": "string",
          "description": "Required. The purchase option ID of the purchase option to deactivate."
        },
        "productId": {
          "description": "Required. The parent one-time product (ID) of the purchase option to deactivate.",
          "type": "string"
        },
        "latencyTolerance": {
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ],
          "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."
          ]
        },
        "packageName": {
          "type": "string",
          "description": "Required. The parent app (package name) of the purchase option to deactivate."
        }
      },
      "id": "DeactivatePurchaseOptionRequest",
      "type": "object",
      "description": "Request message for UpdatePurchaseOptionState."
    },
    "Price": {
      "id": "Price",
      "type": "object",
      "description": "Definition of a price, i.e. currency and units.",
      "properties": {
        "priceMicros": {
          "type": "string",
          "description": "Price in 1/million of the currency base unit, represented as a string."
        },
        "currency": {
          "description": "3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java",
          "type": "string"
        }
      }
    },
    "Review": {
      "properties": {
        "reviewId": {
          "type": "string",
          "description": "Unique identifier for this review."
        },
        "comments": {
          "type": "array",
          "items": {
            "$ref": "Comment"
          },
          "description": "A repeated field containing comments for the review."
        },
        "authorName": {
          "type": "string",
          "description": "The name of the user who wrote the review."
        }
      },
      "id": "Review",
      "type": "object",
      "description": "An Android app review."
    },
    "DeveloperComment": {
      "properties": {
        "lastModified": {
          "description": "The last time at which this comment was updated.",
          "$ref": "Timestamp"
        },
        "text": {
          "type": "string",
          "description": "The content of the comment, i.e. reply body."
        }
      },
      "description": "Developer entry from conversation between user and developer.",
      "id": "DeveloperComment",
      "type": "object"
    },
    "TargetingInfo": {
      "properties": {
        "packageName": {
          "type": "string",
          "description": "The package name of this app."
        },
        "variant": {
          "description": "List of the created variants.",
          "type": "array",
          "items": {
            "$ref": "SplitApkVariant"
          }
        },
        "assetSliceSet": {
          "type": "array",
          "items": {
            "$ref": "AssetSliceSet"
          },
          "description": "List of created asset slices."
        }
      },
      "description": "Targeting information about the generated apks.",
      "id": "TargetingInfo",
      "type": "object"
    },
    "Grant": {
      "description": "An access grant resource.",
      "id": "Grant",
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "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."
        },
        "packageName": {
          "description": "Immutable. The package name of the app. This will be empty for draft apps.",
          "type": "string"
        },
        "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."
            ],
            "type": "string",
            "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"
            ]
          }
        }
      }
    },
    "ProductPurchaseV2": {
      "id": "ProductPurchaseV2",
      "type": "object",
      "description": "A ProductPurchaseV2 resource indicates the status of a user's inapp product purchase.",
      "properties": {
        "obfuscatedExternalProfileId": {
          "type": "string",
          "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."
        },
        "productLineItem": {
          "type": "array",
          "items": {
            "$ref": "ProductLineItem"
          },
          "description": "Contains item-level info for a ProductPurchaseV2."
        },
        "purchaseStateContext": {
          "description": "Information about the purchase state of the purchase.",
          "$ref": "PurchaseStateContext"
        },
        "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"
        },
        "kind": {
          "type": "string",
          "description": "This kind represents a ProductPurchaseV2 object in the androidpublisher service."
        },
        "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.",
          "format": "google-datetime",
          "type": "string"
        },
        "acknowledgementState": {
          "enumDescriptions": [
            "Unspecified acknowledgement state.",
            "The purchase is not acknowledged yet.",
            "The purchase is acknowledged."
          ],
          "description": "Output only. The acknowledgement state of the purchase.",
          "readOnly": true,
          "enum": [
            "ACKNOWLEDGEMENT_STATE_UNSPECIFIED",
            "ACKNOWLEDGEMENT_STATE_PENDING",
            "ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED"
          ],
          "type": "string"
        },
        "testPurchaseContext": {
          "description": "Information related to test purchases. This will only be set for test purchases.",
          "$ref": "TestPurchaseContext"
        },
        "regionCode": {
          "type": "string",
          "description": "ISO 3166-1 alpha-2 billing region code of the user at the time the product was granted."
        }
      }
    },
    "DeactivateSubscriptionOfferRequest": {
      "id": "DeactivateSubscriptionOfferRequest",
      "type": "object",
      "description": "Request message for DeactivateSubscriptionOffer.",
      "properties": {
        "offerId": {
          "description": "Required. The unique offer ID of the offer to deactivate.",
          "type": "string"
        },
        "packageName": {
          "description": "Required. The parent app (package name) of the offer to deactivate.",
          "type": "string"
        },
        "latencyTolerance": {
          "type": "string",
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "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 subscription (ID) of the offer to deactivate.",
          "type": "string"
        },
        "basePlanId": {
          "type": "string",
          "description": "Required. The parent base plan (ID) of the offer to deactivate."
        }
      }
    },
    "AllUsers": {
      "properties": {
        "isAllUsersRequested": {
          "type": "boolean",
          "description": "Required. Set to true if all set of users are needed."
        }
      },
      "description": "Object representation to describe all set of users.",
      "id": "AllUsers",
      "type": "object"
    },
    "RegionalSubscriptionOfferPhaseConfig": {
      "description": "Configuration for a single phase of a subscription offer in a single region.",
      "id": "RegionalSubscriptionOfferPhaseConfig",
      "type": "object",
      "properties": {
        "relativeDiscount": {
          "type": "number",
          "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.",
          "format": "double"
        },
        "absoluteDiscount": {
          "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.",
          "$ref": "Money"
        },
        "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": {
          "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.",
          "$ref": "Money"
        }
      }
    },
    "OfferPhase": {
      "description": "Offer phase details.",
      "id": "OfferPhase",
      "type": "object",
      "properties": {
        "introductoryPrice": {
          "description": "Set when the offer phase is an introductory price offer phase.",
          "$ref": "IntroductoryPriceOfferPhase"
        },
        "freeTrial": {
          "description": "Set when the offer phase is a free trial.",
          "$ref": "FreeTrialOfferPhase"
        },
        "prorationPeriod": {
          "description": "Set when the offer phase is a proration period.",
          "$ref": "ProrationPeriodOfferPhase"
        },
        "basePrice": {
          "description": "Set when the offer phase is a base plan pricing phase.",
          "$ref": "BasePriceOfferPhase"
        }
      }
    },
    "ConvertRegionPricesRequest": {
      "id": "ConvertRegionPricesRequest",
      "type": "object",
      "description": "Request message for ConvertRegionPrices.",
      "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"
        }
      }
    },
    "RegionalBasePlanConfig": {
      "id": "RegionalBasePlanConfig",
      "type": "object",
      "description": "Configuration for a base plan specific to a region.",
      "properties": {
        "regionCode": {
          "description": "Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g. \"US\".",
          "type": "string"
        },
        "newSubscriberAvailability": {
          "type": "boolean",
          "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."
        },
        "price": {
          "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.",
          "$ref": "Money"
        }
      }
    },
    "RefundEvent": {
      "properties": {
        "eventTime": {
          "type": "string",
          "description": "The time when the order was fully refunded.",
          "format": "google-datetime"
        },
        "refundReason": {
          "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."
          ],
          "type": "string",
          "description": "The reason the order was refunded.",
          "enum": [
            "REFUND_REASON_UNSPECIFIED",
            "OTHER",
            "CHARGEBACK"
          ]
        },
        "refundDetails": {
          "description": "Details for the full refund.",
          "$ref": "RefundDetails"
        }
      },
      "id": "RefundEvent",
      "type": "object",
      "description": "Details of when the order was fully refunded."
    },
    "DeviceId": {
      "properties": {
        "buildBrand": {
          "type": "string",
          "description": "Value of Build.BRAND."
        },
        "buildDevice": {
          "description": "Value of Build.DEVICE.",
          "type": "string"
        }
      },
      "description": "Identifier of a device.",
      "id": "DeviceId",
      "type": "object"
    },
    "CancellationEvent": {
      "properties": {
        "eventTime": {
          "type": "string",
          "description": "The time when the order was canceled.",
          "format": "google-datetime"
        }
      },
      "description": "Details of when the order was canceled.",
      "id": "CancellationEvent",
      "type": "object"
    },
    "ArtifactSummary": {
      "properties": {
        "versionCode": {
          "type": "integer",
          "description": "Artifact's version code",
          "format": "int32"
        }
      },
      "id": "ArtifactSummary",
      "type": "object",
      "description": "Summary of an artifact."
    },
    "ActivateSubscriptionOfferRequest": {
      "properties": {
        "offerId": {
          "description": "Required. The unique offer ID of the offer to activate.",
          "type": "string"
        },
        "packageName": {
          "description": "Required. The parent app (package name) of the offer to activate.",
          "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."
          ],
          "type": "string",
          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
          "enum": [
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
            "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
          ]
        },
        "productId": {
          "type": "string",
          "description": "Required. The parent subscription (ID) of the offer to activate."
        },
        "basePlanId": {
          "type": "string",
          "description": "Required. The parent base plan (ID) of the offer to activate."
        }
      },
      "id": "ActivateSubscriptionOfferRequest",
      "type": "object",
      "description": "Request message for ActivateSubscriptionOffer."
    },
    "SystemFeature": {
      "id": "SystemFeature",
      "type": "object",
      "description": "Representation of a system feature.",
      "properties": {
        "name": {
          "description": "The name of the feature.",
          "type": "string"
        }
      }
    },
    "ConvertedRegionPrice": {
      "description": "A converted region price.",
      "id": "ConvertedRegionPrice",
      "type": "object",
      "properties": {
        "price": {
          "description": "The converted price tax inclusive.",
          "$ref": "Money"
        },
        "regionCode": {
          "description": "The region code of the region.",
          "type": "string"
        },
        "taxAmount": {
          "description": "The tax amount of the converted price.",
          "$ref": "Money"
        }
      }
    },
    "InGracePeriodStateContext": {
      "properties": {
        "renewalDeclined": {
          "description": "Optional. The payment for the renewal was declined.",
          "$ref": "RenewalDeclinedContext"
        }
      },
      "description": "Additional context around subscriptions in IN_GRACE_PERIOD state.",
      "id": "InGracePeriodStateContext",
      "type": "object"
    },
    "TextureCompressionFormatTargeting": {
      "id": "TextureCompressionFormatTargeting",
      "type": "object",
      "description": "Targeting by a texture compression format.",
      "properties": {
        "value": {
          "type": "array",
          "items": {
            "$ref": "TextureCompressionFormat"
          },
          "description": "The list of targeted TCFs. Should not be empty."
        },
        "alternatives": {
          "type": "array",
          "items": {
            "$ref": "TextureCompressionFormat"
          },
          "description": "List of alternative TCFs (TCFs targeted by the sibling splits)."
        }
      }
    },
    "PurchaseStateContext": {
      "id": "PurchaseStateContext",
      "type": "object",
      "description": "Context about the purchase state.",
      "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."
          ],
          "type": "string",
          "description": "Output only. The purchase state of the purchase.",
          "readOnly": true,
          "enum": [
            "PURCHASE_STATE_UNSPECIFIED",
            "PURCHASED",
            "CANCELLED",
            "PENDING"
          ]
        }
      }
    },
    "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.",
      "id": "AssetSliceSet",
      "type": "object"
    },
    "TargetingRuleScopeAnySubscriptionInApp": {
      "description": "Represents the targeting rule scope corresponding to any subscription in the parent app.",
      "id": "TargetingRuleScopeAnySubscriptionInApp",
      "type": "object",
      "properties": {}
    },
    "BundlesListResponse": {
      "properties": {
        "bundles": {
          "type": "array",
          "items": {
            "$ref": "Bundle"
          },
          "description": "All app bundles."
        },
        "kind": {
          "description": "The kind of this response (\"androidpublisher#bundlesListResponse\").",
          "type": "string"
        }
      },
      "description": "Response listing all app bundles.",
      "id": "BundlesListResponse",
      "type": "object"
    }
  },
  "batchPath": "batch",
  "resources": {
    "externaltransactions": {
      "methods": {
        "refundexternaltransaction": {
          "path": "androidpublisher/v3/{+name}:refund",
          "description": "Refunds or partially refunds an existing external transaction.",
          "request": {
            "$ref": "RefundExternalTransactionRequest"
          },
          "flatPath": "androidpublisher/v3/applications/{applicationsId}/externalTransactions/{externalTransactionsId}:refund",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "httpMethod": "POST",
          "parameters": {
            "name": {
              "pattern": "^applications/[^/]+/externalTransactions/[^/]+$",
              "location": "path",
              "required": true,
              "type": "string",
              "description": "Required. The name of the external transaction that will be refunded. Format: applications/{package_name}/externalTransactions/{external_transaction}"
            }
          },
          "parameterOrder": [
            "name"
          ],
          "id": "androidpublisher.externaltransactions.refundexternaltransaction",
          "response": {
            "$ref": "ExternalTransaction"
          }
        },
        "getexternaltransaction": {
          "response": {
            "$ref": "ExternalTransaction"
          },
          "parameterOrder": [
            "name"
          ],
          "id": "androidpublisher.externaltransactions.getexternaltransaction",
          "httpMethod": "GET",
          "parameters": {
            "name": {
              "type": "string",
              "description": "Required. The name of the external transaction to retrieve. Format: applications/{package_name}/externalTransactions/{external_transaction}",
              "required": true,
              "pattern": "^applications/[^/]+/externalTransactions/[^/]+$",
              "location": "path"
            }
          },
          "flatPath": "androidpublisher/v3/applications/{applicationsId}/externalTransactions/{externalTransactionsId}",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "description": "Gets an existing external transaction.",
          "path": "androidpublisher/v3/{+name}"
        },
        "createexternaltransaction": {
          "flatPath": "androidpublisher/v3/applications/{applicationsId}/externalTransactions",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "request": {
            "$ref": "ExternalTransaction"
          },
          "description": "Creates a new external transaction.",
          "path": "androidpublisher/v3/{+parent}/externalTransactions",
          "response": {
            "$ref": "ExternalTransaction"
          },
          "id": "androidpublisher.externaltransactions.createexternaltransaction",
          "parameterOrder": [
            "parent"
          ],
          "httpMethod": "POST",
          "parameters": {
            "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"
            },
            "parent": {
              "description": "Required. The parent resource where this external transaction will be created. Format: applications/{package_name}",
              "type": "string",
              "pattern": "^applications/[^/]+$",
              "location": "path",
              "required": true
            }
          }
        }
      }
    },
    "users": {
      "methods": {
        "delete": {
          "flatPath": "androidpublisher/v3/developers/{developersId}/users/{usersId}",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameterOrder": [
            "name"
          ],
          "description": "Removes all access for the user to the given developer account.",
          "id": "androidpublisher.users.delete",
          "path": "androidpublisher/v3/{+name}",
          "httpMethod": "DELETE",
          "parameters": {
            "name": {
              "required": true,
              "pattern": "^developers/[^/]+/users/[^/]+$",
              "location": "path",
              "description": "Required. The name of the user to delete. Format: developers/{developer}/users/{email}",
              "type": "string"
            }
          }
        },
        "list": {
          "response": {
            "$ref": "ListUsersResponse"
          },
          "id": "androidpublisher.users.list",
          "parameterOrder": [
            "parent"
          ],
          "httpMethod": "GET",
          "parameters": {
            "pageSize": {
              "type": "integer",
              "description": "The maximum number of results to return. This must be set to -1 to disable pagination.",
              "location": "query",
              "format": "int32"
            },
            "parent": {
              "pattern": "^developers/[^/]+$",
              "location": "path",
              "required": true,
              "type": "string",
              "description": "Required. The developer account to fetch users from. Format: developers/{developer}"
            },
            "pageToken": {
              "type": "string",
              "description": "A token received from a previous call to this method, in order to retrieve further results.",
              "location": "query"
            }
          },
          "flatPath": "androidpublisher/v3/developers/{developersId}/users",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "description": "Lists all users with access to a developer account.",
          "path": "androidpublisher/v3/{+parent}/users"
        },
        "create": {
          "response": {
            "$ref": "User"
          },
          "id": "androidpublisher.users.create",
          "parameterOrder": [
            "parent"
          ],
          "httpMethod": "POST",
          "parameters": {
            "parent": {
              "description": "Required. The developer account to add the user to. Format: developers/{developer}",
              "type": "string",
              "required": true,
              "pattern": "^developers/[^/]+$",
              "location": "path"
            }
          },
          "flatPath": "androidpublisher/v3/developers/{developersId}/users",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "request": {
            "$ref": "User"
          },
          "description": "Grant access for a user to the given developer account.",
          "path": "androidpublisher/v3/{+parent}/users"
        },
        "patch": {
          "parameterOrder": [
            "name"
          ],
          "id": "androidpublisher.users.patch",
          "httpMethod": "PATCH",
          "parameters": {
            "name": {
              "required": true,
              "pattern": "^developers/[^/]+/users/[^/]+$",
              "location": "path",
              "description": "Required. Resource name for this user, following the pattern \"developers/{developer}/users/{email}\".",
              "type": "string"
            },
            "updateMask": {
              "description": "Optional. The list of fields to be updated.",
              "location": "query",
              "format": "google-fieldmask",
              "type": "string"
            }
          },
          "response": {
            "$ref": "User"
          },
          "description": "Updates access for the user to the developer account.",
          "path": "androidpublisher/v3/{+name}",
          "request": {
            "$ref": "User"
          },
          "flatPath": "androidpublisher/v3/developers/{developersId}/users/{usersId}",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ]
        }
      }
    },
    "applications": {
      "methods": {
        "dataSafety": {
          "httpMethod": "POST",
          "parameters": {
            "packageName": {
              "description": "Required. Package name of the app.",
              "location": "path",
              "type": "string",
              "required": true
            }
          },
          "parameterOrder": [
            "packageName"
          ],
          "id": "androidpublisher.applications.dataSafety",
          "response": {
            "$ref": "SafetyLabelsUpdateResponse"
          },
          "path": "androidpublisher/v3/applications/{packageName}/dataSafety",
          "description": "Writes the Safety Labels declaration of an app.",
          "request": {
            "$ref": "SafetyLabelsUpdateRequest"
          },
          "flatPath": "androidpublisher/v3/applications/{packageName}/dataSafety",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ]
        }
      },
      "resources": {
        "deviceTierConfigs": {
          "methods": {
            "create": {
              "request": {
                "$ref": "DeviceTierConfig"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/deviceTierConfigs",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "description": "Creates a new device tier config for an app.",
              "path": "androidpublisher/v3/applications/{packageName}/deviceTierConfigs",
              "response": {
                "$ref": "DeviceTierConfig"
              },
              "parameterOrder": [
                "packageName"
              ],
              "id": "androidpublisher.applications.deviceTierConfigs.create",
              "httpMethod": "POST",
              "parameters": {
                "packageName": {
                  "required": true,
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path"
                },
                "allowUnknownDevices": {
                  "type": "boolean",
                  "description": "Whether the service should accept device IDs that are unknown to Play's device catalog.",
                  "location": "query"
                }
              }
            },
            "list": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/deviceTierConfigs",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/deviceTierConfigs",
              "description": "Returns created device tier configs, ordered by descending creation time.",
              "response": {
                "$ref": "ListDeviceTierConfigsResponse"
              },
              "httpMethod": "GET",
              "parameters": {
                "packageName": {
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path",
                  "required": true
                },
                "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",
                  "format": "int32",
                  "type": "integer"
                },
                "pageToken": {
                  "type": "string",
                  "description": "A page token, received from a previous `ListDeviceTierConfigs` call. Provide this to retrieve the subsequent page.",
                  "location": "query"
                }
              },
              "id": "androidpublisher.applications.deviceTierConfigs.list",
              "parameterOrder": [
                "packageName"
              ]
            },
            "get": {
              "response": {
                "$ref": "DeviceTierConfig"
              },
              "httpMethod": "GET",
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "deviceTierConfigId": {
                  "location": "path",
                  "format": "int64",
                  "required": true,
                  "type": "string",
                  "description": "Required. Id of an existing device tier config."
                }
              },
              "parameterOrder": [
                "packageName",
                "deviceTierConfigId"
              ],
              "id": "androidpublisher.applications.deviceTierConfigs.get",
              "flatPath": "androidpublisher/v3/applications/{packageName}/deviceTierConfigs/{deviceTierConfigId}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/deviceTierConfigs/{deviceTierConfigId}",
              "description": "Returns a particular device tier config."
            }
          }
        },
        "tracks": {
          "resources": {
            "releases": {
              "methods": {
                "list": {
                  "flatPath": "androidpublisher/v3/applications/{applicationsId}/tracks/{tracksId}/releases",
                  "scopes": [
                    "https://www.googleapis.com/auth/androidpublisher"
                  ],
                  "path": "androidpublisher/v3/{+parent}/releases",
                  "description": "Returns the list of all releases for a given track. This excludes any releases that are obsolete.",
                  "response": {
                    "$ref": "ListReleaseSummariesResponse"
                  },
                  "httpMethod": "GET",
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent track, which owns this collection of releases. Format: applications/{package_name}/tracks/{track}",
                      "type": "string",
                      "required": true,
                      "pattern": "^applications/[^/]+/tracks/[^/]+$",
                      "location": "path"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "id": "androidpublisher.applications.tracks.releases.list"
                }
              }
            }
          }
        }
      }
    },
    "purchases": {
      "resources": {
        "voidedpurchases": {
          "methods": {
            "list": {
              "response": {
                "$ref": "VoidedPurchasesListResponse"
              },
              "parameterOrder": [
                "packageName"
              ],
              "id": "androidpublisher.purchases.voidedpurchases.list",
              "httpMethod": "GET",
              "parameters": {
                "maxResults": {
                  "type": "integer",
                  "description": "Defines how many results the list operation should return. The default number depends on the resource collection.",
                  "location": "query",
                  "format": "uint32"
                },
                "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",
                  "format": "int32",
                  "type": "integer"
                },
                "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"
                },
                "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",
                  "format": "int64",
                  "type": "string"
                },
                "packageName": {
                  "type": "string",
                  "description": "The package name of the application for which voided purchases need to be returned (for example, 'com.some.thing').",
                  "location": "path",
                  "required": true
                },
                "startIndex": {
                  "type": "integer",
                  "description": "Defines the index of the first element to return. This can only be used if indexed paging is enabled.",
                  "location": "query",
                  "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"
                },
                "endTime": {
                  "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",
                  "format": "int64",
                  "type": "string"
                }
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/voidedpurchases",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "description": "Lists the purchases that were canceled, refunded or charged-back.",
              "path": "androidpublisher/v3/applications/{packageName}/purchases/voidedpurchases"
            }
          }
        },
        "products": {
          "methods": {
            "acknowledge": {
              "request": {
                "$ref": "ProductPurchasesAcknowledgeRequest"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "description": "Acknowledges a purchase of an inapp item.",
              "path": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge",
              "parameterOrder": [
                "packageName",
                "productId",
                "token"
              ],
              "id": "androidpublisher.purchases.products.acknowledge",
              "httpMethod": "POST",
              "parameters": {
                "token": {
                  "required": true,
                  "type": "string",
                  "description": "The token provided to the user's device when the inapp product was purchased.",
                  "location": "path"
                },
                "productId": {
                  "required": true,
                  "description": "The inapp product SKU (for example, 'com.some.thing.inapp1').",
                  "location": "path",
                  "type": "string"
                },
                "packageName": {
                  "description": "The package name of the application the inapp product was sold in (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              }
            },
            "get": {
              "response": {
                "$ref": "ProductPurchase"
              },
              "httpMethod": "GET",
              "parameters": {
                "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"
                },
                "packageName": {
                  "description": "The package name of the application the inapp product was sold in (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "id": "androidpublisher.purchases.products.get",
              "parameterOrder": [
                "packageName",
                "productId",
                "token"
              ],
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}",
              "description": "Checks the purchase and consumption status of an inapp item."
            },
            "consume": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:consume",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:consume",
              "httpMethod": "POST",
              "parameters": {
                "productId": {
                  "required": true,
                  "description": "The inapp product SKU (for example, 'com.some.thing.inapp1').",
                  "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"
                },
                "packageName": {
                  "description": "The package name of the application the inapp product was sold in (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "id": "androidpublisher.purchases.products.consume",
              "parameterOrder": [
                "packageName",
                "productId",
                "token"
              ],
              "description": "Consumes a purchase for an inapp item."
            }
          }
        },
        "productsv2": {
          "methods": {
            "getproductpurchasev2": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/productsv2/tokens/{token}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "description": "Checks the purchase and consumption status of an inapp item.",
              "path": "androidpublisher/v3/applications/{packageName}/purchases/productsv2/tokens/{token}",
              "response": {
                "$ref": "ProductPurchaseV2"
              },
              "id": "androidpublisher.purchases.productsv2.getproductpurchasev2",
              "parameterOrder": [
                "packageName",
                "token"
              ],
              "httpMethod": "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"
                },
                "token": {
                  "description": "The token provided to the user's device when the inapp product was purchased.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              }
            }
          }
        },
        "subscriptions": {
          "methods": {
            "cancel": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "deprecated": true,
              "description": "Deprecated: Use purchases.subscriptionsv2.cancel instead. 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.",
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel",
              "id": "androidpublisher.purchases.subscriptions.cancel",
              "parameterOrder": [
                "packageName",
                "subscriptionId",
                "token"
              ],
              "httpMethod": "POST",
              "parameters": {
                "packageName": {
                  "required": true,
                  "type": "string",
                  "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
                  "location": "path"
                },
                "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": {
                  "required": true,
                  "type": "string",
                  "description": "The token provided to the user's device when the subscription was purchased.",
                  "location": "path"
                }
              }
            },
            "defer": {
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer",
              "deprecated": true,
              "description": "Deprecated: Use purchases.subscriptionsv2.defer instead. Defers a user's subscription purchase until a specified future expiration time.",
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "request": {
                "$ref": "SubscriptionPurchasesDeferRequest"
              },
              "httpMethod": "POST",
              "parameters": {
                "subscriptionId": {
                  "description": "The purchased subscription ID (for example, 'monthly001').",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "token": {
                  "type": "string",
                  "description": "The token provided to the user's device when the subscription was purchased.",
                  "location": "path",
                  "required": true
                },
                "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"
                }
              },
              "id": "androidpublisher.purchases.subscriptions.defer",
              "parameterOrder": [
                "packageName",
                "subscriptionId",
                "token"
              ],
              "response": {
                "$ref": "SubscriptionPurchasesDeferResponse"
              }
            },
            "refund": {
              "deprecated": true,
              "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.",
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund",
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameterOrder": [
                "packageName",
                "subscriptionId",
                "token"
              ],
              "id": "androidpublisher.purchases.subscriptions.refund",
              "httpMethod": "POST",
              "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": {
                  "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"
                }
              }
            },
            "acknowledge": {
              "id": "androidpublisher.purchases.subscriptions.acknowledge",
              "parameterOrder": [
                "packageName",
                "subscriptionId",
                "token"
              ],
              "httpMethod": "POST",
              "parameters": {
                "packageName": {
                  "required": true,
                  "type": "string",
                  "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
                  "location": "path"
                },
                "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
                }
              },
              "description": "Acknowledges a subscription purchase.",
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge",
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "request": {
                "$ref": "SubscriptionPurchasesAcknowledgeRequest"
              }
            },
            "revoke": {
              "httpMethod": "POST",
              "parameters": {
                "packageName": {
                  "type": "string",
                  "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
                  "location": "path",
                  "required": true
                },
                "subscriptionId": {
                  "required": true,
                  "type": "string",
                  "description": "The purchased subscription ID (for example, 'monthly001').",
                  "location": "path"
                },
                "token": {
                  "type": "string",
                  "description": "The token provided to the user's device when the subscription was purchased.",
                  "location": "path",
                  "required": true
                }
              },
              "id": "androidpublisher.purchases.subscriptions.revoke",
              "parameterOrder": [
                "packageName",
                "subscriptionId",
                "token"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke",
              "deprecated": 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.",
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ]
            },
            "get": {
              "response": {
                "$ref": "SubscriptionPurchase"
              },
              "id": "androidpublisher.purchases.subscriptions.get",
              "parameterOrder": [
                "packageName",
                "subscriptionId",
                "token"
              ],
              "httpMethod": "GET",
              "parameters": {
                "packageName": {
                  "type": "string",
                  "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
                  "location": "path",
                  "required": true
                },
                "subscriptionId": {
                  "required": true,
                  "type": "string",
                  "description": "The purchased subscription ID (for example, 'monthly001').",
                  "location": "path"
                },
                "token": {
                  "type": "string",
                  "description": "The token provided to the user's device when the subscription was purchased.",
                  "location": "path",
                  "required": true
                }
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "deprecated": true,
              "description": "Deprecated: Use purchases.subscriptionsv2.get instead. Checks whether a user's subscription purchase is valid and returns its expiry time.",
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}"
            }
          }
        },
        "subscriptionsv2": {
          "methods": {
            "revoke": {
              "description": "Revoke a subscription purchase for the user.",
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:revoke",
              "request": {
                "$ref": "RevokeSubscriptionPurchaseRequest"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:revoke",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameterOrder": [
                "packageName",
                "token"
              ],
              "id": "androidpublisher.purchases.subscriptionsv2.revoke",
              "httpMethod": "POST",
              "parameters": {
                "packageName": {
                  "description": "Required. The package of the application for which this subscription was purchased (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "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"
              }
            },
            "cancel": {
              "response": {
                "$ref": "CancelSubscriptionPurchaseResponse"
              },
              "id": "androidpublisher.purchases.subscriptionsv2.cancel",
              "parameterOrder": [
                "packageName",
                "token"
              ],
              "httpMethod": "POST",
              "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": {
                  "type": "string",
                  "description": "Required. The token provided to the user's device when the subscription was purchased.",
                  "location": "path",
                  "required": true
                }
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:cancel",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "request": {
                "$ref": "CancelSubscriptionPurchaseRequest"
              },
              "description": "Cancel a subscription purchase for the user.",
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:cancel"
            },
            "defer": {
              "response": {
                "$ref": "DeferSubscriptionPurchaseResponse"
              },
              "httpMethod": "POST",
              "parameters": {
                "packageName": {
                  "description": "Required. 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"
                }
              },
              "id": "androidpublisher.purchases.subscriptionsv2.defer",
              "parameterOrder": [
                "packageName",
                "token"
              ],
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:defer",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "request": {
                "$ref": "DeferSubscriptionPurchaseRequest"
              },
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:defer",
              "description": "Defers the renewal of a subscription."
            },
            "get": {
              "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}",
              "description": "Get metadata about a subscription",
              "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "httpMethod": "GET",
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "The package of the application for which this subscription was purchased (for example, 'com.some.thing').",
                  "location": "path",
                  "type": "string"
                },
                "token": {
                  "required": true,
                  "description": "Required. The token provided to the user's device when the subscription was purchased.",
                  "location": "path",
                  "type": "string"
                }
              },
              "parameterOrder": [
                "packageName",
                "token"
              ],
              "id": "androidpublisher.purchases.subscriptionsv2.get",
              "response": {
                "$ref": "SubscriptionPurchaseV2"
              }
            }
          }
        }
      }
    },
    "inappproducts": {
      "methods": {
        "delete": {
          "id": "androidpublisher.inappproducts.delete",
          "parameterOrder": [
            "packageName",
            "sku"
          ],
          "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.",
          "path": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
          "httpMethod": "DELETE",
          "parameters": {
            "sku": {
              "required": true,
              "description": "Unique identifier for the in-app product.",
              "location": "path",
              "type": "string"
            },
            "latencyTolerance": {
              "location": "query",
              "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."
              ],
              "type": "string",
              "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
              "enum": [
                "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
                "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
                "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
              ]
            },
            "packageName": {
              "required": true,
              "type": "string",
              "description": "Package name of the app.",
              "location": "path"
            }
          },
          "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ]
        },
        "list": {
          "path": "androidpublisher/v3/applications/{packageName}/inappproducts",
          "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.",
          "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "httpMethod": "GET",
          "parameters": {
            "token": {
              "type": "string",
              "description": "Pagination token. If empty, list starts at the first product.",
              "location": "query"
            },
            "maxResults": {
              "location": "query",
              "format": "uint32",
              "description": "Deprecated and ignored. The page size is determined by the server.",
              "deprecated": true,
              "type": "integer"
            },
            "packageName": {
              "description": "Package name of the app.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "startIndex": {
              "location": "query",
              "format": "uint32",
              "description": "Deprecated and ignored. Set the `token` parameter to retrieve the next page.",
              "deprecated": true,
              "type": "integer"
            }
          },
          "id": "androidpublisher.inappproducts.list",
          "parameterOrder": [
            "packageName"
          ],
          "response": {
            "$ref": "InappproductsListResponse"
          }
        },
        "batchGet": {
          "response": {
            "$ref": "InappproductsBatchGetResponse"
          },
          "id": "androidpublisher.inappproducts.batchGet",
          "parameterOrder": [
            "packageName"
          ],
          "httpMethod": "GET",
          "parameters": {
            "sku": {
              "type": "string",
              "description": "Unique identifier for the in-app products.",
              "location": "query",
              "repeated": true
            },
            "packageName": {
              "required": true,
              "type": "string",
              "description": "Package name of the app.",
              "location": "path"
            }
          },
          "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts:batchGet",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "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.",
          "path": "androidpublisher/v3/applications/{packageName}/inappproducts:batchGet"
        },
        "patch": {
          "response": {
            "$ref": "InAppProduct"
          },
          "id": "androidpublisher.inappproducts.patch",
          "parameterOrder": [
            "packageName",
            "sku"
          ],
          "httpMethod": "PATCH",
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            },
            "sku": {
              "required": true,
              "type": "string",
              "description": "Unique identifier for the in-app product.",
              "location": "path"
            },
            "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."
              ],
              "location": "query",
              "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
              "enum": [
                "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
                "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
                "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
              ],
              "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"
            }
          },
          "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "request": {
            "$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.",
          "path": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}"
        },
        "get": {
          "path": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
          "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.",
          "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "httpMethod": "GET",
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            },
            "sku": {
              "required": true,
              "type": "string",
              "description": "Unique identifier for the in-app product.",
              "location": "path"
            }
          },
          "parameterOrder": [
            "packageName",
            "sku"
          ],
          "id": "androidpublisher.inappproducts.get",
          "response": {
            "$ref": "InAppProduct"
          }
        },
        "batchUpdate": {
          "response": {
            "$ref": "InappproductsBatchUpdateResponse"
          },
          "id": "androidpublisher.inappproducts.batchUpdate",
          "parameterOrder": [
            "packageName"
          ],
          "httpMethod": "POST",
          "parameters": {
            "packageName": {
              "type": "string",
              "description": "Package name of the app.",
              "location": "path",
              "required": true
            }
          },
          "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts:batchUpdate",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "request": {
            "$ref": "InappproductsBatchUpdateRequest"
          },
          "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.",
          "path": "androidpublisher/v3/applications/{packageName}/inappproducts:batchUpdate"
        },
        "update": {
          "id": "androidpublisher.inappproducts.update",
          "parameterOrder": [
            "packageName",
            "sku"
          ],
          "httpMethod": "PUT",
          "parameters": {
            "sku": {
              "required": true,
              "type": "string",
              "description": "Unique identifier for the in-app product.",
              "location": "path"
            },
            "latencyTolerance": {
              "location": "query",
              "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.",
              "enum": [
                "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
                "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
                "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
              ],
              "type": "string"
            },
            "packageName": {
              "required": true,
              "type": "string",
              "description": "Package name of the app.",
              "location": "path"
            },
            "autoConvertMissingPrices": {
              "type": "boolean",
              "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"
            },
            "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.",
          "path": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
          "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "request": {
            "$ref": "InAppProduct"
          }
        },
        "insert": {
          "httpMethod": "POST",
          "parameters": {
            "packageName": {
              "description": "Package name of the app.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "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"
            }
          },
          "id": "androidpublisher.inappproducts.insert",
          "parameterOrder": [
            "packageName"
          ],
          "response": {
            "$ref": "InAppProduct"
          },
          "path": "androidpublisher/v3/applications/{packageName}/inappproducts",
          "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.",
          "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "request": {
            "$ref": "InAppProduct"
          }
        },
        "batchDelete": {
          "request": {
            "$ref": "InappproductsBatchDeleteRequest"
          },
          "flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts:batchDelete",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "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.",
          "path": "androidpublisher/v3/applications/{packageName}/inappproducts:batchDelete",
          "parameterOrder": [
            "packageName"
          ],
          "id": "androidpublisher.inappproducts.batchDelete",
          "httpMethod": "POST",
          "parameters": {
            "packageName": {
              "required": true,
              "type": "string",
              "description": "Package name of the app.",
              "location": "path"
            }
          }
        }
      }
    },
    "internalappsharingartifacts": {
      "methods": {
        "uploadapk": {
          "httpMethod": "POST",
          "parameters": {
            "packageName": {
              "required": true,
              "type": "string",
              "description": "Package name of the app.",
              "location": "path"
            }
          },
          "supportsMediaUpload": true,
          "id": "androidpublisher.internalappsharingartifacts.uploadapk",
          "parameterOrder": [
            "packageName"
          ],
          "response": {
            "$ref": "InternalAppSharingArtifact"
          },
          "path": "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"
            ]
          },
          "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.",
          "flatPath": "androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ]
        },
        "uploadbundle": {
          "response": {
            "$ref": "InternalAppSharingArtifact"
          },
          "httpMethod": "POST",
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            }
          },
          "supportsMediaUpload": true,
          "id": "androidpublisher.internalappsharingartifacts.uploadbundle",
          "parameterOrder": [
            "packageName"
          ],
          "flatPath": "androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "path": "androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle",
          "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"
            ]
          },
          "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."
        }
      }
    },
    "systemapks": {
      "resources": {
        "variants": {
          "methods": {
            "create": {
              "path": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants",
              "description": "Creates an APK which is suitable for inclusion in a system image from an already uploaded Android App Bundle.",
              "request": {
                "$ref": "Variant"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "httpMethod": "POST",
              "parameters": {
                "packageName": {
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path",
                  "required": true
                },
                "versionCode": {
                  "required": true,
                  "location": "path",
                  "format": "int64",
                  "type": "string",
                  "description": "The version code of the App Bundle."
                }
              },
              "parameterOrder": [
                "packageName",
                "versionCode"
              ],
              "id": "androidpublisher.systemapks.variants.create",
              "response": {
                "$ref": "Variant"
              }
            },
            "list": {
              "response": {
                "$ref": "SystemApksListResponse"
              },
              "httpMethod": "GET",
              "parameters": {
                "packageName": {
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path",
                  "required": true
                },
                "versionCode": {
                  "description": "The version code of the App Bundle.",
                  "type": "string",
                  "required": true,
                  "location": "path",
                  "format": "int64"
                }
              },
              "parameterOrder": [
                "packageName",
                "versionCode"
              ],
              "id": "androidpublisher.systemapks.variants.list",
              "flatPath": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants",
              "description": "Returns the list of previously created system APK variants."
            },
            "download": {
              "useMediaDownloadService": true,
              "flatPath": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "description": "Downloads a previously created system APK which is suitable for inclusion in a system image.",
              "path": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download",
              "supportsMediaDownload": true,
              "parameterOrder": [
                "packageName",
                "versionCode",
                "variantId"
              ],
              "id": "androidpublisher.systemapks.variants.download",
              "httpMethod": "GET",
              "parameters": {
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "versionCode": {
                  "type": "string",
                  "description": "The version code of the App Bundle.",
                  "required": true,
                  "location": "path",
                  "format": "int64"
                },
                "variantId": {
                  "required": true,
                  "location": "path",
                  "format": "uint32",
                  "description": "The ID of a previously created system APK variant.",
                  "type": "integer"
                }
              }
            },
            "get": {
              "path": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}",
              "description": "Returns a previously created system APK variant.",
              "flatPath": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "httpMethod": "GET",
              "parameters": {
                "versionCode": {
                  "location": "path",
                  "format": "int64",
                  "required": true,
                  "type": "string",
                  "description": "The version code of the App Bundle."
                },
                "variantId": {
                  "description": "The ID of a previously created system APK variant.",
                  "type": "integer",
                  "required": true,
                  "location": "path",
                  "format": "uint32"
                },
                "packageName": {
                  "required": true,
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path"
                }
              },
              "id": "androidpublisher.systemapks.variants.get",
              "parameterOrder": [
                "packageName",
                "versionCode",
                "variantId"
              ],
              "response": {
                "$ref": "Variant"
              }
            }
          }
        }
      }
    },
    "edits": {
      "methods": {
        "validate": {
          "description": "Validates an app edit.",
          "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}:validate",
          "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}:validate",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "parameterOrder": [
            "packageName",
            "editId"
          ],
          "id": "androidpublisher.edits.validate",
          "httpMethod": "POST",
          "parameters": {
            "packageName": {
              "description": "Package name of the app.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "editId": {
              "type": "string",
              "description": "Identifier of the edit.",
              "location": "path",
              "required": true
            }
          },
          "response": {
            "$ref": "AppEdit"
          }
        },
        "insert": {
          "flatPath": "androidpublisher/v3/applications/{packageName}/edits",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "request": {
            "$ref": "AppEdit"
          },
          "description": "Creates a new edit for an app.",
          "path": "androidpublisher/v3/applications/{packageName}/edits",
          "response": {
            "$ref": "AppEdit"
          },
          "id": "androidpublisher.edits.insert",
          "parameterOrder": [
            "packageName"
          ],
          "httpMethod": "POST",
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            }
          }
        },
        "commit": {
          "httpMethod": "POST",
          "parameters": {
            "editId": {
              "required": true,
              "type": "string",
              "description": "Identifier of the edit.",
              "location": "path"
            },
            "changesInReviewBehavior": {
              "location": "query",
              "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."
              ],
              "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.",
              "enum": [
                "CHANGES_IN_REVIEW_BEHAVIOR_TYPE_UNSPECIFIED",
                "CANCEL_IN_REVIEW_AND_SUBMIT",
                "ERROR_IF_IN_REVIEW"
              ],
              "type": "string"
            },
            "packageName": {
              "required": true,
              "type": "string",
              "description": "Package name of the app.",
              "location": "path"
            },
            "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"
            }
          },
          "parameterOrder": [
            "packageName",
            "editId"
          ],
          "id": "androidpublisher.edits.commit",
          "response": {
            "$ref": "AppEdit"
          },
          "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}:commit",
          "description": "Commits an app edit.",
          "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}:commit",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ]
        },
        "get": {
          "httpMethod": "GET",
          "parameters": {
            "packageName": {
              "description": "Package name of the app.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "editId": {
              "required": true,
              "type": "string",
              "description": "Identifier of the edit.",
              "location": "path"
            }
          },
          "id": "androidpublisher.edits.get",
          "parameterOrder": [
            "packageName",
            "editId"
          ],
          "response": {
            "$ref": "AppEdit"
          },
          "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}",
          "description": "Gets an app edit.",
          "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ]
        },
        "delete": {
          "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}",
          "httpMethod": "DELETE",
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            },
            "editId": {
              "required": true,
              "type": "string",
              "description": "Identifier of the edit.",
              "location": "path"
            }
          },
          "id": "androidpublisher.edits.delete",
          "parameterOrder": [
            "packageName",
            "editId"
          ],
          "description": "Deletes an app edit."
        }
      },
      "resources": {
        "bundles": {
          "methods": {
            "list": {
              "response": {
                "$ref": "BundlesListResponse"
              },
              "id": "androidpublisher.edits.bundles.list",
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "httpMethod": "GET",
              "parameters": {
                "packageName": {
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path",
                  "required": true
                },
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                }
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "description": "Lists all current Android App Bundles of the app and edit.",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles"
            },
            "upload": {
              "response": {
                "$ref": "Bundle"
              },
              "id": "androidpublisher.edits.bundles.upload",
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "httpMethod": "POST",
              "parameters": {
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "ackBundleInstallationWarning": {
                  "type": "boolean",
                  "description": "Deprecated. The installation warning has been removed, it's not necessary to set this field anymore.",
                  "location": "query",
                  "deprecated": 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"
                },
                "editId": {
                  "required": true,
                  "type": "string",
                  "description": "Identifier of the edit.",
                  "location": "path"
                }
              },
              "supportsMediaUpload": true,
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "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"
                ]
              },
              "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.",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles"
            }
          }
        },
        "images": {
          "methods": {
            "list": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
              "description": "Lists all images. The response may be empty.",
              "response": {
                "$ref": "ImagesListResponse"
              },
              "httpMethod": "GET",
              "parameters": {
                "imageType": {
                  "enumDescriptions": [
                    "Unspecified type. Do not use.",
                    "Phone screenshot.",
                    "Seven inch screenshot.",
                    "Ten inch screenshot.",
                    "TV screenshot.",
                    "Wear screenshot.",
                    "Icon.",
                    "Feature graphic.",
                    "TV banner."
                  ],
                  "required": true,
                  "location": "path",
                  "type": "string",
                  "description": "Type of the Image. Providing an image type that refers to no images will return an empty response.",
                  "enum": [
                    "appImageTypeUnspecified",
                    "phoneScreenshots",
                    "sevenInchScreenshots",
                    "tenInchScreenshots",
                    "tvScreenshots",
                    "wearScreenshots",
                    "icon",
                    "featureGraphic",
                    "tvBanner"
                  ]
                },
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                },
                "packageName": {
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path",
                  "required": true
                },
                "language": {
                  "type": "string",
                  "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",
                  "required": true
                }
              },
              "parameterOrder": [
                "packageName",
                "editId",
                "language",
                "imageType"
              ],
              "id": "androidpublisher.edits.images.list"
            },
            "deleteall": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
              "description": "Deletes all images for the specified language and image type. Returns an empty response if no images are found.",
              "response": {
                "$ref": "ImagesDeleteAllResponse"
              },
              "httpMethod": "DELETE",
              "parameters": {
                "packageName": {
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path",
                  "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"
                },
                "imageType": {
                  "location": "path",
                  "required": true,
                  "enumDescriptions": [
                    "Unspecified type. Do not use.",
                    "Phone screenshot.",
                    "Seven inch screenshot.",
                    "Ten inch screenshot.",
                    "TV screenshot.",
                    "Wear screenshot.",
                    "Icon.",
                    "Feature graphic.",
                    "TV banner."
                  ],
                  "description": "Type of the Image. Providing an image type that refers to no images is a no-op.",
                  "enum": [
                    "appImageTypeUnspecified",
                    "phoneScreenshots",
                    "sevenInchScreenshots",
                    "tenInchScreenshots",
                    "tvScreenshots",
                    "wearScreenshots",
                    "icon",
                    "featureGraphic",
                    "tvBanner"
                  ],
                  "type": "string"
                },
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "id": "androidpublisher.edits.images.deleteall",
              "parameterOrder": [
                "packageName",
                "editId",
                "language",
                "imageType"
              ]
            },
            "upload": {
              "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/*"
                ]
              },
              "description": "Uploads an image of the specified language and image type, and adds to the edit.",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "httpMethod": "POST",
              "parameters": {
                "imageType": {
                  "location": "path",
                  "enumDescriptions": [
                    "Unspecified type. Do not use.",
                    "Phone screenshot.",
                    "Seven inch screenshot.",
                    "Ten inch screenshot.",
                    "TV screenshot.",
                    "Wear screenshot.",
                    "Icon.",
                    "Feature graphic.",
                    "TV banner."
                  ],
                  "required": true,
                  "type": "string",
                  "description": "Type of the Image.",
                  "enum": [
                    "appImageTypeUnspecified",
                    "phoneScreenshots",
                    "sevenInchScreenshots",
                    "tenInchScreenshots",
                    "tvScreenshots",
                    "wearScreenshots",
                    "icon",
                    "featureGraphic",
                    "tvBanner"
                  ]
                },
                "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
                },
                "aiGeneratedState": {
                  "enumDescriptions": [
                    "Catch-all for unrecognized enum values. See go/protodosdonts.",
                    "The content is not generated by AI.",
                    "The content is generated by AI and attested by the developer."
                  ],
                  "location": "query",
                  "type": "string",
                  "description": "Optional. Whether the image was generated by AI. Attested by the developer.",
                  "enum": [
                    "aiGeneratedStateUnspecified",
                    "aiGeneratedStateNotAiGenerated",
                    "aiGeneratedStateAiGeneratedDeveloperAttested"
                  ]
                },
                "editId": {
                  "required": true,
                  "type": "string",
                  "description": "Identifier of the edit.",
                  "location": "path"
                },
                "packageName": {
                  "required": true,
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path"
                }
              },
              "supportsMediaUpload": true,
              "id": "androidpublisher.edits.images.upload",
              "parameterOrder": [
                "packageName",
                "editId",
                "language",
                "imageType"
              ],
              "response": {
                "$ref": "ImagesUploadResponse"
              }
            },
            "delete": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}",
              "httpMethod": "DELETE",
              "parameters": {
                "imageType": {
                  "enumDescriptions": [
                    "Unspecified type. Do not use.",
                    "Phone screenshot.",
                    "Seven inch screenshot.",
                    "Ten inch screenshot.",
                    "TV screenshot.",
                    "Wear screenshot.",
                    "Icon.",
                    "Feature graphic.",
                    "TV banner."
                  ],
                  "required": true,
                  "location": "path",
                  "type": "string",
                  "description": "Type of the Image.",
                  "enum": [
                    "appImageTypeUnspecified",
                    "phoneScreenshots",
                    "sevenInchScreenshots",
                    "tenInchScreenshots",
                    "tvScreenshots",
                    "wearScreenshots",
                    "icon",
                    "featureGraphic",
                    "tvBanner"
                  ]
                },
                "language": {
                  "required": true,
                  "type": "string",
                  "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German).",
                  "location": "path"
                },
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "imageId": {
                  "required": true,
                  "description": "Unique identifier an image within the set of images attached to this edit.",
                  "location": "path",
                  "type": "string"
                },
                "packageName": {
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path",
                  "required": true
                }
              },
              "id": "androidpublisher.edits.images.delete",
              "parameterOrder": [
                "packageName",
                "editId",
                "language",
                "imageType",
                "imageId"
              ],
              "description": "Deletes the image (specified by id) from the edit."
            }
          }
        },
        "expansionfiles": {
          "methods": {
            "patch": {
              "request": {
                "$ref": "ExpansionFile"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
              "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.",
              "response": {
                "$ref": "ExpansionFile"
              },
              "httpMethod": "PATCH",
              "parameters": {
                "packageName": {
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path",
                  "required": true
                },
                "apkVersionCode": {
                  "description": "The version code of the APK whose expansion file configuration is being read or modified.",
                  "type": "integer",
                  "required": true,
                  "location": "path",
                  "format": "int32"
                },
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "expansionFileType": {
                  "location": "path",
                  "enumDescriptions": [
                    "Unspecified expansion file type.",
                    "Main expansion file.",
                    "Patch expansion file."
                  ],
                  "required": true,
                  "type": "string",
                  "description": "The file type of the expansion file configuration which is being updated.",
                  "enum": [
                    "expansionFileTypeUnspecified",
                    "main",
                    "patch"
                  ]
                }
              },
              "parameterOrder": [
                "packageName",
                "editId",
                "apkVersionCode",
                "expansionFileType"
              ],
              "id": "androidpublisher.edits.expansionfiles.patch"
            },
            "get": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
              "description": "Fetches the expansion file configuration for the specified APK.",
              "response": {
                "$ref": "ExpansionFile"
              },
              "httpMethod": "GET",
              "parameters": {
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "apkVersionCode": {
                  "required": true,
                  "location": "path",
                  "format": "int32",
                  "description": "The version code of the APK whose expansion file configuration is being read or modified.",
                  "type": "integer"
                },
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "expansionFileType": {
                  "location": "path",
                  "enumDescriptions": [
                    "Unspecified expansion file type.",
                    "Main expansion file.",
                    "Patch expansion file."
                  ],
                  "required": true,
                  "type": "string",
                  "description": "The file type of the file configuration which is being read or modified.",
                  "enum": [
                    "expansionFileTypeUnspecified",
                    "main",
                    "patch"
                  ]
                }
              },
              "id": "androidpublisher.edits.expansionfiles.get",
              "parameterOrder": [
                "packageName",
                "editId",
                "apkVersionCode",
                "expansionFileType"
              ]
            },
            "update": {
              "response": {
                "$ref": "ExpansionFile"
              },
              "httpMethod": "PUT",
              "parameters": {
                "packageName": {
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "apkVersionCode": {
                  "location": "path",
                  "format": "int32",
                  "required": true,
                  "description": "The version code of the APK whose expansion file configuration is being read or modified.",
                  "type": "integer"
                },
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                },
                "expansionFileType": {
                  "location": "path",
                  "enumDescriptions": [
                    "Unspecified expansion file type.",
                    "Main expansion file.",
                    "Patch expansion file."
                  ],
                  "required": true,
                  "type": "string",
                  "description": "The file type of the file configuration which is being read or modified.",
                  "enum": [
                    "expansionFileTypeUnspecified",
                    "main",
                    "patch"
                  ]
                }
              },
              "parameterOrder": [
                "packageName",
                "editId",
                "apkVersionCode",
                "expansionFileType"
              ],
              "id": "androidpublisher.edits.expansionfiles.update",
              "request": {
                "$ref": "ExpansionFile"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
              "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."
            },
            "upload": {
              "response": {
                "$ref": "ExpansionFilesUploadResponse"
              },
              "parameterOrder": [
                "packageName",
                "editId",
                "apkVersionCode",
                "expansionFileType"
              ],
              "id": "androidpublisher.edits.expansionfiles.upload",
              "httpMethod": "POST",
              "parameters": {
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                },
                "expansionFileType": {
                  "description": "The file type of the expansion file configuration which is being updated.",
                  "enum": [
                    "expansionFileTypeUnspecified",
                    "main",
                    "patch"
                  ],
                  "type": "string",
                  "required": true,
                  "enumDescriptions": [
                    "Unspecified expansion file type.",
                    "Main expansion file.",
                    "Patch expansion file."
                  ],
                  "location": "path"
                },
                "packageName": {
                  "required": true,
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path"
                },
                "apkVersionCode": {
                  "location": "path",
                  "format": "int32",
                  "required": true,
                  "description": "The version code of the APK whose expansion file configuration is being read or modified.",
                  "type": "integer"
                }
              },
              "supportsMediaUpload": true,
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "description": "Uploads a new expansion file and attaches to the specified APK.",
              "mediaUpload": {
                "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}"
                  }
                },
                "accept": [
                  "application/octet-stream"
                ]
              },
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}"
            }
          }
        },
        "tracks": {
          "methods": {
            "patch": {
              "description": "Patches a track.",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "request": {
                "$ref": "Track"
              },
              "id": "androidpublisher.edits.tracks.patch",
              "parameterOrder": [
                "packageName",
                "editId",
                "track"
              ],
              "httpMethod": "PATCH",
              "parameters": {
                "editId": {
                  "required": true,
                  "type": "string",
                  "description": "Identifier of the edit.",
                  "location": "path"
                },
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "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"
              }
            },
            "update": {
              "request": {
                "$ref": "Track"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
              "description": "Updates a track.",
              "response": {
                "$ref": "Track"
              },
              "httpMethod": "PUT",
              "parameters": {
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                },
                "packageName": {
                  "required": true,
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path"
                },
                "track": {
                  "type": "string",
                  "description": "Identifier of the track. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name)",
                  "location": "path",
                  "required": true
                }
              },
              "parameterOrder": [
                "packageName",
                "editId",
                "track"
              ],
              "id": "androidpublisher.edits.tracks.update"
            },
            "list": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks",
              "description": "Lists all tracks.",
              "response": {
                "$ref": "TracksListResponse"
              },
              "httpMethod": "GET",
              "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
                }
              },
              "id": "androidpublisher.edits.tracks.list",
              "parameterOrder": [
                "packageName",
                "editId"
              ]
            },
            "create": {
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks",
              "description": "Creates a new track.",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "request": {
                "$ref": "TrackConfig"
              },
              "httpMethod": "POST",
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Required. Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "editId": {
                  "required": true,
                  "description": "Required. Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                }
              },
              "id": "androidpublisher.edits.tracks.create",
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "response": {
                "$ref": "Track"
              }
            },
            "get": {
              "parameterOrder": [
                "packageName",
                "editId",
                "track"
              ],
              "id": "androidpublisher.edits.tracks.get",
              "httpMethod": "GET",
              "parameters": {
                "editId": {
                  "required": true,
                  "type": "string",
                  "description": "Identifier of the edit.",
                  "location": "path"
                },
                "packageName": {
                  "required": true,
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path"
                },
                "track": {
                  "type": "string",
                  "description": "Identifier of the track. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name)",
                  "location": "path",
                  "required": true
                }
              },
              "response": {
                "$ref": "Track"
              },
              "description": "Gets a track.",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ]
            }
          }
        },
        "testers": {
          "methods": {
            "get": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
              "description": "Gets testers. Note: Testers resource does not support email lists.",
              "response": {
                "$ref": "Testers"
              },
              "httpMethod": "GET",
              "parameters": {
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                },
                "packageName": {
                  "required": true,
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path"
                },
                "track": {
                  "type": "string",
                  "description": "The track to read from.",
                  "location": "path",
                  "required": true
                }
              },
              "id": "androidpublisher.edits.testers.get",
              "parameterOrder": [
                "packageName",
                "editId",
                "track"
              ]
            },
            "update": {
              "id": "androidpublisher.edits.testers.update",
              "parameterOrder": [
                "packageName",
                "editId",
                "track"
              ],
              "httpMethod": "PUT",
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "track": {
                  "description": "The track to update.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "editId": {
                  "type": "string",
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "required": true
                }
              },
              "response": {
                "$ref": "Testers"
              },
              "description": "Updates testers. Note: Testers resource does not support email lists.",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "request": {
                "$ref": "Testers"
              }
            },
            "patch": {
              "response": {
                "$ref": "Testers"
              },
              "id": "androidpublisher.edits.testers.patch",
              "parameterOrder": [
                "packageName",
                "editId",
                "track"
              ],
              "httpMethod": "PATCH",
              "parameters": {
                "editId": {
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "packageName": {
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path",
                  "required": true
                },
                "track": {
                  "description": "The track to update.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "request": {
                "$ref": "Testers"
              },
              "description": "Patches testers. Note: Testers resource does not support email lists.",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}"
            }
          }
        },
        "countryavailability": {
          "methods": {
            "get": {
              "response": {
                "$ref": "TrackCountryAvailability"
              },
              "id": "androidpublisher.edits.countryavailability.get",
              "parameterOrder": [
                "packageName",
                "editId",
                "track"
              ],
              "httpMethod": "GET",
              "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
                },
                "track": {
                  "description": "The track to read from.",
                  "location": "path",
                  "type": "string",
                  "required": true
                }
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/countryAvailability/{track}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "description": "Gets country availability.",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/countryAvailability/{track}"
            }
          }
        },
        "details": {
          "methods": {
            "update": {
              "description": "Updates details of an app.",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "request": {
                "$ref": "AppDetails"
              },
              "id": "androidpublisher.edits.details.update",
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "httpMethod": "PUT",
              "parameters": {
                "packageName": {
                  "required": true,
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path"
                },
                "editId": {
                  "type": "string",
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "required": true
                }
              },
              "response": {
                "$ref": "AppDetails"
              }
            },
            "get": {
              "response": {
                "$ref": "AppDetails"
              },
              "httpMethod": "GET",
              "parameters": {
                "packageName": {
                  "required": true,
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path"
                },
                "editId": {
                  "required": true,
                  "type": "string",
                  "description": "Identifier of the edit.",
                  "location": "path"
                }
              },
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "id": "androidpublisher.edits.details.get",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
              "description": "Gets details of an app."
            },
            "patch": {
              "request": {
                "$ref": "AppDetails"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
              "description": "Patches details of an app.",
              "response": {
                "$ref": "AppDetails"
              },
              "httpMethod": "PATCH",
              "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
                }
              },
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "id": "androidpublisher.edits.details.patch"
            }
          }
        },
        "apks": {
          "methods": {
            "list": {
              "response": {
                "$ref": "ApksListResponse"
              },
              "httpMethod": "GET",
              "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
                }
              },
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "id": "androidpublisher.edits.apks.list",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks",
              "description": "Lists all current APKs of the app and edit."
            },
            "addexternallyhosted": {
              "request": {
                "$ref": "ApksAddExternallyHostedRequest"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/externallyHosted",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "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.",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/externallyHosted",
              "response": {
                "$ref": "ApksAddExternallyHostedResponse"
              },
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "id": "androidpublisher.edits.apks.addexternallyhosted",
              "httpMethod": "POST",
              "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
                }
              }
            },
            "upload": {
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks",
              "mediaUpload": {
                "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"
                  }
                },
                "accept": [
                  "application/octet-stream",
                  "application/vnd.android.package-archive"
                ]
              },
              "description": "Uploads an APK and adds to the current edit.",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "httpMethod": "POST",
              "parameters": {
                "packageName": {
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path",
                  "required": true
                },
                "editId": {
                  "type": "string",
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "required": true
                }
              },
              "supportsMediaUpload": true,
              "id": "androidpublisher.edits.apks.upload",
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "response": {
                "$ref": "Apk"
              }
            }
          }
        },
        "deobfuscationfiles": {
          "methods": {
            "upload": {
              "httpMethod": "POST",
              "parameters": {
                "deobfuscationFileType": {
                  "description": "The type of the deobfuscation file.",
                  "enum": [
                    "deobfuscationFileTypeUnspecified",
                    "proguard",
                    "nativeCode"
                  ],
                  "type": "string",
                  "required": true,
                  "enumDescriptions": [
                    "Unspecified deobfuscation file type.",
                    "Proguard deobfuscation file type.",
                    "Native debugging symbols file type."
                  ],
                  "location": "path"
                },
                "editId": {
                  "type": "string",
                  "description": "Unique identifier for this edit.",
                  "location": "path",
                  "required": true
                },
                "packageName": {
                  "description": "Unique identifier for the Android app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "apkVersionCode": {
                  "description": "The version code of the APK whose Deobfuscation File is being uploaded.",
                  "type": "integer",
                  "location": "path",
                  "format": "int32",
                  "required": true
                }
              },
              "supportsMediaUpload": true,
              "parameterOrder": [
                "packageName",
                "editId",
                "apkVersionCode",
                "deobfuscationFileType"
              ],
              "id": "androidpublisher.edits.deobfuscationfiles.upload",
              "response": {
                "$ref": "DeobfuscationFilesUploadResponse"
              },
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}",
              "description": "Uploads a new deobfuscation file and attaches to the specified APK.",
              "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}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ]
            }
          }
        },
        "listings": {
          "methods": {
            "patch": {
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
              "description": "Patches a localized store listing.",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "request": {
                "$ref": "Listing"
              },
              "httpMethod": "PATCH",
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "language": {
                  "required": true,
                  "type": "string",
                  "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German).",
                  "location": "path"
                },
                "editId": {
                  "type": "string",
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "required": true
                }
              },
              "id": "androidpublisher.edits.listings.patch",
              "parameterOrder": [
                "packageName",
                "editId",
                "language"
              ],
              "response": {
                "$ref": "Listing"
              }
            },
            "deleteall": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "description": "Deletes all store listings.",
              "id": "androidpublisher.edits.listings.deleteall",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings",
              "httpMethod": "DELETE",
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "editId": {
                  "type": "string",
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "required": true
                }
              }
            },
            "update": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "request": {
                "$ref": "Listing"
              },
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
              "description": "Creates or updates a localized store listing.",
              "response": {
                "$ref": "Listing"
              },
              "httpMethod": "PUT",
              "parameters": {
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                },
                "packageName": {
                  "required": true,
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path"
                },
                "language": {
                  "required": true,
                  "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German).",
                  "location": "path",
                  "type": "string"
                }
              },
              "id": "androidpublisher.edits.listings.update",
              "parameterOrder": [
                "packageName",
                "editId",
                "language"
              ]
            },
            "list": {
              "parameterOrder": [
                "packageName",
                "editId"
              ],
              "id": "androidpublisher.edits.listings.list",
              "httpMethod": "GET",
              "parameters": {
                "packageName": {
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path",
                  "required": true
                },
                "editId": {
                  "required": true,
                  "type": "string",
                  "description": "Identifier of the edit.",
                  "location": "path"
                }
              },
              "response": {
                "$ref": "ListingsListResponse"
              },
              "description": "Lists all localized store listings.",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings",
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ]
            },
            "get": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "description": "Gets a localized store listing.",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
              "response": {
                "$ref": "Listing"
              },
              "id": "androidpublisher.edits.listings.get",
              "parameterOrder": [
                "packageName",
                "editId",
                "language"
              ],
              "httpMethod": "GET",
              "parameters": {
                "editId": {
                  "required": true,
                  "type": "string",
                  "description": "Identifier of the edit.",
                  "location": "path"
                },
                "packageName": {
                  "type": "string",
                  "description": "Package name of the app.",
                  "location": "path",
                  "required": true
                },
                "language": {
                  "required": true,
                  "type": "string",
                  "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German).",
                  "location": "path"
                }
              }
            },
            "delete": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameterOrder": [
                "packageName",
                "editId",
                "language"
              ],
              "description": "Deletes a localized store listing.",
              "id": "androidpublisher.edits.listings.delete",
              "path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
              "httpMethod": "DELETE",
              "parameters": {
                "packageName": {
                  "required": true,
                  "description": "Package name of the app.",
                  "location": "path",
                  "type": "string"
                },
                "language": {
                  "type": "string",
                  "description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German).",
                  "location": "path",
                  "required": true
                },
                "editId": {
                  "required": true,
                  "description": "Identifier of the edit.",
                  "location": "path",
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "apprecovery": {
      "methods": {
        "create": {
          "parameterOrder": [
            "packageName"
          ],
          "id": "androidpublisher.apprecovery.create",
          "httpMethod": "POST",
          "parameters": {
            "packageName": {
              "required": true,
              "type": "string",
              "description": "Required. Package name of the app on which recovery action is performed.",
              "location": "path"
            }
          },
          "response": {
            "$ref": "AppRecoveryAction"
          },
          "description": "Create an app recovery action with recovery status as DRAFT. Note that this action does not execute the recovery action.",
          "path": "androidpublisher/v3/applications/{packageName}/appRecoveries",
          "request": {
            "$ref": "CreateDraftAppRecoveryRequest"
          },
          "flatPath": "androidpublisher/v3/applications/{packageName}/appRecoveries",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ]
        },
        "deploy": {
          "path": "androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:deploy",
          "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.",
          "flatPath": "androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:deploy",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "request": {
            "$ref": "DeployAppRecoveryRequest"
          },
          "httpMethod": "POST",
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Required. Package name of the app for which recovery action is deployed.",
              "location": "path",
              "type": "string"
            },
            "appRecoveryId": {
              "required": true,
              "location": "path",
              "format": "int64",
              "type": "string",
              "description": "Required. ID corresponding to the app recovery action to deploy."
            }
          },
          "id": "androidpublisher.apprecovery.deploy",
          "parameterOrder": [
            "packageName",
            "appRecoveryId"
          ],
          "response": {
            "$ref": "DeployAppRecoveryResponse"
          }
        },
        "list": {
          "response": {
            "$ref": "ListAppRecoveriesResponse"
          },
          "httpMethod": "GET",
          "parameters": {
            "packageName": {
              "description": "Required. Package name of the app for which list of recovery actions is requested.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "versionCode": {
              "type": "string",
              "description": "Required. Version code targeted by the list of recovery actions.",
              "location": "query",
              "format": "int64"
            }
          },
          "id": "androidpublisher.apprecovery.list",
          "parameterOrder": [
            "packageName"
          ],
          "flatPath": "androidpublisher/v3/applications/{packageName}/appRecoveries",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "path": "androidpublisher/v3/applications/{packageName}/appRecoveries",
          "description": "List all app recovery action resources associated with a particular package name and app version."
        },
        "addTargeting": {
          "flatPath": "androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:addTargeting",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "request": {
            "$ref": "AddTargetingRequest"
          },
          "description": "Incrementally update targeting for a recovery action. Note that only the criteria selected during the creation of recovery action can be expanded.",
          "path": "androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:addTargeting",
          "response": {
            "$ref": "AddTargetingResponse"
          },
          "id": "androidpublisher.apprecovery.addTargeting",
          "parameterOrder": [
            "packageName",
            "appRecoveryId"
          ],
          "httpMethod": "POST",
          "parameters": {
            "packageName": {
              "description": "Required. Package name of the app for which recovery action is to be updated.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "appRecoveryId": {
              "location": "path",
              "format": "int64",
              "required": true,
              "type": "string",
              "description": "Required. ID corresponding to the app recovery action."
            }
          }
        },
        "cancel": {
          "request": {
            "$ref": "CancelAppRecoveryRequest"
          },
          "flatPath": "androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:cancel",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "path": "androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:cancel",
          "description": "Cancel an already executing app recovery action. Note that this action changes status of the recovery action to CANCELED.",
          "response": {
            "$ref": "CancelAppRecoveryResponse"
          },
          "httpMethod": "POST",
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Required. Package name of the app for which recovery action cancellation is requested.",
              "location": "path",
              "type": "string"
            },
            "appRecoveryId": {
              "location": "path",
              "format": "int64",
              "required": true,
              "description": "Required. ID corresponding to the app recovery action.",
              "type": "string"
            }
          },
          "parameterOrder": [
            "packageName",
            "appRecoveryId"
          ],
          "id": "androidpublisher.apprecovery.cancel"
        }
      }
    },
    "generatedapks": {
      "methods": {
        "list": {
          "id": "androidpublisher.generatedapks.list",
          "parameterOrder": [
            "packageName",
            "versionCode"
          ],
          "httpMethod": "GET",
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            },
            "versionCode": {
              "location": "path",
              "format": "int32",
              "required": true,
              "type": "integer",
              "description": "Version code of the app bundle."
            }
          },
          "response": {
            "$ref": "GeneratedApksListResponse"
          },
          "description": "Returns download metadata for all APKs that were generated from a given app bundle.",
          "path": "androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}",
          "flatPath": "androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ]
        },
        "download": {
          "useMediaDownloadService": true,
          "flatPath": "androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "path": "androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download",
          "supportsMediaDownload": true,
          "description": "Downloads a single signed APK generated from an app bundle.",
          "httpMethod": "GET",
          "parameters": {
            "packageName": {
              "required": true,
              "type": "string",
              "description": "Package name of the app.",
              "location": "path"
            },
            "versionCode": {
              "location": "path",
              "format": "int32",
              "required": true,
              "type": "integer",
              "description": "Version code of the app bundle."
            },
            "downloadId": {
              "required": true,
              "type": "string",
              "description": "Download ID, which uniquely identifies the APK to download. Can be obtained from the response of `generatedapks.list` method.",
              "location": "path"
            }
          },
          "parameterOrder": [
            "packageName",
            "versionCode",
            "downloadId"
          ],
          "id": "androidpublisher.generatedapks.download"
        }
      }
    },
    "reviews": {
      "methods": {
        "get": {
          "flatPath": "androidpublisher/v3/applications/{packageName}/reviews/{reviewId}",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "path": "androidpublisher/v3/applications/{packageName}/reviews/{reviewId}",
          "description": "Gets a single review.",
          "response": {
            "$ref": "Review"
          },
          "httpMethod": "GET",
          "parameters": {
            "translationLanguage": {
              "description": "Language localization code.",
              "location": "query",
              "type": "string"
            },
            "packageName": {
              "description": "Package name of the app.",
              "location": "path",
              "type": "string",
              "required": true
            },
            "reviewId": {
              "required": true,
              "type": "string",
              "description": "Unique identifier for a review.",
              "location": "path"
            }
          },
          "parameterOrder": [
            "packageName",
            "reviewId"
          ],
          "id": "androidpublisher.reviews.get"
        },
        "reply": {
          "flatPath": "androidpublisher/v3/applications/{packageName}/reviews/{reviewId}:reply",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "request": {
            "$ref": "ReviewsReplyRequest"
          },
          "description": "Replies to a single review, or updates an existing reply.",
          "path": "androidpublisher/v3/applications/{packageName}/reviews/{reviewId}:reply",
          "response": {
            "$ref": "ReviewsReplyResponse"
          },
          "id": "androidpublisher.reviews.reply",
          "parameterOrder": [
            "packageName",
            "reviewId"
          ],
          "httpMethod": "POST",
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            },
            "reviewId": {
              "required": true,
              "description": "Unique identifier for a review.",
              "location": "path",
              "type": "string"
            }
          }
        },
        "list": {
          "response": {
            "$ref": "ReviewsListResponse"
          },
          "httpMethod": "GET",
          "parameters": {
            "token": {
              "type": "string",
              "description": "Pagination token. If empty, list starts at the first review.",
              "location": "query"
            },
            "maxResults": {
              "type": "integer",
              "description": "How many results the list operation should return.",
              "location": "query",
              "format": "uint32"
            },
            "translationLanguage": {
              "type": "string",
              "description": "Language localization code.",
              "location": "query"
            },
            "packageName": {
              "required": true,
              "description": "Package name of the app.",
              "location": "path",
              "type": "string"
            },
            "startIndex": {
              "type": "integer",
              "description": "The index of the first element to return.",
              "location": "query",
              "format": "uint32"
            }
          },
          "id": "androidpublisher.reviews.list",
          "parameterOrder": [
            "packageName"
          ],
          "flatPath": "androidpublisher/v3/applications/{packageName}/reviews",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "path": "androidpublisher/v3/applications/{packageName}/reviews",
          "description": "Lists all reviews."
        }
      }
    },
    "orders": {
      "methods": {
        "reviewrefund": {
          "flatPath": "androidpublisher/v3/applications/{packageName}/orders/{orderId}:reviewrefund",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "request": {
            "$ref": "OrdersReviewRefundRequest"
          },
          "path": "androidpublisher/v3/applications/{packageName}/orders/{orderId}:reviewrefund",
          "description": "Provide refund preference and purchase usage for a chargeback request",
          "httpMethod": "POST",
          "parameters": {
            "packageName": {
              "type": "string",
              "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",
              "required": true
            },
            "orderId": {
              "type": "string",
              "description": "Required. The order ID provided to the user when the subscription or in-app order was purchased.",
              "location": "path",
              "required": true
            }
          },
          "id": "androidpublisher.orders.reviewrefund",
          "parameterOrder": [
            "packageName",
            "orderId"
          ]
        },
        "refund": {
          "path": "androidpublisher/v3/applications/{packageName}/orders/{orderId}:refund",
          "httpMethod": "POST",
          "parameters": {
            "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"
            },
            "packageName": {
              "type": "string",
              "description": "The package name of the application for which this subscription or in-app item was purchased (for example, 'com.some.thing').",
              "location": "path",
              "required": true
            },
            "orderId": {
              "required": true,
              "type": "string",
              "description": "The order ID provided to the user when the subscription or in-app order was purchased.",
              "location": "path"
            }
          },
          "parameterOrder": [
            "packageName",
            "orderId"
          ],
          "description": "Refunds a user's subscription or in-app purchase order. Orders older than 3 years cannot be refunded.",
          "id": "androidpublisher.orders.refund",
          "flatPath": "androidpublisher/v3/applications/{packageName}/orders/{orderId}:refund",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ]
        },
        "batchget": {
          "path": "androidpublisher/v3/applications/{packageName}/orders:batchGet",
          "description": "Get order details for a list of orders.",
          "flatPath": "androidpublisher/v3/applications/{packageName}/orders:batchGet",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "httpMethod": "GET",
          "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": {
              "repeated": true,
              "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",
              "type": "string"
            }
          },
          "parameterOrder": [
            "packageName"
          ],
          "id": "androidpublisher.orders.batchget",
          "response": {
            "$ref": "BatchGetOrdersResponse"
          }
        },
        "get": {
          "response": {
            "$ref": "Order"
          },
          "parameterOrder": [
            "packageName",
            "orderId"
          ],
          "id": "androidpublisher.orders.get",
          "httpMethod": "GET",
          "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"
            },
            "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"
            }
          },
          "flatPath": "androidpublisher/v3/applications/{packageName}/orders/{orderId}",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "description": "Get order details for a single order.",
          "path": "androidpublisher/v3/applications/{packageName}/orders/{orderId}"
        }
      }
    },
    "monetization": {
      "methods": {
        "convertRegionPrices": {
          "response": {
            "$ref": "ConvertRegionPricesResponse"
          },
          "httpMethod": "POST",
          "parameters": {
            "packageName": {
              "required": true,
              "description": "Required. The app package name.",
              "location": "path",
              "type": "string"
            }
          },
          "parameterOrder": [
            "packageName"
          ],
          "id": "androidpublisher.monetization.convertRegionPrices",
          "request": {
            "$ref": "ConvertRegionPricesRequest"
          },
          "flatPath": "androidpublisher/v3/applications/{packageName}/pricing:convertRegionPrices",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "path": "androidpublisher/v3/applications/{packageName}/pricing:convertRegionPrices",
          "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."
        }
      },
      "resources": {
        "onetimeproducts": {
          "methods": {
            "batchGet": {
              "id": "androidpublisher.monetization.onetimeproducts.batchGet",
              "parameterOrder": [
                "packageName"
              ],
              "httpMethod": "GET",
              "parameters": {
                "packageName": {
                  "type": "string",
                  "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",
                  "required": true
                },
                "productIds": {
                  "repeated": true,
                  "type": "string",
                  "description": "Required. A list of up to 100 product IDs to retrieve. All IDs must be different.",
                  "location": "query"
                }
              },
              "response": {
                "$ref": "BatchGetOneTimeProductsResponse"
              },
              "description": "Reads one or more one-time products.",
              "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchGet",
              "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchGet",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ]
            },
            "patch": {
              "response": {
                "$ref": "OneTimeProduct"
              },
              "httpMethod": "PATCH",
              "parameters": {
                "productId": {
                  "required": true,
                  "type": "string",
                  "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"
                },
                "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"
                },
                "updateMask": {
                  "description": "Required. The list of fields to be updated.",
                  "location": "query",
                  "format": "google-fieldmask",
                  "type": "string"
                },
                "packageName": {
                  "required": true,
                  "description": "Required. Immutable. Package name of the parent app.",
                  "location": "path",
                  "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."
                  ],
                  "location": "query",
                  "description": "Optional. The latency tolerance for the propagation of this product upsert. Defaults to latency-sensitive.",
                  "enum": [
                    "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
                    "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
                    "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
                  ],
                  "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"
                }
              },
              "id": "androidpublisher.monetization.onetimeproducts.patch",
              "parameterOrder": [
                "packageName",
                "productId"
              ],
              "flatPath": "androidpublisher/v3/applications/{packageName}/onetimeproducts/{productId}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "request": {
                "$ref": "OneTimeProduct"
              },
              "path": "androidpublisher/v3/applications/{packageName}/onetimeproducts/{productId}",
              "description": "Creates or updates a one-time product."
            },
            "batchDelete": {
              "httpMethod": "POST",
              "parameters": {
                "packageName": {
                  "type": "string",
                  "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",
                  "required": true
                }
              },
              "parameterOrder": [
                "packageName"
              ],
              "id": "androidpublisher.monetization.onetimeproducts.batchDelete",
              "request": {
                "$ref": "BatchDeleteOneTimeProductsRequest"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchDelete",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchDelete",
              "description": "Deletes one or more one-time products."
            },
            "get": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}",
              "description": "Reads a single one-time product.",
              "response": {
                "$ref": "OneTimeProduct"
              },
              "httpMethod": "GET",
              "parameters": {
                "packageName": {
                  "description": "Required. The parent app (package name) of the product to retrieve.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "productId": {
                  "required": true,
                  "type": "string",
                  "description": "Required. The product ID of the product to retrieve.",
                  "location": "path"
                }
              },
              "parameterOrder": [
                "packageName",
                "productId"
              ],
              "id": "androidpublisher.monetization.onetimeproducts.get"
            },
            "delete": {
              "id": "androidpublisher.monetization.onetimeproducts.delete",
              "parameterOrder": [
                "packageName",
                "productId"
              ],
              "description": "Deletes a one-time product.",
              "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}",
              "httpMethod": "DELETE",
              "parameters": {
                "productId": {
                  "description": "Required. The one-time product ID of the one-time product to delete.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "latencyTolerance": {
                  "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
                  "enum": [
                    "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
                    "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
                    "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
                  ],
                  "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."
                  ],
                  "location": "query"
                },
                "packageName": {
                  "type": "string",
                  "description": "Required. The parent app (package name) of the one-time product to delete.",
                  "location": "path",
                  "required": true
                }
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ]
            },
            "list": {
              "description": "Lists all one-time products under a given app.",
              "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts",
              "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "id": "androidpublisher.monetization.onetimeproducts.list",
              "parameterOrder": [
                "packageName"
              ],
              "httpMethod": "GET",
              "parameters": {
                "packageName": {
                  "required": true,
                  "type": "string",
                  "description": "Required. The parent app (package name) for which the one-time product should be read.",
                  "location": "path"
                },
                "pageSize": {
                  "type": "integer",
                  "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",
                  "format": "int32"
                },
                "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"
                }
              },
              "response": {
                "$ref": "ListOneTimeProductsResponse"
              }
            },
            "batchUpdate": {
              "httpMethod": "POST",
              "parameters": {
                "packageName": {
                  "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",
                  "required": true
                }
              },
              "id": "androidpublisher.monetization.onetimeproducts.batchUpdate",
              "parameterOrder": [
                "packageName"
              ],
              "response": {
                "$ref": "BatchUpdateOneTimeProductsResponse"
              },
              "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchUpdate",
              "description": "Creates or updates one or more one-time products.",
              "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchUpdate",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "request": {
                "$ref": "BatchUpdateOneTimeProductsRequest"
              }
            }
          },
          "resources": {
            "purchaseOptions": {
              "methods": {
                "batchUpdateStates": {
                  "httpMethod": "POST",
                  "parameters": {
                    "packageName": {
                      "required": true,
                      "type": "string",
                      "description": "Required. The parent app (package name) of the updated purchase options.",
                      "location": "path"
                    },
                    "productId": {
                      "type": "string",
                      "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",
                      "required": true
                    }
                  },
                  "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.batchUpdateStates",
                  "parameterOrder": [
                    "packageName",
                    "productId"
                  ],
                  "response": {
                    "$ref": "BatchUpdatePurchaseOptionStatesResponse"
                  },
                  "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions:batchUpdateStates",
                  "description": "Activates or deactivates purchase options across one or multiple one-time products.",
                  "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions:batchUpdateStates",
                  "scopes": [
                    "https://www.googleapis.com/auth/androidpublisher"
                  ],
                  "request": {
                    "$ref": "BatchUpdatePurchaseOptionStatesRequest"
                  }
                },
                "batchDelete": {
                  "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions:batchDelete",
                  "scopes": [
                    "https://www.googleapis.com/auth/androidpublisher"
                  ],
                  "request": {
                    "$ref": "BatchDeletePurchaseOptionsRequest"
                  },
                  "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions:batchDelete",
                  "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.",
                  "httpMethod": "POST",
                  "parameters": {
                    "packageName": {
                      "required": true,
                      "type": "string",
                      "description": "Required. The parent app (package name) of the purchase options to delete.",
                      "location": "path"
                    },
                    "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
                    }
                  },
                  "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.batchDelete",
                  "parameterOrder": [
                    "packageName",
                    "productId"
                  ]
                }
              },
              "resources": {
                "offers": {
                  "methods": {
                    "activate": {
                      "request": {
                        "$ref": "ActivateOneTimeProductOfferRequest"
                      },
                      "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:activate",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "description": "Activates a one-time product offer.",
                      "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:activate",
                      "response": {
                        "$ref": "OneTimeProductOffer"
                      },
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "purchaseOptionId",
                        "offerId"
                      ],
                      "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.activate",
                      "httpMethod": "POST",
                      "parameters": {
                        "packageName": {
                          "required": true,
                          "type": "string",
                          "description": "Required. The parent app (package name) of the offer to activate.",
                          "location": "path"
                        },
                        "offerId": {
                          "required": true,
                          "description": "Required. The offer ID of the offer to activate.",
                          "location": "path",
                          "type": "string"
                        },
                        "purchaseOptionId": {
                          "required": true,
                          "type": "string",
                          "description": "Required. The parent purchase option (ID) of the offer to activate.",
                          "location": "path"
                        },
                        "productId": {
                          "required": true,
                          "type": "string",
                          "description": "Required. The parent one-time product (ID) of the offer to activate.",
                          "location": "path"
                        }
                      }
                    },
                    "list": {
                      "response": {
                        "$ref": "ListOneTimeProductOffersResponse"
                      },
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "purchaseOptionId"
                      ],
                      "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.list",
                      "httpMethod": "GET",
                      "parameters": {
                        "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"
                        },
                        "pageSize": {
                          "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",
                          "format": "int32",
                          "type": "integer"
                        },
                        "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,
                          "type": "string",
                          "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"
                        }
                      },
                      "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "description": "Lists all offers under a given app, product, or purchase option.",
                      "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers"
                    },
                    "batchUpdate": {
                      "response": {
                        "$ref": "BatchUpdateOneTimeProductOffersResponse"
                      },
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "purchaseOptionId"
                      ],
                      "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchUpdate",
                      "httpMethod": "POST",
                      "parameters": {
                        "packageName": {
                          "type": "string",
                          "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",
                          "required": true
                        },
                        "productId": {
                          "required": true,
                          "type": "string",
                          "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"
                        },
                        "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"
                        }
                      },
                      "request": {
                        "$ref": "BatchUpdateOneTimeProductOffersRequest"
                      },
                      "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchUpdate",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "description": "Creates or updates one or more one-time product offers.",
                      "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchUpdate"
                    },
                    "deactivate": {
                      "description": "Deactivates a one-time product offer.",
                      "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:deactivate",
                      "request": {
                        "$ref": "DeactivateOneTimeProductOfferRequest"
                      },
                      "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:deactivate",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "purchaseOptionId",
                        "offerId"
                      ],
                      "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.deactivate",
                      "httpMethod": "POST",
                      "parameters": {
                        "packageName": {
                          "required": true,
                          "type": "string",
                          "description": "Required. The parent app (package name) of the offer to deactivate.",
                          "location": "path"
                        },
                        "offerId": {
                          "required": true,
                          "description": "Required. The offer ID of the offer to deactivate.",
                          "location": "path",
                          "type": "string"
                        },
                        "productId": {
                          "required": true,
                          "description": "Required. The parent one-time product (ID) of the offer to deactivate.",
                          "location": "path",
                          "type": "string"
                        },
                        "purchaseOptionId": {
                          "required": true,
                          "type": "string",
                          "description": "Required. The parent purchase option (ID) of the offer to deactivate.",
                          "location": "path"
                        }
                      },
                      "response": {
                        "$ref": "OneTimeProductOffer"
                      }
                    },
                    "batchGet": {
                      "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchGet",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "request": {
                        "$ref": "BatchGetOneTimeProductOffersRequest"
                      },
                      "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchGet",
                      "description": "Reads one or more one-time product offers.",
                      "response": {
                        "$ref": "BatchGetOneTimeProductOffersResponse"
                      },
                      "httpMethod": "POST",
                      "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
                        },
                        "purchaseOptionId": {
                          "required": true,
                          "type": "string",
                          "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"
                        },
                        "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"
                        }
                      },
                      "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchGet",
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "purchaseOptionId"
                      ]
                    },
                    "batchUpdateStates": {
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "purchaseOptionId"
                      ],
                      "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchUpdateStates",
                      "httpMethod": "POST",
                      "parameters": {
                        "productId": {
                          "type": "string",
                          "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",
                          "required": true
                        },
                        "purchaseOptionId": {
                          "required": true,
                          "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"
                        },
                        "packageName": {
                          "description": "Required. The parent app (package name) of the updated one-time product offers.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        }
                      },
                      "response": {
                        "$ref": "BatchUpdateOneTimeProductOfferStatesResponse"
                      },
                      "description": "Updates a batch of one-time product offer states.",
                      "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchUpdateStates",
                      "request": {
                        "$ref": "BatchUpdateOneTimeProductOfferStatesRequest"
                      },
                      "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchUpdateStates",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ]
                    },
                    "batchDelete": {
                      "description": "Deletes one or more one-time product offers.",
                      "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchDelete",
                      "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchDelete",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "request": {
                        "$ref": "BatchDeleteOneTimeProductOffersRequest"
                      },
                      "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchDelete",
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "purchaseOptionId"
                      ],
                      "httpMethod": "POST",
                      "parameters": {
                        "purchaseOptionId": {
                          "required": true,
                          "type": "string",
                          "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"
                        },
                        "productId": {
                          "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",
                          "required": true
                        },
                        "packageName": {
                          "required": true,
                          "type": "string",
                          "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"
                        }
                      }
                    },
                    "cancel": {
                      "response": {
                        "$ref": "OneTimeProductOffer"
                      },
                      "httpMethod": "POST",
                      "parameters": {
                        "purchaseOptionId": {
                          "type": "string",
                          "description": "Required. The parent purchase option (ID) of the offer to cancel.",
                          "location": "path",
                          "required": true
                        },
                        "productId": {
                          "description": "Required. The parent one-time product (ID) of the offer to cancel.",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "packageName": {
                          "type": "string",
                          "description": "Required. The parent app (package name) of the offer to cancel.",
                          "location": "path",
                          "required": true
                        },
                        "offerId": {
                          "required": true,
                          "type": "string",
                          "description": "Required. The offer ID of the offer to cancel.",
                          "location": "path"
                        }
                      },
                      "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.cancel",
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "purchaseOptionId",
                        "offerId"
                      ],
                      "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:cancel",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "request": {
                        "$ref": "CancelOneTimeProductOfferRequest"
                      },
                      "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:cancel",
                      "description": "Cancels a one-time product offer."
                    }
                  }
                }
              }
            }
          }
        },
        "subscriptions": {
          "methods": {
            "batchGet": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions:batchGet",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/subscriptions:batchGet",
              "description": "Reads one or more subscriptions.",
              "response": {
                "$ref": "BatchGetSubscriptionsResponse"
              },
              "httpMethod": "GET",
              "parameters": {
                "packageName": {
                  "type": "string",
                  "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",
                  "required": true
                },
                "productIds": {
                  "repeated": true,
                  "description": "Required. A list of up to 100 subscription product IDs to retrieve. All the IDs must be different.",
                  "location": "query",
                  "type": "string"
                }
              },
              "id": "androidpublisher.monetization.subscriptions.batchGet",
              "parameterOrder": [
                "packageName"
              ]
            },
            "patch": {
              "response": {
                "$ref": "Subscription"
              },
              "parameterOrder": [
                "packageName",
                "productId"
              ],
              "id": "androidpublisher.monetization.subscriptions.patch",
              "httpMethod": "PATCH",
              "parameters": {
                "updateMask": {
                  "type": "string",
                  "description": "Required. The list of fields to be updated.",
                  "location": "query",
                  "format": "google-fieldmask"
                },
                "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
                },
                "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"
                },
                "latencyTolerance": {
                  "location": "query",
                  "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."
                  ],
                  "type": "string",
                  "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
                  "enum": [
                    "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
                    "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
                    "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
                  ]
                },
                "packageName": {
                  "description": "Immutable. Package name of the parent app.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "regionsVersion.version": {
                  "type": "string",
                  "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"
                }
              },
              "request": {
                "$ref": "Subscription"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "description": "Updates an existing subscription.",
              "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}"
            },
            "list": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/subscriptions",
              "description": "Lists all subscriptions under a given app.",
              "response": {
                "$ref": "ListSubscriptionsResponse"
              },
              "httpMethod": "GET",
              "parameters": {
                "showArchived": {
                  "description": "Deprecated: subscription archiving is not supported.",
                  "location": "query",
                  "deprecated": true,
                  "type": "boolean"
                },
                "packageName": {
                  "description": "Required. The parent app (package name) for which the subscriptions should be read.",
                  "location": "path",
                  "type": "string",
                  "required": true
                },
                "pageSize": {
                  "type": "integer",
                  "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",
                  "format": "int32"
                },
                "pageToken": {
                  "type": "string",
                  "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"
                }
              },
              "id": "androidpublisher.monetization.subscriptions.list",
              "parameterOrder": [
                "packageName"
              ]
            },
            "batchUpdate": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions:batchUpdate",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "request": {
                "$ref": "BatchUpdateSubscriptionsRequest"
              },
              "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.",
              "path": "androidpublisher/v3/applications/{packageName}/subscriptions:batchUpdate",
              "response": {
                "$ref": "BatchUpdateSubscriptionsResponse"
              },
              "id": "androidpublisher.monetization.subscriptions.batchUpdate",
              "parameterOrder": [
                "packageName"
              ],
              "httpMethod": "POST",
              "parameters": {
                "packageName": {
                  "type": "string",
                  "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",
                  "required": true
                }
              }
            },
            "create": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "request": {
                "$ref": "Subscription"
              },
              "path": "androidpublisher/v3/applications/{packageName}/subscriptions",
              "description": "Creates a new subscription. Newly added base plans will remain in draft state until activated.",
              "response": {
                "$ref": "Subscription"
              },
              "httpMethod": "POST",
              "parameters": {
                "packageName": {
                  "required": true,
                  "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"
                },
                "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"
                },
                "regionsVersion.version": {
                  "type": "string",
                  "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"
                }
              },
              "id": "androidpublisher.monetization.subscriptions.create",
              "parameterOrder": [
                "packageName"
              ]
            },
            "archive": {
              "response": {
                "$ref": "Subscription"
              },
              "httpMethod": "POST",
              "parameters": {
                "packageName": {
                  "required": true,
                  "type": "string",
                  "description": "Required. The parent app (package name) of the app of the subscription to delete.",
                  "location": "path"
                },
                "productId": {
                  "type": "string",
                  "description": "Required. The unique product ID of the subscription to delete.",
                  "location": "path",
                  "required": true
                }
              },
              "parameterOrder": [
                "packageName",
                "productId"
              ],
              "id": "androidpublisher.monetization.subscriptions.archive",
              "request": {
                "$ref": "ArchiveSubscriptionRequest"
              },
              "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}:archive",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}:archive",
              "deprecated": true,
              "description": "Deprecated: subscription archiving is not supported."
            },
            "get": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
              "description": "Reads a single subscription.",
              "response": {
                "$ref": "Subscription"
              },
              "httpMethod": "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
                }
              },
              "id": "androidpublisher.monetization.subscriptions.get",
              "parameterOrder": [
                "packageName",
                "productId"
              ]
            },
            "delete": {
              "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
              "scopes": [
                "https://www.googleapis.com/auth/androidpublisher"
              ],
              "parameterOrder": [
                "packageName",
                "productId"
              ],
              "description": "Deletes a subscription. A subscription can only be deleted if it has never had a base plan published.",
              "id": "androidpublisher.monetization.subscriptions.delete",
              "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
              "httpMethod": "DELETE",
              "parameters": {
                "packageName": {
                  "required": true,
                  "type": "string",
                  "description": "Required. The parent app (package name) of the app of the subscription to delete.",
                  "location": "path"
                },
                "productId": {
                  "type": "string",
                  "description": "Required. The unique product ID of the subscription to delete.",
                  "location": "path",
                  "required": true
                }
              }
            }
          },
          "resources": {
            "basePlans": {
              "methods": {
                "delete": {
                  "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}",
                  "scopes": [
                    "https://www.googleapis.com/auth/androidpublisher"
                  ],
                  "parameterOrder": [
                    "packageName",
                    "productId",
                    "basePlanId"
                  ],
                  "description": "Deletes a base plan. Can only be done for draft base plans. This action is irreversible.",
                  "id": "androidpublisher.monetization.subscriptions.basePlans.delete",
                  "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}",
                  "httpMethod": "DELETE",
                  "parameters": {
                    "packageName": {
                      "type": "string",
                      "description": "Required. The parent app (package name) of the base plan to delete.",
                      "location": "path",
                      "required": true
                    },
                    "basePlanId": {
                      "required": true,
                      "description": "Required. The unique offer ID of the base plan to delete.",
                      "location": "path",
                      "type": "string"
                    },
                    "productId": {
                      "description": "Required. The parent subscription (ID) of the base plan to delete.",
                      "location": "path",
                      "type": "string",
                      "required": true
                    }
                  }
                },
                "activate": {
                  "request": {
                    "$ref": "ActivateBasePlanRequest"
                  },
                  "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:activate",
                  "scopes": [
                    "https://www.googleapis.com/auth/androidpublisher"
                  ],
                  "description": "Activates a base plan. Once activated, base plans will be available to new subscribers.",
                  "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:activate",
                  "response": {
                    "$ref": "Subscription"
                  },
                  "parameterOrder": [
                    "packageName",
                    "productId",
                    "basePlanId"
                  ],
                  "id": "androidpublisher.monetization.subscriptions.basePlans.activate",
                  "httpMethod": "POST",
                  "parameters": {
                    "packageName": {
                      "type": "string",
                      "description": "Required. The parent app (package name) of the base plan to activate.",
                      "location": "path",
                      "required": true
                    },
                    "productId": {
                      "required": true,
                      "description": "Required. The parent subscription (ID) of the base plan to activate.",
                      "location": "path",
                      "type": "string"
                    },
                    "basePlanId": {
                      "type": "string",
                      "description": "Required. The unique base plan ID of the base plan to activate.",
                      "location": "path",
                      "required": true
                    }
                  }
                },
                "batchMigratePrices": {
                  "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.",
                  "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchMigratePrices",
                  "request": {
                    "$ref": "BatchMigrateBasePlanPricesRequest"
                  },
                  "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchMigratePrices",
                  "scopes": [
                    "https://www.googleapis.com/auth/androidpublisher"
                  ],
                  "parameterOrder": [
                    "packageName",
                    "productId"
                  ],
                  "id": "androidpublisher.monetization.subscriptions.basePlans.batchMigratePrices",
                  "httpMethod": "POST",
                  "parameters": {
                    "packageName": {
                      "required": true,
                      "type": "string",
                      "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"
                    },
                    "productId": {
                      "required": true,
                      "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"
                    }
                  },
                  "response": {
                    "$ref": "BatchMigrateBasePlanPricesResponse"
                  }
                },
                "migratePrices": {
                  "parameterOrder": [
                    "packageName",
                    "productId",
                    "basePlanId"
                  ],
                  "id": "androidpublisher.monetization.subscriptions.basePlans.migratePrices",
                  "httpMethod": "POST",
                  "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": {
                      "type": "string",
                      "description": "Required. The unique base plan ID of the base plan to update prices on.",
                      "location": "path",
                      "required": true
                    },
                    "packageName": {
                      "type": "string",
                      "description": "Required. Package name of the parent app. Must be equal to the package_name field on the Subscription resource.",
                      "location": "path",
                      "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.",
                  "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:migratePrices",
                  "request": {
                    "$ref": "MigrateBasePlanPricesRequest"
                  },
                  "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:migratePrices",
                  "scopes": [
                    "https://www.googleapis.com/auth/androidpublisher"
                  ]
                },
                "deactivate": {
                  "id": "androidpublisher.monetization.subscriptions.basePlans.deactivate",
                  "parameterOrder": [
                    "packageName",
                    "productId",
                    "basePlanId"
                  ],
                  "httpMethod": "POST",
                  "parameters": {
                    "productId": {
                      "required": true,
                      "description": "Required. The parent subscription (ID) of the base plan to deactivate.",
                      "location": "path",
                      "type": "string"
                    },
                    "basePlanId": {
                      "type": "string",
                      "description": "Required. The unique base plan ID of the base plan to deactivate.",
                      "location": "path",
                      "required": true
                    },
                    "packageName": {
                      "description": "Required. The parent app (package name) of the base plan to deactivate.",
                      "location": "path",
                      "type": "string",
                      "required": true
                    }
                  },
                  "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",
                  "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:deactivate",
                  "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:deactivate",
                  "scopes": [
                    "https://www.googleapis.com/auth/androidpublisher"
                  ],
                  "request": {
                    "$ref": "DeactivateBasePlanRequest"
                  }
                },
                "batchUpdateStates": {
                  "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchUpdateStates",
                  "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.",
                  "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchUpdateStates",
                  "scopes": [
                    "https://www.googleapis.com/auth/androidpublisher"
                  ],
                  "request": {
                    "$ref": "BatchUpdateBasePlanStatesRequest"
                  },
                  "httpMethod": "POST",
                  "parameters": {
                    "packageName": {
                      "required": true,
                      "type": "string",
                      "description": "Required. The parent app (package name) of the updated base plans.",
                      "location": "path"
                    },
                    "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"
                    }
                  },
                  "id": "androidpublisher.monetization.subscriptions.basePlans.batchUpdateStates",
                  "parameterOrder": [
                    "packageName",
                    "productId"
                  ],
                  "response": {
                    "$ref": "BatchUpdateBasePlanStatesResponse"
                  }
                }
              },
              "resources": {
                "offers": {
                  "methods": {
                    "get": {
                      "response": {
                        "$ref": "SubscriptionOffer"
                      },
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.get",
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId",
                        "offerId"
                      ],
                      "httpMethod": "GET",
                      "parameters": {
                        "packageName": {
                          "required": true,
                          "type": "string",
                          "description": "Required. The parent app (package name) of the offer to get.",
                          "location": "path"
                        },
                        "offerId": {
                          "required": true,
                          "description": "Required. The unique offer ID of the offer to get.",
                          "location": "path",
                          "type": "string"
                        },
                        "productId": {
                          "type": "string",
                          "description": "Required. The parent subscription (ID) of the offer to get.",
                          "location": "path",
                          "required": true
                        },
                        "basePlanId": {
                          "required": true,
                          "description": "Required. The parent base plan (ID) of the offer to get.",
                          "location": "path",
                          "type": "string"
                        }
                      },
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "description": "Reads a single offer",
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}"
                    },
                    "batchUpdate": {
                      "response": {
                        "$ref": "BatchUpdateSubscriptionOffersResponse"
                      },
                      "httpMethod": "POST",
                      "parameters": {
                        "packageName": {
                          "type": "string",
                          "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",
                          "required": true
                        },
                        "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": {
                          "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",
                          "required": true
                        }
                      },
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.batchUpdate",
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId"
                      ],
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers:batchUpdate",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "request": {
                        "$ref": "BatchUpdateSubscriptionOffersRequest"
                      },
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers:batchUpdate",
                      "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."
                    },
                    "create": {
                      "request": {
                        "$ref": "SubscriptionOffer"
                      },
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers",
                      "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.",
                      "response": {
                        "$ref": "SubscriptionOffer"
                      },
                      "httpMethod": "POST",
                      "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"
                        },
                        "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"
                        },
                        "basePlanId": {
                          "required": true,
                          "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"
                        },
                        "productId": {
                          "required": true,
                          "type": "string",
                          "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"
                        },
                        "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"
                        }
                      },
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId"
                      ],
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.create"
                    },
                    "deactivate": {
                      "response": {
                        "$ref": "SubscriptionOffer"
                      },
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.deactivate",
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId",
                        "offerId"
                      ],
                      "httpMethod": "POST",
                      "parameters": {
                        "productId": {
                          "required": true,
                          "description": "Required. The parent subscription (ID) of the offer to deactivate.",
                          "location": "path",
                          "type": "string"
                        },
                        "basePlanId": {
                          "required": true,
                          "description": "Required. The parent base plan (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
                        },
                        "offerId": {
                          "required": true,
                          "description": "Required. The unique offer ID of the offer to deactivate.",
                          "location": "path",
                          "type": "string"
                        }
                      },
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}:deactivate",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "request": {
                        "$ref": "DeactivateSubscriptionOfferRequest"
                      },
                      "description": "Deactivates a subscription offer. Once deactivated, existing subscribers will maintain their subscription, but the offer will become unavailable to new subscribers.",
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}:deactivate"
                    },
                    "batchUpdateStates": {
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.batchUpdateStates",
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId"
                      ],
                      "httpMethod": "POST",
                      "parameters": {
                        "basePlanId": {
                          "required": true,
                          "type": "string",
                          "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"
                        },
                        "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"
                        },
                        "packageName": {
                          "type": "string",
                          "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",
                          "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.",
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers:batchUpdateStates",
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers:batchUpdateStates",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "request": {
                        "$ref": "BatchUpdateSubscriptionOfferStatesRequest"
                      }
                    },
                    "activate": {
                      "request": {
                        "$ref": "ActivateSubscriptionOfferRequest"
                      },
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}:activate",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "description": "Activates a subscription offer. Once activated, subscription offers will be available to new subscribers.",
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}:activate",
                      "response": {
                        "$ref": "SubscriptionOffer"
                      },
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId",
                        "offerId"
                      ],
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.activate",
                      "httpMethod": "POST",
                      "parameters": {
                        "packageName": {
                          "required": true,
                          "description": "Required. The parent app (package name) 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"
                        },
                        "productId": {
                          "required": true,
                          "description": "Required. The parent subscription (ID) of the offer to activate.",
                          "location": "path",
                          "type": "string"
                        },
                        "basePlanId": {
                          "required": true,
                          "description": "Required. The parent base plan (ID) of the offer to activate.",
                          "location": "path",
                          "type": "string"
                        }
                      }
                    },
                    "delete": {
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}",
                      "httpMethod": "DELETE",
                      "parameters": {
                        "basePlanId": {
                          "required": true,
                          "type": "string",
                          "description": "Required. The parent base plan (ID) of the offer to delete.",
                          "location": "path"
                        },
                        "productId": {
                          "required": true,
                          "type": "string",
                          "description": "Required. The parent subscription (ID) of the offer to delete.",
                          "location": "path"
                        },
                        "packageName": {
                          "type": "string",
                          "description": "Required. The parent app (package name) of the offer to delete.",
                          "location": "path",
                          "required": true
                        },
                        "offerId": {
                          "required": true,
                          "description": "Required. The unique offer ID of the offer to delete.",
                          "location": "path",
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId",
                        "offerId"
                      ],
                      "description": "Deletes a subscription offer. Can only be done for draft offers. This action is irreversible.",
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.delete"
                    },
                    "list": {
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers",
                      "description": "Lists all offers under a given subscription.",
                      "response": {
                        "$ref": "ListSubscriptionOffersResponse"
                      },
                      "httpMethod": "GET",
                      "parameters": {
                        "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"
                        },
                        "basePlanId": {
                          "required": true,
                          "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"
                        },
                        "productId": {
                          "required": true,
                          "type": "string",
                          "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"
                        },
                        "packageName": {
                          "required": true,
                          "type": "string",
                          "description": "Required. The parent app (package name) for which the subscriptions should be read.",
                          "location": "path"
                        },
                        "pageSize": {
                          "type": "integer",
                          "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",
                          "format": "int32"
                        }
                      },
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.list",
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId"
                      ]
                    },
                    "batchGet": {
                      "request": {
                        "$ref": "BatchGetSubscriptionOffersRequest"
                      },
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers:batchGet",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "description": "Reads one or more subscription offers.",
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers:batchGet",
                      "response": {
                        "$ref": "BatchGetSubscriptionOffersResponse"
                      },
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId"
                      ],
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.batchGet",
                      "httpMethod": "POST",
                      "parameters": {
                        "packageName": {
                          "type": "string",
                          "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",
                          "required": true
                        },
                        "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 read. May be specified as '-' to read offers from multiple base plans.",
                          "location": "path",
                          "type": "string"
                        }
                      }
                    },
                    "patch": {
                      "response": {
                        "$ref": "SubscriptionOffer"
                      },
                      "httpMethod": "PATCH",
                      "parameters": {
                        "offerId": {
                          "required": true,
                          "description": "Required. Immutable. Unique ID of this subscription offer. Must be unique within the base plan.",
                          "location": "path",
                          "type": "string"
                        },
                        "regionsVersion.version": {
                          "type": "string",
                          "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"
                        },
                        "latencyTolerance": {
                          "type": "string",
                          "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
                          "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."
                          ],
                          "location": "query"
                        },
                        "packageName": {
                          "required": true,
                          "description": "Required. Immutable. The package name of the app the parent subscription belongs to.",
                          "location": "path",
                          "type": "string"
                        },
                        "basePlanId": {
                          "type": "string",
                          "description": "Required. Immutable. The ID of the base plan to which this offer is an extension.",
                          "location": "path",
                          "required": true
                        },
                        "updateMask": {
                          "type": "string",
                          "description": "Required. The list of fields to be updated.",
                          "location": "query",
                          "format": "google-fieldmask"
                        },
                        "productId": {
                          "required": true,
                          "type": "string",
                          "description": "Required. Immutable. The ID of the parent subscription this offer belongs to.",
                          "location": "path"
                        },
                        "allowMissing": {
                          "type": "boolean",
                          "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"
                        }
                      },
                      "id": "androidpublisher.monetization.subscriptions.basePlans.offers.patch",
                      "parameterOrder": [
                        "packageName",
                        "productId",
                        "basePlanId",
                        "offerId"
                      ],
                      "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}",
                      "scopes": [
                        "https://www.googleapis.com/auth/androidpublisher"
                      ],
                      "request": {
                        "$ref": "SubscriptionOffer"
                      },
                      "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}",
                      "description": "Updates an existing subscription offer."
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "grants": {
      "methods": {
        "delete": {
          "flatPath": "androidpublisher/v3/developers/{developersId}/users/{usersId}/grants/{grantsId}",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "id": "androidpublisher.grants.delete",
          "parameterOrder": [
            "name"
          ],
          "description": "Removes all access for the user to the given package or developer account.",
          "path": "androidpublisher/v3/{+name}",
          "httpMethod": "DELETE",
          "parameters": {
            "name": {
              "pattern": "^developers/[^/]+/users/[^/]+/grants/[^/]+$",
              "location": "path",
              "required": true,
              "description": "Required. The name of the grant to delete. Format: developers/{developer}/users/{email}/grants/{package_name}",
              "type": "string"
            }
          }
        },
        "create": {
          "flatPath": "androidpublisher/v3/developers/{developersId}/users/{usersId}/grants",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "request": {
            "$ref": "Grant"
          },
          "path": "androidpublisher/v3/{+parent}/grants",
          "description": "Grant access for a user to the given package.",
          "response": {
            "$ref": "Grant"
          },
          "httpMethod": "POST",
          "parameters": {
            "parent": {
              "description": "Required. The user which needs permission. Format: developers/{developer}/users/{user}",
              "type": "string",
              "required": true,
              "pattern": "^developers/[^/]+/users/[^/]+$",
              "location": "path"
            }
          },
          "id": "androidpublisher.grants.create",
          "parameterOrder": [
            "parent"
          ]
        },
        "patch": {
          "response": {
            "$ref": "Grant"
          },
          "httpMethod": "PATCH",
          "parameters": {
            "name": {
              "type": "string",
              "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.",
              "pattern": "^developers/[^/]+/users/[^/]+/grants/[^/]+$",
              "location": "path",
              "required": true
            },
            "updateMask": {
              "type": "string",
              "description": "Optional. The list of fields to be updated.",
              "location": "query",
              "format": "google-fieldmask"
            }
          },
          "parameterOrder": [
            "name"
          ],
          "id": "androidpublisher.grants.patch",
          "request": {
            "$ref": "Grant"
          },
          "flatPath": "androidpublisher/v3/developers/{developersId}/users/{usersId}/grants/{grantsId}",
          "scopes": [
            "https://www.googleapis.com/auth/androidpublisher"
          ],
          "path": "androidpublisher/v3/{+name}",
          "description": "Updates access for the user to the given package."
        }
      }
    }
  }
}
