Class ProjectsResource.LocationsResource.FeatureOnlineStoresResource.FeatureViewsResource.SearchNearestEntitiesRequest
Search the nearest entities under a FeatureView. Search only works for indexable feature view; if a feature view isn't indexable, returns Invalid argument response.
Inheritance
ProjectsResource.LocationsResource.FeatureOnlineStoresResource.FeatureViewsResource.SearchNearestEntitiesRequest
Implements
Inherited Members
ClientServiceRequest<GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponse>.CreateRequest(bool?)
Namespace: Google.Apis.Aiplatform.v1beta1
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.FeatureOnlineStoresResource.FeatureViewsResource.SearchNearestEntitiesRequest : AiplatformBaseServiceRequest<GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponse>, IClientServiceRequest<GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponse>, IClientServiceRequest
Constructors
SearchNearestEntitiesRequest(IClientService, GoogleCloudAiplatformV1beta1SearchNearestEntitiesRequest, string)
Constructs a new SearchNearestEntities request.
Declaration
public SearchNearestEntitiesRequest(IClientService service, GoogleCloudAiplatformV1beta1SearchNearestEntitiesRequest body, string featureView)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudAiplatformV1beta1SearchNearestEntitiesRequest | body | |
string | featureView |
Properties
FeatureView
Required. FeatureView resource format
projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}
Declaration
[RequestParameter("featureView", RequestParameterType.Path)]
public virtual string FeatureView { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes SearchNearestEntities parameter list.
Declaration
protected override void InitParameters()