Class: Google::Apis::DisplayvideoV3::InventorySourceAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::InventorySourceAssignedTargetingOptionDetails
- 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
Targeting details for inventory source. This will be populated in the details
field of an AssignedTargetingOption when targeting_type is
TARGETING_TYPE_INVENTORY_SOURCE
.
Instance Attribute Summary collapse
-
#inventory_source_id ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InventorySourceAssignedTargetingOptionDetails
constructor
A new instance of InventorySourceAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InventorySourceAssignedTargetingOptionDetails
Returns a new instance of InventorySourceAssignedTargetingOptionDetails.
7695 7696 7697 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7695 def initialize(**args) update!(**args) end |
Instance Attribute Details
#inventory_source_id ⇒ Fixnum
Required. ID of the inventory source. Should refer to the inventory_source_id
field of an InventorySource resource.
Corresponds to the JSON property inventorySourceId
7693 7694 7695 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7693 def inventory_source_id @inventory_source_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7700 7701 7702 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7700 def update!(**args) @inventory_source_id = args[:inventory_source_id] if args.key?(:inventory_source_id) end |