Google Cloud Service Control V1 Client - Class ReportError (1.2.1)

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
NameDescription
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
TypeDescription
string

setOperationId

The Operation.operation_id value from the request.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStatus

Details of the error when processing the Operation.

Returns
TypeDescription
Google\Rpc\Status|null

hasStatus

clearStatus

setStatus

Details of the error when processing the Operation.

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