class Google::Apis::DisplayvideoV1::BulkEditSitesRequest

Request message for SiteService.BulkEditSites.

Attributes

advertiser_id[RW]

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

created_sites[RW]

The sites to create in batch, specified as a list of Sites. Corresponds to the JSON property `createdSites` @return [Array<Google::Apis::DisplayvideoV1::Site>]

deleted_sites[RW]

The sites to delete in batch, specified as a list of site url_or_app_ids. Corresponds to the JSON property `deletedSites` @return [Array<String>]

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 1827
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 1832
def update!(**args)
  @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
  @created_sites = args[:created_sites] if args.key?(:created_sites)
  @deleted_sites = args[:deleted_sites] if args.key?(:deleted_sites)
  @partner_id = args[:partner_id] if args.key?(:partner_id)
end