Class: Google::Apis::DisplayvideoV3::EditGuaranteedOrderReadAccessorsRequest

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 GuaranteedOrderService.EditGuaranteedOrderReadAccessors.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EditGuaranteedOrderReadAccessorsRequest

Returns a new instance of EditGuaranteedOrderReadAccessorsRequest.



5806
5807
5808
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5806

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>)


5786
5787
5788
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5786

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)


5791
5792
5793
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5791

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)


5798
5799
5800
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5798

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>)


5804
5805
5806
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5804

def removed_advertisers
  @removed_advertisers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5811
5812
5813
5814
5815
5816
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5811

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