Class: Google::Apis::ContentV2_1::TextWithTooltip
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::TextWithTooltip
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
Block of text that may contain a tooltip with more information.
Instance Attribute Summary collapse
-
#simple_tooltip_value ⇒ String
Value of the tooltip as a simple text.
-
#simple_value ⇒ String
Value of the message as a simple text.
-
#tooltip_icon_style ⇒ String
The suggested type of an icon for tooltip, if a tooltip is present.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TextWithTooltip
constructor
A new instance of TextWithTooltip.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TextWithTooltip
Returns a new instance of TextWithTooltip.
14349 14350 14351 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 14349 def initialize(**args) update!(**args) end |
Instance Attribute Details
#simple_tooltip_value ⇒ String
Value of the tooltip as a simple text.
Corresponds to the JSON property simpleTooltipValue
14337 14338 14339 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 14337 def simple_tooltip_value @simple_tooltip_value end |
#simple_value ⇒ String
Value of the message as a simple text.
Corresponds to the JSON property simpleValue
14342 14343 14344 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 14342 def simple_value @simple_value end |
#tooltip_icon_style ⇒ String
The suggested type of an icon for tooltip, if a tooltip is present.
Corresponds to the JSON property tooltipIconStyle
14347 14348 14349 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 14347 def tooltip_icon_style @tooltip_icon_style end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14354 14355 14356 14357 14358 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 14354 def update!(**args) @simple_tooltip_value = args[:simple_tooltip_value] if args.key?(:simple_tooltip_value) @simple_value = args[:simple_value] if args.key?(:simple_value) @tooltip_icon_style = args[:tooltip_icon_style] if args.key?(:tooltip_icon_style) end |