How to use the googleapis-common.getAPI function in googleapis-common

To help you get started, we’ve selected a few googleapis-common examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github googleapis / google-api-nodejs-client / src / apis / speech / index.ts View on Github external
export function speech<
  T = speech_v1.Speech | speech_v1p1beta1.Speech | speech_v2beta1.Speech
>(
  this: GoogleConfigurable,
  versionOrOptions:
    | 'v1'
    | speech_v1.Options
    | 'v1p1beta1'
    | speech_v1p1beta1.Options
    | 'v2beta1'
    | speech_v2beta1.Options
) {
  return getAPI('speech', versionOrOptions, VERSIONS, this);
}
github googleapis / google-api-nodejs-client / src / apis / accessapproval / index.ts View on Github external
export function accessapproval(
  this: GoogleConfigurable,
  versionOrOptions: 'v1beta1' | accessapproval_v1beta1.Options
) {
  return getAPI('accessapproval', versionOrOptions, VERSIONS, this);
}
github googleapis / google-api-nodejs-client / src / apis / reseller / index.ts View on Github external
export function reseller(
  this: GoogleConfigurable,
  versionOrOptions: 'v1' | reseller_v1.Options
) {
  return getAPI('reseller', versionOrOptions, VERSIONS, this);
}
github googleapis / google-api-nodejs-client / src / apis / cloudbilling / index.ts View on Github external
export function cloudbilling(
  this: GoogleConfigurable,
  versionOrOptions: 'v1' | cloudbilling_v1.Options
) {
  return getAPI('cloudbilling', versionOrOptions, VERSIONS, this);
}
github googleapis / google-api-nodejs-client / src / apis / gmail / index.ts View on Github external
export function gmail(
  this: GoogleConfigurable,
  versionOrOptions: 'v1' | gmail_v1.Options
) {
  return getAPI('gmail', versionOrOptions, VERSIONS, this);
}
github googleapis / google-api-nodejs-client / src / apis / youtubeAnalytics / index.ts View on Github external
export function youtubeAnalytics<
  T =
    | youtubeAnalytics_v1.Youtubeanalytics
    | youtubeAnalytics_v2.Youtubeanalytics
>(
  this: GoogleConfigurable,
  versionOrOptions:
    | 'v1'
    | youtubeAnalytics_v1.Options
    | 'v2'
    | youtubeAnalytics_v2.Options
) {
  return getAPI('youtubeAnalytics', versionOrOptions, VERSIONS, this);
}
github googleapis / google-api-nodejs-client / src / apis / indexing / index.ts View on Github external
export function indexing(
  this: GoogleConfigurable,
  versionOrOptions: 'v3' | indexing_v3.Options
) {
  return getAPI('indexing', versionOrOptions, VERSIONS, this);
}
github googleapis / google-api-nodejs-client / src / apis / cloudscheduler / index.ts View on Github external
export function cloudscheduler<
  T = cloudscheduler_v1.Cloudscheduler | cloudscheduler_v1beta1.Cloudscheduler
>(
  this: GoogleConfigurable,
  versionOrOptions:
    | 'v1'
    | cloudscheduler_v1.Options
    | 'v1beta1'
    | cloudscheduler_v1beta1.Options
) {
  return getAPI('cloudscheduler', versionOrOptions, VERSIONS, this);
}
github googleapis / google-api-nodejs-client / src / apis / cloudiot / index.ts View on Github external
export function cloudiot(
  this: GoogleConfigurable,
  versionOrOptions: 'v1' | cloudiot_v1.Options
) {
  return getAPI('cloudiot', versionOrOptions, VERSIONS, this);
}
github googleapis / google-api-nodejs-client / src / apis / blogger / index.ts View on Github external
export function blogger(
  this: GoogleConfigurable,
  versionOrOptions: 'v2' | blogger_v2.Options | 'v3' | blogger_v3.Options
) {
  return getAPI('blogger', versionOrOptions, VERSIONS, this);
}

googleapis-common

A common tooling library used by the googleapis npm module. You probably don't want to use this directly.

Apache-2.0
Latest version published 6 months ago

Package Health Score

89 / 100
Full package analysis

Similar packages