Class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRaiInfoDetectedLabels
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRaiInfoDetectedLabels
- 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
Filters returning list of deteceted labels, scores, and bounding boxes.
Instance Attribute Summary collapse
-
#entities ⇒ Array<Google::Apis::AiplatformV1::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.
316 317 318 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 316 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entities ⇒ Array<Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity>
The list of detected entities for the rai signal.
Corresponds to the JSON property entities
309 310 311 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 309 def entities @entities end |
#rai_category ⇒ String
The RAI category for the deteceted labels.
Corresponds to the JSON property raiCategory
314 315 316 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 314 def rai_category @rai_category end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
321 322 323 324 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 321 def update!(**args) @entities = args[:entities] if args.key?(:entities) @rai_category = args[:rai_category] if args.key?(:rai_category) end |