Class: Google::Apis::DisplayvideoV3::ReplaceSitesResponse

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

Response message for SiteService.ReplaceSites.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReplaceSitesResponse

Returns a new instance of ReplaceSitesResponse.



11071
11072
11073
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11071

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

Instance Attribute Details

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

The list of sites in the channel after replacing. Corresponds to the JSON property sites



11069
11070
11071
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11069

def sites
  @sites
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11076
11077
11078
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11076

def update!(**args)
  @sites = args[:sites] if args.key?(:sites)
end