Class: Google::Cloud::VisionAI::V1::ImageQuery
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::ImageQuery
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/warehouse.rb
Overview
Image query for search endpoint request.
Instance Attribute Summary collapse
-
#asset ⇒ ::String
Resource name of the asset.
-
#input_image ⇒ ::String
Input image in raw bytes.
Instance Attribute Details
#asset ⇒ ::String
Returns Resource name of the asset. Only supported in IMAGE corpus type.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
Note: The following fields are mutually exclusive: asset, input_image. If a field in that set is populated, all other fields in the set will automatically be cleared.
2749 2750 2751 2752 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2749 class ImageQuery include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#input_image ⇒ ::String
Returns Input image in raw bytes.
Note: The following fields are mutually exclusive: input_image, asset. If a field in that set is populated, all other fields in the set will automatically be cleared.
2749 2750 2751 2752 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2749 class ImageQuery include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |