Class: Google::Apis::DisplayvideoV4::InventorySourceAccessorsPartnerAccessor

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v4/classes.rb,
lib/google/apis/displayvideo_v4/representations.rb,
lib/google/apis/displayvideo_v4/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.



9482
9483
9484
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 9482

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

Instance Attribute Details

#partner_idFixnum

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

Returns:

  • (Fixnum)


9480
9481
9482
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 9480

def partner_id
  @partner_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9487
9488
9489
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 9487

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