Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class ImageQuery.
Image query for search endpoint request.
Generated from protobuf message google.cloud.visionai.v1.ImageQuery
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ input_image
string
Input image in raw bytes.
↳ asset
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}
getInputImage
Input image in raw bytes.
string
hasInputImage
setInputImage
Input image in raw bytes.
var
string
$this
getAsset
Resource name of the asset. Only supported in IMAGE corpus type.
Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
string
hasAsset
setAsset
Resource name of the asset. Only supported in IMAGE corpus type.
Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
var
string
$this
getImage
string

