Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PolicyBinding

import type { PolicyBinding } from "https://googleapis.deno.dev/v1/serviceconsumermanagement:v1.ts";

Translates to IAM Policy bindings (without auditing at this level)

interface PolicyBinding {
members?: string[];
role?: string;
}

§Properties

§
members?: string[]
[src]

Uses the same format as in IAM policy. member must include both a prefix and ID. For example, user:{emailId}, serviceAccount:{emailId}, group:{emailId}.

§
role?: string
[src]

Role. (https://cloud.google.com/iam/docs/understanding-roles) For example, roles/viewer, roles/editor, or roles/owner.