Skip to main content

@swamp/gcp/recommender

v2026.04.23.1

Google Cloud recommender infrastructure models

Repository

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

Labels

gcpgoogle-cloudrecommendercloudinfrastructure

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

@swamp/gcp/recommender/insighttypes-insightsv2026.04.23.1insighttypes_insights.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 insights
ArgumentTypeDescription
identifierstringThe name of the insights
syncSync insights state from GCP
mark_acceptedmark accepted
ArgumentTypeDescription
etag?any
stateMetadata?any

Resources

state(infinite)— An insight along with the information used to derive the insight. The insight...
@swamp/gcp/recommender/recommenders-recommendationsv2026.04.23.1recommenders_recommendations.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 recommendations
ArgumentTypeDescription
identifierstringThe name of the recommendations
syncSync recommendations state from GCP
mark_claimedmark claimed
ArgumentTypeDescription
etag?any
stateMetadata?any
mark_dismissedmark dismissed
ArgumentTypeDescription
etag?any
mark_failedmark failed
ArgumentTypeDescription
etag?any
stateMetadata?any
mark_succeededmark succeeded
ArgumentTypeDescription
etag?any
stateMetadata?any

Resources

state(infinite)— A recommendation along with a suggested action. E.g., a rightsizing recommend...