Google Cloud Artifact Registry V1 Client - Class ImportAptArtifactsResponse (1.0.0-RC1)

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

The response message from importing APT artifacts.

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

Namespace

Google \ Cloud \ ArtifactRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ apt_artifacts array<Google\Cloud\ArtifactRegistry\V1\AptArtifact>

The Apt artifacts imported.

↳ errors array<Google\Cloud\ArtifactRegistry\V1\ImportAptArtifactsErrorInfo>

Detailed error info for packages that were not imported.

getAptArtifacts

The Apt artifacts imported.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAptArtifacts

The Apt artifacts imported.

Parameter
Name Description
var array<Google\Cloud\ArtifactRegistry\V1\AptArtifact>
Returns
Type Description
$this

getErrors

Detailed error info for packages that were not imported.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setErrors

Detailed error info for packages that were not imported.

Parameter
Name Description
var array<Google\Cloud\ArtifactRegistry\V1\ImportAptArtifactsErrorInfo>
Returns
Type Description
$this