Google Cloud Service Control V1 Client - Class ReportResponse (1.0.6)

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

Response message for the Report method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ report_errors array<Google\Cloud\ServiceControl\V1\ReportResponse\ReportError>

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status: 1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully. 2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list. 3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.

↳ service_config_id string

The actual config id used to process the request.

↳ service_rollout_id string

The current service rollout id used to process the request.

getReportErrors

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.

  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.

  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.
Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setReportErrors

Partial failures, one for each Operation in the request that failed processing. There are three possible combinations of the RPC status:

  1. The combination of a successful RPC status and an empty report_errors list indicates a complete success where all Operations in the request are processed successfully.

  2. The combination of a successful RPC status and a non-empty report_errors list indicates a partial success where some Operations in the request succeeded. Each Operation that failed processing has a corresponding item in this list.

  3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.
Parameter
NameDescription
var array<Google\Cloud\ServiceControl\V1\ReportResponse\ReportError>
Returns
TypeDescription
$this

getServiceConfigId

The actual config id used to process the request.

Returns
TypeDescription
string

setServiceConfigId

The actual config id used to process the request.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getServiceRolloutId

The current service rollout id used to process the request.

Returns
TypeDescription
string

setServiceRolloutId

The current service rollout id used to process the request.

Parameter
NameDescription
var string
Returns
TypeDescription
$this