SYMBOL INDEX (191 symbols across 76 files) FILE: Node-1st-gen/authenticated-json-api/public/main.js function Demo (line 19) | function Demo() { FILE: Node-1st-gen/authorized-https-endpoint/public/main.js function Demo (line 19) | function Demo() { FILE: Node-1st-gen/convert-images/functions/index.js constant JPEG_EXTENSION (line 29) | const JPEG_EXTENSION = '.jpg'; FILE: Node-1st-gen/coupon-on-purchase/functions/index.js function sendCouponViaFCM (line 50) | async function sendCouponViaFCM(uid, userLanguage) { function sendHighValueCouponViaFCM (line 87) | async function sendHighValueCouponViaFCM(uid, userLanguage) { function getDeviceTokens (line 123) | async function getDeviceTokens(uid) { FILE: Node-1st-gen/delete-old-child-nodes/functions/index.js constant CUT_OFF_TIME (line 23) | const CUT_OFF_TIME = 2 * 60 * 60 * 1000; FILE: Node-1st-gen/delete-unused-accounts-cron/functions/index.js constant MAX_CONCURRENT (line 23) | const MAX_CONCURRENT = 3; function deleteInactiveUser (line 43) | function deleteInactiveUser(inactiveUsers) { function getInactiveUsers (line 70) | async function getInactiveUsers(users = [], nextPageToken) { FILE: Node-1st-gen/email-confirmation/public/main.js function Demo (line 19) | function Demo() { FILE: Node-1st-gen/exif-images/functions/index.js function imageMagickOutputToObject (line 68) | function imageMagickOutputToObject(output) { function makeKeyFirebaseCompatible (line 99) | function makeKeyFirebaseCompatible(key) { FILE: Node-1st-gen/exif-images/public/main.js function Demo (line 19) | function Demo() { FILE: Node-1st-gen/fcm-notifications/public/main.js function Demo (line 19) | function Demo() { FILE: Node-1st-gen/ffmpeg-convert-audio/functions/index.js function promisifyCommand (line 29) | function promisifyCommand(command) { FILE: Node-1st-gen/fulltext-search-firestore/functions/index.js constant ALGOLIA_INDEX_NAME (line 30) | const ALGOLIA_INDEX_NAME = 'notes'; function getFirebaseUser (line 57) | async function getFirebaseUser(req, res, next) { FILE: Node-1st-gen/fulltext-search-firestore/public/index.js constant PROJECT_ID (line 17) | const PROJECT_ID = '...' // Required - your Firebase project ID constant ALGOLIA_APP_ID (line 19) | const ALGOLIA_APP_ID = '...'; constant ALGOLIA_SEARCH_KEY (line 20) | const ALGOLIA_SEARCH_KEY = '...'; constant TYPESENSE_SEARCH_API_KEY (line 25) | const TYPESENSE_SEARCH_API_KEY = '...'; function searchAlgoliaUnauthenticated (line 27) | function searchAlgoliaUnauthenticated(query) { function searchAlgoliaAuthenticated (line 47) | function searchAlgoliaAuthenticated(query) { function search (line 78) | function search(query) { function searchElastic (line 99) | function searchElastic(query) { function searchTypesenseUnauthenticated (line 110) | async function searchTypesenseUnauthenticated(query) { function searchTypesenseAuthenticated (line 135) | async function searchTypesenseAuthenticated(query) { FILE: Node-1st-gen/fulltext-search/functions/index.js constant ALGOLIA_POSTS_INDEX_NAME (line 36) | const ALGOLIA_POSTS_INDEX_NAME = 'blogposts'; FILE: Node-1st-gen/github-to-slack/functions/index.js function postToSlack (line 64) | async function postToSlack(url, commits, repo) { FILE: Node-1st-gen/google-sheet-sync/functions/index.js constant FUNCTIONS_REDIRECT (line 38) | const FUNCTIONS_REDIRECT = `https://${process.env.GCLOUD_PROJECT}.fireba... constant SCOPES (line 41) | const SCOPES = ['https://www.googleapis.com/auth/spreadsheets']; constant DB_TOKEN_PATH (line 63) | const DB_TOKEN_PATH = '/api_tokens'; function appendPromise (line 100) | function appendPromise(requestWithoutAuth) { function getAuthorizedClient (line 118) | async function getAuthorizedClient() { FILE: Node-1st-gen/instagram-auth/functions/index.js constant OAUTH_REDIRECT_URI (line 33) | const OAUTH_REDIRECT_URI = `https://${process.env.GCLOUD_PROJECT}.fireba... constant OAUTH_SCOPES (line 34) | const OAUTH_SCOPES = 'basic'; function createFirebaseAccount (line 127) | async function createFirebaseAccount(instagramID, displayName, photoURL,... FILE: Node-1st-gen/instagram-auth/public/main.js function Demo (line 19) | function Demo() { FILE: Node-1st-gen/limit-children/functions/index.js constant MAX_LOG_COUNT (line 21) | const MAX_LOG_COUNT = 5; FILE: Node-1st-gen/linkedin-auth/functions/index.js constant OAUTH_SCOPES (line 33) | const OAUTH_SCOPES = ['r_basicprofile', 'r_emailaddress']; function createFirebaseAccount (line 122) | async function createFirebaseAccount(linkedinID, displayName, photoURL, ... FILE: Node-1st-gen/linkedin-auth/public/main.js function Demo (line 19) | function Demo() { FILE: Node-1st-gen/message-translation/functions/index.js constant LANGUAGES (line 26) | const LANGUAGES = ['en', 'es', 'de', 'fr', 'sv', 'ga', 'it', 'jp']; FILE: Node-1st-gen/minimal-webhook/functions/index.js constant WEBHOOK_URL (line 23) | const WEBHOOK_URL = 'http://requestb.in/1mqw97l1'; FILE: Node-1st-gen/moderate-images/functions/index.js constant BLURRED_FOLDER (line 35) | const BLURRED_FOLDER = 'blurred'; function blurImage (line 76) | async function blurImage(filePath, bucketName, metadata) { FILE: Node-1st-gen/okta-auth/setup.js constant DEPLOYING (line 28) | const DEPLOYING = process.argv.length >= 3 && process.argv[2] === '-d'; constant GCLOUD_PROJECT (line 29) | const GCLOUD_PROJECT = process.env.GCLOUD_PROJECT || ''; constant PROJECT_DIR (line 30) | const PROJECT_DIR = process.env.PROJECT_DIR || __dirname; constant OKTA_URL_PROMPT (line 32) | const OKTA_URL_PROMPT = `\ constant OKTA_CLIENT_ID_PROMPT (line 39) | const OKTA_CLIENT_ID_PROMPT = `\ constant CORS_ORIGIN (line 45) | const CORS_ORIGIN = `\ constant SERVICE_ACCOUNT_PATH_PROMPT (line 51) | const SERVICE_ACCOUNT_PATH_PROMPT = `\ constant EXAMPLE_ENDPOINT (line 60) | const EXAMPLE_ENDPOINT = ( constant TOKEN_ENDPOINT_PROMPT (line 69) | const TOKEN_ENDPOINT_PROMPT = `\ FILE: Node-1st-gen/presence-firestore/public/index.js function rtdb_presence (line 17) | function rtdb_presence() { function rtdb_and_local_fs_presence (line 66) | function rtdb_and_local_fs_presence() { function fs_listen (line 116) | function fs_listen() { function fs_listen_online (line 125) | function fs_listen_online() { FILE: Node-1st-gen/quickstarts/big-ben/functions/index.js function secondsLeftBeforeEndOfHour (line 68) | function secondsLeftBeforeEndOfHour(date) { FILE: Node-1st-gen/quickstarts/big-ben/public/script.js function refresh (line 17) | function refresh(_this) { FILE: Node-1st-gen/quickstarts/email-users/functions/index.js constant APP_NAME (line 44) | const APP_NAME = 'Cloud Storage for Firebase quickstart'; function sendWelcomeEmail (line 77) | async function sendWelcomeEmail(email, displayName) { function sendGoodbyeEmail (line 92) | async function sendGoodbyeEmail(email, displayName) { FILE: Node-1st-gen/quickstarts/email-users/public/main.js function Demo (line 19) | function Demo() { FILE: Node-1st-gen/quickstarts/taskqueues-backup-images/functions/index.js constant BACKUP_START_DATE (line 26) | const BACKUP_START_DATE = new Date("1995-06-17"); constant BACKUP_COUNT (line 27) | const BACKUP_COUNT = parseInt(process.env.BACKUP_COUNT) || 100; constant HOURLY_BATCH_SIZE (line 28) | const HOURLY_BATCH_SIZE = parseInt(process.env.HOURLY_BATCH_SIZE) || 500; constant BACKUP_BUCKET (line 29) | const BACKUP_BUCKET = process.env.BACKUP_BUCKET; FILE: Node-1st-gen/remote-config-diff/functions/index.js function getTemplate (line 53) | async function getTemplate(version, accessToken) { FILE: Node-1st-gen/spotify-auth/functions/index.js constant OAUTH_SCOPES (line 50) | const OAUTH_SCOPES = ['user-read-email']; function createFirebaseAccount (line 128) | async function createFirebaseAccount(spotifyID, displayName, photoURL, e... FILE: Node-1st-gen/spotify-auth/public/main.js function Demo (line 19) | function Demo() { FILE: Node-1st-gen/stripe/functions/index.js function reportError (line 180) | function reportError(err, context = {}) { function userFacingMessage (line 221) | function userFacingMessage(error) { FILE: Node-1st-gen/stripe/public/javascript/app.js constant STRIPE_PUBLISHABLE_KEY (line 16) | const STRIPE_PUBLISHABLE_KEY = ''; function startDataListeners (line 92) | function startDataListeners() { function formatAmount (line 272) | function formatAmount(amount, currency) { function formatAmountForStripe (line 283) | function formatAmountForStripe(amount, currency) { function zeroDecimalCurrency (line 291) | function zeroDecimalCurrency(amount, currency) { function handleCardAction (line 308) | async function handleCardAction(payment, docId) { FILE: Node-1st-gen/survey-app-update/functions/index.js constant LINK_TO_SURVEY (line 37) | const LINK_TO_SURVEY = 'https://goo.gl/forms/IdurnOZ66h3FtlO33'; constant LATEST_VERSION (line 38) | const LATEST_VERSION = '2.0'; function sendSurveyEmail (line 63) | async function sendSurveyEmail(email, name) { FILE: Node-1st-gen/template-handlebars/functions/firebaseUser.js function validateFirebaseIdToken (line 27) | async function validateFirebaseIdToken (req, res, next) { function getIdTokenFromRequest (line 40) | function getIdTokenFromRequest(req, res) { function addDecodedIdTokenToRequest (line 62) | async function addDecodedIdTokenToRequest(idToken, req) { FILE: Node-1st-gen/testlab-to-slack/functions/index.js function postToSlack (line 28) | async function postToSlack(title, details) { function getSlackmoji (line 57) | function getSlackmoji(term) { FILE: Node-1st-gen/text-moderation/functions/index.js function moderateMessage (line 48) | function moderateMessage(message) { function containsSwearwords (line 65) | function containsSwearwords(message) { function moderateSwearwords (line 70) | function moderateSwearwords(message) { function isShouting (line 76) | function isShouting(message) { function stopShouting (line 82) | function stopShouting(message) { FILE: Node-1st-gen/text-moderation/public/main.js function Guestbook (line 19) | function Guestbook() { FILE: Node-1st-gen/username-password-auth/functions/index.js function authenticate (line 99) | async function authenticate(username, password) { FILE: Node-1st-gen/username-password-auth/public/main.js function getFirebaseProjectId (line 21) | function getFirebaseProjectId() { function Demo (line 26) | function Demo() { FILE: Node-1st-gen/youtube/functions/index.js constant FIREBASE_YOUTUBE_CHANNEL_ID (line 24) | const FIREBASE_YOUTUBE_CHANNEL_ID = 'UCP4bf6IHJJQehibu6ai__cg'; FILE: Node/alerts-to-discord/functions/index.js function postMessageToDiscord (line 36) | async function postMessageToDiscord(botName, messageBody) { FILE: Node/app-distribution-feedback-to-jira/functions/index.js function authHeader (line 75) | function authHeader() { function createIssue (line 85) | async function createIssue(event) { function uploadScreenshot (line 112) | async function uploadScreenshot(issueUri, screenshotUri) { function lookupReporter (line 141) | async function lookupReporter(testerEmail) { function buildCreateIssueRequest (line 163) | async function buildCreateIssueRequest(event) { FILE: Node/call-vertex-remote-config-server/client/config.ts constant RECAPTCHA_ENTERPRISE_SITE_KEY (line 7) | const RECAPTCHA_ENTERPRISE_SITE_KEY = FILE: Node/delete-unused-accounts-cron/functions/index.js constant MAX_CONCURRENT (line 31) | const MAX_CONCURRENT = 3; function deleteInactiveUser (line 58) | function deleteInactiveUser(inactiveUsers) { function getInactiveUsers (line 91) | async function getInactiveUsers(users = [], nextPageToken) { FILE: Node/fcm-notifications/public/main.js function Demo (line 19) | function Demo() { FILE: Node/instrument-with-opentelemetry/functions/index.js function sliceIntoChunks (line 33) | function sliceIntoChunks(arr, chunkSize) { function calculatePrice (line 47) | async function calculatePrice(productIds) { function calculateDiscount (line 65) | async function calculateDiscount(productIds) { FILE: Node/instrument-with-opentelemetry/functions/timer.js method constructor (line 21) | constructor() { method measureMs (line 29) | measureMs() { FILE: Node/quickstarts/callable-functions-streaming/functions/index.js function weatherForecastApi (line 28) | async function weatherForecastApi(lat, lng) { FILE: Node/quickstarts/callable-functions/functions/sanitizer.js function containsSwearwords (line 43) | function containsSwearwords(message) { function replaceSwearwords (line 52) | function replaceSwearwords(message) { function isShouting (line 62) | function isShouting(message) { function stopShouting (line 73) | function stopShouting(message) { FILE: Node/taskqueues-backup-images/functions/index.js constant BACKUP_START_DATE (line 32) | const BACKUP_START_DATE = new Date("1995-06-17"); constant BACKUP_COUNT (line 33) | const BACKUP_COUNT = parseInt(process.env.BACKUP_COUNT) || 100; constant HOURLY_BATCH_SIZE (line 34) | const HOURLY_BATCH_SIZE = parseInt(process.env.HOURLY_BATCH_SIZE) || 500; constant BACKUP_BUCKET (line 35) | const BACKUP_BUCKET = process.env.BACKUP_BUCKET; function getFunctionUrl (line 111) | async function getFunctionUrl(name, location="us-central1") { FILE: Node/testlab-to-slack/functions/index.js function postToSlack (line 32) | async function postToSlack(title, details) { function getSlackmoji (line 68) | function getSlackmoji(term) { FILE: Node/youtube/functions/index.ts constant FIREBASE_YOUTUBE_CHANNEL_ID (line 23) | const FIREBASE_YOUTUBE_CHANNEL_ID = "UCP4bf6IHJJQehibu6ai__cg"; FILE: Python/alerts-to-discord/functions/main.py function post_message_to_discord (line 27) | def post_message_to_discord(bot_name: str, message_body: str, function post_fatal_issue_to_discord (line 54) | def post_fatal_issue_to_discord(event: crashlytics_fn.CrashlyticsNewFata... function post_new_udid_to_discord (line 87) | def post_new_udid_to_discord(event: app_distribution_fn.NewTesterDeviceE... function post_performance_alert_to_discord (line 118) | def post_performance_alert_to_discord(event: performance_fn.PerformanceT... FILE: Python/delete-unused-accounts-cron/functions/main.py function accountcleanup (line 34) | def accountcleanup(event: scheduler_fn.ScheduledEvent) -> None: function is_inactive (line 46) | def is_inactive(user: auth.UserRecord, inactive_limit: timedelta) -> bool: FILE: Python/fcm-notifications/functions/main.py function send_follower_notification (line 9) | def send_follower_notification(event: db_fn.Event[db_fn.Change]) -> None: FILE: Python/fcm-notifications/public/main.js function Demo (line 19) | function Demo() { FILE: Python/http-flask/functions/main.py function get_widget (line 28) | def get_widget(id=None): function add_widget (line 36) | def add_widget(): function httpsflaskexample (line 46) | def httpsflaskexample(req: https_fn.Request) -> https_fn.Response: FILE: Python/post-signup-event/functions/main.py function savegoogletoken (line 33) | def savegoogletoken( function scheduleonboarding (line 75) | def scheduleonboarding(request: tasks_fn.CallableRequest) -> https_fn.Re... function get_function_url (line 129) | def get_function_url(name: str, location: str = options.SupportedRegion.... FILE: Python/pyfmt.py function reformat_in_place (line 29) | def reformat_in_place(files: list[str]) -> None: function check_and_diff (line 37) | def check_and_diff(files: list[str]) -> int: function format (line 55) | def format(src: str) -> str: function fix_region_tags (line 61) | def fix_region_tags(src: str) -> str: FILE: Python/quickstarts/auth-blocking-functions/functions/main.py function created_noop (line 25) | def created_noop(event: identity_fn.AuthBlockingEvent) -> identity_fn.Be... function signedin_noop (line 32) | def signedin_noop(event: identity_fn.AuthBlockingEvent) -> identity_fn.B... function validatenewuser (line 41) | def validatenewuser( function setdefaultname (line 61) | def setdefaultname(event: identity_fn.AuthBlockingEvent) -> identity_fn.... function requireverified (line 70) | def requireverified( function send_verification_email_using_your_smtp_server (line 78) | def send_verification_email_using_your_smtp_server(email, link): function sendverification (line 85) | def sendverification( function requireverifiedsignin (line 95) | def requireverifiedsignin( function markverified (line 105) | def markverified(event: identity_fn.AuthBlockingEvent) -> identity_fn.Be... function is_suspicious (line 111) | def is_suspicious(ip_address): function ipban (line 117) | def ipban(event: identity_fn.AuthBlockingEvent) -> identity_fn.BeforeSig... function setemployeeid (line 126) | def setemployeeid(event: identity_fn.AuthBlockingEvent) -> identity_fn.B... function copyclaimstosession (line 134) | def copyclaimstosession( function logip (line 147) | def logip(event: identity_fn.AuthBlockingEvent) -> identity_fn.BeforeSig... function analyze_photo_with_ml (line 152) | def analyze_photo_with_ml(url): function sanitizeprofilephoto (line 162) | def sanitizeprofilephoto( function checkforban (line 175) | def checkforban(event: identity_fn.AuthBlockingEvent) -> identity_fn.Bef... FILE: Python/quickstarts/callable-functions/functions/main.py function addnumbers (line 32) | def addnumbers(req: https_fn.CallableRequest) -> Any: function addmessage (line 66) | def addmessage(req: https_fn.CallableRequest) -> Any: function sanitize_text (line 130) | def sanitize_text(text: str) -> str: FILE: Python/quickstarts/custom-events/functions/main.py function onimageresized (line 27) | def onimageresized(event: eventarc_fn.CloudEvent) -> None: function onimageresizedwest (line 47) | def onimageresizedwest(event: eventarc_fn.CloudEvent) -> None: FILE: Python/quickstarts/firestore-sync-auth/functions/main.py function verify_comment (line 21) | def verify_comment(event: Event[Change[DocumentSnapshot]]) -> None: FILE: Python/quickstarts/https-time-server/functions/main.py function date (line 43) | def date(req: https_fn.Request) -> https_fn.Response: FILE: Python/quickstarts/monitor-cloud-logging/functions/main.py function hello_world (line 16) | def hello_world(req: https_fn.Request) -> https_fn.Response: function get_inspirational_quote (line 26) | def get_inspirational_quote(req: https_fn.Request) -> https_fn.Response: function app_has_regression (line 72) | def app_has_regression(alert: crashlytics_fn.CrashlyticsRegressionAlertE... FILE: Python/quickstarts/pubsub-helloworld/functions/main.py function hellopubsub (line 25) | def hellopubsub(event: pubsub_fn.CloudEvent[pubsub_fn.MessagePublishedDa... function hellopubsubjson (line 39) | def hellopubsubjson(event: pubsub_fn.CloudEvent[pubsub_fn.MessagePublish... function hellopubsubattributes (line 61) | def hellopubsubattributes(event: pubsub_fn.CloudEvent[pubsub_fn.MessageP... FILE: Python/quickstarts/uppercase-firestore/functions/main.py function addmessage (line 31) | def addmessage(req: https_fn.Request) -> https_fn.Response: function makeuppercase (line 54) | def makeuppercase(event: firestore_fn.Event[firestore_fn.DocumentSnapsho... function makeuppercase2 (line 78) | def makeuppercase2( FILE: Python/quickstarts/uppercase-rtdb/functions/main.py function addmessage (line 33) | def addmessage(req: https_fn.Request) -> https_fn.Response: function makeuppercase (line 58) | def makeuppercase(event: db_fn.Event[Any]) -> None: function makeuppercase2 (line 82) | def makeuppercase2(event: db_fn.Event[db_fn.Change]) -> None: FILE: Python/remote-config-diff/functions/main.py function showconfigdiff (line 32) | def showconfigdiff(event: remote_config_fn.CloudEvent[remote_config_fn.C... FILE: Python/taskqueues-backup-images/functions/main.py function backupapod (line 45) | def backupapod(req: tasks_fn.CallableRequest) -> str: function enqueuebackuptasks (line 97) | def enqueuebackuptasks(_: https_fn.Request) -> https_fn.Response: function get_function_url (line 122) | def get_function_url(name: str, location: str = SupportedRegion.US_CENTR... FILE: Python/testlab-to-slack/functions/main.py function post_to_slack (line 28) | def post_to_slack(title: str, details: str) -> requests.Response: function slackmoji (line 52) | def slackmoji(status: test_lab_fn.TestState | test_lab_fn.OutcomeSummary... function posttestresultstoslack (line 71) | def posttestresultstoslack( FILE: Python/thumbnails/functions/main.py function generatethumbnail (line 37) | def generatethumbnail(event: storage_fn.CloudEvent[storage_fn.StorageObj...