MCPcopy Create free account

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

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

↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on bucket and * file Access Control Lists with the Google Cloud Storage API. * * Fo
storage/addBucketDefaultOwnerAcl.js:25
↓ 1 callersFunctionmain
* This application demonstrates how to list objects in a bucket while filtering * by their custom 'contexts' metadata.
storage/listObjectContexts.js:27
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on bucket and * file Access Control Lists with the Google Cloud Storage API. * * Fo
storage/removeBucketOwnerAcl.js:25
↓ 1 callersFunctionmain
(projectId = 'serviceAccountProjectId')
storage/getServiceAccount.js:22
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on bucket and * file Access Control Lists with the Google Cloud Storage API. * * Fo
storage/printFileAclForUser.js:25
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on buckets with * the Google Cloud Storage API. * * For more information, see the R
storage/enableRequesterPays.js:25
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on buckets with * the Google Cloud Storage API. * * For more information, see the R
storage/disableRequesterPays.js:25
↓ 1 callersFunctionmain
* This application demonstrates how to retrieve the 'contexts' field from a file * in Google Cloud Storage.
storage/getObjectContexts.js:27
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on buckets with * the Google Cloud Storage API. * * For more information, see the R
storage/getRequesterPaysStatus.js:25
↓ 1 callersFunctionmain
( projectId = 'cloud-devrel-public-resources', bucketName = `nodejs-storage-samples-${uuid.v4()}`, srcFi
storage/downloadFileUsingRequesterPays.js:28
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on bucket and * file Access Control Lists with the Google Cloud Storage API. * * Fo
storage/removeFileOwnerAcl.js:25
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on files with * the Google Cloud Storage API. * * For more information, see the REA
storage/deleteNotification.js:25
↓ 1 callersFunctionmain
(bucketName = 'my-new-bucket')
storage/quickstart.js:17
↓ 1 callersFunctionmain
* This application demonstrates set a custom endpoint with * the Google Cloud Storage API. * * For more information, see the README.md under /stora
storage/setClientEndpoint.js:25
↓ 1 callersFunctionmain
* This application demonstrates how to set, update, and delete object contexts (metadata) on a file * in Google Cloud Storage.
storage/setObjectContexts.js:27
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on files with * the Google Cloud Storage API. * * For more information, see the REA
storage/getMetadataNotifications.js:25
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on bucket and * file Access Control Lists with the Google Cloud Storage API. * * Fo
storage/removeBucketDefaultOwner.js:25
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on bucket and * file Access Control Lists with the Google Cloud Storage API. * * Fo
storage/addBucketOwnerAcl.js:25
↓ 1 callersFunctionmain
(bucketName = 'my-bucket')
storage/getBucketEncryptionEnforcementConfig.js:22
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on files with * the Google Cloud Storage API. * * For more information, see the REA
storage/listNotifications.js:25
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on bucket and * file Access Control Lists with the Google Cloud Storage API. * * Fo
storage/printFileAcl.js:25
↓ 1 callersFunctionmain
(bucketName = 'my-bucket')
storage/updateBucketEncryptionEnforcementConfig.js:22
↓ 1 callersFunctionmain
( bucketName = 'my-bucket', defaultKmsKeyName = process.env.GOOGLE_CLOUD_KMS_KEY_ASIA )
storage/setBucketEncryptionEnforcementConfig.js:22
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on bucket and * file Access Control Lists with the Google Cloud Storage API. * * Fo
storage/printBucketAcl.js:25
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on bucket and * file Access Control Lists with the Google Cloud Storage API. * * Fo
storage/printBucketAclForUser.js:25
↓ 1 callersFunctionmain
( bucketName = 'my-bucket', topic = `nodejs-storage-samples-${uuid.v4()}` )
storage/createNotification.js:26
↓ 1 callersFunctionmain
* Retrieves the details of a specific version of an existing parameter in the specified * project using the Google Cloud Parameter Manager SDK. * *
parametermanager/getParamVersion.js:25
↓ 1 callersFunctionmain
* Creates a new version of an existing parameter in the global location * of the specified project using the Google Cloud Parameter Manager SDK. * T
parametermanager/createStructuredParamVersion.js:27
↓ 1 callersFunctionmain
* Creates a parameter version globally for unstructured data. * * @param {string} projectId - The Google Cloud project ID where the parameter is to
parametermanager/createParamVersion.js:25
↓ 1 callersFunctionmain
* Retrieves a parameter from the global location of the specified * project using the Google Cloud Parameter Manager SDK. * * @param {string} proje
parametermanager/getParam.js:24
↓ 1 callersFunctionmain
* Deletes a parameter from the global location of the specified project using the Google Cloud Parameter Manager SDK. * * @param {string} projectId
parametermanager/deleteParam.js:23
↓ 1 callersFunctionmain
* Enables a specific version of a parameter in Google Cloud Parameter Manager. * This function demonstrates how to enable a parameter version by sett
parametermanager/enableParamVersion.js:26
↓ 1 callersFunctionmain
* Retrieves and renders the details of a specific version of an * existing parameter in the global location of the specified project * using the Goo
parametermanager/renderParamVersion.js:26
↓ 1 callersFunctionmain
* Creates a global parameter using the Parameter Manager SDK. * * @param {string} projectId - The Google Cloud project ID where the parameter is to
parametermanager/createParam.js:23
↓ 1 callersFunctionmain
* * Lists all versions of an existing parameter in the global location * of the specified project using the Google Cloud Parameter Manager SDK. *
parametermanager/listParamVersions.js:25
↓ 1 callersFunctionmain
* Creates a new version of an existing parameter in the global location * of the specified project using the Google Cloud Parameter Manager SDK. * T
parametermanager/createParamVersionWithSecret.js:27
↓ 1 callersFunctionmain
* Lists all parameters in the global location for the specified * project using the Google Cloud Parameter Manager SDK. * * @param {string} project
parametermanager/listParams.js:23
↓ 1 callersFunctionmain
* Quickstart example for using Google Cloud Parameter Manager to * create a global parameter, add a version with a JSON payload, * and fetch the par
parametermanager/quickstart.js:32
↓ 1 callersFunctionmain
* Creates a parameter in the global location of the specified * project with specified format using the Google Cloud Parameter Manager SDK. * * @pa
parametermanager/createStructuredParam.js:25
↓ 1 callersFunctionmain
* Updates a global parameter with kms_key using the Parameter Manager SDK. * * @param {string} projectId - The Google Cloud project ID where the par
parametermanager/updateParamKmsKey.js:24
↓ 1 callersFunctionmain
* Deletes a specific version of an existing parameter in the global location * of the specified project using the Google Cloud Parameter Manager SDK.
parametermanager/deleteParamVersion.js:25
↓ 1 callersFunctionmain
* Creates a global parameter with kms_key using the Parameter Manager SDK. * * @param {string} projectId - The Google Cloud project ID where the par
parametermanager/createParamWithKmsKey.js:24
↓ 1 callersFunctionmain
* Removes a kms_key for global parameter using the Parameter Manager SDK. * * @param {string} projectId - The Google Cloud project ID where the para
parametermanager/removeParamKmsKey.js:23
↓ 1 callersFunctionmain
* Disables a specific version of a global parameter in Google Cloud Parameter Manager. * This function demonstrates how to disable a global parameter
parametermanager/disableParamVersion.js:26
↓ 1 callersFunctionmain
* Creates a new version of an existing parameter in the specified region * of the specified project using the Google Cloud Parameter Manager SDK. *
parametermanager/regional_samples/createRegionalParam.js:26
↓ 1 callersFunctionmain
* Updates a regional parameter with kms_key using the Parameter Manager SDK. * * @param {string} projectId - The Google Cloud project ID where the p
parametermanager/regional_samples/updateRegionalParamKmsKey.js:25
↓ 1 callersFunctionmain
* Removes a kms_key for regional parameter using the Parameter Manager SDK. * * @param {string} projectId - The Google Cloud project ID where the p
parametermanager/regional_samples/removeRegionalParamKmsKey.js:24
↓ 1 callersFunctionmain
* Disables a specific version of an existing parameter in the specified region * of the specified project using the Google Cloud Parameter Manager SD
parametermanager/regional_samples/disableRegionalParamVersion.js:29
↓ 1 callersFunctionmain
* Creates a new version of an existing parameter in the specified region of the * specified project using the Google Cloud Parameter Manager SDK. *
parametermanager/regional_samples/createStructuredRegionalParamVersion.js:28
↓ 1 callersFunctionmain
* List all versions of an existing parameter in the specific region for the specified * project using the Google Cloud Parameter Manager SDK. * * @
parametermanager/regional_samples/listRegionalParamVersions.js:25
↓ 1 callersFunctionmain
* Creates a regional parameter with kms_key using the Parameter Manager SDK. * * @param {string} projectId - The Google Cloud project ID where the p
parametermanager/regional_samples/createRegionalParamWithKmsKey.js:25
↓ 1 callersFunctionmain
* Lists all parameters in the specified region for the specified * project using the Google Cloud Parameter Manager SDK. * * @param {string} projec
parametermanager/regional_samples/listRegionalParams.js:24
↓ 1 callersFunctionmain
* Retrieves the details of a specific version of an existing parameter in the specified region of the specified * project using the Google Cloud Para
parametermanager/regional_samples/getRegionalParamVersion.js:26
↓ 1 callersFunctionmain
* Enables a specific version of a regional parameter in Google Cloud Parameter Manager. * This function demonstrates how to enable a regional paramet
parametermanager/regional_samples/enableRegionalParamVersion.js:27
↓ 1 callersFunctionmain
* Retrieves and renders the details of a specific version of an * existing parameter in the specified region of the specified project * using the Go
parametermanager/regional_samples/renderRegionalParamVersion.js:27
↓ 1 callersFunctionmain
* Deletes a parameter from the specified region of the specified * project using the Google Cloud Parameter Manager SDK. * * @param {string} projec
parametermanager/regional_samples/deleteRegionalParam.js:25
↓ 1 callersFunctionmain
* Creates a parameter in the specified region of the specified project using the Google Cloud Parameter Manager SDK. * The parameter is created with
parametermanager/regional_samples/createStructuredRegionalParam.js:26
↓ 1 callersFunctionmain
* Quickstart example for using Google Cloud Parameter Manager to * create a regional parameter, add a version with a JSON payload, * fetch the param
parametermanager/regional_samples/regionalQuickstart.js:27
↓ 1 callersFunctionmain
* Creates a new version of an existing parameter in the specified region * of the specified project using the Google Cloud Parameter Manager SDK. *
parametermanager/regional_samples/createRegionalParamVersion.js:28
↓ 1 callersFunctionmain
* Retrieves a parameter from the specified region of the specified * project using the Google Cloud Parameter Manager SDK. * * @param {string} proj
parametermanager/regional_samples/getRegionalParam.js:25
↓ 1 callersFunctionmain
* Creates a new version of an existing parameter in the specified region * of the specified project using the Google Cloud Parameter Manager SDK. *
parametermanager/regional_samples/createRegionalParamVersionWithSecret.js:28
↓ 1 callersFunctionmain
* Deletes a specific version of an existing parameter in the specified region * of the specified project using the Google Cloud Parameter Manager SDK
parametermanager/regional_samples/deleteRegionalParamVersion.js:26
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on an Anywhere Cache * instance with the Google Cloud Storage API. * * For more inf
storage-control/updateAnywhereCache.js:24
↓ 1 callersFunctionmain
(bucketName, folderName)
storage-control/deleteFolder.js:17
↓ 1 callersFunctionmain
(bucketName)
storage-control/listManagedFolders.js:17
↓ 1 callersFunctionmain
(bucketName, managedFolderName)
storage-control/createManagedFolder.js:17
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on an Anywhere Cache * instance with the Google Cloud Storage API. * * For more inf
storage-control/disableAnywhereCache.js:24
↓ 1 callersFunctionmain
(bucketName)
storage-control/listFolders.js:18
↓ 1 callersFunctionmain
(bucketName, folderName)
storage-control/createFolder.js:17
↓ 1 callersFunctionmain
(bucketName, managedFolderName)
storage-control/getManagedFolder.js:17
↓ 1 callersFunctionmain
(bucketName)
storage-control/quickstart.js:21
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on an Anywhere Cache * instance with the Google Cloud Storage API. * * For more inf
storage-control/createAnywhereCache.js:24
↓ 1 callersFunctionmain
(bucketName, managedFolderName)
storage-control/deleteManagedFolder.js:17
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on an Anywhere Cache * instance with the Google Cloud Storage API. * * For more inf
storage-control/resumeAnywhereCache.js:24
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on an Anywhere Cache * instance with the Google Cloud Storage API. * * For more inf
storage-control/pauseAnywhereCache.js:24
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on an Anywhere Cache * instance with the Google Cloud Storage API. * * For more inf
storage-control/listAnywhereCaches.js:25
↓ 1 callersFunctionmain
* This application demonstrates how to perform basic operations on an Anywhere Cache * instance with the Google Cloud Storage API. * * For more inf
storage-control/getAnywhereCache.js:24
↓ 1 callersFunctionmain
(bucketName, folderName)
storage-control/getFolder.js:17
↓ 1 callersFunctionmain
(bucketName, sourceFolderName, destinationFolderName)
storage-control/renameFolder.js:18
↓ 1 callersFunctionmain
(projectId, location, processorId, filePath)
document-ai/process-document-form.js:18
↓ 1 callersFunctionmain
(projectId, location, processorId, filePath)
document-ai/process-document.js:18
↓ 1 callersFunctionmain
( projectId = 'YOUR_PROJECT_ID', location = 'YOUR_PROJECT_LOCATION', processorId = 'YOUR_PROCESSOR_ID',
document-ai/batch-process-document.js:20
↓ 1 callersFunctionmain
(projectId, location, processorId, filePath)
document-ai/process-document-specialized.js:18
↓ 1 callersFunctionmain
(projectId, location, processorId, filePath)
document-ai/process-document-splitter.js:18
↓ 1 callersFunctionmain
(projectId, location, processorId, filePath)
document-ai/process-document-quality.js:18
↓ 1 callersFunctionmain
(projectId, location, processorId, filePath)
document-ai/process-document-ocr.js:18
↓ 1 callersFunctionmain
(fileName)
vision/vision-face-detection.js:22
↓ 1 callersFunctionmain
()
vision/setEndpoint.js:22
↓ 1 callersFunctionmain
* Main entry point for the program. * @param {string} inputDir The directory in which to run the sample. * @returns {Promise<void>}
vision/textDetection.js:219
↓ 1 callersFunctionmain
(fileName = 'path/to/your/file.pdf')
vision/batch-annotate-files.js:17
↓ 1 callersFunctionmain
( gcsSourceUri = 'gs://cloud-samples-data/vision/document_understanding/kafka.pdf' )
vision/batch-annotate-files-gcs.js:17
↓ 1 callersFunctionmain
()
vision/quickstart.js:22
↓ 1 callersFunctionmain
(inputFile, outputFile)
vision/faceDetection.js:95
↓ 1 callersFunctionmain
( inputImageUri = 'gs://cloud-samples-data/vision/label/wakeupcat.jpg', outputUri = 'gs://YOUR_BUCKET_ID/p
vision/async-batch-annotate-images.js:17
↓ 1 callersFunctionmain
(projectId, location, productId)
vision/productSearch/getProduct.js:17
↓ 1 callersFunctionmain
()
vision/productSearch/getSimilarProductsGcs.js:17
↓ 1 callersFunctionmain
(projectId, location)
vision/productSearch/listProducts.js:17
↓ 1 callersFunctionmain
(projectId, location, productSetId, productSetDisplayName)
vision/productSearch/createProductSet.js:17
↓ 1 callersFunctionmain
(projectId, location, productId, referenceImageId, gcsUri)
vision/productSearch/createReferenceImage.js:17
↓ 1 callersFunctionmain
(projectId, location, productSetId)
vision/productSearch/getProductSet.js:17
← previousnext →2,401–2,500 of 3,902, ranked by callers