Class: Google::Apis::DisplayvideoV3::Partner

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

A single partner in Display & Video 360 (DV360).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Partner

Returns a new instance of Partner.



10285
10286
10287
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10285

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

Instance Attribute Details

#ad_server_configGoogle::Apis::DisplayvideoV3::PartnerAdServerConfig

Ad server related settings of a partner. Corresponds to the JSON property adServerConfig



10236
10237
10238
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10236

def ad_server_config
  @ad_server_config
end

#billing_configGoogle::Apis::DisplayvideoV3::PartnerBillingConfig

Billing related settings of a partner. Corresponds to the JSON property billingConfig



10241
10242
10243
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10241

def billing_config
  @billing_config
end

#data_access_configGoogle::Apis::DisplayvideoV3::PartnerDataAccessConfig

Settings that control how partner related data may be accessed. Corresponds to the JSON property dataAccessConfig



10246
10247
10248
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10246

def data_access_config
  @data_access_config
end

#display_nameString

The display name of the partner. Must be UTF-8 encoded with a maximum size of 240 bytes. Corresponds to the JSON property displayName

Returns:

  • (String)


10252
10253
10254
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10252

def display_name
  @display_name
end

#entity_statusString

Output only. The status of the partner. Corresponds to the JSON property entityStatus

Returns:

  • (String)


10257
10258
10259
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10257

def entity_status
  @entity_status
end

#exchange_configGoogle::Apis::DisplayvideoV3::ExchangeConfig

Settings that control which exchanges are enabled for a partner. Corresponds to the JSON property exchangeConfig



10262
10263
10264
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10262

def exchange_config
  @exchange_config
end

#general_configGoogle::Apis::DisplayvideoV3::PartnerGeneralConfig

General settings of a partner. Corresponds to the JSON property generalConfig



10267
10268
10269
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10267

def general_config
  @general_config
end

#nameString

Output only. The resource name of the partner. Corresponds to the JSON property name

Returns:

  • (String)


10272
10273
10274
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10272

def name
  @name
end

#partner_idFixnum

Output only. The unique ID of the partner. Assigned by the system. Corresponds to the JSON property partnerId

Returns:

  • (Fixnum)


10277
10278
10279
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10277

def partner_id
  @partner_id
end

#update_timeString

Output only. The timestamp when the partner was last updated. Assigned by the system. Corresponds to the JSON property updateTime

Returns:

  • (String)


10283
10284
10285
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10283

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10290

def update!(**args)
  @ad_server_config = args[:ad_server_config] if args.key?(:ad_server_config)
  @billing_config = args[:billing_config] if args.key?(:billing_config)
  @data_access_config = args[:data_access_config] if args.key?(:data_access_config)
  @display_name = args[:display_name] if args.key?(:display_name)
  @entity_status = args[:entity_status] if args.key?(:entity_status)
  @exchange_config = args[:exchange_config] if args.key?(:exchange_config)
  @general_config = args[:general_config] if args.key?(:general_config)
  @name = args[:name] if args.key?(:name)
  @partner_id = args[:partner_id] if args.key?(:partner_id)
  @update_time = args[:update_time] if args.key?(:update_time)
end