class Google::Apis::DisplayvideoV1::AssignedInventorySource

An assignment between a targetable inventory source and an inventory source group.

Attributes

assigned_inventory_source_id[RW]

Output only. The unique ID of the assigned inventory source. The ID is only unique within a given inventory source group. It may be reused in other contexts. Corresponds to the JSON property `assignedInventorySourceId` @return [Fixnum]

inventory_source_id[RW]

Required. The ID of the inventory source entity being targeted. Corresponds to the JSON property `inventorySourceId` @return [String]

name[RW]

Output only. The resource name of the assigned inventory source. Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 634
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 639
def update!(**args)
  @assigned_inventory_source_id = args[:assigned_inventory_source_id] if args.key?(:assigned_inventory_source_id)
  @inventory_source_id = args[:inventory_source_id] if args.key?(:inventory_source_id)
  @name = args[:name] if args.key?(:name)
end