Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessmentDetectorFinding

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

The details of a detector's assessment within an analyzed session.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AssessmentDetectorFinding

Returns a new instance of GoogleCloudAiplatformV1beta1AssessmentDetectorFinding.



7908
7909
7910
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7908

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

Instance Attribute Details

#detector_idString

The detector ID. Corresponds to the JSON property detectorId

Returns:

  • (String)


7881
7882
7883
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7881

def detector_id
  @detector_id
end

#display_nameString

The detector display name. Corresponds to the JSON property displayName

Returns:

  • (String)


7886
7887
7888
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7886

def display_name
  @display_name
end

#explanationString

The explanation of the finding. Corresponds to the JSON property explanation

Returns:

  • (String)


7891
7892
7893
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7891

def explanation
  @explanation
end

#probabilityFloat

The probability that this finding is an anomaly, in the range [0.0, 1.0]. Corresponds to the JSON property probability

Returns:

  • (Float)


7896
7897
7898
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7896

def probability
  @probability
end

#recommendationsArray<String>

The list of recommendations for this detector finding. Corresponds to the JSON property recommendations

Returns:

  • (Array<String>)


7901
7902
7903
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7901

def recommendations
  @recommendations
end

#severityString

The severity of the finding. Corresponds to the JSON property severity

Returns:

  • (String)


7906
7907
7908
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7906

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7913
7914
7915
7916
7917
7918
7919
7920
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7913

def update!(**args)
  @detector_id = args[:detector_id] if args.key?(:detector_id)
  @display_name = args[:display_name] if args.key?(:display_name)
  @explanation = args[:explanation] if args.key?(:explanation)
  @probability = args[:probability] if args.key?(:probability)
  @recommendations = args[:recommendations] if args.key?(:recommendations)
  @severity = args[:severity] if args.key?(:severity)
end