Output only. [Output-only] policy member strings of a Google Cloud resource.
↳ kms_key
string
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 isprojects/*/locations/*/keyRings/*/cryptoKeys/*.
getName
Identifier. [Output only] The resource name of the Parameter in the formatprojects/*/locations/*/parameters/*.
Returns
Type
Description
string
setName
Identifier. [Output only] The resource name of the Parameter in the formatprojects/*/locations/*/parameters/*.
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 isprojects/*/locations/*/keyRings/*/cryptoKeys/*.
Returns
Type
Description
string
hasKmsKey
clearKmsKey
setKmsKey
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 isprojects/*/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-09-04 UTC."],[],[],null,["# Google Cloud Parameter Manager V1 Client - Class Parameter (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/cloud-parametermanager/latest/V1.Parameter)\n- [0.4.0](/php/docs/reference/cloud-parametermanager/0.4.0/V1.Parameter)\n- [0.3.0](/php/docs/reference/cloud-parametermanager/0.3.0/V1.Parameter)\n- [0.2.0](/php/docs/reference/cloud-parametermanager/0.2.0/V1.Parameter)\n- [0.1.1](/php/docs/reference/cloud-parametermanager/0.1.1/V1.Parameter) \nReference documentation and code samples for the Google Cloud Parameter Manager V1 Client class Parameter.\n\nMessage describing Parameter resource\n\nGenerated from protobuf message `google.cloud.parametermanager.v1.Parameter`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ParameterManager \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. \\[Output only\\] The resource name of the Parameter in the format\n`projects/*/locations/*/parameters/*`.\n\n### setName\n\nIdentifier. \\[Output only\\] The resource name of the Parameter in the format\n`projects/*/locations/*/parameters/*`.\n\n### getCreateTime\n\nOutput only. \\[Output only\\] Create time stamp\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. \\[Output only\\] Create time stamp\n\n### getUpdateTime\n\nOutput only. \\[Output only\\] Update time stamp\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. \\[Output only\\] Update time stamp\n\n### getLabels\n\nOptional. Labels as key value pairs\n\n### setLabels\n\nOptional. Labels as key value pairs\n\n### getFormat\n\nOptional. Specifies the format of a Parameter.\n\n### setFormat\n\nOptional. Specifies the format of a Parameter.\n\n### getPolicyMember\n\nOutput only. \\[Output-only\\] policy member strings of a Google Cloud\nresource.\n\n### hasPolicyMember\n\n### clearPolicyMember\n\n### setPolicyMember\n\nOutput only. \\[Output-only\\] policy member strings of a Google Cloud\nresource.\n\n### getKmsKey\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### hasKmsKey\n\n### clearKmsKey\n\n### setKmsKey\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/*`."]]