Class: Google::Cloud::Vision::V1::BatchAnnotateImagesRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1::BatchAnnotateImagesRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/vision/v1/image_annotator.rb
Overview
Multiple image annotation requests are batched into a single service call.
Defined Under Namespace
Classes: LabelsEntry
Instance Attribute Summary collapse
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#parent ⇒ ::String
Optional.
-
#requests ⇒ ::Array<::Google::Cloud::Vision::V1::AnnotateImageRequest>
Required.
Instance Attribute Details
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. The labels with user-defined metadata for the request.
Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
730 731 732 733 734 735 736 737 738 739 740 741 742 |
# File 'proto_docs/google/cloud/vision/v1/image_annotator.rb', line 730 class BatchAnnotateImagesRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#parent ⇒ ::String
Returns Optional. Target project and location to make a call.
Format: projects/{project-id}/locations/{location-id}
.
If no parent is specified, a region will be chosen automatically.
Supported location-ids:
us
: USA country only,
asia
: East asia areas, like Japan, Taiwan,
eu
: The European Union.
Example: projects/project-A/locations/eu
.
730 731 732 733 734 735 736 737 738 739 740 741 742 |
# File 'proto_docs/google/cloud/vision/v1/image_annotator.rb', line 730 class BatchAnnotateImagesRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#requests ⇒ ::Array<::Google::Cloud::Vision::V1::AnnotateImageRequest>
Returns Required. Individual image annotation requests for this batch.
730 731 732 733 734 735 736 737 738 739 740 741 742 |
# File 'proto_docs/google/cloud/vision/v1/image_annotator.rb', line 730 class BatchAnnotateImagesRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |