Class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionImageImageSize
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionImageImageSize
- 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
Image size.
Instance Attribute Summary collapse
-
#channels ⇒ Fixnum
Corresponds to the JSON property
channels. -
#height ⇒ Fixnum
Corresponds to the JSON property
height. -
#width ⇒ Fixnum
Corresponds to the JSON property
width.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiLargeModelsVisionImageImageSize
constructor
A new instance of CloudAiLargeModelsVisionImageImageSize.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudAiLargeModelsVisionImageImageSize
Returns a new instance of CloudAiLargeModelsVisionImageImageSize.
479 480 481 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 479 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channels ⇒ Fixnum
Corresponds to the JSON property channels
467 468 469 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 467 def channels @channels end |
#height ⇒ Fixnum
Corresponds to the JSON property height
472 473 474 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 472 def height @height end |
#width ⇒ Fixnum
Corresponds to the JSON property width
477 478 479 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 477 def width @width end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
484 485 486 487 488 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 484 def update!(**args) @channels = args[:channels] if args.key?(:channels) @height = args[:height] if args.key?(:height) @width = args[:width] if args.key?(:width) end |