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

Schema

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

A schema resource.

interface Schema {
definition?: string;
name?: string;
readonly revisionCreateTime?: Date;
readonly revisionId?: string;
type?: "TYPE_UNSPECIFIED" | "PROTOCOL_BUFFER" | "AVRO";
}

§Properties

§
definition?: string
[src]

The definition of the schema. This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in type.

§
name?: string
[src]

Required. Name of the schema. Format is projects/{project}/schemas/{schema}.

§
readonly revisionCreateTime?: Date
[src]

Output only. The timestamp that the revision was created.

§
readonly revisionId?: string
[src]

Output only. Immutable. The revision ID of the schema.

§
type?: "TYPE_UNSPECIFIED" | "PROTOCOL_BUFFER" | "AVRO"
[src]

The type of the schema definition.