Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedDimension
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedDimension
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Dimension for the uploaded attachments.
Instance Attribute Summary collapse
-
#height ⇒ Fixnum
Corresponds to the JSON property
height. -
#width ⇒ Fixnum
Corresponds to the JSON property
width.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedDimension
constructor
A new instance of AppsDynamiteSharedDimension.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedDimension
Returns a new instance of AppsDynamiteSharedDimension.
2181 2182 2183 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2181 def initialize(**args) update!(**args) end |
Instance Attribute Details
#height ⇒ Fixnum
Corresponds to the JSON property height
2174 2175 2176 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2174 def height @height end |
#width ⇒ Fixnum
Corresponds to the JSON property width
2179 2180 2181 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2179 def width @width end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2186 2187 2188 2189 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2186 def update!(**args) @height = args[:height] if args.key?(:height) @width = args[:width] if args.key?(:width) end |