UNPKG

adk-typescript

Version:

TypeScript port of Google's Agent Development Kit (ADK)

50 lines (49 loc) 1.56 kB
"use strict"; /** * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ConnectionsClient = void 0; /** * Client for Connections service */ class ConnectionsClient { /** * Creates a new ConnectionsClient * * @param project GCP project ID * @param location GCP location * @param connection Connection name * @param serviceAccountJson Service account JSON credentials */ constructor(project, location, connection, serviceAccountJson) { this.project = project; this.location = location; this.connection = connection; this.serviceAccountJson = serviceAccountJson; } /** * Gets connection details * @returns Connection details */ getConnectionDetails() { return { serviceName: 'default-service', host: 'default.host', name: 'default-connection' }; } } exports.ConnectionsClient = ConnectionsClient;