Skip to main content

@swamp/gcp/androidpublisher

v2026.04.23.1

Google Cloud androidpublisher infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

gcpgoogle-cloudandroidpublishercloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/gcp/androidpublisher

@swamp/gcp/androidpublisher/applications-devicetierconfigsv2026.04.23.1applications_devicetierconfigs.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
deviceGroups?arrayDefinition of device groups for the app.
deviceTierSet?objectA 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.
userCountrySets?arrayDefinition of user country sets for the app.
packageNamestringPackage name of the app.
allowUnknownDevices?stringWhether the service should accept device IDs that are unknown to Play's device catalog.
createCreate a deviceTierConfigs
getGet a deviceTierConfigs
ArgumentTypeDescription
identifierstringThe name of the deviceTierConfigs
syncSync deviceTierConfigs state from GCP

Resources

state(infinite)— Configuration describing device targeting criteria for the content of an app.
@swamp/gcp/androidpublisher/applications-tracks-releasesv2026.04.23.1applications_tracks_releases.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a releases
ArgumentTypeDescription
identifierstringThe name of the releases
syncSync releases state from GCP

Resources

state(infinite)— Summary of a release.
@swamp/gcp/androidpublisher/apprecoveryv2026.04.23.1apprecovery.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
remoteInAppUpdate?objectObject representation for Remote in-app update action type.
targeting?objectTargeting details for a recovery action such as regions, android sdk levels, app versions etc.
packageNamestringRequired. Package name of the app on which recovery action is performed.
createCreate a apprecovery
getGet a apprecovery
ArgumentTypeDescription
identifierstringThe name of the apprecovery
syncSync apprecovery state from GCP
add_targetingadd targeting
ArgumentTypeDescription
targetingUpdate?any
cancelcancel
deploydeploy

Resources

state(infinite)— Information about an app recovery action.
@swamp/gcp/androidpublisher/editsv2026.04.23.1edits.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
packageNamestringPackage name of the app.
createCreate a edits
getGet a edits
ArgumentTypeDescription
identifierstringThe name of the edits
deleteDelete the edits
ArgumentTypeDescription
identifierstringThe name of the edits
syncSync edits state from GCP
commitcommit
validatevalidate

Resources

state(infinite)— An app edit. The resource for EditsService.
@swamp/gcp/androidpublisher/edits-apksv2026.04.23.1edits_apks.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a apks
ArgumentTypeDescription
identifierstringThe name of the apks
syncSync apks state from GCP
addexternallyhostedaddexternallyhosted
ArgumentTypeDescription
externallyHostedApk?any
uploadupload

Resources

state(infinite)— Information about an APK. The resource for ApksService.
@swamp/gcp/androidpublisher/edits-bundlesv2026.04.23.1edits_bundles.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a bundles
ArgumentTypeDescription
identifierstringThe name of the bundles
syncSync bundles state from GCP
uploadupload

Resources

state(infinite)— Information about an app bundle. The resource for BundlesService.
@swamp/gcp/androidpublisher/edits-countryavailabilityv2026.04.23.1edits_countryavailability.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a countryavailability
ArgumentTypeDescription
identifierstringThe name of the countryavailability
syncSync countryavailability state from GCP

Resources

state(infinite)— Resource for per-track country availability information.
@swamp/gcp/androidpublisher/edits-detailsv2026.04.23.1edits_details.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
contactEmail?stringThe user-visible support email for this app.
contactPhone?stringThe user-visible support telephone number for this app.
contactWebsite?stringThe user-visible website for this app.
defaultLanguage?stringDefault language code, in BCP 47 format (eg "en-US").
getGet a details
ArgumentTypeDescription
identifierstringThe name of the details
updateUpdate details attributes
syncSync details state from GCP

Resources

state(infinite)— The app details. The resource for DetailsService.
@swamp/gcp/androidpublisher/edits-expansionfilesv2026.04.23.1edits_expansionfiles.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fileSize?stringIf 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.
referencesVersion?numberIf set, this APK's expansion file references another APK's expansion file. The file_size field will not be set.
getGet a expansionfiles
ArgumentTypeDescription
identifierstringThe name of the expansionfiles
updateUpdate expansionfiles attributes
syncSync expansionfiles state from GCP
uploadupload

Resources

