Class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionImageRaiScores
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionImageRaiScores
- 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
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.
121 122 123 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 121 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
119 120 121 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 119 def agile_watermark_detection_score @agile_watermark_detection_score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
126 127 128 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 126 def update!(**args) @agile_watermark_detection_score = args[:agile_watermark_detection_score] if args.key?(:agile_watermark_detection_score) end |