Google Cloud Service Control V1 Client - Class CheckResponse (1.1.1)

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

Response message for the Check method.

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

Namespace

Google \ Cloud \ ServiceControl \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ operation_id string

The same operation_id value used in the CheckRequest. Used for logging and diagnostics purposes.

↳ check_errors array<Google\Cloud\ServiceControl\V1\CheckError>

Indicate the decision of the check. If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

↳ 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.

↳ check_info Google\Cloud\ServiceControl\V1\CheckResponse\CheckInfo

Feedback data returned from the server during processing a Check request.

getOperationId

The same operation_id value used in the CheckRequest. Used for logging and diagnostics purposes.

Returns
TypeDescription
string

setOperationId

The same operation_id value used in the CheckRequest. Used for logging and diagnostics purposes.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCheckErrors

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCheckErrors

Indicate the decision of the check.

If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.

Parameter
NameDescription
var array<Google\Cloud\ServiceControl\V1\CheckError>
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

getCheckInfo

Feedback data returned from the server during processing a Check request.

Returns
TypeDescription
Google\Cloud\ServiceControl\V1\CheckResponse\CheckInfo|null

hasCheckInfo

clearCheckInfo

setCheckInfo

Feedback data returned from the server during processing a Check request.

Parameter
NameDescription
var Google\Cloud\ServiceControl\V1\CheckResponse\CheckInfo
Returns
TypeDescription
$this