Optional. Customer managed encryption key (CMEK) to use for encrypting the
Parameter Versions. If not set, the default Google-managed encryption key
will be used. Cloud KMS CryptoKeys must reside in the same location as the
Parameter. The expected format is
projects/*/locations/*/keyRings/*/cryptoKeys/*.
[[["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-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eParameter\u003c/code\u003e class is a sealed class representing a resource in the Parameter Manager v1 API, designed for managing parameters.\u003c/p\u003e\n"],["\u003cp\u003eIt implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, demonstrating its capabilities for message handling, equality checks, deep cloning, and buffered message operations.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers constructors for default initialization and creating a copy from another \u003ccode\u003eParameter\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties such as \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eUpdateTime\u003c/code\u003e, \u003ccode\u003eFormat\u003c/code\u003e, \u003ccode\u003eLabels\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eParameterName\u003c/code\u003e, and \u003ccode\u003ePolicyMember\u003c/code\u003e, which provide information about parameter creation, updates, format, associated labels, its unique name, and related policy member information.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParameter\u003c/code\u003e class is found within the \u003ccode\u003eGoogle.Cloud.ParameterManager.V1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.ParameterManager.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Parameter Manager v1 API - Class Parameter (1.0.0-beta03)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta03 (latest)](/dotnet/docs/reference/Google.Cloud.ParameterManager.V1/latest/Google.Cloud.ParameterManager.V1.Parameter)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.ParameterManager.V1/1.0.0-beta02/Google.Cloud.ParameterManager.V1.Parameter) \n\n public sealed class Parameter : IMessage\u003cParameter\u003e, IEquatable\u003cParameter\u003e, IDeepCloneable\u003cParameter\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Parameter Manager v1 API class Parameter.\n\nMessage describing Parameter resource \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Parameter \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Parameter](/dotnet/docs/reference/Google.Cloud.ParameterManager.V1/latest/Google.Cloud.ParameterManager.V1.Parameter), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Parameter](/dotnet/docs/reference/Google.Cloud.ParameterManager.V1/latest/Google.Cloud.ParameterManager.V1.Parameter), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Parameter](/dotnet/docs/reference/Google.Cloud.ParameterManager.V1/latest/Google.Cloud.ParameterManager.V1.Parameter), [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.ParameterManager.V1](/dotnet/docs/reference/Google.Cloud.ParameterManager.V1/latest/Google.Cloud.ParameterManager.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.ParameterManager.V1.dll\n\nConstructors\n------------\n\n### Parameter()\n\n public Parameter()\n\n### Parameter(Parameter)\n\n public Parameter(Parameter other)\n\nProperties\n----------\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. \\[Output only\\] Create time stamp\n\n### Format\n\n public ParameterFormat Format { get; set; }\n\nOptional. Specifies the format of a Parameter.\n\n### HasKmsKey\n\n public bool HasKmsKey { get; }\n\nGets whether the \"kms_key\" field is set\n\n### KmsKey\n\n public string KmsKey { get; set; }\n\nOptional. Customer managed encryption key (CMEK) to use for encrypting the\nParameter Versions. If not set, the default Google-managed encryption key\nwill be used. Cloud KMS CryptoKeys must reside in the same location as the\nParameter. The expected format is\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.\n\n### KmsKeyAsCryptoKeyName\n\n public CryptoKeyName KmsKeyAsCryptoKeyName { get; set; }\n\n[CryptoKeyName](/dotnet/docs/reference/Google.Cloud.ParameterManager.V1/latest/Google.Cloud.ParameterManager.V1.CryptoKeyName)-typed view over the [KmsKey](/dotnet/docs/reference/Google.Cloud.ParameterManager.V1/latest/Google.Cloud.ParameterManager.V1.Parameter#Google_Cloud_ParameterManager_V1_Parameter_KmsKey) resource name property.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nOptional. Labels as key value pairs\n\n### Name\n\n public string Name { get; set; }\n\nIdentifier. \\[Output only\\] The resource name of the Parameter in the format\n`projects/*/locations/*/parameters/*`.\n\n### ParameterName\n\n public ParameterName ParameterName { get; set; }\n\n[ParameterName](/dotnet/docs/reference/Google.Cloud.ParameterManager.V1/latest/Google.Cloud.ParameterManager.V1.ParameterName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.ParameterManager.V1/latest/Google.Cloud.ParameterManager.V1.Parameter#Google_Cloud_ParameterManager_V1_Parameter_Name) resource name property.\n\n### PolicyMember\n\n public ResourcePolicyMember PolicyMember { get; set; }\n\nOutput only. \\[Output-only\\] policy member strings of a Google Cloud\nresource.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. \\[Output only\\] Update time stamp"]]