Google Cloud Artifact Registry V1 Client - Class ImportYumArtifactsResponse (0.6.0)

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

The response message from importing YUM artifacts.

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

Namespace

Google \ Cloud \ ArtifactRegistry \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ yum_artifacts array<Google\Cloud\ArtifactRegistry\V1\YumArtifact>

The yum artifacts imported.

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

Detailed error info for packages that were not imported.

getYumArtifacts

The yum artifacts imported.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setYumArtifacts

The yum artifacts imported.

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

getErrors

Detailed error info for packages that were not imported.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setErrors

Detailed error info for packages that were not imported.

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