Class: Google::Apis::DfareportingV3_1::FsCommand
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_1::FsCommand
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_1/classes.rb,
generated/google/apis/dfareporting_v3_1/representations.rb,
generated/google/apis/dfareporting_v3_1/representations.rb
Overview
FsCommand.
Instance Attribute Summary collapse
-
#left ⇒ Fixnum
Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.
-
#position_option ⇒ String
Position in the browser where the window will open.
-
#top ⇒ Fixnum
Distance from the top of the browser.
-
#window_height ⇒ Fixnum
Height of the window.
-
#window_width ⇒ Fixnum
Width of the window.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FsCommand
constructor
A new instance of FsCommand.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FsCommand
Returns a new instance of FsCommand
6658 6659 6660 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6658 def initialize(**args) update!(**args) end |
Instance Attribute Details
#left ⇒ Fixnum
Distance from the left of the browser.Applicable when positionOption is
DISTANCE_FROM_TOP_LEFT_CORNER.
Corresponds to the JSON property left
6635 6636 6637 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6635 def left @left end |
#position_option ⇒ String
Position in the browser where the window will open.
Corresponds to the JSON property positionOption
6640 6641 6642 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6640 def position_option @position_option end |
#top ⇒ Fixnum
Distance from the top of the browser. Applicable when positionOption is
DISTANCE_FROM_TOP_LEFT_CORNER.
Corresponds to the JSON property top
6646 6647 6648 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6646 def top @top end |
#window_height ⇒ Fixnum
Height of the window.
Corresponds to the JSON property windowHeight
6651 6652 6653 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6651 def window_height @window_height end |
#window_width ⇒ Fixnum
Width of the window.
Corresponds to the JSON property windowWidth
6656 6657 6658 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6656 def window_width @window_width end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6663 6664 6665 6666 6667 6668 6669 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6663 def update!(**args) @left = args[:left] if args.key?(:left) @position_option = args[:position_option] if args.key?(:position_option) @top = args[:top] if args.key?(:top) @window_height = args[:window_height] if args.key?(:window_height) @window_width = args[:window_width] if args.key?(:window_width) end |