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

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
Name Description
data array

Optional. Data for populating the Message object.

↳ maven_artifacts array<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
Type Description
Google\Protobuf\Internal\RepeatedField

setMavenArtifacts

The maven artifacts returned.

Parameter
Name Description
var array<MavenArtifact>
Returns
Type Description
$this

getNextPageToken

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

Returns
Type Description
string

setNextPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this