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.



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

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


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

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


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

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



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

def valid_surface_combinations
  @valid_surface_combinations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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