public sealed class ImageQuery : IMessage<ImageQuery>, IEquatable<ImageQuery>, IDeepCloneable<ImageQuery>, IBufferMessage, IMessageReference documentation and code samples for the Vision AI v1 API class ImageQuery.
Image query for search endpoint request.
Implements
IMessageImageQuery, IEquatableImageQuery, IDeepCloneableImageQuery, IBufferMessage, IMessageNamespace
Google.Cloud.VisionAI.V1Assembly
Google.Cloud.VisionAI.V1.dll
Constructors
ImageQuery()
public ImageQuery()ImageQuery(ImageQuery)
public ImageQuery(ImageQuery other)| Parameter | |
|---|---|
| Name | Description |
other |
ImageQuery |
Properties
Asset
public string Asset { get; set; }Resource name of the asset. Only supported in IMAGE corpus type.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
| Property Value | |
|---|---|
| Type | Description |
string |
|
AssetAsAssetName
public AssetName AssetAsAssetName { get; set; }| Property Value | |
|---|---|
| Type | Description |
AssetName |
|
HasAsset
public bool HasAsset { get; }Gets whether the "asset" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasInputImage
public bool HasInputImage { get; }Gets whether the "input_image" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
ImageCase
public ImageQuery.ImageOneofCase ImageCase { get; }| Property Value | |
|---|---|
| Type | Description |
ImageQueryImageOneofCase |
|
InputImage
public ByteString InputImage { get; set; }Input image in raw bytes.
| Property Value | |
|---|---|
| Type | Description |
ByteString |
|