Class: Google::Apis::DisplayvideoV1::InventorySourceAssignedTargetingOptionDetails

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. This will be populated in the details field of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_INVENTORY_SOURCE.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InventorySourceAssignedTargetingOptionDetails

Returns a new instance of InventorySourceAssignedTargetingOptionDetails.



4993
4994
4995
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4993

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

Instance Attribute Details

#inventory_source_idFixnum

Required. ID of the inventory source. Should refer to the inventory_source_id field of an InventorySource resource. Corresponds to the JSON property inventorySourceId

Returns:

  • (Fixnum)


4991
4992
4993
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4991

def inventory_source_id
  @inventory_source_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4998
4999
5000
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4998

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