Class: Google::Apis::DfareportingV2_1::FsCommand

Inherits:
Object
  • Object
show all
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

FsCommand.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FsCommand

Returns a new instance of FsCommand.


5782
5783
5784
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5782

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)

5759
5760
5761
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5759

def left
  @left
end

#position_optionString

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

Returns:

  • (String)

5764
5765
5766
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5764

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)

5770
5771
5772
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5770

def top
  @top
end

#window_heightFixnum

Height of the window. Corresponds to the JSON property windowHeight

Returns:

  • (Fixnum)

5775
5776
5777
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5775

def window_height
  @window_height
end

#window_widthFixnum

Width of the window. Corresponds to the JSON property windowWidth

Returns:

  • (Fixnum)

5780
5781
5782
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5780

def window_width
  @window_width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


5787
5788
5789
5790
5791
5792
5793
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5787

def update!(**args)
  @left = args[:left] unless args[:left].nil?
  @position_option = args[:position_option] unless args[:position_option].nil?
  @top = args[:top] unless args[:top].nil?
  @window_height = args[:window_height] unless args[:window_height].nil?
  @window_width = args[:window_width] unless args[:window_width].nil?
end