Google Cloud Artifact Registry V1beta2 Client - Class ListVersionsResponse (0.5.0)

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

The response from listing versions.

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

Namespace

Google \ Cloud \ ArtifactRegistry \ V1beta2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ versions array<Google\Cloud\ArtifactRegistry\V1beta2\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\V1beta2\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