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.



6976
6977
6978
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6976

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

Instance Attribute Details

#partner_idFixnum

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

Returns:

  • (Fixnum)


6974
6975
6976
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6974

def partner_id
  @partner_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6981
6982
6983
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6981

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