Class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionImageRaiScores

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

RAI scores for generated image returned.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiLargeModelsVisionImageRaiScores

Returns a new instance of CloudAiLargeModelsVisionImageRaiScores.



166
167
168
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 166

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

Instance Attribute Details

#agile_watermark_detection_scoreFloat

Agile watermark score for image. Corresponds to the JSON property agileWatermarkDetectionScore

Returns:

  • (Float)


164
165
166
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 164

def agile_watermark_detection_score
  @agile_watermark_detection_score
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



171
172
173
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 171

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