Class: Google::Cloud::VisionAI::V1::CreateAnnotationRequest
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::CreateAnnotationRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/warehouse.rb
Overview
Request message for CreateAnnotation.
Instance Attribute Summary collapse
-
#annotation ⇒ ::Google::Cloud::VisionAI::V1::Annotation
Required.
-
#annotation_id ⇒ ::String
Optional.
-
#parent ⇒ ::String
Required.
Instance Attribute Details
#annotation ⇒ ::Google::Cloud::VisionAI::V1::Annotation
Returns Required. The annotation to create.
1498 1499 1500 1501 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 1498 class CreateAnnotationRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#annotation_id ⇒ ::String
Returns Optional. The ID to use for the annotation, which will become the final component of the annotation's resource name if user choose to specify. Otherwise, annotation id will be generated by system.
This value should be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number.
1498 1499 1500 1501 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 1498 class CreateAnnotationRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. The parent resource where this annotation will be created.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}.
1498 1499 1500 1501 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 1498 class CreateAnnotationRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |