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

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<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
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<Google\Cloud\ServiceControl\V1\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
Google\Cloud\ServiceControl\V1\CheckResponse\CheckInfo|null

hasCheckInfo

clearCheckInfo

setCheckInfo

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

Parameter
Name Description
var Google\Cloud\ServiceControl\V1\CheckResponse\CheckInfo
Returns
Type Description
$this