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

GoogleCloudApihubV1AllowedValue

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

The value that can be assigned to the attribute when the data type is enum.

interface GoogleCloudApihubV1AllowedValue {
description?: string;
displayName?: string;
id?: string;
immutable?: boolean;
}

§Properties

§
description?: string
[src]

Optional. The detailed description of the allowed value.

§
displayName?: string
[src]

Required. The display name of the allowed value.

§
id?: string
[src]

Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.

§
immutable?: boolean
[src]

Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.