Class: Google::Cloud::VisionAI::V1::CreateAnnotationRequest

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#annotation::Google::Cloud::VisionAI::V1::Annotation

Returns Required. The annotation to create.

Returns:



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.

Returns:

  • (::String)

    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}.

Returns:

  • (::String)

    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