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

Entitlement

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

Proto representing the access that a user has to a specific feature/service. NextId: 3.

interface Entitlement {
entitlementState?: "ENTITLEMENT_STATE_UNSPECIFIED" | "ENTITLED" | "REVOKED";
type?: "ENTITLEMENT_TYPE_UNSPECIFIED" | "GEMINI";
}

§Properties

§
entitlementState?: "ENTITLEMENT_STATE_UNSPECIFIED" | "ENTITLED" | "REVOKED"
[src]

The current state of user's accessibility to a feature/benefit.

§
type?: "ENTITLEMENT_TYPE_UNSPECIFIED" | "GEMINI"
[src]

An enum that represents the type of this entitlement.