Google Cloud Parameter Manager V1 Client - Class ParameterVersion (0.1.0)

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.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. [Output only] The resource name of the ParameterVersion in the format projects/*/locations/*/parameters/*/versions/*.

↳ create_time Google\Protobuf\Timestamp

Output only. [Output only] Create time stamp

↳ update_time Google\Protobuf\Timestamp

Output only. [Output only] Update time stamp

↳ disabled bool

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.

↳ payload ParameterVersionPayload

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).

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/*.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. [Output only] Create time stamp

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. [Output only] Create time stamp

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. [Output only] Update time stamp

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. [Output only] Update time stamp

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getDisabled

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).

Returns
Type Description
ParameterVersionPayload|null

hasPayload

clearPayload

setPayload

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).

Parameter
Name Description
var ParameterVersionPayload
Returns
Type Description
$this