Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UpdateExplanationDatasetRequest

Inherits:
Object
  • Object
show all
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

Request message for ModelService.UpdateExplanationDataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1UpdateExplanationDatasetRequest

Returns a new instance of GoogleCloudAiplatformV1beta1UpdateExplanationDatasetRequest.



28170
28171
28172
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 28170

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#examplesGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Examples

Example-based explainability that returns the nearest neighbors from the provided dataset. Corresponds to the JSON property examples



28168
28169
28170
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 28168

def examples
  @examples
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28175
28176
28177
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 28175

def update!(**args)
  @examples = args[:examples] if args.key?(:examples)
end