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

ValidateMessageRequest

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

Request for the ValidateMessage method.

interface ValidateMessageRequest {
encoding?: "ENCODING_UNSPECIFIED" | "JSON" | "BINARY";
message?: Uint8Array;
name?: string;
schema?: Schema;
}

§Properties

§
encoding?: "ENCODING_UNSPECIFIED" | "JSON" | "BINARY"
[src]

The encoding expected for messages

§
message?: Uint8Array
[src]

Message to validate against the provided schema_spec.

§
name?: string
[src]

Name of the schema against which to validate. Format is projects/{project}/schemas/{schema}.

§
schema?: Schema
[src]

Ad-hoc schema against which to validate