1.8.4 (latest) 1.7.2 1.6.0 1.5.0 1.4.0 1.3.1 1.2.1 1.1.3 1.0.0 0.6.5 0.5.1 0.4.4 0.3.13 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** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ yum_artifacts` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-artifact-registry/latest/V1.YumArtifact>` The yum artifacts imported. |
| `↳ errors` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-artifact-registry/latest/V1.ImportYumArtifactsErrorInfo>` Detailed error info for packages that were not imported. |

### getYumArtifacts

The yum artifacts imported.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-artifact-registry/latest/V1.YumArtifact>` |   |

### setYumArtifacts

The yum artifacts imported.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-artifact-registry/latest/V1.YumArtifact>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getErrors

Detailed error info for packages that were not imported.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-artifact-registry/latest/V1.ImportYumArtifactsErrorInfo>` |   |

### setErrors

Detailed error info for packages that were not imported.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-artifact-registry/latest/V1.ImportYumArtifactsErrorInfo>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |