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.



14072
14073
14074
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14072

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>)


14070
14071
14072
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14070

def surfaces
  @surfaces
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14077
14078
14079
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14077

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