"use strict";
// Copyright 2020 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.AuthPlus = exports.pubsub_v1beta2 = exports.pubsub_v1beta1a = exports.pubsub_v1 = exports.auth = exports.pubsub = exports.VERSIONS = void 0;
/*! THIS FILE IS AUTO-GENERATED */
const googleapis_common_1 = require("googleapis-common");
const v1_1 = require("./v1");
Object.defineProperty(exports, "pubsub_v1", { enumerable: true, get: function () { return v1_1.pubsub_v1; } });
const v1beta1a_1 = require("./v1beta1a");
Object.defineProperty(exports, "pubsub_v1beta1a", { enumerable: true, get: function () { return v1beta1a_1.pubsub_v1beta1a; } });
const v1beta2_1 = require("./v1beta2");
Object.defineProperty(exports, "pubsub_v1beta2", { enumerable: true, get: function () { return v1beta2_1.pubsub_v1beta2; } });
exports.VERSIONS = {
    v1: v1_1.pubsub_v1.Pubsub,
    v1beta1a: v1beta1a_1.pubsub_v1beta1a.Pubsub,
    v1beta2: v1beta2_1.pubsub_v1beta2.Pubsub,
};
function pubsub(versionOrOptions) {
    return (0, googleapis_common_1.getAPI)('pubsub', versionOrOptions, exports.VERSIONS, this);
}
exports.pubsub = pubsub;
const auth = new googleapis_common_1.AuthPlus();
exports.auth = auth;
var googleapis_common_2 = require("googleapis-common");
Object.defineProperty(exports, "AuthPlus", { enumerable: true, get: function () { return googleapis_common_2.AuthPlus; } });
