Google Cloud Datalabeling V1beta1 Client - Class Attempt (0.5.4)

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class Attempt.

Records a failed evaluation job run.

Generated from protobuf message google.cloud.datalabeling.v1beta1.Attempt

Namespace

Google \ Cloud \ DataLabeling \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ attempt_time Google\Protobuf\Timestamp
↳ partial_failures array<Google\Rpc\Status>

Details of errors that occurred.

getAttemptTime

Generated from protobuf field .google.protobuf.Timestamp attempt_time = 1;

Returns
Type Description
Google\Protobuf\Timestamp|null

hasAttemptTime

clearAttemptTime

setAttemptTime

Generated from protobuf field .google.protobuf.Timestamp attempt_time = 1;

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getPartialFailures

Details of errors that occurred.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPartialFailures

Details of errors that occurred.

Parameter
Name Description
var array<Google\Rpc\Status>
Returns
Type Description
$this