Google Cloud Datalabeling V1beta1 Client - Class Attempt (0.3.1)

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
NameDescription
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
TypeDescription
Google\Protobuf\Timestamp|null

hasAttemptTime

clearAttemptTime

setAttemptTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getPartialFailures

Details of errors that occurred.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPartialFailures

Details of errors that occurred.

Parameter
NameDescription
var array<Google\Rpc\Status>
Returns
TypeDescription
$this