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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setInstruction
The name of the created Instruction.
projects/{project_id}/instructions/{instruction_id}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPartialFailures
Partial failures encountered.
E.g. single files that couldn't be read. Status details field will contain standard GCP error details.
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array<Google\Rpc\Status>
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
Timestamp when create instruction request was created.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
Timestamp when create instruction request was created.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |