Preparing search index...
The search index is not available
@google/genai
@google/genai
gaos/funcs/credentials-update
credentialsUpdate
Function credentialsUpdate
credentialsUpdate
(
client
:
GoogleGenAICore
,
id
:
string
,
body
:
CredentialUpdate
,
api_version
?:
string
,
update_mask
?:
string
,
options
?:
RequestOptions
,
)
:
APIPromise
<
Result
<
Credential
,
|
UnexpectedClientError
|
InvalidRequestError
|
RequestAbortedError
|
RequestTimeoutError
|
ConnectionError
|
GoogleGenAiError
,
>
,
>
Updates a credential.
Parameters
client
:
GoogleGenAICore
id
:
string
body
:
CredentialUpdate
Optional
api_version
:
string
Optional
update_mask
:
string
Optional
options
:
RequestOptions
Returns
APIPromise
<
Result
<
Credential
,
|
UnexpectedClientError
|
InvalidRequestError
|
RequestAbortedError
|
RequestTimeoutError
|
ConnectionError
|
GoogleGenAiError
,
>
,
>
Settings
Theme
OS
Light
Dark
@google/genai
Loading...
Updates a credential.