Google Cloud Artifact Registry V1 Client - Class ListMavenArtifactsResponse (0.5.1)

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

The response from listing maven artifacts.

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

Namespace

Google \ Cloud \ ArtifactRegistry \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ maven_artifacts array<Google\Cloud\ArtifactRegistry\V1\MavenArtifact>

The maven artifacts returned.

↳ next_page_token string

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

getMavenArtifacts

The maven artifacts returned.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMavenArtifacts

The maven artifacts returned.

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

getNextPageToken

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

Returns
TypeDescription
string

setNextPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this