Google Cloud BigQuery Migration V2 Client - Class ErrorDetail (0.4.5)

Reference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class ErrorDetail.

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

Generated from protobuf message google.cloud.bigquery.migration.v2.ErrorDetail

Namespace

Google \ Cloud \ BigQuery \ Migration \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ location Google\Cloud\BigQuery\Migration\V2\ErrorLocation

Optional. The exact location within the resource (if applicable).

↳ error_info Google\Rpc\ErrorInfo

Required. Describes the cause of the error with structured detail.

getLocation

Optional. The exact location within the resource (if applicable).

Returns
Type Description
Google\Cloud\BigQuery\Migration\V2\ErrorLocation|null

hasLocation

clearLocation

setLocation

Optional. The exact location within the resource (if applicable).

Parameter
Name Description
var Google\Cloud\BigQuery\Migration\V2\ErrorLocation
Returns
Type Description
$this

getErrorInfo

Required. Describes the cause of the error with structured detail.

Returns
Type Description
Google\Rpc\ErrorInfo|null

hasErrorInfo

clearErrorInfo

setErrorInfo

Required. Describes the cause of the error with structured detail.

Parameter
Name Description
var Google\Rpc\ErrorInfo
Returns
Type Description
$this