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.
Implements
IMessageSearchRequestTypesImageQuery, IEquatableSearchRequestTypesImageQuery, IDeepCloneableSearchRequestTypesImageQuery, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
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 |