Google Cloud Artifact Registry V1 Client - Class ListVersionsResponse (0.5.1)

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

The response from listing versions.

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

Namespace

Google \ Cloud \ ArtifactRegistry \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ versions array<Google\Cloud\ArtifactRegistry\V1\Version>

The versions returned.

↳ next_page_token string

The token to retrieve the next page of versions, or empty if there are no more versions to return.

getVersions

The versions returned.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setVersions

The versions returned.

Parameter
NameDescription
var array<Google\Cloud\ArtifactRegistry\V1\Version>
Returns
TypeDescription
$this

getNextPageToken

The token to retrieve the next page of versions, or empty if there are no more versions to return.

Returns
TypeDescription
string

setNextPageToken

The token to retrieve the next page of versions, or empty if there are no more versions to return.

Parameter
NameDescription
var string
Returns
TypeDescription
$this