public sealed class SearchNearestEntitiesRequest : IMessage<SearchNearestEntitiesRequest>, IEquatable<SearchNearestEntitiesRequest>, IDeepCloneable<SearchNearestEntitiesRequest>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class SearchNearestEntitiesRequest.
The request message for [FeatureOnlineStoreService.SearchNearestEntities][google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService.SearchNearestEntities].
Implements
IMessageSearchNearestEntitiesRequest, IEquatableSearchNearestEntitiesRequest, IDeepCloneableSearchNearestEntitiesRequest, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
SearchNearestEntitiesRequest()
public SearchNearestEntitiesRequest()SearchNearestEntitiesRequest(SearchNearestEntitiesRequest)
public SearchNearestEntitiesRequest(SearchNearestEntitiesRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SearchNearestEntitiesRequest |
Properties
FeatureView
public string FeatureView { get; set; }Required. FeatureView resource format
projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}
| Property Value | |
|---|---|
| Type | Description |
string |
|
FeatureViewAsFeatureViewName
public FeatureViewName FeatureViewAsFeatureViewName { get; set; }FeatureViewName-typed view over the FeatureView resource name property.
| Property Value | |
|---|---|
| Type | Description |
FeatureViewName |
|
Query
public NearestNeighborQuery Query { get; set; }Required. The query.
| Property Value | |
|---|---|
| Type | Description |
NearestNeighborQuery |
|
ReturnFullEntity
public bool ReturnFullEntity { get; set; }Optional. If set to true, the full entities (including all vector values and metadata) of the nearest neighbors are returned; otherwise only entity id of the nearest neighbors will be returned. Note that returning full entities will significantly increase the latency and cost of the query.
| Property Value | |
|---|---|
| Type | Description |
bool |
|