Class: Google::Apis::DisplayvideoV3::InventorySourceAccessors

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

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.



7634
7635
7636
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7634

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

Instance Attribute Details

#advertisersGoogle::Apis::DisplayvideoV3::InventorySourceAccessorsAdvertiserAccessors

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



7627
7628
7629
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7627

def advertisers
  @advertisers
end

#partnerGoogle::Apis::DisplayvideoV3::InventorySourceAccessorsPartnerAccessor

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



7632
7633
7634
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7632

def partner
  @partner
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7639
7640
7641
7642
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7639

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