Class: Google::Apis::AdsenseV2::Cell
- Inherits:
-
Object
- Object
- Google::Apis::AdsenseV2::Cell
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/adsense_v2/classes.rb,
lib/google/apis/adsense_v2/representations.rb,
lib/google/apis/adsense_v2/representations.rb
Overview
Cell representation.
Instance Attribute Summary collapse
-
#value ⇒ String
Value in the cell.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Cell
constructor
A new instance of Cell.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Cell
Returns a new instance of Cell.
309 310 311 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 309 def initialize(**args) update!(**args) end |
Instance Attribute Details
#value ⇒ String
Value in the cell. The dimension cells contain strings, and the metric cells
contain numbers.
Corresponds to the JSON property value
307 308 309 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 307 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
314 315 316 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 314 def update!(**args) @value = args[:value] if args.key?(:value) end |