Class: Google::Apis::DfareportingV3_5::FsCommand

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v3_5/classes.rb,
lib/google/apis/dfareporting_v3_5/representations.rb,
lib/google/apis/dfareporting_v3_5/representations.rb

Overview

FsCommand.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FsCommand

Returns a new instance of FsCommand.



6583
6584
6585
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 6583

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#leftFixnum

Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. Corresponds to the JSON property left

Returns:

  • (Fixnum)


6560
6561
6562
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 6560

def left
  @left
end

#position_optionString

Position in the browser where the window will open. Corresponds to the JSON property positionOption

Returns:

  • (String)


6565
6566
6567
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 6565

def position_option
  @position_option
end

#topFixnum

Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. Corresponds to the JSON property top

Returns:

  • (Fixnum)


6571
6572
6573
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 6571

def top
  @top
end

#window_heightFixnum

Height of the window. Corresponds to the JSON property windowHeight

Returns:

  • (Fixnum)


6576
6577
6578
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 6576

def window_height
  @window_height
end

#window_widthFixnum

Width of the window. Corresponds to the JSON property windowWidth

Returns:

  • (Fixnum)


6581
6582
6583
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 6581

def window_width
  @window_width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6588
6589
6590
6591
6592
6593
6594
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 6588

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