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.



7790
7791
7792
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7790

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)


7788
7789
7790
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7788

def inventory_source_group_id
  @inventory_source_group_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7795
7796
7797
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7795

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