Class: Google::Apis::DisplayvideoV1::InventorySourceGroupAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::InventorySourceGroupAssignedTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/representations.rb
Overview
Targeting details for inventory source group. This will be populated in the
details field of an AssignedTargetingOption when targeting_type is
TARGETING_TYPE_INVENTORY_SOURCE_GROUP.
Instance Attribute Summary collapse
-
#inventory_source_group_id ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InventorySourceGroupAssignedTargetingOptionDetails
constructor
A new instance of InventorySourceGroupAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InventorySourceGroupAssignedTargetingOptionDetails
Returns a new instance of InventorySourceGroupAssignedTargetingOptionDetails.
5259 5260 5261 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 5259 def initialize(**args) update!(**args) end |
Instance Attribute Details
#inventory_source_group_id ⇒ Fixnum
Required. ID of the inventory source group. Should refer to the
inventory_source_group_id field of an InventorySourceGroup resource.
Corresponds to the JSON property inventorySourceGroupId
5257 5258 5259 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 5257 def inventory_source_group_id @inventory_source_group_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5264 5265 5266 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 5264 def update!(**args) @inventory_source_group_id = args[:inventory_source_group_id] if args.key?(:inventory_source_group_id) end |