Class: Google::Apis::DisplayvideoV3::EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
Update to the list of advertisers with read/write access to the inventory source.
Instance Attribute Summary collapse
-
#added_advertisers ⇒ Array<Fixnum>
The advertisers to add.
-
#removed_advertisers ⇒ Array<Fixnum>
The advertisers to remove.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate
constructor
A new instance of EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate
Returns a new instance of EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate.
5896 5897 5898 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5896 def initialize(**args) update!(**args) end |
Instance Attribute Details
#added_advertisers ⇒ Array<Fixnum>
The advertisers to add.
Corresponds to the JSON property addedAdvertisers
5889 5890 5891 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5889 def added_advertisers @added_advertisers end |
#removed_advertisers ⇒ Array<Fixnum>
The advertisers to remove.
Corresponds to the JSON property removedAdvertisers
5894 5895 5896 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5894 def removed_advertisers @removed_advertisers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5901 5902 5903 5904 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5901 def update!(**args) @added_advertisers = args[:added_advertisers] if args.key?(:added_advertisers) @removed_advertisers = args[:removed_advertisers] if args.key?(:removed_advertisers) end |