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 \ V1beta2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setVersions
The versions returned.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\ArtifactRegistry\V1beta2\Version>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNextPageToken
The token to retrieve the next page of versions, or empty if there are no more versions to return.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNextPageToken
The token to retrieve the next page of versions, or empty if there are no more versions to return.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|