Discovery Engine v1 API - Class SearchRequest.Types.ImageQuery (1.1.0)

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

Reference documentation and code samples for the Discovery Engine v1 API class SearchRequest.Types.ImageQuery.

Specifies the image query input.

Inheritance

object > SearchRequest.Types.ImageQuery

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

ImageQuery()

public ImageQuery()

ImageQuery(ImageQuery)

public ImageQuery(SearchRequest.Types.ImageQuery other)
Parameter
Name Description
other SearchRequestTypesImageQuery

Properties

HasImageBytes

public bool HasImageBytes { get; }

Gets whether the "image_bytes" field is set

Property Value
Type Description
bool

ImageBytes

public string ImageBytes { get; set; }

Base64 encoded image bytes. Supported image formats: JPEG, PNG, and BMP.

Property Value
Type Description
string

ImageCase

public SearchRequest.Types.ImageQuery.ImageOneofCase ImageCase { get; }
Property Value
Type Description
SearchRequestTypesImageQueryImageOneofCase