Integer octal mode bits to use on this file, must be a value between
01 and 0777 (octal). If 0 or not set, the Volume's default mode will be
used.
Notes
Internally, a umask of 0222 will be applied to any non-zero value.
This is an integer representation of the mode bits. So, the octal
integer value should look exactly as the chmod numeric notation with a
leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or
511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or
416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493
(base-10).
This might be in conflict with other options that affect the
file mode, like fsGroup, and the result can be other mode bits set.
[[["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-08 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eVersionToPath\u003c/code\u003e class in the Cloud Run Admin v2 API maps a secret version to a file path within a container, relative to the \u003ccode\u003eVolumeMount\u003c/code\u003e's mount path.\u003c/p\u003e\n"],["\u003cp\u003eIt supports setting an octal mode for the file, with a range from 01 to 0777, where 0 or not set uses the volume's default.\u003c/p\u003e\n"],["\u003cp\u003eThe class is part of the \u003ccode\u003eGoogle.Cloud.Run.V2\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Cloud.Run.V2.dll\u003c/code\u003e assembly and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is for the version \u003ccode\u003e2.13.0\u003c/code\u003e and other previous versions are listed, all the way down to \u003ccode\u003e1.0.0-beta02\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties for \u003ccode\u003eMode\u003c/code\u003e, \u003ccode\u003ePath\u003c/code\u003e, and \u003ccode\u003eVersion\u003c/code\u003e, allowing specification of file permissions, the file's path within the container, and the secret version.\u003c/p\u003e\n"]]],[],null,[]]