@google-cloud/video-intelligence
Source: index.
The @google-cloud/video-intelligence package has the following named exports:
VideoIntelligenceServiceClient- Reference to v1.VideoIntelligenceServiceClientv1- This is used for selecting or pinning a particular backend service version. It exports:VideoIntelligenceServiceClient- Reference to v1.VideoIntelligenceServiceClient
v1beta2- This is used for selecting or pinning a particular backend service version. It exports:VideoIntelligenceServiceClient- Reference to v1beta2.VideoIntelligenceServiceClient
v1beta1- This is used for selecting or pinning a particular backend service version. It exports:VideoIntelligenceServiceClient- Reference to v1beta1.VideoIntelligenceServiceClient
v1p1beta1- This is used for selecting or pinning a particular backend service version. It exports:VideoIntelligenceServiceClient- Reference to v1p1beta1.VideoIntelligenceServiceClient
v1p2beta1- This is used for selecting or pinning a particular backend service version. It exports:VideoIntelligenceServiceClient- Reference to v1p2beta1.VideoIntelligenceServiceClient
v1p3beta1- This is used for selecting or pinning a particular backend service version. It exports:VideoIntelligenceServiceClient- Reference to v1p3beta1.VideoIntelligenceServiceClient
Examples
Install the client library with <a href="https://www.npmjs.com/">npm</a>:
npm install --save @google-cloud/video-intelligence
Import the client library:
const videoIntelligence = require('@google-cloud/video-intelligence');
Create a client that uses <a href="https://goo.gl/64dyYX">Application Default Credentials (ADC)</a>:
const client = new videoIntelligence.VideoIntelligenceServiceClient();
Create a client with <a href="https://goo.gl/RXp6VL">explicit credentials</a>:
const client = new videoIntelligence.VideoIntelligenceServiceClient({
projectId: 'your-project-id',
keyFilename: '/path/to/keyfile.json',
});
include:samples/quickstart.js
region_tag:video_quickstart
Full quickstart example:
Exports
require("@google-cloud/video-intelligence") unknown
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
VideoIntelligenceServiceClient |
|
|
Reference to v1.VideoIntelligenceServiceClient |
Properties
v1 object
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
VideoIntelligenceServiceClient |
constructor |
|
Reference to v1.VideoIntelligenceServiceClient |
v1beta1 object
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
VideoIntelligenceServiceClient |
constructor |
|
Reference to v1beta1.VideoIntelligenceServiceClient |
v1beta2 object
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
VideoIntelligenceServiceClient |
constructor |
|
Reference to v1beta2.VideoIntelligenceServiceClient |
v1p1beta1 object
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
VideoIntelligenceServiceClient |
constructor |
|
Reference to v1p1beta1.VideoIntelligenceServiceClient |
v1p2beta1 object
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
VideoIntelligenceServiceClient |
constructor |
|
Reference to v1p2beta1.VideoIntelligenceServiceClient |
v1p3beta1 object
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
VideoIntelligenceServiceClient |
constructor |
|
Reference to v1p3beta1.VideoIntelligenceServiceClient |