Class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionNamedBoundingBox
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionNamedBoundingBox
- 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
Instance Attribute Summary collapse
-
#classes ⇒ Array<String>
Corresponds to the JSON property
classes
. -
#entities ⇒ Array<String>
Corresponds to the JSON property
entities
. -
#scores ⇒ Array<Float>
Corresponds to the JSON property
scores
. -
#x1 ⇒ Float
Corresponds to the JSON property
x1
. -
#x2 ⇒ Float
Corresponds to the JSON property
x2
. -
#y1 ⇒ Float
Corresponds to the JSON property
y1
. -
#y2 ⇒ Float
Corresponds to the JSON property
y2
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiLargeModelsVisionNamedBoundingBox
constructor
A new instance of CloudAiLargeModelsVisionNamedBoundingBox.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudAiLargeModelsVisionNamedBoundingBox
Returns a new instance of CloudAiLargeModelsVisionNamedBoundingBox.
195 196 197 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 195 def initialize(**args) update!(**args) end |
Instance Attribute Details
#classes ⇒ Array<String>
Corresponds to the JSON property classes
163 164 165 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 163 def classes @classes end |
#entities ⇒ Array<String>
Corresponds to the JSON property entities
168 169 170 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 168 def entities @entities end |
#scores ⇒ Array<Float>
Corresponds to the JSON property scores
173 174 175 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 173 def scores @scores end |
#x1 ⇒ Float
Corresponds to the JSON property x1
178 179 180 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 178 def x1 @x1 end |
#x2 ⇒ Float
Corresponds to the JSON property x2
183 184 185 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 183 def x2 @x2 end |
#y1 ⇒ Float
Corresponds to the JSON property y1
188 189 190 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 188 def y1 @y1 end |
#y2 ⇒ Float
Corresponds to the JSON property y2
193 194 195 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 193 def y2 @y2 end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
200 201 202 203 204 205 206 207 208 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 200 def update!(**args) @classes = args[:classes] if args.key?(:classes) @entities = args[:entities] if args.key?(:entities) @scores = args[:scores] if args.key?(:scores) @x1 = args[:x1] if args.key?(:x1) @x2 = args[:x2] if args.key?(:x2) @y1 = args[:y1] if args.key?(:y1) @y2 = args[:y2] if args.key?(:y2) end |