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

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
NameDescription
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
TypeDescription
Google\Cloud\BigQuery\Migration\V2\ErrorLocation|null

hasLocation

clearLocation

setLocation

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

Parameter
NameDescription
var Google\Cloud\BigQuery\Migration\V2\ErrorLocation
Returns
TypeDescription
$this

getErrorInfo

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

Returns
TypeDescription
Google\Rpc\ErrorInfo|null

hasErrorInfo

clearErrorInfo

setErrorInfo

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

Parameter
NameDescription
var Google\Rpc\ErrorInfo
Returns
TypeDescription
$this