Class: Google::Apis::DisplayvideoV4::SurfaceTargetingCombinations

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 rules.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SurfaceTargetingCombinations

Returns a new instance of SurfaceTargetingCombinations.



14106
14107
14108
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14106

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

Instance Attribute Details

#available_surface_typesArray<String>

Output only. The surface types available. Corresponds to the JSON property availableSurfaceTypes

Returns:

  • (Array<String>)


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

def available_surface_types
  @available_surface_types
end

#default_surface_typesArray<String>

Output only. The default surface types for this product. Corresponds to the JSON property defaultSurfaceTypes

Returns:

  • (Array<String>)


14099
14100
14101
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14099

def default_surface_types
  @default_surface_types
end

#valid_surface_combinationsArray<Google::Apis::DisplayvideoV4::SurfaceTargetingCombination>

Output only. Valid combinations of surfaces that can be selected together. Corresponds to the JSON property validSurfaceCombinations



14104
14105
14106
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14104

def valid_surface_combinations
  @valid_surface_combinations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14111
14112
14113
14114
14115
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14111

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