state(infinite)— An expansion file. The resource for ExpansionFilesService.
@swamp/gcp/androidpublisher/edits-imagesv2026.04.23.1edits_images.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a images
ArgumentTypeDescription
identifierstringThe name of the images
deleteDelete the images
ArgumentTypeDescription
identifierstringThe name of the images
syncSync images state from GCP
uploadupload

Resources

state(infinite)— An uploaded image. The resource for ImagesService.
@swamp/gcp/androidpublisher/edits-listingsv2026.04.23.1edits_listings.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fullDescription?stringFull description of the app.
language?stringLanguage localization code (a BCP-47 language tag; for example, "de-AT" for Austrian German).
shortDescription?stringShort description of the app.
title?stringLocalized title of the app.
video?stringURL of a promotional YouTube video for the app.
getGet a listings
ArgumentTypeDescription
identifierstringThe name of the listings
updateUpdate listings attributes
deleteDelete the listings
ArgumentTypeDescription
identifierstringThe name of the listings
syncSync listings state from GCP

Resources

state(infinite)— A localized store listing. The resource for ListingsService.
@swamp/gcp/androidpublisher/edits-testersv2026.04.23.1edits_testers.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
googleGroups?arrayAll testing Google Groups, as email addresses.
getGet a testers
ArgumentTypeDescription
identifierstringThe name of the testers
updateUpdate testers attributes
syncSync testers state from GCP

Resources

state(infinite)— The testers of an app. The resource for TestersService. Note: while it is pos...
@swamp/gcp/androidpublisher/edits-tracksv2026.04.23.1edits_tracks.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
formFactor?enumRequired. Form factor of the new track. Defaults to the default track.
track?stringIdentifier 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?enumRequired. Type of the new track. Currently, the only supported value is closedTesting.
releases?arrayIn a read request, represents all active releases in the track. In an update request, represents desired changes.
packageNamestringRequired. Package name of the app.
editIdstringRequired. Identifier of the edit.
createCreate a tracks
getGet a tracks
ArgumentTypeDescription
identifierstringThe name of the tracks
updateUpdate tracks attributes
syncSync tracks state from GCP

Resources

state(infinite)— A track configuration. The resource for TracksService.
@swamp/gcp/androidpublisher/generatedapksv2026.04.23.1generatedapks.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a generatedapks
ArgumentTypeDescription
identifierstringThe name of the generatedapks
syncSync generatedapks state from GCP
downloaddownload

Resources

state(infinite)— Download metadata for split, standalone and universal APKs, as well as asset ...
@swamp/gcp/androidpublisher/inappproductsv2026.04.23.1inappproducts.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
defaultLanguage?stringDefault language of the localized data, as defined by BCP-47. e.g. "en-US".
defaultPrice?objectDefinition of a price, i.e. currency and units.
gracePeriod?stringGrace 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).
listings?recordList of localized title and description data. Map key is the language of the localized data, as defined by BCP-47, e.g. "en-US".
managedProductTaxesAndComplianceSettings?objectDetails about taxation and legal compliance for managed products.
packageName?stringPackage name of the parent app.
prices?recordPrices 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.
purchaseType?enumThe type of the product, e.g. a recurring subscription.
sku?stringStock-keeping-unit (SKU) of the product, unique within an app.
status?enumThe status of the product, e.g. whether it's active.
subscriptionPeriod?stringSubscription 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).
subscriptionTaxesAndComplianceSettings?objectDetails about taxation, Google Play policy, and legal compliance for subscription products.
trialPeriod?stringTrial period, specified in ISO 8601 format. Acceptable values are anything between P7D (seven days) and P999D (999 days).
autoConvertMissingPrices?stringIf 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.
createCreate a inappproducts
getGet a inappproducts
ArgumentTypeDescription
identifierstringThe name of the inappproducts
updateUpdate inappproducts attributes
deleteDelete the inappproducts
ArgumentTypeDescription
identifierstringThe name of the inappproducts
syncSync inappproducts state from GCP
batch_deletebatch delete
ArgumentTypeDescription
requests?any
batch_getbatch get
batch_updatebatch update
ArgumentTypeDescription
requests?any

Resources

