How to use the googleapis-common.AuthPlus 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 / storage / index.ts View on Github external
export function storage(version: 'v1beta2'): storage_v1beta2.Storage;
export function storage(
  options: storage_v1beta2.Options
): storage_v1beta2.Storage;
export function storage(
  this: GoogleConfigurable,
  versionOrOptions:
    | 'v1'
    | storage_v1.Options
    | 'v1beta2'
    | storage_v1beta2.Options
) {
  return getAPI('storage', versionOrOptions, VERSIONS, this);
}

const auth = new AuthPlus();
export {auth};
github googleapis / google-api-nodejs-client / src / apis / dfareporting / index.ts View on Github external
export const VERSIONS = {
  'v3.4': dfareporting_v3_4.Dfareporting,
};

export function dfareporting(version: 'v3.4'): dfareporting_v3_4.Dfareporting;
export function dfareporting(
  options: dfareporting_v3_4.Options
): dfareporting_v3_4.Dfareporting;
export function dfareporting(
  this: GoogleConfigurable,
  versionOrOptions: 'v3.4' | dfareporting_v3_4.Options
) {
  return getAPI('dfareporting', versionOrOptions, VERSIONS, this);
}

const auth = new AuthPlus();
export {auth};
github googleapis / google-api-nodejs-client / src / apis / cloudprofiler / index.ts View on Github external
export const VERSIONS = {
  v2: cloudprofiler_v2.Cloudprofiler,
};

export function cloudprofiler(version: 'v2'): cloudprofiler_v2.Cloudprofiler;
export function cloudprofiler(
  options: cloudprofiler_v2.Options
): cloudprofiler_v2.Cloudprofiler;
export function cloudprofiler(
  this: GoogleConfigurable,
  versionOrOptions: 'v2' | cloudprofiler_v2.Options
) {
  return getAPI('cloudprofiler', versionOrOptions, VERSIONS, this);
}

const auth = new AuthPlus();
export {auth};
github googleapis / google-api-nodejs-client / src / apis / surveys / index.ts View on Github external
import {surveys_v2} from './v2';

export const VERSIONS = {
  v2: surveys_v2.Surveys,
};

export function surveys(version: 'v2'): surveys_v2.Surveys;
export function surveys(options: surveys_v2.Options): surveys_v2.Surveys;
export function surveys(
  this: GoogleConfigurable,
  versionOrOptions: 'v2' | surveys_v2.Options
) {
  return getAPI('surveys', versionOrOptions, VERSIONS, this);
}

const auth = new AuthPlus();
export {auth};
github googleapis / google-api-nodejs-client / src / apis / tagmanager / index.ts View on Github external
options: tagmanager_v1.Options
): tagmanager_v1.Tagmanager;
export function tagmanager(version: 'v2'): tagmanager_v2.Tagmanager;
export function tagmanager(
  options: tagmanager_v2.Options
): tagmanager_v2.Tagmanager;
export function tagmanager<
  T = tagmanager_v1.Tagmanager | tagmanager_v2.Tagmanager
>(
  this: GoogleConfigurable,
  versionOrOptions: 'v1' | tagmanager_v1.Options | 'v2' | tagmanager_v2.Options
) {
  return getAPI('tagmanager', versionOrOptions, VERSIONS, this);
}

const auth = new AuthPlus();
export {auth};
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);
}

const auth = new AuthPlus();
export {auth};
github googleapis / google-api-nodejs-client / src / apis / abusiveexperiencereport / index.ts View on Github external
export function abusiveexperiencereport(
  version: 'v1'
): abusiveexperiencereport_v1.Abusiveexperiencereport;
export function abusiveexperiencereport(
  options: abusiveexperiencereport_v1.Options
): abusiveexperiencereport_v1.Abusiveexperiencereport;
export function abusiveexperiencereport<
  T = abusiveexperiencereport_v1.Abusiveexperiencereport
>(
  this: GoogleConfigurable,
  versionOrOptions: 'v1' | abusiveexperiencereport_v1.Options
) {
  return getAPI('abusiveexperiencereport', versionOrOptions, VERSIONS, this);
}

const auth = new AuthPlus();
export {auth};
github googleapis / google-api-nodejs-client / src / apis / fitness / index.ts View on Github external
import {fitness_v1} from './v1';

export const VERSIONS = {
  v1: fitness_v1.Fitness,
};

export function fitness(version: 'v1'): fitness_v1.Fitness;
export function fitness(options: fitness_v1.Options): fitness_v1.Fitness;
export function fitness(
  this: GoogleConfigurable,
  versionOrOptions: 'v1' | fitness_v1.Options
) {
  return getAPI('fitness', versionOrOptions, VERSIONS, this);
}

const auth = new AuthPlus();
export {auth};
github googleapis / google-api-nodejs-client / src / apis / discovery / index.ts View on Github external
export const VERSIONS = {
  v1: discovery_v1.Discovery,
};

export function discovery(version: 'v1'): discovery_v1.Discovery;
export function discovery(
  options: discovery_v1.Options
): discovery_v1.Discovery;
export function discovery(
  this: GoogleConfigurable,
  versionOrOptions: 'v1' | discovery_v1.Options
) {
  return getAPI('discovery', versionOrOptions, VERSIONS, this);
}

const auth = new AuthPlus();
export {auth};
github googleapis / google-api-nodejs-client / src / apis / spanner / index.ts View on Github external
import {spanner_v1} from './v1';

export const VERSIONS = {
  v1: spanner_v1.Spanner,
};

export function spanner(version: 'v1'): spanner_v1.Spanner;
export function spanner(options: spanner_v1.Options): spanner_v1.Spanner;
export function spanner(
  this: GoogleConfigurable,
  versionOrOptions: 'v1' | spanner_v1.Options
) {
  return getAPI('spanner', versionOrOptions, VERSIONS, this);
}

const auth = new AuthPlus();
export {auth};

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 7 months ago

Package Health Score

89 / 100
Full package analysis

Similar packages