Google Cloud Service Control V1 Client - Class CheckResponse (2.0.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
Name Description
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<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 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
Type Description
string

setOperationId

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

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var array<CheckError>
Returns
Type Description
$this

getServiceConfigId

The actual config id used to process the request.

Returns
Type Description
string

setServiceConfigId

The actual config id used to process the request.

Parameter
Name Description
var string
Returns
Type Description
$this

getServiceRolloutId

The current service rollout id used to process the request.

Returns
Type Description
string

setServiceRolloutId

The current service rollout id used to process the request.

Parameter
Name Description
var string
Returns
Type Description
$this

getCheckInfo

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

Returns
Type Description
CheckResponse\CheckInfo|null

hasCheckInfo

clearCheckInfo

setCheckInfo

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

Parameter
Name Description
var CheckResponse\CheckInfo
Returns
Type Description
$this