state(infinite)— An in-app product. The resource for InappproductsService.
@swamp/gcp/androidpublisher/monetization-onetimeproductsv2026.04.23.1monetization_onetimeproducts.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
listings?arrayRequired. Set of localized title and description data. Must not have duplicate entries with the same language_code.
offerTags?arrayOptional. 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.
packageName?stringRequired. Immutable. Package name of the parent app.
productId?stringRequired. 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 (.).
purchaseOptions?arrayRequired. The set of purchase options for this one-time product.
regionsVersion?objectThe version of the available regions being used for the specified resource.
restrictedPaymentCountries?objectCountries where the purchase of this product is restricted to payment methods registered in the same country. If empty, no payment location restrictions are imposed.
taxAndComplianceSettings?objectDetails about taxation, Google Play policy and legal compliance for one-time products.
getGet a onetimeproducts
ArgumentTypeDescription
identifierstringThe name of the onetimeproducts
updateUpdate onetimeproducts attributes
deleteDelete the onetimeproducts
ArgumentTypeDescription
identifierstringThe name of the onetimeproducts
syncSync onetimeproducts state from GCP
batch_deletebatch delete
ArgumentTypeDescription
requests?any
batch_getbatch get
batch_updatebatch update
ArgumentTypeDescription
requests?any

Resources

state(infinite)— A single one-time product for an app.
@swamp/gcp/androidpublisher/monetization-onetimeproducts-purchaseoptions-offersv2026.04.23.1monetization_onetimeproducts_purchaseoptions_offers.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a offers
ArgumentTypeDescription
identifierstringThe name of the offers
syncSync offers state from GCP
activateactivate
ArgumentTypeDescription
latencyTolerance?any
offerId?any
packageName?any
productId?any
purchaseOptionId?any
batch_deletebatch delete
ArgumentTypeDescription
requests?any
batch_getbatch get
ArgumentTypeDescription
requests?any
batch_updatebatch update
ArgumentTypeDescription
requests?any
batch_update_statesbatch update states
ArgumentTypeDescription
requests?any
cancelcancel
ArgumentTypeDescription
latencyTolerance?any
offerId?any
packageName?any
productId?any
purchaseOptionId?any
deactivatedeactivate
ArgumentTypeDescription
latencyTolerance?any
offerId?any
packageName?any
productId?any
purchaseOptionId?any

Resources

state(infinite)— A single offer for a one-time product.
@swamp/gcp/androidpublisher/monetization-subscriptionsv2026.04.23.1monetization_subscriptions.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
basePlans?arrayThe set of base plans for this subscription. Represents the prices and duration of the subscription if no other offers apply.
listings?arrayRequired. List of localized listings for this subscription. Must contain at least an entry for the default language of the parent app.
packageName?stringImmutable. Package name of the parent app.
productId?stringImmutable. 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.
restrictedPaymentCountries?objectCountries where the purchase of this product is restricted to payment methods registered in the same country. If empty, no payment location restrictions are imposed.
taxAndComplianceSettings?objectDetails about taxation, Google Play policy, and legal compliance for subscription products.
regionsVersion_version?stringRequired. 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 v
createCreate a subscriptions
getGet a subscriptions
ArgumentTypeDescription
identifierstringThe name of the subscriptions
updateUpdate subscriptions attributes
deleteDelete the subscriptions
ArgumentTypeDescription
identifierstringThe name of the subscriptions
syncSync subscriptions state from GCP
archivearchive
batch_getbatch get
batch_updatebatch update
ArgumentTypeDescription
requests?any

Resources

state(infinite)— A single subscription for an app.
@swamp/gcp/androidpublisher/monetization-subscriptions-baseplans-offersv2026.04.23.1monetization_subscriptions_baseplans_offers.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
basePlanId?stringRequired. Immutable. The ID of the base plan to which this offer is an extension.
offerId?stringRequired. Immutable. Unique ID of this subscription offer. Must be unique within the base plan.
offerTags?arrayList of up to 20 custom tags specified for this offer, and returned to the app through the billing library.
otherRegionsConfig?objectConfiguration for any new locations Play may launch in specified on a subscription offer.
packageName?stringRequired. Immutable. The package name of the app the parent subscription belongs to.
phases?arrayRequired. 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.
productId?stringRequired. Immutable. The ID of the parent subscription this offer belongs to.
regionalConfigs?arrayRequired. The region-specific configuration of this offer. Must contain at least one entry.
targeting?objectDefines the rule a user needs to satisfy to receive this offer.
regionsVersion_version?stringRequired. 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 v
createCreate a offers
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a offers
ArgumentTypeDescription
identifierstringThe name of the offers
updateUpdate offers attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the offers
ArgumentTypeDescription
identifierstringThe name of the offers
syncSync offers state from GCP
activateactivate
ArgumentTypeDescription
basePlanId?any
latencyTolerance?any
offerId?any
packageName?any
productId?any
batch_getbatch get
ArgumentTypeDescription
requests?any
batch_updatebatch update
ArgumentTypeDescription
requests?any
batch_update_statesbatch update states
ArgumentTypeDescription
requests?any
deactivatedeactivate
ArgumentTypeDescription
basePlanId?any
latencyTolerance?any
offerId?any
packageName?any
productId?any

