Class: Google::Apis::DisplayvideoV4::SurfaceTargetingSettings

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

Overview

Surface targeting selection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SurfaceTargetingSettings

Returns a new instance of SurfaceTargetingSettings.



14089
14090
14091
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14089

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

Instance Attribute Details

#surfacesArray<String>

Optional. The surfaces to target. Corresponds to the JSON property surfaces

Returns:

  • (Array<String>)


14087
14088
14089
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14087

def surfaces
  @surfaces
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14094
14095
14096
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14094

def update!(**args)
  @surfaces = args[:surfaces] if args.key?(:surfaces)
end