Optional. Disabled boolean to determine if a ParameterVersion acts as a metadata only resource (payload is never returned if disabled is true). If true any calls will always default to BASIC view even if the user explicitly passes FULL view as part of the request. A render call on a disabled resource fails with an error. Default value is False.
Required. Immutable. Payload content of a ParameterVersion resource. This is only returned when the request provides the View value of FULL (default for GET request).
↳ kms_key_version
string
Optional. Output only. [Output only] The resource name of the KMS key version used to encrypt the ParameterVersion payload. This field is populated only if the Parameter resource has customer managed encryption key (CMEK) configured.
getName
Identifier. [Output only] The resource name of the ParameterVersion in the
formatprojects/*/locations/*/parameters/*/versions/*.
Returns
Type
Description
string
setName
Identifier. [Output only] The resource name of the ParameterVersion in the
formatprojects/*/locations/*/parameters/*/versions/*.
Optional. Disabled boolean to determine if a ParameterVersion acts as a
metadata only resource (payload is never returned if disabled is true). If
true any calls will always default to BASIC view even if the user
explicitly passes FULL view as part of the request. A render call on a
disabled resource fails with an error. Default value is False.
Returns
Type
Description
bool
setDisabled
Optional. Disabled boolean to determine if a ParameterVersion acts as a
metadata only resource (payload is never returned if disabled is true). If
true any calls will always default to BASIC view even if the user
explicitly passes FULL view as part of the request. A render call on a
disabled resource fails with an error. Default value is False.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getPayload
Required. Immutable. Payload content of a ParameterVersion resource. This
is only returned when the request provides the View value of FULL (default
for GET request).
Required. Immutable. Payload content of a ParameterVersion resource. This
is only returned when the request provides the View value of FULL (default
for GET request).
Optional. Output only. [Output only] The resource name of the KMS key
version used to encrypt the ParameterVersion payload. This field is
populated only if the Parameter resource has customer managed encryption
key (CMEK) configured.
Returns
Type
Description
string
hasKmsKeyVersion
clearKmsKeyVersion
setKmsKeyVersion
Optional. Output only. [Output only] The resource name of the KMS key
version used to encrypt the ParameterVersion payload. This field is
populated only if the Parameter resource has customer managed encryption
key (CMEK) configured.
[[["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 ParameterVersion (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/cloud-parametermanager/latest/V1.ParameterVersion)\n- [0.4.0](/php/docs/reference/cloud-parametermanager/0.4.0/V1.ParameterVersion)\n- [0.3.0](/php/docs/reference/cloud-parametermanager/0.3.0/V1.ParameterVersion)\n- [0.2.0](/php/docs/reference/cloud-parametermanager/0.2.0/V1.ParameterVersion)\n- [0.1.1](/php/docs/reference/cloud-parametermanager/0.1.1/V1.ParameterVersion) \nReference documentation and code samples for the Google Cloud Parameter Manager V1 Client class ParameterVersion.\n\nMessage describing ParameterVersion resource\n\nGenerated from protobuf message `google.cloud.parametermanager.v1.ParameterVersion`\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 ParameterVersion in the\nformat `projects/*/locations/*/parameters/*/versions/*`.\n\n### setName\n\nIdentifier. \\[Output only\\] The resource name of the ParameterVersion in the\nformat `projects/*/locations/*/parameters/*/versions/*`.\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### getDisabled\n\nOptional. Disabled boolean to determine if a ParameterVersion acts as a\nmetadata only resource (payload is never returned if disabled is true). If\ntrue any calls will always default to BASIC view even if the user\nexplicitly passes FULL view as part of the request. A render call on a\ndisabled resource fails with an error. Default value is False.\n\n### setDisabled\n\nOptional. Disabled boolean to determine if a ParameterVersion acts as a\nmetadata only resource (payload is never returned if disabled is true). If\ntrue any calls will always default to BASIC view even if the user\nexplicitly passes FULL view as part of the request. A render call on a\ndisabled resource fails with an error. Default value is False.\n\n### getPayload\n\nRequired. Immutable. Payload content of a ParameterVersion resource. This\nis only returned when the request provides the View value of FULL (default\nfor GET request).\n\n### hasPayload\n\n### clearPayload\n\n### setPayload\n\nRequired. Immutable. Payload content of a ParameterVersion resource. This\nis only returned when the request provides the View value of FULL (default\nfor GET request).\n\n### getKmsKeyVersion\n\nOptional. Output only. \\[Output only\\] The resource name of the KMS key\nversion used to encrypt the ParameterVersion payload. This field is\npopulated only if the Parameter resource has customer managed encryption\nkey (CMEK) configured.\n\n### hasKmsKeyVersion\n\n### clearKmsKeyVersion\n\n### setKmsKeyVersion\n\nOptional. Output only. \\[Output only\\] The resource name of the KMS key\nversion used to encrypt the ParameterVersion payload. This field is\npopulated only if the Parameter resource has customer managed encryption\nkey (CMEK) configured."]]