Google Cloud Artifact Registry V1 Client - Class ListRepositoriesResponse (0.4.4)

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

The response from listing repositories.

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

Namespace

Google \ Cloud \ ArtifactRegistry \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ repositories array<Google\Cloud\ArtifactRegistry\V1\Repository>

The repositories returned.

↳ next_page_token string

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

getRepositories

The repositories returned.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRepositories

The repositories returned.

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

getNextPageToken

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

Returns
TypeDescription
string

setNextPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this