Skip to main content

@swamp/gcp/serviceusage

v2026.04.23.1

Google Cloud serviceusage infrastructure models

Repository

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

Labels

gcpgoogle-cloudserviceusagecloudinfrastructure

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

@swamp/gcp/serviceusage/servicesv2026.04.23.1services.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 services
ArgumentTypeDescription
identifierstringThe name of the services
syncSync services state from GCP
batch_enablebatch enable
ArgumentTypeDescription
serviceIds?any
batch_getbatch get
disabledisable
ArgumentTypeDescription
checkIfServiceHasUsage?any
disableDependentServices?any
enableenable
ArgumentTypeDescription
serviceIds?any

Resources

state(infinite)— A service that is available for use by the consumer.