Class: Google::Apis::DisplayvideoV2::InventorySourceAccessors

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

Overview

The partner or advertisers with access to the inventory source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InventorySourceAccessors

Returns a new instance of InventorySourceAccessors.



6937
6938
6939
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6937

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

Instance Attribute Details

#advertisersGoogle::Apis::DisplayvideoV2::InventorySourceAccessorsAdvertiserAccessors

The advertisers with access to the inventory source. Corresponds to the JSON property advertisers



6930
6931
6932
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6930

def advertisers
  @advertisers
end

#partnerGoogle::Apis::DisplayvideoV2::InventorySourceAccessorsPartnerAccessor

The partner with access to the inventory source. Corresponds to the JSON property partner



6935
6936
6937
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6935

def partner
  @partner
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6942
6943
6944
6945
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6942

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