Google Cloud Artifact Registry V1 Client - Class GetVersionRequest (1.1.0)

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

The request to retrieve a version.

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

Namespace

Google \ Cloud \ ArtifactRegistry \ V1

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

static::build

Parameter
Name Description
name string

The name of the version to retrieve.

Returns
Type Description
Google\Cloud\ArtifactRegistry\V1\GetVersionRequest