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

GoogleIamV2Policy

import type { GoogleIamV2Policy } from "https://googleapis.deno.dev/v1/iam:v2.ts";

Data for an IAM policy.

interface GoogleIamV2Policy {
annotations?: {
[key: string]: string;
}
;
readonly createTime?: Date;
readonly deleteTime?: Date;
displayName?: string;
etag?: string;
readonly kind?: string;
name?: string;
uid?: string;
readonly updateTime?: Date;
}

§Properties

§
annotations?: {
[key: string]: string;
}
[src]

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.

§
readonly createTime?: Date
[src]

Output only. The time when the Policy was created.

§
readonly deleteTime?: Date
[src]

Output only. The time when the Policy was deleted. Empty if the policy is not deleted.

§
displayName?: string
[src]

A user-specified description of the Policy. This value can be up to 63 characters.

§
etag?: string
[src]

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.

§
readonly kind?: string
[src]

Output only. The kind of the Policy. Always contains the value DenyPolicy.

§
name?: string
[src]

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 use the alphanumeric or the numeric ID. Responses always contain the numeric ID.

§

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
[src]

Immutable. The globally unique ID of the Policy. Assigned automatically when the Policy is created.

§
readonly updateTime?: Date
[src]

Output only. The time when the Policy was last updated.