Class: Google::Apis::DisplayvideoV2::InventorySourceGroupAssignedTargetingOptionDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/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.



7093
7094
7095
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7093

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)


7091
7092
7093
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7091

def inventory_source_group_id
  @inventory_source_group_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7098
7099
7100
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7098

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