Class: Google::Apis::DisplayvideoV2::EditGuaranteedOrderReadAccessorsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::EditGuaranteedOrderReadAccessorsRequest
- 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
Request message for GuaranteedOrderService.EditGuaranteedOrderReadAccessors.
Instance Attribute Summary collapse
-
#added_advertisers ⇒ Array<Fixnum>
The advertisers to add as read accessors to the guaranteed order.
-
#partner_id ⇒ Fixnum
Required.
-
#read_access_inherited ⇒ Boolean
(also: #read_access_inherited?)
Whether to give all advertisers of the read/write accessor partner read access to the guaranteed order.
-
#removed_advertisers ⇒ Array<Fixnum>
The advertisers to remove as read accessors to the guaranteed order.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EditGuaranteedOrderReadAccessorsRequest
constructor
A new instance of EditGuaranteedOrderReadAccessorsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EditGuaranteedOrderReadAccessorsRequest
Returns a new instance of EditGuaranteedOrderReadAccessorsRequest.
5126 5127 5128 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5126 def initialize(**args) update!(**args) end |
Instance Attribute Details
#added_advertisers ⇒ Array<Fixnum>
The advertisers to add as read accessors to the guaranteed order.
Corresponds to the JSON property addedAdvertisers
5106 5107 5108 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5106 def added_advertisers @added_advertisers end |
#partner_id ⇒ Fixnum
Required. The partner context in which the change is being made.
Corresponds to the JSON property partnerId
5111 5112 5113 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5111 def partner_id @partner_id end |
#read_access_inherited ⇒ Boolean Also known as: read_access_inherited?
Whether to give all advertisers of the read/write accessor partner read access
to the guaranteed order. Only applicable if read_write_partner_id is set in
the guaranteed order.
Corresponds to the JSON property readAccessInherited
5118 5119 5120 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5118 def read_access_inherited @read_access_inherited end |
#removed_advertisers ⇒ Array<Fixnum>
The advertisers to remove as read accessors to the guaranteed order.
Corresponds to the JSON property removedAdvertisers
5124 5125 5126 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5124 def removed_advertisers @removed_advertisers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5131 5132 5133 5134 5135 5136 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5131 def update!(**args) @added_advertisers = args[:added_advertisers] if args.key?(:added_advertisers) @partner_id = args[:partner_id] if args.key?(:partner_id) @read_access_inherited = args[:read_access_inherited] if args.key?(:read_access_inherited) @removed_advertisers = args[:removed_advertisers] if args.key?(:removed_advertisers) end |