Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::ImageQuery.
Image query for search endpoint request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#asset
def asset() -> ::String-
(::String) — 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.
#asset=
def asset=(value) -> ::String-
value (::String) — 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.
-
(::String) — 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.
#input_image
def input_image() -> ::String-
(::String) — 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.
#input_image=
def input_image=(value) -> ::String-
value (::String) — 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.
-
(::String) — 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.