Class: Google::Apis::DisplayvideoV2::InventorySourceAccessorsPartnerAccessor

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 with access to the inventory source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InventorySourceAccessorsPartnerAccessor

Returns a new instance of InventorySourceAccessorsPartnerAccessor.



6849
6850
6851
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6849

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

Instance Attribute Details

#partner_idFixnum

The ID of the partner. Corresponds to the JSON property partnerId

Returns:

  • (Fixnum)


6847
6848
6849
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6847

def partner_id
  @partner_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6854
6855
6856
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6854

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