Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedDimension

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedDimension

Returns a new instance of AppsDynamiteSharedDimension.



1500
1501
1502
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1500

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#heightFixnum

Corresponds to the JSON property height

Returns:

  • (Fixnum)


1493
1494
1495
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1493

def height
  @height
end

#widthFixnum

Corresponds to the JSON property width

Returns:

  • (Fixnum)


1498
1499
1500
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1498

def width
  @width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1505
1506
1507
1508
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1505

def update!(**args)
  @height = args[:height] if args.key?(:height)
  @width = args[:width] if args.key?(:width)
end