Class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionRaiInfoDetectedLabels
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionRaiInfoDetectedLabels
- 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
Filters returning list of deteceted labels, scores, and bounding boxes.
Instance Attribute Summary collapse
-
#entities ⇒ Array<Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity>
The list of detected entities for the rai signal.
-
#rai_category ⇒ String
The RAI category for the deteceted labels.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiLargeModelsVisionRaiInfoDetectedLabels
constructor
A new instance of CloudAiLargeModelsVisionRaiInfoDetectedLabels.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudAiLargeModelsVisionRaiInfoDetectedLabels
Returns a new instance of CloudAiLargeModelsVisionRaiInfoDetectedLabels.
265 266 267 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 265 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entities ⇒ Array<Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity>
The list of detected entities for the rai signal.
Corresponds to the JSON property entities
258 259 260 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 258 def entities @entities end |
#rai_category ⇒ String
The RAI category for the deteceted labels.
Corresponds to the JSON property raiCategory
263 264 265 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 263 def rai_category @rai_category end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
270 271 272 273 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 270 def update!(**args) @entities = args[:entities] if args.key?(:entities) @rai_category = args[:rai_category] if args.key?(:rai_category) end |