Class: Google::Apis::DfareportingV2_8::FsCommand

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

Overview

FsCommand.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FsCommand

Returns a new instance of FsCommand



6508
6509
6510
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6508

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)


6485
6486
6487
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6485

def left
  @left
end

#position_optionString

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

Returns:

  • (String)


6490
6491
6492
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6490

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)


6496
6497
6498
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6496

def top
  @top
end

#window_heightFixnum

Height of the window. Corresponds to the JSON property windowHeight

Returns:

  • (Fixnum)


6501
6502
6503
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6501

def window_height
  @window_height
end

#window_widthFixnum

Width of the window. Corresponds to the JSON property windowWidth

Returns:

  • (Fixnum)


6506
6507
6508
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6506

def window_width
  @window_width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6513
6514
6515
6516
6517
6518
6519
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 6513

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