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

GoogleCloudApihubV1Definition

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

Represents a definition for example schema, request, response definitions contained in an API version. A definition is added/updated/deleted in an API version when a new spec is added or an existing spec is updated/deleted in a version. Currently, definition will be created only corresponding to OpenAPI spec as parsing is supported for OpenAPI spec. Also, within OpenAPI spec, only schema object is supported.

interface GoogleCloudApihubV1Definition {
attributes?: {};
readonly createTime?: Date;
name?: string;
readonly schema?: GoogleCloudApihubV1Schema;
readonly spec?: string;
readonly type?: "TYPE_UNSPECIFIED" | "SCHEMA";
readonly updateTime?: Date;
}

§Properties

§
attributes?: {}
[src]

Optional. The list of user defined attributes associated with the definition resource. The key is the attribute name. It will be of the format: projects/{project}/locations/{location}/attributes/{attribute}. The value is the attribute values associated with the resource.

§
readonly createTime?: Date
[src]

Output only. The time at which the definition was created.

§
name?: string
[src]

Identifier. The name of the definition. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}

§

Output only. The value of a schema definition.

§
readonly spec?: string
[src]

Output only. The name of the spec from where the definition was parsed. Format is projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}

§
readonly type?: "TYPE_UNSPECIFIED" | "SCHEMA"
[src]

Output only. The type of the definition.

§
readonly updateTime?: Date
[src]

Output only. The time at which the definition was last updated.