Google Cloud BigQuery Migration V2 Client - Class ResourceErrorDetail (0.2.2)

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

Provides details for errors and the corresponding resources.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ resource_info Google\Rpc\ResourceInfo

Required. Information about the resource where the error is located.

↳ error_details array<Google\Cloud\BigQuery\Migration\V2\ErrorDetail>

Required. The error details for the resource.

↳ error_count int

Required. How many errors there are in total for the resource. Truncation can be indicated by having an error_count that is higher than the size of error_details.

getResourceInfo

Required. Information about the resource where the error is located.

Returns
TypeDescription
Google\Rpc\ResourceInfo|null

hasResourceInfo

clearResourceInfo

setResourceInfo

Required. Information about the resource where the error is located.

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

getErrorDetails

Required. The error details for the resource.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setErrorDetails

Required. The error details for the resource.

Parameter
NameDescription
var array<Google\Cloud\BigQuery\Migration\V2\ErrorDetail>
Returns
TypeDescription
$this

getErrorCount

Required. How many errors there are in total for the resource. Truncation can be indicated by having an error_count that is higher than the size of error_details.

Returns
TypeDescription
int

setErrorCount

Required. How many errors there are in total for the resource. Truncation can be indicated by having an error_count that is higher than the size of error_details.

Parameter
NameDescription
var int
Returns
TypeDescription
$this