Class: Google::Apis::DfareportingV3_4::PopupWindowProperties
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_4::PopupWindowProperties
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_4/classes.rb,
generated/google/apis/dfareporting_v3_4/representations.rb,
generated/google/apis/dfareporting_v3_4/representations.rb
Overview
Popup Window Properties.
Instance Attribute Summary collapse
-
#dimension ⇒ Google::Apis::DfareportingV3_4::Size
Represents the dimensions of ads, placements, creatives, or creative assets.
-
#offset ⇒ Google::Apis::DfareportingV3_4::OffsetPosition
Offset Position.
-
#position_type ⇒ String
Popup window position either centered or at specific coordinate.
-
#show_address_bar ⇒ Boolean
(also: #show_address_bar?)
Whether to display the browser address bar.
-
#show_menu_bar ⇒ Boolean
(also: #show_menu_bar?)
Whether to display the browser menu bar.
-
#show_scroll_bar ⇒ Boolean
(also: #show_scroll_bar?)
Whether to display the browser scroll bar.
-
#show_status_bar ⇒ Boolean
(also: #show_status_bar?)
Whether to display the browser status bar.
-
#show_tool_bar ⇒ Boolean
(also: #show_tool_bar?)
Whether to display the browser tool bar.
-
#title ⇒ String
Title of popup window.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PopupWindowProperties
constructor
A new instance of PopupWindowProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PopupWindowProperties
Returns a new instance of PopupWindowProperties.
9619 9620 9621 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 9619 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension ⇒ Google::Apis::DfareportingV3_4::Size
Represents the dimensions of ads, placements, creatives, or creative assets.
Corresponds to the JSON property dimension
9572 9573 9574 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 9572 def dimension @dimension end |
#offset ⇒ Google::Apis::DfareportingV3_4::OffsetPosition
Offset Position.
Corresponds to the JSON property offset
9577 9578 9579 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 9577 def offset @offset end |
#position_type ⇒ String
Popup window position either centered or at specific coordinate.
Corresponds to the JSON property positionType
9582 9583 9584 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 9582 def position_type @position_type end |
#show_address_bar ⇒ Boolean Also known as: show_address_bar?
Whether to display the browser address bar.
Corresponds to the JSON property showAddressBar
9587 9588 9589 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 9587 def @show_address_bar end |
#show_menu_bar ⇒ Boolean Also known as:
Whether to display the browser menu bar.
Corresponds to the JSON property showMenuBar
9593 9594 9595 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 9593 def @show_menu_bar end |
#show_scroll_bar ⇒ Boolean Also known as: show_scroll_bar?
Whether to display the browser scroll bar.
Corresponds to the JSON property showScrollBar
9599 9600 9601 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 9599 def @show_scroll_bar end |
#show_status_bar ⇒ Boolean Also known as: show_status_bar?
Whether to display the browser status bar.
Corresponds to the JSON property showStatusBar
9605 9606 9607 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 9605 def @show_status_bar end |
#show_tool_bar ⇒ Boolean Also known as: show_tool_bar?
Whether to display the browser tool bar.
Corresponds to the JSON property showToolBar
9611 9612 9613 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 9611 def @show_tool_bar end |
#title ⇒ String
Title of popup window.
Corresponds to the JSON property title
9617 9618 9619 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 9617 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 9624 def update!(**args) @dimension = args[:dimension] if args.key?(:dimension) @offset = args[:offset] if args.key?(:offset) @position_type = args[:position_type] if args.key?(:position_type) @show_address_bar = args[:show_address_bar] if args.key?(:show_address_bar) @show_menu_bar = args[:show_menu_bar] if args.key?(:show_menu_bar) @show_scroll_bar = args[:show_scroll_bar] if args.key?(:show_scroll_bar) @show_status_bar = args[:show_status_bar] if args.key?(:show_status_bar) @show_tool_bar = args[:show_tool_bar] if args.key?(:show_tool_bar) @title = args[:title] if args.key?(:title) end |