The encryption key to use for this operation. If this property is null, the EncryptionKey
will be used instead. Use None to remove encryption headers from this request.
[[["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 documentation for the \u003ccode\u003ePatchObjectOptions\u003c/code\u003e class within the Google Cloud Storage v1 API, specifically for version 4.2.0, which is a class used to define options for patching operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePatchObjectOptions\u003c/code\u003e class inherits from the \u003ccode\u003eObject\u003c/code\u003e class and includes properties like \u003ccode\u003eEncryptionKey\u003c/code\u003e, \u003ccode\u003eGeneration\u003c/code\u003e, \u003ccode\u003eIfGenerationMatch\u003c/code\u003e, \u003ccode\u003eIfGenerationNotMatch\u003c/code\u003e, \u003ccode\u003eIfMetagenerationMatch\u003c/code\u003e, \u003ccode\u003eIfMetagenerationNotMatch\u003c/code\u003e, \u003ccode\u003ePredefinedAcl\u003c/code\u003e, \u003ccode\u003eProjection\u003c/code\u003e, and \u003ccode\u003eUserProject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryptionKey\u003c/code\u003e property allows specifying an encryption key for the patch operation or using the default \u003ccode\u003eStorageClient.EncryptionKey\u003c/code\u003e, with \u003ccode\u003eEncryptionKey.None\u003c/code\u003e to remove encryption headers.\u003c/p\u003e\n"],["\u003cp\u003eSeveral properties within \u003ccode\u003ePatchObjectOptions\u003c/code\u003e, such as \u003ccode\u003eGeneration\u003c/code\u003e, \u003ccode\u003eIfGenerationMatch\u003c/code\u003e, and \u003ccode\u003eIfMetagenerationMatch\u003c/code\u003e, are used as preconditions to control whether an object should be patched based on its existing generation or meta-generation.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this \u003ccode\u003ePatchObjectOptions\u003c/code\u003e class is documented under version 4.11.0, with multiple versions available, such as 4.10.0, 4.9.0, and down to 3.4.0.\u003c/p\u003e\n"]]],[],null,[]]