Class: Google::Apis::DisplayvideoV1::BulkEditSitesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/representations.rb

Overview

Request message for SiteService.BulkEditSites.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BulkEditSitesRequest

Returns a new instance of BulkEditSitesRequest.



1723
1724
1725
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1723

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#advertiser_idFixnum

The ID of the advertiser that owns the parent channel. Corresponds to the JSON property advertiserId

Returns:

  • (Fixnum)


1706
1707
1708
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1706

def advertiser_id
  @advertiser_id
end

#created_sitesArray<Google::Apis::DisplayvideoV1::Site>

The sites to create in batch, specified as a list of Sites. Corresponds to the JSON property createdSites



1711
1712
1713
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1711

def created_sites
  @created_sites
end

#deleted_sitesArray<String>

The sites to delete in batch, specified as a list of site url_or_app_ids. Corresponds to the JSON property deletedSites

Returns:

  • (Array<String>)


1716
1717
1718
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1716

def deleted_sites
  @deleted_sites
end

#partner_idFixnum

The ID of the partner that owns the parent channel. Corresponds to the JSON property partnerId

Returns:

  • (Fixnum)


1721
1722
1723
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1721

def partner_id
  @partner_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1728
1729
1730
1731
1732
1733
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1728

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