Class: Google::Apis::DisplayvideoV1::InventorySourceGroupAssignedTargetingOptionDetails

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InventorySourceGroupAssignedTargetingOptionDetails

Returns a new instance of InventorySourceGroupAssignedTargetingOptionDetails.



5088
5089
5090
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5088

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)


5086
5087
5088
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5086

def inventory_source_group_id
  @inventory_source_group_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5093
5094
5095
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5093

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