Class: Google::Apis::DisplayvideoV3::EditInventorySourceReadWriteAccessorsRequest

Inherits:
Object
  • Object
show all
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

Request message for InventorySourceService. EditInventorySourceReadWriteAccessors.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EditInventorySourceReadWriteAccessorsRequest

Returns a new instance of EditInventorySourceReadWriteAccessorsRequest.



5767
5768
5769
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5767

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

Instance Attribute Details

#advertisers_updateGoogle::Apis::DisplayvideoV3::EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate

Update to the list of advertisers with read/write access to the inventory source. Corresponds to the JSON property advertisersUpdate



5753
5754
5755
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5753

def advertisers_update
  @advertisers_update
end

#assign_partnerBoolean Also known as: assign_partner?

Set the partner context as read/write accessor of the inventory source. This will remove all other current read/write advertiser accessors. Corresponds to the JSON property assignPartner

Returns:

  • (Boolean)


5759
5760
5761
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5759

def assign_partner
  @assign_partner
end

#partner_idFixnum

Required. The partner context by which the accessors change is being made. Corresponds to the JSON property partnerId

Returns:

  • (Fixnum)


5765
5766
5767
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5765

def partner_id
  @partner_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5772
5773
5774
5775
5776
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5772

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