Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FindNeighborsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FindNeighborsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
The response message for MatchService.FindNeighbors.
Instance Attribute Summary collapse
-
#nearest_neighbors ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors>
The nearest neighbors of the query datapoints.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1FindNeighborsResponse
constructor
A new instance of GoogleCloudAiplatformV1FindNeighborsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1FindNeighborsResponse
Returns a new instance of GoogleCloudAiplatformV1FindNeighborsResponse.
9801 9802 9803 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9801 def initialize(**args) update!(**args) end |
Instance Attribute Details
#nearest_neighbors ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors>
The nearest neighbors of the query datapoints.
Corresponds to the JSON property nearestNeighbors
9799 9800 9801 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9799 def nearest_neighbors @nearest_neighbors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9806 9807 9808 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9806 def update!(**args) @nearest_neighbors = args[:nearest_neighbors] if args.key?(:nearest_neighbors) end |