MCPcopy Create free account

hub / github.com/GoogleCloudPlatform/nodejs-docs-samples / functions

Functions3,902 in github.com/GoogleCloudPlatform/nodejs-docs-samples

FunctiongenerateContent
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/controlled-generation/ctrlgen-with-enum-schema.js:23
FunctiongenerateContentCache
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/content-cache/content-cache-create-with-txt-gcs-pdf.js:23
FunctiongenerateEmbeddingsForRetrieval
( projectId = GOOGLE_CLOUD_PROJECT )
genai/embeddings/embeddings-docretrieval-with-txt.js:22
FunctiongenerateEnumClassSchema
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/controlled-generation/ctrlgen-with-enum-class-schema.js:23
FunctiongenerateFunctionDesc
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/tools/tools-func-desc-with-txt.js:22
FunctiongenerateGoogleSearch
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/tools/tools-google-search-with-txt.js:23
FunctiongenerateImage
( outputGcsUri, projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-canny-ctrl-type-with-txt-img.js:24
FunctiongenerateImage
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-mmflash-multiple-imgs-with-txt.js:25
FunctiongenerateImage
( outputGcsUri, projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-scribble-ctrl-type-with-txt-img.js:24
FunctiongenerateImage
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-mmflash-locale-aware-with-txt.js:25
FunctiongenerateImage
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-mmflash-with-txt.js:25
FunctiongenerateImage
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-mmflash-txt-and-img-with-txt.js:54
FunctiongenerateImage
( outputGcsUri, projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-raw-reference-with-txt-img.js:25
FunctiongenerateImage
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-with-txt.js:25
FunctiongenerateImage
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-mmflash-edit-img-with-txt-img.js:27
FunctiongenerateImage
( outputGcsUri, projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-subj-refer-ctrl-refer-with-txt-imgs.js:28
FunctiongenerateImage
( outputGcsUri, projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/image-generation/imggen-style-reference-with-txt-img.js:24
FunctiongenerateLiveAudioTranscription
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/live/live-transcribe-with-audio.js:25
FunctiongenerateLiveCodeExec
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/live/live-code-exec-with-txt.js:24
FunctiongenerateLiveConversation
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/live/live-with-txt.js:24
FunctiongenerateLiveConversation
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/live/live-audio-with-txt.js:26
FunctiongenerateLiveConversation
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/live/live-txt-with-audio.js:24
FunctiongenerateLiveConversation
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/live/live-conversation-audio-with-audio.js:61
FunctiongenerateLiveFunctionCall
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/live/live-func-call-with-txt.js:24
FunctiongenerateLiveGoogleSearch
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/live/live-ground-googsearch-with-txt.js:22
FunctiongenerateLiveRagTextResponse
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION, rag_corpus_id = RAG_CORPUS_ID )
genai/live/live-ground-ragengine-with-txt.js:27
FunctiongenerateNestedClassSchema
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/controlled-generation/ctrlgen-with-nested-class-schema.js:23
FunctiongenerateNullableSchema
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/controlled-generation/ctrlgen-with-nullable-schema.js:23
FunctiongenerateResponseSchema
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/controlled-generation/ctrlgen-with-resp-schema.js:23
FunctiongenerateStructuredTextResponse
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/live/live-structured-ouput-with-txt.js:38
FunctiongenerateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-chat-stream-with-txt.js:23
FunctiongenerateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-code-with-pdf.js:23
FunctiongenerateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-with-pdf.js:23
FunctiongenerateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-with-youtube-video.js:23
FunctiongenerateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-with-gcs-audio.js:23
FunctiongenerateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-transcript-with-gcs-audio.js:23
FunctiongenerateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-async-with-txt.js:23
FunctiongenerateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-with-mute-video.js:23
FunctiongenerateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-chat-with-txt.js:23
FunctiongenerateText
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/text-generation/textgen-with-local-video.js:24
FunctiongenerateVideo
( outputGcsUri, projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/video-generation/videogen-with-txt.js:23
FunctiongenerateVideo
( outputGcsUri, projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/video-generation/videogen-with-img.js:23
FunctiongenerateWithApiKey
(apiKey = API_KEY)
genai/express-mode/api-key-example.js:21
FunctiongenerateWithProvisionedThroughput
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/provisioned-throughput/provisionedthroughput-with-txt.js:23
FunctiongenerateWithSafetySettings
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/safety/safety-with-txt.js:23
FunctiongenerateWithThoughts
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/thinking/thinking-includethoughts-with-txt.js:23
FunctiongenerateWithThoughts
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/thinking/thinking-with-txt.js:23
FunctiongenerateWithThoughts
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/thinking/thinking-budget-with-txt.js:23
Functionget
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:114
Methodget
()
genai/tuning/test/tuning-textgen-with-txt.test.js:41
Methodget
()
genai/tuning/test/tuning-job-create.test.js:39
MethodgetAwsRegion
* 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
MethodgetAwsSecurityCredentials
* Retrieves AWS security credentials using the AWS SDK's default provider chain.
auth/customcredentials/aws/customCredentialSupplierAws.js:64
FunctiongetBucketsList
()
retail/interactive-tutorials/setup/setup-cleanup.js:137
FunctiongetProduct
retail/interactive-tutorials/setup/setup-cleanup.js:87
MethodgetSubjectToken
* 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
FunctiongetTuningJob
( tuningJobName = TUNING_JOB_NAME, projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/tuning/tuning-job-get.js:23
FunctiongetValue
dlp/kAnonymityWithEntityIds.js:118
FunctiongetValue
dlp/kAnonymityAnalysis.js:92
Functiongoodbye
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:3609
MethodhandleAnimation
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:3845
FunctionhandleClick
(event)
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:3479
MethodhandleEvent
(t)
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:176
MethodhandleRippleBlur
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:1417
MethodhandleRippleFocus
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:1414
MethodhandleRippleMouseDown
(event)
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:1394
MethodhandleRippleMouseEnter
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:1408
MethodhandleRippleMouseLeave
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:1411
MethodhandleRippleTouchStart
(event)
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:1402
MethodhandleSlotchange
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:3850
MethodhandleSubmit
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:3854
Functionhome
(req, res)
recaptcha_enterprise/demosite/app/controllers/controller.js:44
Functioninitializer
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:89
MethodisActive
()
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:944
Methodj
(t)
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:176
Methodj
(t)
recaptcha_enterprise/demosite/app/static/demo-2af4c10e.js:176
FunctionlistCallback
(err, resources, nextPageRequest, response)
compute/listImagesByPage.js:50
FunctionlistContentCaches
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/content-cache/content-cache-list.js:23
FunctionlistFiles
retail/interactive-tutorials/setup/setup-cleanup.js:189
FunctionlistTuningJobs
( projectId = GOOGLE_CLOUD_PROJECT, location = GOOGLE_CLOUD_LOCATION )
genai/tuning/tuning-job-list.js:22
Functionlogin
(req, res)
recaptcha_enterprise/demosite/app/controllers/controller.js:54
Functionmain
(tpuClient)
tpu/getVMList.js:19
Functionmain
(tpuClient)
tpu/deleteVM.js:19
Functionmain
(tpuClient)
tpu/getVM.js:19
Functionmain
(tpuClient)
tpu/createTopologyVM.js:19
Functionmain
(tpuClient)
tpu/createVM.js:19
Functionmain
(tpuClient)
tpu/startVM.js:19
Functionmain
(tpuClient)
tpu/stopVM.js:19
Functionmain
(tpuClient)
tpu/createStartupScriptVM.js:19
Functionmain
(tpuClient)
tpu/queuedResources/createQueuedResource.js:19
Functionmain
(tpuClient)
tpu/queuedResources/forceDeleteQueuedResource.js:19
Functionmain
(tpuClient)
tpu/queuedResources/getQueuedResourcesList.js:19
Functionmain
(tpuClient)
tpu/queuedResources/getQueuedResource.js:19
Functionmain
(tpuClient)
tpu/queuedResources/deleteQueuedResource.js:19
Functionmain
(datasetId, entityId, role)
bigquery/cloud-client/grantAccessToDataset.js:17
Functionmain
(projectId, datasetId, tableId, principalId, role)
bigquery/cloud-client/grantAccessToTableOrView.js:17
Functionmain
(projectId, datasetId, resourceName)
bigquery/cloud-client/viewTableOrViewAccessPolicy.js:17
Functionmain
(datasetId, entityId)
bigquery/cloud-client/revokeDatasetAccess.js:17
Functionmain
( projectId, datasetId, tableId, roleToRemove = null, principalToRemove = null )
bigquery/cloud-client/revokeTableOrViewAccess.js:17
Functionmain
(datasetId)
bigquery/cloud-client/viewDatasetAccessPolicy.js:17
← previousnext →3,601–3,700 of 3,902, ranked by callers