Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function source code objects in intermediate Cloud Storage
buckets. When you generate an upload url and upload your source code, it
gets copied to an intermediate Cloud Storage bucket. The source code is
then copied to a versioned directory in the sources bucket in the consumer
project during the function deployment.
It must match the pattern
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
The Google Cloud Functions service account
(service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) must be
granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter
(roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the
Key/KeyRing/Project/Organization (least access preferred). GCF will
delegate access to the Google Storage service account in the internal
project.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eGenerateUploadUrlRequest\u003c/code\u003e class within the Google Cloud Functions v1 API, specifically version 2.3.0, and the documentation includes details of the class's methods and properties.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGenerateUploadUrlRequest\u003c/code\u003e class is used to request a signed URL for uploading function source code to Cloud Storage, and it implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eKmsKeyName\u003c/code\u003e and \u003ccode\u003eParent\u003c/code\u003e which are used to specify the KMS crypto key and the Google Cloud project and location for generating the signed URL, respectively, and the \u003ccode\u003eKmsKeyNameAsCryptoKeyName\u003c/code\u003e gives a typed view over the KmsKeyName.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation also lists the available versions for the \u003ccode\u003eGenerateUploadUrlRequest\u003c/code\u003e class, ranging from 1.1.0 up to the latest version 2.7.0, along with links to the respective documentation pages for each version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGenerateUploadUrlRequest\u003c/code\u003e has two constructors, \u003ccode\u003eGenerateUploadUrlRequest()\u003c/code\u003e and \u003ccode\u003eGenerateUploadUrlRequest(GenerateUploadUrlRequest other)\u003c/code\u003e, which can be used to create a default object or to copy from an existing object.\u003c/p\u003e\n"]]],[],null,[]]