Class: Google::Apis::DisplayvideoV1::CreateAssignedTargetingOptionsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::CreateAssignedTargetingOptionsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/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::DisplayvideoV1::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.
2509 2510 2511 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2509 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assigned_targeting_options ⇒ Array<Google::Apis::DisplayvideoV1::AssignedTargetingOption>
Required. The assigned targeting options to create and add.
Corresponds to the JSON property assignedTargetingOptions
2502 2503 2504 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2502 def @assigned_targeting_options end |
#targeting_type ⇒ String
Required. Identifies the type of this assigned targeting option.
Corresponds to the JSON property targetingType
2507 2508 2509 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2507 def targeting_type @targeting_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2514 2515 2516 2517 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2514 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 |