Skip to content

Commit 9a9d1c6

Browse files
committed
Generate docs
1 parent a4e68aa commit 9a9d1c6

File tree

2 files changed

+46
-1
lines changed

2 files changed

+46
-1
lines changed

docs-devsite/ai.functiondeclaration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ Optional. Describes the parameters to this function in JSON Schema Object format
5353
<b>Signature:</b>
5454

5555
```typescript
56-
parameters?: ObjectSchemaInterface;
56+
parameters?: ObjectSchema | ObjectSchemaRequest;
5757
```
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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+
# ObjectSchemaRequest interface
13+
Interface for JSON parameters in [SchemaType.OBJECT](./vertexai.md#schematypeobject_enummember) format when not using the [ObjectSchema](./vertexai.objectschema.md#objectschema_class) helper.
14+
15+
<b>Signature:</b>
16+
17+
```typescript
18+
export interface ObjectSchemaRequest extends SchemaRequest
19+
```
20+
<b>Extends:</b> [SchemaRequest](./vertexai.schemarequest.md#schemarequest_interface)
21+
22+
## Properties
23+
24+
| Property | Type | Description |
25+
| --- | --- | --- |
26+
| [optionalProperties](./vertexai.objectschemarequest.md#objectschemarequestoptionalproperties) | never | This is not a property accepted in the final request to the backend, but is a client-side convenience property that is only usable by constructing a schema through the <code>Schema.object()</code> helper method. |
27+
| [type](./vertexai.objectschemarequest.md#objectschemarequesttype) | [SchemaType.OBJECT](./vertexai.md#schematypeobject_enummember) | |
28+
29+
## ObjectSchemaRequest.optionalProperties
30+
31+
This is not a property accepted in the final request to the backend, but is a client-side convenience property that is only usable by constructing a schema through the `Schema.object()` helper method.
32+
33+
<b>Signature:</b>
34+
35+
```typescript
36+
optionalProperties?: never;
37+
```
38+
39+
## ObjectSchemaRequest.type
40+
41+
<b>Signature:</b>
42+
43+
```typescript
44+
type: SchemaType.OBJECT;
45+
```

0 commit comments

Comments
 (0)