Class: Google::Apis::DisplayvideoV3::InventorySourceGroupAssignedTargetingOptionDetails

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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InventorySourceGroupAssignedTargetingOptionDetails

Returns a new instance of InventorySourceGroupAssignedTargetingOptionDetails.



7665
7666
7667
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7665

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

Instance Attribute Details

#inventory_source_group_idFixnum

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

Returns:

  • (Fixnum)


7663
7664
7665
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7663

def inventory_source_group_id
  @inventory_source_group_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7670
7671
7672
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7670

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