Class: Google::Apis::DisplayvideoV1::InventorySourceFilter

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

A filtering option for filtering on Inventory Source entities.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InventorySourceFilter

Returns a new instance of InventorySourceFilter.



5033
5034
5035
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5033

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

Instance Attribute Details

#inventory_source_idsArray<Fixnum>

Inventory Sources to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest. Leave empty to download all Inventory Sources for the selected Advertiser or Partner. Corresponds to the JSON property inventorySourceIds

Returns:

  • (Array<Fixnum>)


5031
5032
5033
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5031

def inventory_source_ids
  @inventory_source_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5038
5039
5040
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5038

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