[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eEnvVarSource\u003c/code\u003e class in the Cloud Run Admin v2 API is 2.13.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnvVarSource\u003c/code\u003e class represents a source for the value of an environment variable, as part of the Google Cloud Run V2 service.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnvVarSource\u003c/code\u003e class includes a \u003ccode\u003eSecretKeyRef\u003c/code\u003e property, allowing users to select a specific version of a secret from Cloud Secret Manager.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnvVarSource\u003c/code\u003e class has a constructor \u003ccode\u003eEnvVarSource(EnvVarSource other)\u003c/code\u003e allowing the creation of a new \u003ccode\u003eEnvVarSource\u003c/code\u003e object by copying an existing one, in addition to the default constructor.\u003c/p\u003e\n"]]],[],null,["# Cloud Run Admin v2 API - Class EnvVarSource (2.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.16.0 (latest)](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.EnvVarSource)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.15.0/Google.Cloud.Run.V2.EnvVarSource)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.14.0/Google.Cloud.Run.V2.EnvVarSource)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.13.0/Google.Cloud.Run.V2.EnvVarSource)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.12.0/Google.Cloud.Run.V2.EnvVarSource)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.11.0/Google.Cloud.Run.V2.EnvVarSource)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.10.0/Google.Cloud.Run.V2.EnvVarSource)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.9.0/Google.Cloud.Run.V2.EnvVarSource)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.8.0/Google.Cloud.Run.V2.EnvVarSource)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.7.0/Google.Cloud.Run.V2.EnvVarSource)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.6.0/Google.Cloud.Run.V2.EnvVarSource)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.5.0/Google.Cloud.Run.V2.EnvVarSource)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.4.0/Google.Cloud.Run.V2.EnvVarSource)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.3.0/Google.Cloud.Run.V2.EnvVarSource)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.2.0/Google.Cloud.Run.V2.EnvVarSource)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.1.0/Google.Cloud.Run.V2.EnvVarSource)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.0.0/Google.Cloud.Run.V2.EnvVarSource)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Run.V2/1.0.0-beta02/Google.Cloud.Run.V2.EnvVarSource) \n\n public sealed class EnvVarSource : IMessage\u003cEnvVarSource\u003e, IEquatable\u003cEnvVarSource\u003e, IDeepCloneable\u003cEnvVarSource\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Run Admin v2 API class EnvVarSource.\n\nEnvVarSource represents a source for the value of an EnvVar. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e EnvVarSource \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[EnvVarSource](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.EnvVarSource), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[EnvVarSource](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.EnvVarSource), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[EnvVarSource](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.EnvVarSource), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Run.V2](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Run.V2.dll\n\nConstructors\n------------\n\n### EnvVarSource()\n\n public EnvVarSource()\n\n### EnvVarSource(EnvVarSource)\n\n public EnvVarSource(EnvVarSource other)\n\nProperties\n----------\n\n### SecretKeyRef\n\n public SecretKeySelector SecretKeyRef { get; set; }\n\nSelects a secret and a specific version from Cloud Secret Manager."]]