Skip to main content

@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 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/iam

@swamp/gcp/iam/policiesv2026.04.23.1policies.ts

Global Arguments

ArgumentTypeDescription
annotations?recordA 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?stringOutput only. The time when the `Policy` was created.
deleteTime?stringOutput only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
displayName?stringA user-specified description of the `Policy`. This value can be up to 63 characters.
etag?stringAn 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?stringOutput only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
name?stringImmutable. 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?arrayA list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
uid?stringImmutable. The globally unique ID of the `Policy`. Assigned automatically when the `Policy` is created.
updateTime?stringOutput only. The time when the `Policy` was last updated.
getGet a policies
ArgumentTypeDescription
identifierstringThe name of the policies
updateUpdate policies attributes
deleteDelete the policies
ArgumentTypeDescription
identifierstringThe name of the policies
syncSync policies state from GCP
create_policycreate policy
ArgumentTypeDescription
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.