Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FindNeighborsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FindNeighborsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
The response message for MatchService.FindNeighbors.
Instance Attribute Summary collapse
-
#nearest_neighbors ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FindNeighborsResponseNearestNeighbors>
The nearest neighbors of the query datapoints.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1FindNeighborsResponse
constructor
A new instance of GoogleCloudAiplatformV1beta1FindNeighborsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1FindNeighborsResponse
Returns a new instance of GoogleCloudAiplatformV1beta1FindNeighborsResponse.
10499 10500 10501 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10499 def initialize(**args) update!(**args) end |
Instance Attribute Details
#nearest_neighbors ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FindNeighborsResponseNearestNeighbors>
The nearest neighbors of the query datapoints.
Corresponds to the JSON property nearestNeighbors
10497 10498 10499 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10497 def nearest_neighbors @nearest_neighbors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10504 10505 10506 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10504 def update!(**args) @nearest_neighbors = args[:nearest_neighbors] if args.key?(:nearest_neighbors) end |