src/apis/youtubeAnalytics/v1.ts
Properties |
|
| $.xgafv |
$.xgafv:
|
Type : string
|
| Optional |
|
V1 error format. |
| access_token |
access_token:
|
Type : string
|
| Optional |
|
OAuth access token. |
| alt |
alt:
|
Type : string
|
| Optional |
|
Data format for response. |
| callback |
callback:
|
Type : string
|
| Optional |
|
JSONP |
| fields |
fields:
|
Type : string
|
| Optional |
|
Selector specifying which fields to include in a partial response. |
| key |
key:
|
Type : string
|
| Optional |
|
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. |
| oauth_token |
oauth_token:
|
Type : string
|
| Optional |
|
OAuth 2.0 token for the current user. |
| prettyPrint |
prettyPrint:
|
Type : boolean
|
| Optional |
|
Returns response with indentations and line breaks. |
| quotaUser |
quotaUser:
|
Type : string
|
| Optional |
|
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. |
| upload_protocol |
upload_protocol:
|
Type : string
|
| Optional |
|
Upload protocol for media (e.g. "raw", "multipart"). |
| uploadType |
uploadType:
|
Type : string
|
| Optional |
|
Legacy upload protocol for media (e.g. "media", "multipart"). |
import {
OAuth2Client,
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
MethodOptions,
StreamMethodOptions,
GlobalOptions,
GoogleAuth,
BodyResponseCallback,
APIRequestContext,
} from 'googleapis-common';
import {Readable} from 'stream';
export namespace youtubeAnalytics_v1 {
export interface Options extends GlobalOptions {
version: 'v1';
}
interface StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?:
| string
| OAuth2Client
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;
/**
* V1 error format.
*/
'$.xgafv'?: string;
/**
* OAuth access token.
*/
access_token?: string;
/**
* Data format for response.
*/
alt?: string;
/**
* JSONP
*/
callback?: string;
/**
* Selector specifying which fields to include in a partial response.
*/
fields?: string;
/**
* API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
*/
key?: string;
/**
* OAuth 2.0 token for the current user.
*/
oauth_token?: string;
/**
* Returns response with indentations and line breaks.
*/
prettyPrint?: boolean;
/**
* Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
*/
quotaUser?: string;
/**
* Legacy upload protocol for media (e.g. "media", "multipart").
*/
uploadType?: string;
/**
* Upload protocol for media (e.g. "raw", "multipart").
*/
upload_protocol?: string;
}
/**
* YouTube Analytics API
*
* Retrieves your YouTube Analytics data.
*
* @example
* ```js
* const {google} = require('googleapis');
* const youtubeAnalytics = google.youtubeAnalytics('v1');
* ```
*/
export class Youtubeanalytics {
context: APIRequestContext;
constructor(options: GlobalOptions, google?: GoogleConfigurable) {
this.context = {
_options: options || {},
google,
};
}
}
}