Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchNearestEntitiesResponse
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchNearestEntitiesResponse
- 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
Response message for FeatureOnlineStoreService.SearchNearestEntities
Instance Attribute Summary collapse
-
#nearest_neighbors ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighbors
Nearest neighbors for one query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1SearchNearestEntitiesResponse
constructor
A new instance of GoogleCloudAiplatformV1SearchNearestEntitiesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1SearchNearestEntitiesResponse
Returns a new instance of GoogleCloudAiplatformV1SearchNearestEntitiesResponse.
29699 29700 29701 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29699 def initialize(**args) update!(**args) end |
Instance Attribute Details
#nearest_neighbors ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighbors
Nearest neighbors for one query.
Corresponds to the JSON property nearestNeighbors
29697 29698 29699 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29697 def nearest_neighbors @nearest_neighbors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
29704 29705 29706 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29704 def update!(**args) @nearest_neighbors = args[:nearest_neighbors] if args.key?(:nearest_neighbors) end |