Class: Google::Apis::DisplayvideoV2::EditGuaranteedOrderReadAccessorsRequest

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

Request message for GuaranteedOrderService.EditGuaranteedOrderReadAccessors.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_advertisersArray<Fixnum>

The advertisers to add as read accessors to the guaranteed order. Corresponds to the JSON property addedAdvertisers

Returns:

  • (Array<Fixnum>)


5106
5107
5108
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5106

def added_advertisers
  @added_advertisers
end

#partner_idFixnum

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

Returns:

  • (Fixnum)


5111
5112
5113
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5111

def partner_id
  @partner_id
end

#read_access_inheritedBoolean 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

Returns:

  • (Boolean)


5118
5119
5120
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5118

def read_access_inherited
  @read_access_inherited
end

#removed_advertisersArray<Fixnum>

The advertisers to remove as read accessors to the guaranteed order. Corresponds to the JSON property removedAdvertisers

Returns:

  • (Array<Fixnum>)


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