Google Cloud Artifact Registry V1beta2 Client - Class GetVersionRequest (0.4.4)

Reference documentation and code samples for the Google Cloud Artifact Registry V1beta2 Client class GetVersionRequest.

The request to retrieve a version.

Generated from protobuf message google.devtools.artifactregistry.v1beta2.GetVersionRequest

Namespace

Google \ Cloud \ ArtifactRegistry \ V1beta2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

The name of the version to retrieve.

↳ view int

The view that should be returned in the response.

getName

The name of the version to retrieve.

Returns
TypeDescription
string

setName

The name of the version to retrieve.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getView

The view that should be returned in the response.

Returns
TypeDescription
int

setView

The view that should be returned in the response.

Parameter
NameDescription
var int
Returns
TypeDescription
$this