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

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 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
ErrorLocation|null

hasLocation

clearLocation

setLocation

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

Parameter
Name Description
var 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