Resources

state(infinite)— A single, temporary offer
@swamp/gcp/androidpublisher/ordersv2026.04.23.1orders.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a orders
ArgumentTypeDescription
identifierstringThe name of the orders
syncSync orders state from GCP
batchgetbatchget
refundrefund

Resources

state(infinite)— The Order resource encapsulates comprehensive information about a transaction...
@swamp/gcp/androidpublisher/purchases-productsv2026.04.23.1purchases_products.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a products
ArgumentTypeDescription
identifierstringThe name of the products
syncSync products state from GCP
acknowledgeacknowledge
ArgumentTypeDescription
developerPayload?any
consumeconsume

Resources

state(infinite)— A ProductPurchase resource indicates the status of a user's inapp product pur...
@swamp/gcp/androidpublisher/purchases-subscriptionsv2026.04.23.1purchases_subscriptions.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a subscriptions
ArgumentTypeDescription
identifierstringThe name of the subscriptions
syncSync subscriptions state from GCP
acknowledgeacknowledge
ArgumentTypeDescription
developerPayload?any
externalAccountIds?any
cancelcancel
deferdefer
ArgumentTypeDescription
deferralInfo?any
refundrefund
revokerevoke

Resources

state(infinite)— A SubscriptionPurchase resource indicates the status of a user's subscription...
@swamp/gcp/androidpublisher/purchases-subscriptionsv2v2026.04.23.1purchases_subscriptionsv2.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a subscriptionsv2
ArgumentTypeDescription
identifierstringThe name of the subscriptionsv2
syncSync subscriptionsv2 state from GCP
cancelcancel
ArgumentTypeDescription
cancellationContext?any
deferdefer
ArgumentTypeDescription
deferralContext?any
revokerevoke
ArgumentTypeDescription
revocationContext?any

Resources

state(infinite)— Indicates the status of a user's subscription purchase.
@swamp/gcp/androidpublisher/purchases-voidedpurchasesv2026.04.23.1purchases_voidedpurchases.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a voidedpurchases
ArgumentTypeDescription
identifierstringThe name of the voidedpurchases
syncSync voidedpurchases state from GCP

Resources

state(infinite)— A VoidedPurchase resource indicates a purchase that was either canceled/refun...
@swamp/gcp/androidpublisher/reviewsv2026.04.23.1reviews.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a reviews
ArgumentTypeDescription
identifierstringThe name of the reviews
syncSync reviews state from GCP
replyreply
ArgumentTypeDescription
replyText?any

Resources

state(infinite)— An Android app review.
@swamp/gcp/androidpublisher/systemapks-variantsv2026.04.23.1systemapks_variants.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
deviceSpec?objectThe device spec used to generate a system APK.
options?objectOptions for system APKs.
packageNamestringPackage name of the app.
versionCodestringThe version code of the App Bundle.
createCreate a variants
getGet a variants
ArgumentTypeDescription
identifierstringThe name of the variants
syncSync variants state from GCP
downloaddownload

Resources

state(infinite)— APK that is suitable for inclusion in a system image. The resource of SystemA...
@swamp/gcp/androidpublisher/usersv2026.04.23.1users.ts

Global Arguments

ArgumentTypeDescription
developerAccountPermissions?arrayPermissions for the user which apply across the developer account.
email?stringImmutable. The user's email address.
expirationTime?stringThe time at which the user's access expires, if set. When setting this value, it must always be in the future.
name?stringRequired. Resource name for this user, following the pattern "developers/{developer}/users/{email}".
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a users
getGet a users
ArgumentTypeDescription
identifierstringThe name of the users
updateUpdate users attributes
deleteDelete the users
ArgumentTypeDescription
identifierstringThe name of the users
syncSync users state from GCP

Resources

state(infinite)— A user resource.