Class: Google::Apis::DisplayvideoV3::DeleteAssignedTargetingOptionsRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb

Overview

A request listing which assigned targeting options of a given targeting type should be deleted.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeleteAssignedTargetingOptionsRequest

Returns a new instance of DeleteAssignedTargetingOptionsRequest.



5165
5166
5167
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5165

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

Instance Attribute Details

#assigned_targeting_option_idsArray<String>

Required. The assigned targeting option IDs to delete. Corresponds to the JSON property assignedTargetingOptionIds

Returns:

  • (Array<String>)


5158
5159
5160
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5158

def assigned_targeting_option_ids
  @assigned_targeting_option_ids
end

#targeting_typeString

Required. Identifies the type of this assigned targeting option. Corresponds to the JSON property targetingType

Returns:

  • (String)


5163
5164
5165
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5163

def targeting_type
  @targeting_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5170
5171
5172
5173
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5170

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