Google Cloud Parameter Manager V1 Client - Class GetTemplateVersionRequest (0.7.0)

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

Message for getting a TemplateVersion

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

Namespace

Google \ Cloud \ ParameterManager \ V1

Methods

__construct

Constructor.

Parameter
Name Description
data mixed

getName

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

Returns
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this

getView

Optional. Specifies the view of the TemplateVersion to return.

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

Returns
Type Description
int Enum of type View.

setView

Optional. Specifies the view of the TemplateVersion to return.

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

Parameter
Name Description
var int

Enum of type View.

Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

Returns
Type Description
GetTemplateVersionRequest