Skip to main content

@swamp/gcp/serviceconsumermanagement

v2026.04.23.1

Google Cloud serviceconsumermanagement infrastructure models

Repository

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

Labels

gcpgoogle-cloudserviceconsumermanagementcloudinfrastructure

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

@swamp/gcp/serviceconsumermanagement/services-tenancyunitsv2026.04.23.1services_tenancyunits.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
tenancyUnitId?stringOptional. Optional service producer-provided identifier of the tenancy unit. Must be no longer than 40 characters and preferably URI friendly. If it isn't provided, a UID for the tenancy unit is automatically generated. The identifier must be unique across a managed service. If the tenancy unit already exists for the managed service and service consumer pair, calling `CreateTenancyUnit` returns the existing tenancy unit if the provided identifier is identical or empty, otherwise the call fails.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a tenancyUnits
getGet a tenancyUnits
ArgumentTypeDescription
identifierstringThe name of the tenancyUnits
deleteDelete the tenancyUnits
ArgumentTypeDescription
identifierstringThe name of the tenancyUnits
syncSync tenancyUnits state from GCP
add_projectadd project
ArgumentTypeDescription
projectConfig?any
tag?any
apply_project_configapply project config
ArgumentTypeDescription
projectConfig?any
tag?any
attach_projectattach project
ArgumentTypeDescription
externalResource?any
reservedResource?any
tag?any
undelete_projectundelete project
ArgumentTypeDescription
tag?any

Resources

state(infinite)— Representation of a tenancy unit.