Class: Google::Apis::DfareportingV3_4::FsCommand

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

Overview

FsCommand.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FsCommand

Returns a new instance of FsCommand.



7034
7035
7036
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7034

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)


7011
7012
7013
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7011

def left
  @left
end

#position_optionString

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

Returns:

  • (String)


7016
7017
7018
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7016

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)


7022
7023
7024
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7022

def top
  @top
end

#window_heightFixnum

Height of the window. Corresponds to the JSON property windowHeight

Returns:

  • (Fixnum)


7027
7028
7029
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7027

def window_height
  @window_height
end

#window_widthFixnum

Width of the window. Corresponds to the JSON property windowWidth

Returns:

  • (Fixnum)


7032
7033
7034
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7032

def window_width
  @window_width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7039
7040
7041
7042
7043
7044
7045
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7039

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