Class: Google::Apis::DisplayvideoV2::EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb

Overview

Update to the list of advertisers with read/write access to the inventory source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate

Returns a new instance of EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate.



5216
5217
5218
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5216

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

Instance Attribute Details

#added_advertisersArray<Fixnum>

The advertisers to add. Corresponds to the JSON property addedAdvertisers

Returns:

  • (Array<Fixnum>)


5209
5210
5211
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5209

def added_advertisers
  @added_advertisers
end

#removed_advertisersArray<Fixnum>

The advertisers to remove. Corresponds to the JSON property removedAdvertisers

Returns:

  • (Array<Fixnum>)


5214
5215
5216
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5214

def removed_advertisers
  @removed_advertisers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5221
5222
5223
5224
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5221

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