@swamp/gcp/paymentsresellersubscription
v2026.04.04.1
Google Cloud paymentsresellersubscription infrastructure models
Labels
gcpgoogle-cloudpaymentsresellersubscriptioncloudinfrastructure
Contents
Install
$ swamp extension pull @swamp/gcp/paymentsresellersubscriptionRelease Notes
- Updated: partners_subscriptions
@swamp/gcp/paymentsresellersubscription/partners-productsv2026.04.03.3partners_products.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
getGet a products
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the products |
syncSync products state from GCP
Resources
state(infinite)— A Product resource that defines a subscription service that can be resold.
@swamp/gcp/paymentsresellersubscription/partners-promotionsv2026.04.03.3partners_promotions.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
getGet a promotions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the promotions |
syncSync promotions state from GCP
find_eligiblefind eligible
| Argument | Type | Description |
|---|---|---|
| filter? | any | |
| pageSize? | any | |
| pageToken? | any |
Resources
state(infinite)— A Promotion resource that defines a promotion for a subscription that can be ...
@swamp/gcp/paymentsresellersubscription/partners-subscriptionsv2026.04.04.1partners_subscriptions.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| cancellationDetails? | object | Describes the details of a cancelled or cancelling subscription. |
| lineItems? | array | Required. The line items of the subscription. |
| migrationDetails? | object | Describes the details of the migrated subscription. |
| name? | string | Identifier. Resource name of the subscription. It will have the format of "partners/{partner_id}/subscriptions/{subscription_id}". This is available for authorizeAddon, but otherwise is response only. |
| partnerUserToken? | string | Required. Identifier of the end-user in partner’s system. The value is restricted to 63 ASCII characters at the maximum. |
| products? | array | Optional. Deprecated: consider using `line_items` as the input. Required. Resource name that identifies the purchased products. The format will be 'partners/{partner_id}/products/{product_id}'. |
| promotionSpecs? | array | Optional. Subscription-level promotions. Only free trial is supported on this level. It determines the first renewal time of the subscription to be the end of the free trial period. Specify the promotion resource name only when used as input. |
| promotions? | array | Optional. Deprecated: consider using the top-level `promotion_specs` as the input. Optional. Resource name that identifies one or more promotions that can be applied on the product. A typical promotion for a subscription is Free trial. The format will be 'partners/{partner_id}/promotions/{promotion_id}'. |
| purchaseTime? | string | Optional. The timestamp when the user transaction was made with the Partner. Specify for the case of "bundle with choice", and it must be before the provision_time (when the user makes a selection). |
| serviceLocation? | object | Describes a location of an end user. |
| upgradeDowngradeDetails? | object | Details about the previous subscription that this new subscription upgrades/downgrades from. |
| subscriptionId? | string | Required. Identifies the subscription resource on the Partner side. The value is restricted to 63 ASCII characters at the maximum. If a subscription with the same ID already exists, the creation fails with an `ALREADY_EXISTS` error. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
createCreate a subscriptions
getGet a subscriptions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the subscriptions |
syncSync subscriptions state from GCP
cancelcancel
| Argument | Type | Description |
|---|---|---|
| cancelImmediately? | any | |
| cancellationReason? | any |
entitleentitle
| Argument | Type | Description |
|---|---|---|
| lineItemEntitlementDetails? | any |
extendextend
| Argument | Type | Description |
|---|---|---|
| extension? | any | |
| requestId? | any |
provisionprovision
| Argument | Type | Description |
|---|---|---|
| cancellationDetails? | any | |
| createTime? | any | |
| cycleEndTime? | any | |
| endUserEntitled? | any | |
| freeTrialEndTime? | any | |
| lineItems? | any | |
| migrationDetails? | any | |
| name? | any | |
| partnerUserToken? | any | |
| processingState? | any | |
| products? | any | |
| promotionSpecs? | any | |
| promotions? | any | |
| purchaseTime? | any | |
| redirectUri? | any | |
| renewalTime? | any | |
| serviceLocation? | any | |
| state? | any | |
| updateTime? | any | |
| upgradeDowngradeDetails? | any |
resumeresume
| Argument | Type | Description |
|---|---|---|
| cycleOptions? | any | |
| resumeMode? | any |
suspendsuspend
undo_cancelundo cancel
Resources
state(infinite)— Acts as a central billing entity between an external partner and Google. Goog...
2026.04.03.327.0 KBApr 3, 2026
Google Cloud paymentsresellersubscription infrastructure models
Release Notes
- Updated: partners_products, partners_promotions, partners_subscriptions
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudpaymentsresellersubscriptioncloudinfrastructure
2026.04.03.126.6 KBApr 3, 2026
Google Cloud paymentsresellersubscription infrastructure models
Release Notes
- Updated: partners_products, partners_promotions, partners_subscriptions
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudpaymentsresellersubscriptioncloudinfrastructure
2026.04.02.226.5 KBApr 2, 2026
Google Cloud paymentsresellersubscription infrastructure models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudpaymentsresellersubscriptioncloudinfrastructure
2026.03.27.127.7 KBMar 27, 2026
Google Cloud paymentsresellersubscription infrastructure models
Release Notes
- Added: partners_products, partners_promotions, partners_subscriptions
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudpaymentsresellersubscriptioncloudinfrastructure