Google Cloud Service Control V1 Client - Class ReportError (2.0.0-RC1)

Reference documentation and code samples for the Google Cloud Service Control V1 Client class ReportError.

Represents the processing error of one Operation in the request.

Generated from protobuf message google.api.servicecontrol.v1.ReportResponse.ReportError

Namespace

Google \ Cloud \ ServiceControl \ V1 \ ReportResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ operation_id string

The Operation.operation_id value from the request.

↳ status Google\Rpc\Status

Details of the error when processing the Operation.

getOperationId

The Operation.operation_id value from the request.

Returns
Type Description
string

setOperationId

The Operation.operation_id value from the request.

Parameter
Name Description
var string
Returns
Type Description
$this

getStatus

Details of the error when processing the Operation.

Returns
Type Description
Google\Rpc\Status|null

hasStatus

clearStatus

setStatus

Details of the error when processing the Operation.

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