Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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};
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};
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};
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};
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};
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};
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};
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};
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};
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};