@swamp/gcp/iam
v2026.04.23.1
Google Cloud iam infrastructure models
Repository
https://github.com/systeminit/swamp-extensions
Labels
gcpgoogle-cloudiamcloudinfrastructure
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/iam@swamp/gcp/iam/policiesv2026.04.23.1policies.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| annotations? | record | A key-value map to store arbitrary metadata for the `Policy`. Keys can be up to 63 characters. Values can be up to 255 characters. |
| createTime? | string | Output only. The time when the `Policy` was created. |
| deleteTime? | string | Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted. |
| displayName? | string | A user-specified description of the `Policy`. This value can be up to 63 characters. |
| etag? | string | An opaque tag that identifies the current version of the `Policy`. IAM uses this value to help manage concurrent updates, so they do not cause one update to be overwritten by another. If this field is present in a CreatePolicyRequest, the value is ignored. |
| kind? | string | Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`. |
| name? | string | Immutable. The resource name of the `Policy`, which must be unique. Format: `policies/{attachment_point}/denypolicies/{policy_id}` The attachment point is identified by its URL-encoded full resource name, which means that the forward-slash character, `/`, must be written as `%2F`. For example, `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`. For organizations and folders, use the numeric ID in the full resource name. For projects, requests can u |
| rules? | array | A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`. |
| uid? | string | Immutable. The globally unique ID of the `Policy`. Assigned automatically when the `Policy` is created. |
| updateTime? | string | Output only. The time when the `Policy` was last updated. |
getGet a policies
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the policies |
updateUpdate policies attributes
deleteDelete the policies
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the policies |
syncSync policies state from GCP
create_policycreate policy
| Argument | Type | Description |
|---|---|---|
| annotations? | any | |
| createTime? | any | |
| deleteTime? | any | |
| displayName? | any | |
| etag? | any | |
| kind? | any | |
| name? | any | |
| rules? | any | |
| uid? | any | |
| updateTime? | any |
list_policieslist policies
Resources
state(infinite)— Data for an IAM policy.
2026.04.03.319.3 KBApr 3, 2026
Google Cloud iam infrastructure models
Release Notes
- Updated: policies
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudiamcloudinfrastructure
2026.04.03.119.2 KBApr 3, 2026
Google Cloud iam infrastructure models
Release Notes
- Updated: policies
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudiamcloudinfrastructure
2026.04.02.219.2 KBApr 2, 2026
Google Cloud iam infrastructure models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudiamcloudinfrastructure
2026.03.27.117.2 KBMar 27, 2026
Google Cloud iam infrastructure models
Release Notes
- Added: policies
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudiamcloudinfrastructure