Class: Google::Apis::DisplayvideoV4::SurfaceTargetingCombinations
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV4::SurfaceTargetingCombinations
- 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 rules.
Instance Attribute Summary collapse
-
#available_surface_types ⇒ Array<String>
Output only.
-
#default_surface_types ⇒ Array<String>
Output only.
-
#valid_surface_combinations ⇒ Array<Google::Apis::DisplayvideoV4::SurfaceTargetingCombination>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SurfaceTargetingCombinations
constructor
A new instance of SurfaceTargetingCombinations.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SurfaceTargetingCombinations
Returns a new instance of SurfaceTargetingCombinations.
14051 14052 14053 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14051 def initialize(**args) update!(**args) end |
Instance Attribute Details
#available_surface_types ⇒ Array<String>
Output only. The surface types available.
Corresponds to the JSON property availableSurfaceTypes
14039 14040 14041 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14039 def available_surface_types @available_surface_types end |
#default_surface_types ⇒ Array<String>
Output only. The default surface types for this product.
Corresponds to the JSON property defaultSurfaceTypes
14044 14045 14046 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14044 def default_surface_types @default_surface_types end |
#valid_surface_combinations ⇒ Array<Google::Apis::DisplayvideoV4::SurfaceTargetingCombination>
Output only. Valid combinations of surfaces that can be selected together.
Corresponds to the JSON property validSurfaceCombinations
14049 14050 14051 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14049 def valid_surface_combinations @valid_surface_combinations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14056 14057 14058 14059 14060 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14056 def update!(**args) @available_surface_types = args[:available_surface_types] if args.key?(:available_surface_types) @default_surface_types = args[:default_surface_types] if args.key?(:default_surface_types) @valid_surface_combinations = args[:valid_surface_combinations] if args.key?(:valid_surface_combinations) end |