Google Cloud Datalabeling V1beta1 Client - Class CreateInstructionMetadata (0.3.1)

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

Metadata of a CreateInstruction operation.

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

Namespace

Google \ Cloud \ DataLabeling \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ instruction string

The name of the created Instruction. projects/{project_id}/instructions/{instruction_id}

↳ partial_failures array<Google\Rpc\Status>

Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.

↳ create_time Google\Protobuf\Timestamp

Timestamp when create instruction request was created.

getInstruction

The name of the created Instruction.

projects/{project_id}/instructions/{instruction_id}

Returns
TypeDescription
string

setInstruction

The name of the created Instruction.

projects/{project_id}/instructions/{instruction_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPartialFailures

Partial failures encountered.

E.g. single files that couldn't be read. Status details field will contain standard GCP error details.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPartialFailures

Partial failures encountered.

E.g. single files that couldn't be read. Status details field will contain standard GCP error details.

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

getCreateTime

Timestamp when create instruction request was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Timestamp when create instruction request was created.

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