Class: Google::Apis::DisplayvideoV2::InventorySourceAccessors
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::InventorySourceAccessors
- 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
-
#advertisers ⇒ Google::Apis::DisplayvideoV2::InventorySourceAccessorsAdvertiserAccessors
The advertisers with access to the inventory source.
-
#partner ⇒ Google::Apis::DisplayvideoV2::InventorySourceAccessorsPartnerAccessor
The partner with access to the inventory source.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InventorySourceAccessors
constructor
A new instance of InventorySourceAccessors.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#advertisers ⇒ Google::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 |
#partner ⇒ Google::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 |