Class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionImageRaiScores

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

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.



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_scoreFloat

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

Returns:

  • (Float)


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