-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add generated docs for custom headers request options (#128)
- Loading branch information
Showing
7 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
docs/reference/files/generative-ai.requestoptions.customheaders.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [RequestOptions](./generative-ai.requestoptions.md) > [customHeaders](./generative-ai.requestoptions.customheaders.md) | ||
|
||
## RequestOptions.customHeaders property | ||
|
||
Custom HTTP request headers. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
customHeaders?: Headers | Record<string, string>; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
docs/reference/main/generative-ai.googlegenerativeairequestinputerror.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [GoogleGenerativeAIRequestInputError](./generative-ai.googlegenerativeairequestinputerror.md) | ||
|
||
## GoogleGenerativeAIRequestInputError class | ||
|
||
Errors in the contents of a request originating from user input. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
export declare class GoogleGenerativeAIRequestInputError extends GoogleGenerativeAIError | ||
``` | ||
**Extends:** [GoogleGenerativeAIError](./generative-ai.googlegenerativeaierror.md) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
docs/reference/main/generative-ai.requestoptions.customheaders.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [RequestOptions](./generative-ai.requestoptions.md) > [customHeaders](./generative-ai.requestoptions.customheaders.md) | ||
|
||
## RequestOptions.customHeaders property | ||
|
||
Custom HTTP request headers. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
customHeaders?: Headers | Record<string, string>; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters