SchemaRequest interface
Stay organized with collections
Save and categorize content based on your preferences.
Final format for Schema params passed to backend requests.
Signature:
export interface SchemaRequest extends SchemaShared<SchemaRequest>
Extends: SchemaShared<SchemaRequest>
Properties
Property |
Type |
Description |
required |
string[] |
Optional. Array of required property. |
type |
SchemaType |
The type of the property. this can only be undefined when using anyOf schemas, which do not have an explicit type in the OpenAPI specification. |
SchemaRequest.required
Optional. Array of required property.
Signature:
required?: string[];
SchemaRequest.type
The type of the property. this can only be undefined when using anyOf
schemas, which do not have an explicit type in the OpenAPI specification.
Signature:
type?: SchemaType;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-17 UTC.
[null,null,["Last updated 2025-07-17 UTC."],[],[],null,["Final format for [Schema](./ai.schema.md#schema_class) params passed to backend requests.\n\n**Signature:** \n\n export interface SchemaRequest extends SchemaShared\u003cSchemaRequest\u003e \n\n**Extends:** [SchemaShared](./ai.schemashared.md#schemashared_interface)\\\u003c[SchemaRequest](./ai.schemarequest.md#schemarequest_interface)\\\u003e\n\nProperties\n\n| Property | Type | Description |\n|---------------------------------------------------------|----------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [required](./ai.schemarequest.md#schemarequestrequired) | string\\[\\] | Optional. Array of required property. |\n| [type](./ai.schemarequest.md#schemarequesttype) | [SchemaType](./ai.md#schematype) | The type of the property. this can only be undefined when using `anyOf` schemas, which do not have an explicit type in the [OpenAPI specification](https://swagger.io/docs/specification/v3_0/data-models/data-types/#any-type). |\n\nSchemaRequest.required\n\nOptional. Array of required property.\n\n**Signature:** \n\n required?: string[];\n\nSchemaRequest.type\n\nThe type of the property. this can only be undefined when using `anyOf` schemas, which do not have an explicit type in the [OpenAPI specification](https://swagger.io/docs/specification/v3_0/data-models/data-types/#any-type).\n\n**Signature:** \n\n type?: SchemaType;"]]