• Preparing search index...
  • The search index is not available
@google/genai
  • @google/genai
  • gaos/funcs/credentials-create
  • credentialsCreate

Function credentialsCreate

  • credentialsCreate(
        client: GoogleGenAICore,
        body: CredentialCreateParams,
        api_version?: string,
        options?: RequestOptions,
    ): APIPromise<
        Result<
            Credential,
            | UnexpectedClientError
            | InvalidRequestError
            | RequestAbortedError
            | RequestTimeoutError
            | ConnectionError
            | GoogleGenAiError,
        >,
    >

    Creates a new credential.

    Parameters

    • client: GoogleGenAICore
    • body: CredentialCreateParams
    • Optionalapi_version: string
    • Optionaloptions: RequestOptions

    Returns APIPromise<
        Result<
            Credential,
            | UnexpectedClientError
            | InvalidRequestError
            | RequestAbortedError
            | RequestTimeoutError
            | ConnectionError
            | GoogleGenAiError,
        >,
    >

    • Defined in src/gaos/funcs/credentials-create.ts:37

Settings

@google/genai
  • Loading...

Generated using TypeDoc