@swamp/gcp/cloudresourcemanager
v2026.04.23.1
Google Cloud cloudresourcemanager infrastructure models
Repository
https://github.com/systeminit/swamp-extensions
Labels
gcpgoogle-cloudcloudresourcemanagercloudinfrastructure
Contents
Quality score
Verified by SwampHow well-documented and verifiable this extension is.
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/cloudresourcemanager@swamp/gcp/cloudresourcemanager/capabilitiesv2026.04.23.1capabilities.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name? | string | Immutable. Identifier. The resource name of the capability. Must be in the following form: * `folders/{folder_id}/capabilities/{capability_name}` For example, `folders/123/capabilities/app-management` Following are the allowed {capability_name} values: * `app-management` |
| value? | boolean | Required. The configured value of the capability at the given parent resource. |
getGet a capabilities
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the capabilities |
updateUpdate capabilities attributes
syncSync capabilities state from GCP
Resources
state(infinite)— Representation of a Capability.
@swamp/gcp/cloudresourcemanager/effectivetagbindingcollectionsv2026.04.23.1effectivetagbindingcollections.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
getGet a effectiveTagBindingCollections
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the effectiveTagBindingCollections |
syncSync effectiveTagBindingCollections state from GCP
Resources
state(infinite)— Represents a collection of effective tag bindings for a GCP resource.
@swamp/gcp/cloudresourcemanager/effectivetagsv2026.04.23.1effectivetags.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
getGet a effectiveTags
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the effectiveTags |
syncSync effectiveTags state from GCP
Resources
state(infinite)— An EffectiveTag represents a tag that applies to a resource during policy eva...
@swamp/gcp/cloudresourcemanager/foldersv2026.04.23.1folders.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| displayName? | string | The folder's display name. A folder's display name must be unique amongst its siblings. For example, no two folders with the same parent can share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens and underscores and can be no longer than 30 characters. This is captured by the regular expression: `[\\p{L}\\p{N}]([\\p{L}\\p{N}_- ]{0,28}[\\p{L}\\p{N}])?`. |
| name? | string | Identifier. The resource name of the folder. Its format is `folders/{folder_id}`, for example: "folders/1234". |
| parent? | string | Required. The folder's parent's resource name. Updates to the folder's parent must be performed using MoveFolder. |
| tags? | record | Optional. Input only. Immutable. Tag keys/values directly bound to this folder. Each item in the map must be expressed as ": ". For example: "123/environment": "production", "123/costCenter": "marketing" Note: Currently this field is in Preview. |
createCreate a folders
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a folders
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the folders |
updateUpdate folders attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the folders
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the folders |
syncSync folders state from GCP
movemove
| Argument | Type | Description |
|---|---|---|
| destinationParent? | any |
searchsearch
undeleteundelete
Resources
state(infinite)— A folder in an organization's resource hierarchy, used to organize that organ...
@swamp/gcp/cloudresourcemanager/liensv2026.04.23.1liens.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| createTime? | string | The creation time of this Lien. |
| name? | string | A system-generated unique identifier for this Lien. Example: `liens/1234abcd` |
| origin? | string | A stable, user-visible/meaningful string identifying the origin of the Lien, intended to be inspected programmatically. Maximum length of 200 characters. Example: 'compute.googleapis.com' |
| parent? | string | A reference to the resource this Lien is attached to. The server will validate the parent against those for which Liens are supported. Example: `projects/1234` |
| reason? | string | Concise user-visible strings indicating why an action cannot be performed on a resource. Maximum length of 200 characters. Example: 'Holds production API key' |
| restrictions? | array | The types of operations which should be blocked as a result of this Lien. Each value should correspond to an IAM permission. The server will validate the permissions against those for which Liens are supported. An empty list is meaningless and will be rejected. Example: ['resourcemanager.projects.delete'] |
createCreate a liens
getGet a liens
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the liens |
deleteDelete the liens
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the liens |
syncSync liens state from GCP
Resources
state(infinite)— A Lien represents an encumbrance on the actions that can be performed on a re...
@swamp/gcp/cloudresourcemanager/organizationsv2026.04.23.1organizations.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
getGet a organizations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the organizations |
syncSync organizations state from GCP
searchsearch
Resources
state(infinite)— The root node in the resource hierarchy to which a particular entity's (a com...
@swamp/gcp/cloudresourcemanager/projectsv2026.04.23.1projects.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| displayName? | string | Optional. A user-assigned display name of the project. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `My Project` |
| labels? | record | Optional. The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?. No more than 64 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific chara |
| parent? | string | Optional. A reference to a parent Resource. eg., `organizations/123` or `folders/876`. |
| projectId? | string | Immutable. The unique, user-assigned id of the project. It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: `tokyo-rain-123` |
| tags? | record | Optional. Input only. Immutable. Tag keys/values directly bound to this project. Each item in the map must be expressed as ": ". For example: "123/environment": "production", "123/costCenter": "marketing" Note: Currently this field is in Preview. |
createCreate a projects
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a projects
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the projects |
updateUpdate projects attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the projects
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the projects |
syncSync projects state from GCP
movemove
| Argument | Type | Description |
|---|---|---|
| destinationParent? | any |
searchsearch
undeleteundelete
Resources
state(infinite)— A project is a high-level Google Cloud entity. It is a container for ACLs, AP...
@swamp/gcp/cloudresourcemanager/tagbindingcollectionsv2026.04.23.1tagbindingcollections.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| etag? | string | Optional. A checksum based on the current bindings which can be passed to prevent race conditions. This field is always set in server responses. |
| fullResourceName? | string | The full resource name of the resource the TagBindings are bound to. E.g. `//cloudresourcemanager.googleapis.com/projects/123` |
| name? | string | Identifier. The name of the TagBindingCollection, following the convention: `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` where the encoded-full-resource-name is the UTF-8 encoded name of the GCP resource the TagBindings are bound to. "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" |
| tags? | record | Tag keys/values directly bound to this resource, specified in namespaced format. For example: "123/environment": "production" |
getGet a tagBindingCollections
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tagBindingCollections |
updateUpdate tagBindingCollections attributes
syncSync tagBindingCollections state from GCP
Resources
state(infinite)— Represents a collection of tags directly bound to a GCP resource.
@swamp/gcp/cloudresourcemanager/tagbindingsv2026.04.23.1tagbindings.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 full resource name of the resource the TagValue is bound to. E.g. `//cloudresourcemanager.googleapis.com/projects/123` |
| tagValue? | string | The TagValue of the TagBinding. Must be of the form `tagValues/456`. |
| tagValueNamespacedName? | string | The namespaced name for the TagValue of the TagBinding. Must be in the format `{parent_id}/{tag_key_short_name}/{short_name}`. For methods that support TagValue namespaced name, only one of tag_value_namespaced_name or tag_value may be filled. Requests with both fields will be rejected. |
createCreate a tagBindings
getGet a tagBindings
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tagBindings |
deleteDelete the tagBindings
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tagBindings |
syncSync tagBindings state from GCP
Resources
state(infinite)— A TagBinding represents a connection between a TagValue and a cloud resource....
@swamp/gcp/cloudresourcemanager/tagkeysv2026.04.23.1tagkeys.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| allowedValuesRegex? | string | Optional. Regular expression constraint for freeform tag values. If present, it implicitly allows freeform values (constrained by the regex). |
| description? | string | Optional. User-assigned description of the TagKey. Must not exceed 256 characters. Read-write. |
| name? | string | Immutable. The resource name for a TagKey. Must be in the format `tagKeys/{tag_key_id}`, where `tag_key_id` is the generated numeric id for the TagKey. |
| parent? | string | Immutable. The resource name of the TagKey's parent. A TagKey can be parented by an Organization or a Project. For a TagKey parented by an Organization, its parent must be in the form `organizations/{org_id}`. For a TagKey parented by a Project, its parent can be in the form `projects/{project_id}` or `projects/{project_number}`. |
| purpose? | enum | Optional. A purpose denotes that this Tag is intended for use in policies of a specific policy engine, and will involve that policy engine in management operations involving this Tag. A purpose does not grant a policy engine exclusive rights to the Tag, and it may be referenced by other policy engines. A purpose cannot be changed once set. |
| purposeData? | record | Optional. Purpose data corresponds to the policy system that the tag is intended for. See documentation for `Purpose` for formatting of this field. Purpose data cannot be changed once set. |
| shortName? | string | Required. Immutable. The user friendly name for a TagKey. The short name should be unique for TagKeys within the same tag namespace. The short name must be 1-256 characters, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. |
createCreate a tagKeys
getGet a tagKeys
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tagKeys |
updateUpdate tagKeys attributes
deleteDelete the tagKeys
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tagKeys |
syncSync tagKeys state from GCP
get_namespacedget namespaced
Resources
state(infinite)— A TagKey, used to group a set of TagValues.
@swamp/gcp/cloudresourcemanager/tagvaluesv2026.04.23.1tagvalues.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| description? | string | Optional. User-assigned description of the TagValue. Must not exceed 256 characters. Read-write. |
| name? | string | Immutable. Resource name for TagValue in the format `tagValues/456`. |
| parent? | string | Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form `tagKeys/{tag_key_id}`. |
| shortName? | string | Required. Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey. The short name must be 256 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. |
createCreate a tagValues
getGet a tagValues
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tagValues |
updateUpdate tagValues attributes
deleteDelete the tagValues
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tagValues |
syncSync tagValues state from GCP
get_namespacedget namespaced
Resources
state(infinite)— A TagValue is a child of a particular TagKey. This is used to group cloud res...
@swamp/gcp/cloudresourcemanager/tagvalues-tagholdsv2026.04.23.1tagvalues_tagholds.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| helpLink? | string | Optional. A URL where an end user can learn more about removing this hold. E.g. `https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing` |
| holder? | string | Required. The name of the resource where the TagValue is being used. Must be less than 200 characters. E.g. `//compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group` |
| origin? | string | Optional. An optional string representing the origin of this request. This field should include human-understandable information to distinguish origins from each other. Must be less than 200 characters. E.g. `migs-35678234` |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
createCreate a tagHolds
getGet a tagHolds
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tagHolds |
deleteDelete the tagHolds
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tagHolds |
syncSync tagHolds state from GCP
Resources
state(infinite)— A TagHold represents the use of a TagValue that is not captured by TagBinding...
2026.04.03.332.8 KBApr 3, 2026
Google Cloud cloudresourcemanager infrastructure models
Release Notes
- Updated: effectivetags, folders, capabilities, liens, effectivetagbindingcollections, tagbindingcollections, organizations, projects, tagbindings, tagkeys, tagvalues, tagvalues_tagholds
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudcloudresourcemanagercloudinfrastructure
2026.04.03.132.2 KBApr 3, 2026
Google Cloud cloudresourcemanager infrastructure models
Release Notes
- Updated: effectivetags, folders, capabilities, liens, effectivetagbindingcollections, tagbindingcollections, organizations, projects, tagbindings, tagkeys, tagvalues, tagvalues_tagholds
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudcloudresourcemanagercloudinfrastructure
2026.04.02.232.1 KBApr 2, 2026
Google Cloud cloudresourcemanager infrastructure models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudcloudresourcemanagercloudinfrastructure
2026.03.27.130.5 KBMar 27, 2026
Google Cloud cloudresourcemanager infrastructure models
Release Notes
- Added: effectivetags, folders, capabilities, liens, effectivetagbindingcollections, tagbindingcollections, organizations, projects, tagbindings, tagkeys, tagvalues, tagvalues_tagholds
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudcloudresourcemanagercloudinfrastructure