Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class ListPackagesResponse.
The response from listing packages.
Generated from protobuf message google.devtools.artifactregistry.v1.ListPackagesResponse
Namespace
Google \ Cloud \ ArtifactRegistry \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ packages |
array<Package>
The packages returned. |
↳ next_page_token |
string
The token to retrieve the next page of packages, or empty if there are no more packages to return. |
getPackages
The packages returned.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setPackages
The packages returned.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Package>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNextPageToken
The token to retrieve the next page of packages, or empty if there are no more packages to return.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNextPageToken
The token to retrieve the next page of packages, or empty if there are no more packages to return.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|