|
| 1 | +Project: /docs/reference/js/_project.yaml |
| 2 | +Book: /docs/reference/_book.yaml |
| 3 | +page_type: reference |
| 4 | + |
| 5 | +{% comment %} |
| 6 | +DO NOT EDIT THIS FILE! |
| 7 | +This is generated by the JS SDK team, and any local changes will be |
| 8 | +overwritten. Changes should be made in the source code at |
| 9 | +https://github.com/firebase/firebase-js-sdk |
| 10 | +{% endcomment %} |
| 11 | + |
| 12 | +# FunctionDeclarationSchemaProperty interface |
| 13 | +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. |
| 14 | + |
| 15 | +<b>Signature:</b> |
| 16 | + |
| 17 | +```typescript |
| 18 | +export interface FunctionDeclarationSchemaProperty |
| 19 | +``` |
| 20 | + |
| 21 | +## Properties |
| 22 | + |
| 23 | +| Property | Type | Description | |
| 24 | +| --- | --- | --- | |
| 25 | +| [description](./vertexai-preview.functiondeclarationschemaproperty.md#functiondeclarationschemapropertydescription) | string | Optional. The description of the property. | |
| 26 | +| [enum](./vertexai-preview.functiondeclarationschemaproperty.md#functiondeclarationschemapropertyenum) | string\[\] | Optional. The enum of the property. | |
| 27 | +| [example](./vertexai-preview.functiondeclarationschemaproperty.md#functiondeclarationschemapropertyexample) | unknown | Optional. The example of the property. | |
| 28 | +| [format](./vertexai-preview.functiondeclarationschemaproperty.md#functiondeclarationschemapropertyformat) | string | Optional. The format of the property. | |
| 29 | +| [items](./vertexai-preview.functiondeclarationschemaproperty.md#functiondeclarationschemapropertyitems) | [FunctionDeclarationSchema](./vertexai-preview.functiondeclarationschema.md#functiondeclarationschema_interface) | Optional. The items of the property. [FunctionDeclarationSchema](./vertexai-preview.functiondeclarationschema.md#functiondeclarationschema_interface) | |
| 30 | +| [nullable](./vertexai-preview.functiondeclarationschemaproperty.md#functiondeclarationschemapropertynullable) | boolean | Optional. Whether the property is nullable. | |
| 31 | +| [properties](./vertexai-preview.functiondeclarationschemaproperty.md#functiondeclarationschemapropertyproperties) | { \[k: string\]: [FunctionDeclarationSchema](./vertexai-preview.functiondeclarationschema.md#functiondeclarationschema_interface)<!-- -->; } | Optional. Map of [FunctionDeclarationSchema](./vertexai-preview.functiondeclarationschema.md#functiondeclarationschema_interface)<!-- -->. | |
| 32 | +| [required](./vertexai-preview.functiondeclarationschemaproperty.md#functiondeclarationschemapropertyrequired) | string\[\] | Optional. Array of required property. | |
| 33 | +| [type](./vertexai-preview.functiondeclarationschemaproperty.md#functiondeclarationschemapropertytype) | [FunctionDeclarationSchemaType](./vertexai-preview.md#functiondeclarationschematype) | Optional. The type of the property. [FunctionDeclarationSchemaType](./vertexai-preview.md#functiondeclarationschematype)<!-- -->. | |
| 34 | + |
| 35 | +## FunctionDeclarationSchemaProperty.description |
| 36 | + |
| 37 | +Optional. The description of the property. |
| 38 | + |
| 39 | +<b>Signature:</b> |
| 40 | + |
| 41 | +```typescript |
| 42 | +description?: string; |
| 43 | +``` |
| 44 | + |
| 45 | +## FunctionDeclarationSchemaProperty.enum |
| 46 | + |
| 47 | +Optional. The enum of the property. |
| 48 | + |
| 49 | +<b>Signature:</b> |
| 50 | + |
| 51 | +```typescript |
| 52 | +enum?: string[]; |
| 53 | +``` |
| 54 | + |
| 55 | +## FunctionDeclarationSchemaProperty.example |
| 56 | + |
| 57 | +Optional. The example of the property. |
| 58 | + |
| 59 | +<b>Signature:</b> |
| 60 | + |
| 61 | +```typescript |
| 62 | +example?: unknown; |
| 63 | +``` |
| 64 | + |
| 65 | +## FunctionDeclarationSchemaProperty.format |
| 66 | + |
| 67 | +Optional. The format of the property. |
| 68 | + |
| 69 | +<b>Signature:</b> |
| 70 | + |
| 71 | +```typescript |
| 72 | +format?: string; |
| 73 | +``` |
| 74 | + |
| 75 | +## FunctionDeclarationSchemaProperty.items |
| 76 | + |
| 77 | +Optional. The items of the property. [FunctionDeclarationSchema](./vertexai-preview.functiondeclarationschema.md#functiondeclarationschema_interface) |
| 78 | + |
| 79 | +<b>Signature:</b> |
| 80 | + |
| 81 | +```typescript |
| 82 | +items?: FunctionDeclarationSchema; |
| 83 | +``` |
| 84 | + |
| 85 | +## FunctionDeclarationSchemaProperty.nullable |
| 86 | + |
| 87 | +Optional. Whether the property is nullable. |
| 88 | + |
| 89 | +<b>Signature:</b> |
| 90 | + |
| 91 | +```typescript |
| 92 | +nullable?: boolean; |
| 93 | +``` |
| 94 | + |
| 95 | +## FunctionDeclarationSchemaProperty.properties |
| 96 | + |
| 97 | +Optional. Map of [FunctionDeclarationSchema](./vertexai-preview.functiondeclarationschema.md#functiondeclarationschema_interface)<!-- -->. |
| 98 | + |
| 99 | +<b>Signature:</b> |
| 100 | + |
| 101 | +```typescript |
| 102 | +properties?: { |
| 103 | + [k: string]: FunctionDeclarationSchema; |
| 104 | + }; |
| 105 | +``` |
| 106 | + |
| 107 | +## FunctionDeclarationSchemaProperty.required |
| 108 | + |
| 109 | +Optional. Array of required property. |
| 110 | + |
| 111 | +<b>Signature:</b> |
| 112 | + |
| 113 | +```typescript |
| 114 | +required?: string[]; |
| 115 | +``` |
| 116 | + |
| 117 | +## FunctionDeclarationSchemaProperty.type |
| 118 | + |
| 119 | +Optional. The type of the property. [FunctionDeclarationSchemaType](./vertexai-preview.md#functiondeclarationschematype)<!-- -->. |
| 120 | + |
| 121 | +<b>Signature:</b> |
| 122 | + |
| 123 | +```typescript |
| 124 | +type?: FunctionDeclarationSchemaType; |
| 125 | +``` |
0 commit comments