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.



14051
14052
14053
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14051

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


14039
14040
14041
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14039

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


14044
14045
14046
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14044

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



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