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 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);
}
export function accessapproval(
this: GoogleConfigurable,
versionOrOptions: 'v1beta1' | accessapproval_v1beta1.Options
) {
return getAPI('accessapproval', versionOrOptions, VERSIONS, this);
}
export function reseller(
this: GoogleConfigurable,
versionOrOptions: 'v1' | reseller_v1.Options
) {
return getAPI('reseller', versionOrOptions, VERSIONS, this);
}
export function cloudbilling(
this: GoogleConfigurable,
versionOrOptions: 'v1' | cloudbilling_v1.Options
) {
return getAPI('cloudbilling', versionOrOptions, VERSIONS, this);
}
export function gmail(
this: GoogleConfigurable,
versionOrOptions: 'v1' | gmail_v1.Options
) {
return getAPI('gmail', versionOrOptions, VERSIONS, this);
}
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);
}
export function indexing(
this: GoogleConfigurable,
versionOrOptions: 'v3' | indexing_v3.Options
) {
return getAPI('indexing', versionOrOptions, VERSIONS, this);
}
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);
}
export function cloudiot(
this: GoogleConfigurable,
versionOrOptions: 'v1' | cloudiot_v1.Options
) {
return getAPI('cloudiot', versionOrOptions, VERSIONS, this);
}
export function blogger(
this: GoogleConfigurable,
versionOrOptions: 'v2' | blogger_v2.Options | 'v3' | blogger_v3.Options
) {
return getAPI('blogger', versionOrOptions, VERSIONS, this);
}