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

Reference documentation and code samples for the Google Cloud Parameter Manager V1 Client class GetParameterVersionRequest.

Message for getting a ParameterVersion

Generated from protobuf message google.cloud.parametermanager.v1.GetParameterVersionRequest

Namespace

Google \ Cloud \ ParameterManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the resource in the format projects/*/locations/*/parameters/*/versions/*.

↳ view int

Optional. View of the ParameterVersion. In the default FULL view, all metadata & payload associated with the ParameterVersion will be returned.

getName

Required. Name of the resource in the format projects/*/locations/*/parameters/*/versions/*.

Returns
Type Description
string

setName

Required. Name of the resource in the format projects/*/locations/*/parameters/*/versions/*.

Parameter
Name Description
var string
Returns
Type Description
$this

getView

Optional. View of the ParameterVersion.

In the default FULL view, all metadata & payload associated with the ParameterVersion will be returned.

Returns
Type Description
int

setView

Optional. View of the ParameterVersion.

In the default FULL view, all metadata & payload associated with the ParameterVersion will be returned.

Parameter
Name Description
var int
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Name of the resource in the format projects/*/locations/*/parameters/*/versions/*. Please see ParameterManagerClient::parameterVersionName() for help formatting this field.

Returns
Type Description
GetParameterVersionRequest