GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — IntegrationClient | ADK for TypeScript: API Reference - v2.5.0

  • IntegrationClient

Class IntegrationClient

A client for Google Cloud Application Integration.

It returns the OpenAPI spec of an integration API trigger, or builds one for the entity operations and actions of an Integration Connectors connection.

  • Defined in core/src/tools/application_integration_tool/clients/integration_client.ts:82

Constructors

constructor

  • new IntegrationClient(options: IntegrationClientOptions): IntegrationClient

    Parameters

    • options: IntegrationClientOptions

    Returns IntegrationClient

    • Defined in core/src/tools/application_integration_tool/clients/integration_client.ts:93

Methods

getOpenApiSpecForConnection

  • getOpenApiSpecForConnection(
        toolName?: string,
        toolInstructions?: string,
    ): Promise<ConnectorSpec>

    Builds an OpenAPI spec for the entity operations and actions of the connection.

    Every operation becomes a POST to the ExecuteConnection integration, with a path fragment that keeps the paths distinct.

    Parameters

    • toolName: string = ''

      Prefix of every generated operationId.

    • toolInstructions: string = ''

      Text appended to every operation description.

    Returns Promise<ConnectorSpec>

    Throws

    Error When neither entity operations nor actions are configured, or an operation is not one of create, update, delete, list or get.

    • Defined in core/src/tools/application_integration_tool/clients/integration_client.ts:158

getOpenApiSpecForIntegration

  • getOpenApiSpecForIntegration(): Promise<JsonObject>

    Fetches the OpenAPI spec Application Integration generates for the API trigger of the integration.

    Returns Promise<JsonObject>

    Throws

    Error For a rejected request, a missing credential, or a response that carries no parseable spec.

    • Defined in core/src/tools/application_integration_tool/clients/integration_client.ts:112
Constructors
constructor
Methods
getOpenApiSpecForConnectiongetOpenApiSpecForIntegration
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.