Class: Google::Apis::DisplayvideoV3::BulkEditSitesRequest

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 SiteService.BulkEditSites.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BulkEditSitesRequest

Returns a new instance of BulkEditSitesRequest.



2673
2674
2675
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2673

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)


2656
2657
2658
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2656

def advertiser_id
  @advertiser_id
end

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

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



2661
2662
2663
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2661

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


2666
2667
2668
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2666

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)


2671
2672
2673
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2671

def partner_id
  @partner_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2678
2679
2680
2681
2682
2683
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2678

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