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.



6874
6875
6876
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6874

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

Instance Attribute Details

#partner_idFixnum

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

Returns:

  • (Fixnum)


6872
6873
6874
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6872

def partner_id
  @partner_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6879
6880
6881
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6879

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