Class ProjectsResource.LocationsResource.IndexEndpointsResource.FindNeighborsRequest
Finds the nearest neighbors of each vector within the request.
Inheritance
ProjectsResource.LocationsResource.IndexEndpointsResource.FindNeighborsRequest
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.IndexEndpointsResource.FindNeighborsRequest : AiplatformBaseServiceRequest<GoogleCloudAiplatformV1beta1FindNeighborsResponse>, IClientServiceRequest<GoogleCloudAiplatformV1beta1FindNeighborsResponse>, IClientServiceRequest
Constructors
FindNeighborsRequest(IClientService, GoogleCloudAiplatformV1beta1FindNeighborsRequest, string)
Constructs a new FindNeighbors request.
Declaration
public FindNeighborsRequest(IClientService service, GoogleCloudAiplatformV1beta1FindNeighborsRequest body, string indexEndpoint)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudAiplatformV1beta1FindNeighborsRequest | body | |
string | indexEndpoint |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
IndexEndpoint
Required. The name of the index endpoint. Format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
Declaration
[RequestParameter("indexEndpoint", RequestParameterType.Path)]
public virtual string IndexEndpoint { get; }
Property Value
Type | Description |
---|---|
string |
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 FindNeighbors parameter list.
Declaration
protected override void InitParameters()