Google Cloud Artifact Registry V1beta2 Client - Class ImportAptArtifactsResponse (0.4.4)

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

The response message from importing APT artifacts.

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

Namespace

Google \ Cloud \ ArtifactRegistry \ V1beta2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

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

The Apt artifacts imported.

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

Detailed error info for artifacts that were not imported.

getAptArtifacts

The Apt artifacts imported.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAptArtifacts

The Apt artifacts imported.

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

getErrors

Detailed error info for artifacts that were not imported.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setErrors

Detailed error info for artifacts that were not imported.

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