Class: Google::Apis::DisplayvideoV3::CreateAssignedTargetingOptionsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::CreateAssignedTargetingOptionsRequest
- 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 created and added.
Instance Attribute Summary collapse
-
#assigned_targeting_options ⇒ Array<Google::Apis::DisplayvideoV3::AssignedTargetingOption>
Required.
-
#targeting_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateAssignedTargetingOptionsRequest
constructor
A new instance of CreateAssignedTargetingOptionsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateAssignedTargetingOptionsRequest
Returns a new instance of CreateAssignedTargetingOptionsRequest.
4083 4084 4085 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4083 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assigned_targeting_options ⇒ Array<Google::Apis::DisplayvideoV3::AssignedTargetingOption>
Required. The assigned targeting options to create and add.
Corresponds to the JSON property assignedTargetingOptions
4076 4077 4078 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4076 def @assigned_targeting_options end |
#targeting_type ⇒ String
Required. Identifies the type of this assigned targeting option.
Corresponds to the JSON property targetingType
4081 4082 4083 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4081 def targeting_type @targeting_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4088 4089 4090 4091 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4088 def update!(**args) @assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options) @targeting_type = args[:targeting_type] if args.key?(:targeting_type) end |