Interface FunctionDeclarationSchemaProperty (1.4.0)

Schema is used to define the format of input/output data. Represents a select subset of an OpenAPI 3.0 schema object. More fields may be added in the future as needed.

Package

@google-cloud/vertexai

Properties

description

description?: string;

Optional. The description of the property.

enum

enum?: string[];

Optional. The enum of the property.

example

example?: unknown;

Optional. The example of the property.

format

format?: string;

Optional. The format of the property.

items

items?: FunctionDeclarationSchema;

Optional. The items of the property. FunctionDeclarationSchema

nullable

nullable?: boolean;

Optional. Whether the property is nullable.

properties

properties?: {
        [k: string]: FunctionDeclarationSchema;
    };

Optional. Map of FunctionDeclarationSchema.

required

required?: string[];

Optional. Array of required property.

type

type?: FunctionDeclarationSchemaType;

Optional. The type of the property. FunctionDeclarationSchemaType.