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

IamPolicyAnalysisState

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

Represents the detailed state of an entity under analysis, such as a resource, an identity or an access.

interface IamPolicyAnalysisState {
cause?: string;
code?:
| "OK"
| "CANCELLED"
| "UNKNOWN"
| "INVALID_ARGUMENT"
| "DEADLINE_EXCEEDED"
| "NOT_FOUND"
| "ALREADY_EXISTS"
| "PERMISSION_DENIED"
| "UNAUTHENTICATED"
| "RESOURCE_EXHAUSTED"
| "FAILED_PRECONDITION"
| "ABORTED"
| "OUT_OF_RANGE"
| "UNIMPLEMENTED"
| "INTERNAL"
| "UNAVAILABLE"
| "DATA_LOSS";
}

§Properties

§
cause?: string
[src]

The human-readable description of the cause of failure.

§
code?: "OK" | "CANCELLED" | "UNKNOWN" | "INVALID_ARGUMENT" | "DEADLINE_EXCEEDED" | "NOT_FOUND" | "ALREADY_EXISTS" | "PERMISSION_DENIED" | "UNAUTHENTICATED" | "RESOURCE_EXHAUSTED" | "FAILED_PRECONDITION" | "ABORTED" | "OUT_OF_RANGE" | "UNIMPLEMENTED" | "INTERNAL" | "UNAVAILABLE" | "DATA_LOSS"
[src]

The Google standard error code that best describes the state. For example:

  • OK means the analysis on this entity has been successfully finished; - PERMISSION_DENIED means an access denied error is encountered; - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started in time;