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

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
Name Description
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
Type Description
string

setName

The name of the version to retrieve.

Parameter
Name Description
var string
Returns
Type Description
$this

getView

The view that should be returned in the response.

Returns
Type Description
int

setView

The view that should be returned in the response.

Parameter
Name Description
var int
Returns
Type Description
$this