Class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionImageRaiScores
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::CloudAiLargeModelsVisionImageRaiScores
- 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
-
#agile_watermark_detection_score ⇒ Float
Agile watermark score for image.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiLargeModelsVisionImageRaiScores
constructor
A new instance of CloudAiLargeModelsVisionImageRaiScores.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_score ⇒ Float
Agile watermark score for image.
Corresponds to the JSON property agileWatermarkDetectionScore
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 |