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
Namespace
Google \ Cloud \ BigQuery \ Migration \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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<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 |
getResourceInfo
Required. Information about the resource where the error is located.
Returns | |
---|---|
Type | Description |
Google\Rpc\ResourceInfo|null |
hasResourceInfo
clearResourceInfo
setResourceInfo
Required. Information about the resource where the error is located.
Parameter | |
---|---|
Name | Description |
var |
Google\Rpc\ResourceInfo
|
Returns | |
---|---|
Type | Description |
$this |
getErrorDetails
Required. The error details for the resource.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setErrorDetails
Required. The error details for the resource.
Parameter | |
---|---|
Name | Description |
var |
array<ErrorDetail>
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |