Google Cloud Artifact Registry V1beta2 Client - Class ListPackagesResponse (0.3.13)

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

The response from listing packages.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ packages array<Google\Cloud\ArtifactRegistry\V1beta2\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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPackages

The packages returned.

Parameter
NameDescription
var array<Google\Cloud\ArtifactRegistry\V1beta2\Package>
Returns
TypeDescription
$this

getNextPageToken

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

Returns
TypeDescription
string

setNextPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this