Class: Google::Apis::DfareportingV2_5::PopupWindowProperties
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_5::PopupWindowProperties
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_5/classes.rb,
generated/google/apis/dfareporting_v2_5/representations.rb,
generated/google/apis/dfareporting_v2_5/representations.rb
Overview
Popup Window Properties.
Instance Attribute Summary collapse
-
#dimension ⇒ Google::Apis::DfareportingV2_5::Size
Represents the dimensions of ads, placements, creatives, or creative assets.
-
#offset ⇒ Google::Apis::DfareportingV2_5::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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PopupWindowProperties
Returns a new instance of PopupWindowProperties.
8439 8440 8441 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8439 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension ⇒ Google::Apis::DfareportingV2_5::Size
Represents the dimensions of ads, placements, creatives, or creative assets.
Corresponds to the JSON property dimension
8392 8393 8394 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8392 def dimension @dimension end |
#offset ⇒ Google::Apis::DfareportingV2_5::OffsetPosition
Offset Position.
Corresponds to the JSON property offset
8397 8398 8399 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8397 def offset @offset end |
#position_type ⇒ String
Popup window position either centered or at specific coordinate.
Corresponds to the JSON property positionType
8402 8403 8404 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8402 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
8407 8408 8409 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8407 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
8413 8414 8415 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8413 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
8419 8420 8421 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8419 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
8425 8426 8427 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8425 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
8431 8432 8433 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8431 def @show_tool_bar end |
#title ⇒ String
Title of popup window.
Corresponds to the JSON property title
8437 8438 8439 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8437 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8444 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 |