Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleCloudPlatform/nodejs-docs-samples
/ functions
Functions
3,902 in github.com/GoogleCloudPlatform/nodejs-docs-samples
⨍
Functions
3,902
◇
Types & classes
106
Function
generateContent
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/controlled-generation/ctrlgen-with-enum-schema.js:23
Function
generateContentCache
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/content-cache/content-cache-create-with-txt-gcs-pdf.js:23
Function
generateEmbeddingsForRetrieval
( projectId = GOOGLE_CLOUD_PROJECT )
genai/embeddings/embeddings-docretrieval-with-txt.js:22
Function
generateEnumClassSchema
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/controlled-generation/ctrlgen-with-enum-class-schema.js:23
Function
generateFunctionDesc
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/tools/tools-func-desc-with-txt.js:22
Function
generateGoogleSearch
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/tools/tools-google-search-with-txt.js:23
Function
generateImage
( outputGcsUri, projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-canny-ctrl-type-with-txt-img.js:24
Function
generateImage
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-mmflash-multiple-imgs-with-txt.js:25
Function
generateImage
( outputGcsUri, projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-scribble-ctrl-type-with-txt-img.js:24
Function
generateImage
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-mmflash-locale-aware-with-txt.js:25
Function
generateImage
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-mmflash-with-txt.js:25
Function
generateImage
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-mmflash-txt-and-img-with-txt.js:54
Function
generateImage
( outputGcsUri, projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-raw-reference-with-txt-img.js:25
Function
generateImage
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-with-txt.js:25
Function
generateImage
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-mmflash-edit-img-with-txt-img.js:27
Function
generateImage
( outputGcsUri, projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-subj-refer-ctrl-refer-with-txt-imgs.js:28
Function
generateImage
( outputGcsUri, projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-style-reference-with-txt-img.js:24
Function
generateLiveAudioTranscription
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/live/live-transcribe-with-audio.js:25
Function
generateLiveCodeExec
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/live/live-code-exec-with-txt.js:24
Function
generateLiveConversation
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/live/live-with-txt.js:24
Function
generateLiveConversation
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/live/live-audio-with-txt.js:26
Function
generateLiveConversation
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/live/live-txt-with-audio.js:24
Function
generateLiveConversation
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/live/live-conversation-audio-with-audio.js:61
Function
generateLiveFunctionCall
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/live/live-func-call-with-txt.js:24
Function
generateLiveGoogleSearch
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/live/live-ground-googsearch-with-txt.js:22
Function
generateLiveRagTextResponse
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION, rag_corpus_id = RAG_CORPUS_ID )
genai/live/live-ground-ragengine-with-txt.js:27
Function
generateNestedClassSchema
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/controlled-generation/ctrlgen-with-nested-class-schema.js:23
Function
generateNullableSchema
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/controlled-generation/ctrlgen-with-nullable-schema.js:23
Function
generateResponseSchema
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/controlled-generation/ctrlgen-with-resp-schema.js:23
Function
generateStructuredTextResponse
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/live/live-structured-ouput-with-txt.js:38
Function
generateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-chat-stream-with-txt.js:23
Function
generateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-code-with-pdf.js:23
Function
generateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-with-pdf.js:23
Function
generateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-with-youtube-video.js:23
Function
generateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-with-gcs-audio.js:23
Function
generateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-transcript-with-gcs-audio.js:23
Function
generateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-async-with-txt.js:23
Function
generateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-with-mute-video.js:23
Function
generateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-chat-with-txt.js:23
Function
generateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-with-local-video.js:24
Function
generateVideo
( outputGcsUri, projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/video-generation/videogen-with-txt.js:23
Function
generateVideo
( outputGcsUri, projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/video-generation/videogen-with-img.js:23
Function
generateWithApiKey
(apiKey = API_KEY)
genai/express-mode/api-key-example.js:21
Function
generateWithProvisionedThroughput
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/provisioned-throughput/provisionedthroughput-with-txt.js:23
Function
generateWithSafetySettings
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/safety/safety-with-txt.js:23
Function
generateWithThoughts
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/thinking/thinking-includethoughts-with-txt.js:23
Function
generateWithThoughts
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/thinking/thinking-with-txt.js:23
Function
generateWithThoughts
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/thinking/thinking-budget-with-txt.js:23
Function
get
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:114
Method
get
()
genai/tuning/test/tuning-textgen-with-txt.test.js:41
Method
get
()
genai/tuning/test/tuning-job-create.test.js:39
Method
getAwsRegion
* Returns the AWS region. This is required for signing the AWS request. * It resolves the region automatically by using the default AWS region *
auth/customcredentials/aws/customCredentialSupplierAws.js:44
Method
getAwsSecurityCredentials
* Retrieves AWS security credentials using the AWS SDK's default provider chain.
auth/customcredentials/aws/customCredentialSupplierAws.js:64
Function
getBucketsList
()
retail/interactive-tutorials/setup/setup-cleanup.js:137
Function
getProduct
retail/interactive-tutorials/setup/setup-cleanup.js:87
Method
getSubjectToken
* Main method called by the auth library. It will fetch a new token if one * is not already cached. * @returns {Promise<string>} A promise that
auth/customcredentials/okta/customCredentialSupplierOkta.js:43
Function
getTuningJob
( tuningJobName = TUNING_JOB_NAME, projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/tuning/tuning-job-get.js:23
Function
getValue
dlp/kAnonymityWithEntityIds.js:118
Function
getValue
dlp/kAnonymityAnalysis.js:92
Function
goodbye
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:3609
Method
handleAnimation
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:3845
Function
handleClick
(event)
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:3479
Method
handleEvent
(t)
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:176
Method
handleRippleBlur
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:1417
Method
handleRippleFocus
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:1414
Method
handleRippleMouseDown
(event)
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:1394
Method
handleRippleMouseEnter
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:1408
Method
handleRippleMouseLeave
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:1411
Method
handleRippleTouchStart
(event)
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:1402
Method
handleSlotchange
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:3850
Method
handleSubmit
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:3854
Function
home
(req, res)
recaptcha_enterprise/demosite/app/controllers/controller.js:44
Function
initializer
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:89
Method
isActive
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:944
Method
j
(t)
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:176
Method
j
(t)
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:176
Function
listCallback
(err, resources, nextPageRequest, response)
compute/listImagesByPage.js:50
Function
listContentCaches
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/content-cache/content-cache-list.js:23
Function
listFiles
retail/interactive-tutorials/setup/setup-cleanup.js:189
Function
listTuningJobs
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/tuning/tuning-job-list.js:22
Function
login
(req, res)
recaptcha_enterprise/demosite/app/controllers/controller.js:54
Function
main
(tpuClient)
tpu/getVMList.js:19
Function
main
(tpuClient)
tpu/deleteVM.js:19
Function
main
(tpuClient)
tpu/getVM.js:19
Function
main
(tpuClient)
tpu/createTopologyVM.js:19
Function
main
(tpuClient)
tpu/createVM.js:19
Function
main
(tpuClient)
tpu/startVM.js:19
Function
main
(tpuClient)
tpu/stopVM.js:19
Function
main
(tpuClient)
tpu/createStartupScriptVM.js:19
Function
main
(tpuClient)
tpu/queuedResources/createQueuedResource.js:19
Function
main
(tpuClient)
tpu/queuedResources/forceDeleteQueuedResource.js:19
Function
main
(tpuClient)
tpu/queuedResources/getQueuedResourcesList.js:19
Function
main
(tpuClient)
tpu/queuedResources/getQueuedResource.js:19
Function
main
(tpuClient)
tpu/queuedResources/deleteQueuedResource.js:19
Function
main
(datasetId, entityId, role)
bigquery/cloud-client/grantAccessToDataset.js:17
Function
main
(projectId, datasetId, tableId, principalId, role)
bigquery/cloud-client/grantAccessToTableOrView.js:17
Function
main
(projectId, datasetId, resourceName)
bigquery/cloud-client/viewTableOrViewAccessPolicy.js:17
Function
main
(datasetId, entityId)
bigquery/cloud-client/revokeDatasetAccess.js:17
Function
main
( projectId, datasetId, tableId, roleToRemove = null, principalToRemove = null )
bigquery/cloud-client/revokeTableOrViewAccess.js:17
Function
main
(datasetId)
bigquery/cloud-client/viewDatasetAccessPolicy.js:17
← previous
next →
3,601–3,700 of 3,902, ranked by callers