Google Cloud Parameter Manager V1 Client - Class ParameterVersion (0.5.4)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Parameter Manager V1 Client class ParameterVersion.
Message describing ParameterVersion resource
Generated from protobuf message google.cloud.parametermanager.v1.ParameterVersion
Namespace
Google \ Cloud \ ParameterManager \ V1
Methods
__construct
Constructor.
Parameter
Name
Description
data
mixed
getName
Identifier. [Output only] The resource name of the ParameterVersion in the
format projects/*/locations/*/parameters/*/versions/*.
Returns
Type
Description
string
setName
Identifier. [Output only] The resource name of the ParameterVersion in the
format projects/*/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 2026-03-18 UTC."],[],[]]