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

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