Vision AI v1 API - Class ImageQuery (1.0.0-beta01)

public sealed class ImageQuery : IMessage<ImageQuery>, IEquatable<ImageQuery>, IDeepCloneable<ImageQuery>, IBufferMessage, IMessage

Reference documentation and code samples for the Vision AI v1 API class ImageQuery.

Image query for search endpoint request.

Inheritance

object > ImageQuery

Namespace

Google.Cloud.VisionAI.V1

Assembly

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; }

AssetName-typed view over the Asset resource name property.

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