Discovery Engine v1beta API - Class SearchRequest.Types.ImageQuery (1.0.0-beta11)

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 v1beta API class SearchRequest.Types.ImageQuery.

Specifies the image query input.

Inheritance

object > SearchRequest.Types.ImageQuery

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

ImageQuery()

public ImageQuery()

ImageQuery(ImageQuery)

public ImageQuery(SearchRequest.Types.ImageQuery other)
Parameter
NameDescription
otherSearchRequestTypesImageQuery

Properties

HasImageBytes

public bool HasImageBytes { get; }

Gets whether the "image_bytes" field is set

Property Value
TypeDescription
bool

ImageBytes

public string ImageBytes { get; set; }

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

Property Value
TypeDescription
string

ImageCase

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