Class: Google::Apis::DfareportingV2_1::PopupWindowProperties
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::PopupWindowProperties
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb
Overview
Popup Window Properties.
Instance Attribute Summary collapse
-
#dimension ⇒ Google::Apis::DfareportingV2_1::Size
Represents the dimensions of ads, placements, creatives, or creative assets.
-
#offset ⇒ Google::Apis::DfareportingV2_1::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::Hashable
Constructor Details
#initialize(**args) ⇒ PopupWindowProperties
Returns a new instance of PopupWindowProperties
7972 7973 7974 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7972 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension ⇒ Google::Apis::DfareportingV2_1::Size
Represents the dimensions of ads, placements, creatives, or creative assets.
Corresponds to the JSON property dimension
7925 7926 7927 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7925 def dimension @dimension end |
#offset ⇒ Google::Apis::DfareportingV2_1::OffsetPosition
Offset Position.
Corresponds to the JSON property offset
7930 7931 7932 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7930 def offset @offset end |
#position_type ⇒ String
Popup window position either centered or at specific coordinate.
Corresponds to the JSON property positionType
7935 7936 7937 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7935 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
7940 7941 7942 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7940 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
7946 7947 7948 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7946 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
7952 7953 7954 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7952 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
7958 7959 7960 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7958 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
7964 7965 7966 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7964 def @show_tool_bar end |
#title ⇒ String
Title of popup window.
Corresponds to the JSON property title
7970 7971 7972 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7970 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7977 def update!(**args) @dimension = args[:dimension] unless args[:dimension].nil? @offset = args[:offset] unless args[:offset].nil? @position_type = args[:position_type] unless args[:position_type].nil? @show_address_bar = args[:show_address_bar] unless args[:show_address_bar].nil? @show_menu_bar = args[:show_menu_bar] unless args[:show_menu_bar].nil? @show_scroll_bar = args[:show_scroll_bar] unless args[:show_scroll_bar].nil? @show_status_bar = args[:show_status_bar] unless args[:show_status_bar].nil? @show_tool_bar = args[:show_tool_bar] unless args[:show_tool_bar].nil? @title = args[:title] unless args[:title].nil? end |