Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datalabeling_v1beta1/classes.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb
Overview
Metadata of a CreateInstruction operation.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Timestamp when create instruction request was created.
-
#instruction ⇒ String
The name of the created Instruction.
-
#partial_failures ⇒ Array<Google::Apis::DatalabelingV1beta1::GoogleRpcStatus>
Partial failures encountered.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata
constructor
A new instance of GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata
Returns a new instance of GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata.
4654 4655 4656 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4654 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Timestamp when create instruction request was created.
Corresponds to the JSON property createTime
4640 4641 4642 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4640 def create_time @create_time end |
#instruction ⇒ String
The name of the created Instruction. projects/project_id
/instructions/
instruction_id
Corresponds to the JSON property instruction
4646 4647 4648 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4646 def instruction @instruction end |
#partial_failures ⇒ Array<Google::Apis::DatalabelingV1beta1::GoogleRpcStatus>
Partial failures encountered. E.g. single files that couldn't be read. Status
details field will contain standard GCP error details.
Corresponds to the JSON property partialFailures
4652 4653 4654 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4652 def partial_failures @partial_failures end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4659 4660 4661 4662 4663 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4659 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @instruction = args[:instruction] if args.key?(:instruction) @partial_failures = args[:partial_failures] if args.key?(:partial_failures) end |