Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UpdateExplanationDatasetRequest

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

Request message for ModelService.UpdateExplanationDataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1UpdateExplanationDatasetRequest

Returns a new instance of GoogleCloudAiplatformV1UpdateExplanationDatasetRequest.



33610
33611
33612
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33610

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

Instance Attribute Details

#examplesGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1Examples

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



33608
33609
33610
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33608

def examples
  @examples
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33615
33616
33617
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33615

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