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