# Artifact Registry V1beta2 API - Class Google::Cloud::ArtifactRegistry::V1beta2::ImportAptArtifactsErrorInfo (v0.20.0)

0.20.0 (latest) 0.19.0 0.18.0 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.1 0.11.2 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.6 Reference documentation and code samples for the Artifact Registry V1beta2 API class Google::Cloud::ArtifactRegistry::V1beta2::ImportAptArtifactsErrorInfo.

Error information explaining why a package was not imported.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #error

    def error() -> ::Google::Rpc::Status

**Returns**

- ([::Google::Rpc::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1beta2/latest/Google-Rpc-Status)) --- The detailed error status.

### #error=

    def error=(value) -> ::Google::Rpc::Status

**Parameter**

- **value** ([::Google::Rpc::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1beta2/latest/Google-Rpc-Status)) --- The detailed error status.
**Returns**

- ([::Google::Rpc::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1beta2/latest/Google-Rpc-Status)) --- The detailed error status.

### #gcs_source

    def gcs_source() -> ::Google::Cloud::ArtifactRegistry::V1beta2::ImportAptArtifactsGcsSource

**Returns**

- ([::Google::Cloud::ArtifactRegistry::V1beta2::ImportAptArtifactsGcsSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1beta2/latest/Google-Cloud-ArtifactRegistry-V1beta2-ImportAptArtifactsGcsSource)) --- Google Cloud Storage location requested.

### #gcs_source=

    def gcs_source=(value) -> ::Google::Cloud::ArtifactRegistry::V1beta2::ImportAptArtifactsGcsSource

**Parameter**

- **value** ([::Google::Cloud::ArtifactRegistry::V1beta2::ImportAptArtifactsGcsSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1beta2/latest/Google-Cloud-ArtifactRegistry-V1beta2-ImportAptArtifactsGcsSource)) --- Google Cloud Storage location requested.
**Returns**

- ([::Google::Cloud::ArtifactRegistry::V1beta2::ImportAptArtifactsGcsSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1beta2/latest/Google-Cloud-ArtifactRegistry-V1beta2-ImportAptArtifactsGcsSource)) --- Google Cloud Storage location requested.