# BigQuery Migration V2 API - Class Google::Cloud::Bigquery::Migration::V2::ErrorDetail (v0.21.0)

0.21.0 (latest) 0.20.0 0.19.0 0.18.0 0.17.1 0.16.0 0.15.1 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the BigQuery Migration V2 API class Google::Cloud::Bigquery::Migration::V2::ErrorDetail.

Provides details for errors, e.g. issues that where encountered when
processing a subtask.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #error_info

    def error_info() -> ::Google::Rpc::ErrorInfo

**Returns**

- ([::Google::Rpc::ErrorInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-migration-v2/latest/Google-Rpc-ErrorInfo)) --- Required. Describes the cause of the error with structured detail.

### #error_info=

    def error_info=(value) -> ::Google::Rpc::ErrorInfo

**Parameter**

- **value** ([::Google::Rpc::ErrorInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-migration-v2/latest/Google-Rpc-ErrorInfo)) --- Required. Describes the cause of the error with structured detail.
**Returns**

- ([::Google::Rpc::ErrorInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-migration-v2/latest/Google-Rpc-ErrorInfo)) --- Required. Describes the cause of the error with structured detail.

### #location

    def location() -> ::Google::Cloud::Bigquery::Migration::V2::ErrorLocation

**Returns**

- ([::Google::Cloud::Bigquery::Migration::V2::ErrorLocation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-migration-v2/latest/Google-Cloud-Bigquery-Migration-V2-ErrorLocation)) --- Optional. The exact location within the resource (if applicable).

### #location=

    def location=(value) -> ::Google::Cloud::Bigquery::Migration::V2::ErrorLocation

**Parameter**

- **value** ([::Google::Cloud::Bigquery::Migration::V2::ErrorLocation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-migration-v2/latest/Google-Cloud-Bigquery-Migration-V2-ErrorLocation)) --- Optional. The exact location within the resource (if applicable).
**Returns**

- ([::Google::Cloud::Bigquery::Migration::V2::ErrorLocation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-migration-v2/latest/Google-Cloud-Bigquery-Migration-V2-ErrorLocation)) --- Optional. The exact location within the resource (if applicable).