Skip to main content

@swamp/gcp/licensing

v2026.04.23.1

Google Cloud licensing infrastructure models

Repository

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

Labels

gcpgoogle-cloudlicensingcloudinfrastructure

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/licensing

@swamp/gcp/licensing/licenseassignmentsv2026.04.23.1licenseassignments.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
userIdstringThe user's current primary email address. If the user's email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a key for persistent data. This key could break if the current user's email address changes. If the `userId` is suspended, the license status changes.
etags?stringETag of the resource.
kind?stringIdentifies the resource as a LicenseAssignment, which is `licensing#licenseAssignment`.
productId?stringA product's unique identifier. For more information about products in this version of the API, see Product and SKU IDs.
productName?stringDisplay Name of the product.
selfLink?stringLink to this page.
skuId?stringA product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs.
skuName?stringDisplay Name of the sku of the product.
createCreate a licenseAssignments
getGet a licenseAssignments
ArgumentTypeDescription
identifierstringThe name of the licenseAssignments
updateUpdate licenseAssignments attributes
deleteDelete the licenseAssignments
ArgumentTypeDescription
identifierstringThe name of the licenseAssignments
syncSync licenseAssignments state from GCP
list_for_productlist for product
list_for_product_and_skulist for product and sku

Resources

state(infinite)— Representation of a license assignment.