class Google::Apis::DisplayvideoV1::ReplaceSitesRequest

Request message for SiteService.ReplaceSites.

Attributes

advertiser_id[RW]

The ID of the advertiser that owns the parent channel. Corresponds to the JSON property `advertiserId` @return [Fixnum]

new_sites[RW]

The sites that will replace the existing sites assigned to the channel, specified as a list of Sites. Corresponds to the JSON property `newSites` @return [Array<Google::Apis::DisplayvideoV1::Site>]

partner_id[RW]

The ID of the partner that owns the parent channel. Corresponds to the JSON property `partnerId` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 8513
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 8518
def update!(**args)
  @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
  @new_sites = args[:new_sites] if args.key?(:new_sites)
  @partner_id = args[:partner_id] if args.key?(:partner_id)
end