// Copyright 2017, Google Inc. All rights reserved.
//
// 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.
/**
* @namespace google.protobuf
*/
/**
* @namespace google.rpc
*/
/**
* @namespace google.longrunning
*/
/**
* @namespace google.cloud.videointelligence
*/
/**
* @namespace google.cloud.videointelligence.v1
*/
/**
* @namespace google.cloud.videointelligence.v1beta2
*/
/**
* @namespace google.cloud.videointelligence.v1beta1
*/
/**
* @namespace google.cloud.videointelligence.v1p1beta1
*/
/**
* @namespace google.cloud.videointelligence.v1p2beta1
*/
/**
* @namespace google.cloud.videointelligence.v1p3beta1
*/
'use strict';
// Import the clients for each version supported by this package.
const gapic = Object.freeze({
v1: require('./v1'),
v1beta2: require('./v1beta2'),
v1beta1: require('./v1beta1'),
v1p1beta1: require('./v1p1beta1'),
v1p2beta1: require('./v1p2beta1'),
v1p3beta1: require('./v1p3beta1'),
});
/**
* The `@google-cloud/video-intelligence` package has the following named exports:
*
* - `VideoIntelligenceServiceClient` - Reference to
* {@link v1.VideoIntelligenceServiceClient}
* - `v1` - This is used for selecting or pinning a
* particular backend service version. It exports:
* - `VideoIntelligenceServiceClient` - Reference to
* {@link v1.VideoIntelligenceServiceClient}
* - `v1beta2` - This is used for selecting or pinning a
* particular backend service version. It exports:
* - `VideoIntelligenceServiceClient` - Reference to
* {@link v1beta2.VideoIntelligenceServiceClient}
* - `v1beta1` - This is used for selecting or pinning a
* particular backend service version. It exports:
* - `VideoIntelligenceServiceClient` - Reference to
* {@link v1beta1.VideoIntelligenceServiceClient}
* - `v1p1beta1` - This is used for selecting or pinning a
* particular backend service version. It exports:
* - `VideoIntelligenceServiceClient` - Reference to
* {@link v1p1beta1.VideoIntelligenceServiceClient}
* - `v1p2beta1` - This is used for selecting or pinning a
* particular backend service version. It exports:
* - `VideoIntelligenceServiceClient` - Reference to
* {@link v1p2beta1.VideoIntelligenceServiceClient}
* - `v1p3beta1` - This is used for selecting or pinning a
* particular backend service version. It exports:
* - `VideoIntelligenceServiceClient` - Reference to
* {@link v1p3beta1.VideoIntelligenceServiceClient}
*
* @module {object} @google-cloud/video-intelligence
* @alias nodejs-video-intelligence
*
* @example <caption>Install the client library with <a href="https://www.npmjs.com/">npm</a>:</caption>
* npm install --save @google-cloud/video-intelligence
*
* @example <caption>Import the client library:</caption>
* const videoIntelligence = require('@google-cloud/video-intelligence');
*
* @example <caption>Create a client that uses <a href="https://goo.gl/64dyYX">Application Default Credentials (ADC)</a>:</caption>
* const client = new videoIntelligence.VideoIntelligenceServiceClient();
*
* @example <caption>Create a client with <a href="https://goo.gl/RXp6VL">explicit credentials</a>:</caption>
* const client = new videoIntelligence.VideoIntelligenceServiceClient({
* projectId: 'your-project-id',
* keyFilename: '/path/to/keyfile.json',
* });
*
* @example <caption>include:samples/quickstart.js</caption>
* region_tag:video_quickstart
* Full quickstart example:
*/
/**
* @type {object}
* @property {constructor} VideoIntelligenceServiceClient
* Reference to {@link v1.VideoIntelligenceServiceClient}
*/
module.exports = gapic.v1;
/**
* @type {object}
* @property {constructor} VideoIntelligenceServiceClient
* Reference to {@link v1.VideoIntelligenceServiceClient}
*/
module.exports.v1 = gapic.v1;
/**
* @type {object}
* @property {constructor} VideoIntelligenceServiceClient
* Reference to {@link v1beta2.VideoIntelligenceServiceClient}
*/
module.exports.v1beta2 = gapic.v1beta2;
/**
* @type {object}
* @property {constructor} VideoIntelligenceServiceClient
* Reference to {@link v1beta1.VideoIntelligenceServiceClient}
*/
module.exports.v1beta1 = gapic.v1beta1;
/**
* @type {object}
* @property {constructor} VideoIntelligenceServiceClient
* Reference to {@link v1p1beta1.VideoIntelligenceServiceClient}
*/
module.exports.v1p1beta1 = gapic.v1p1beta1;
/**
* @type {object}
* @property {constructor} VideoIntelligenceServiceClient
* Reference to {@link v1p2beta1.VideoIntelligenceServiceClient}
*/
module.exports.v1p2beta1 = gapic.v1p2beta1;
/**
* @type {object}
* @property {constructor} VideoIntelligenceServiceClient
* Reference to {@link v1p3beta1.VideoIntelligenceServiceClient}
*/
module.exports.v1p3beta1 = gapic.v1p3beta1;
// Alias `module.exports` as `module.exports.default`, for future-proofing.
module.exports.default = Object.assign({}, module.exports);