Class: Google::Apis::DisplayvideoV1::Partner
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::Partner
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/representations.rb
Overview
A single partner in Display & Video 360 (DV360).
Instance Attribute Summary collapse
-
#ad_server_config ⇒ Google::Apis::DisplayvideoV1::PartnerAdServerConfig
Ad server related settings of a partner.
-
#data_access_config ⇒ Google::Apis::DisplayvideoV1::PartnerDataAccessConfig
Settings that control how partner related data may be accessed.
-
#display_name ⇒ String
The display name of the partner.
-
#entity_status ⇒ String
Output only.
-
#exchange_config ⇒ Google::Apis::DisplayvideoV1::ExchangeConfig
Settings that control which exchanges are enabled for a partner.
-
#general_config ⇒ Google::Apis::DisplayvideoV1::PartnerGeneralConfig
General settings of a partner.
-
#name ⇒ String
Output only.
-
#partner_id ⇒ Fixnum
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Partner
constructor
A new instance of Partner.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Partner
Returns a new instance of Partner.
8233 8234 8235 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8233 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_server_config ⇒ Google::Apis::DisplayvideoV1::PartnerAdServerConfig
Ad server related settings of a partner.
Corresponds to the JSON property adServerConfig
8189 8190 8191 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8189 def ad_server_config @ad_server_config end |
#data_access_config ⇒ Google::Apis::DisplayvideoV1::PartnerDataAccessConfig
Settings that control how partner related data may be accessed.
Corresponds to the JSON property dataAccessConfig
8194 8195 8196 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8194 def data_access_config @data_access_config end |
#display_name ⇒ String
The display name of the partner. Must be UTF-8 encoded with a maximum size of
240 bytes.
Corresponds to the JSON property displayName
8200 8201 8202 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8200 def display_name @display_name end |
#entity_status ⇒ String
Output only. The status of the partner.
Corresponds to the JSON property entityStatus
8205 8206 8207 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8205 def entity_status @entity_status end |
#exchange_config ⇒ Google::Apis::DisplayvideoV1::ExchangeConfig
Settings that control which exchanges are enabled for a partner.
Corresponds to the JSON property exchangeConfig
8210 8211 8212 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8210 def exchange_config @exchange_config end |
#general_config ⇒ Google::Apis::DisplayvideoV1::PartnerGeneralConfig
General settings of a partner.
Corresponds to the JSON property generalConfig
8215 8216 8217 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8215 def general_config @general_config end |
#name ⇒ String
Output only. The resource name of the partner.
Corresponds to the JSON property name
8220 8221 8222 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8220 def name @name end |
#partner_id ⇒ Fixnum
Output only. The unique ID of the partner. Assigned by the system.
Corresponds to the JSON property partnerId
8225 8226 8227 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8225 def partner_id @partner_id end |
#update_time ⇒ String
Output only. The timestamp when the partner was last updated. Assigned by the
system.
Corresponds to the JSON property updateTime
8231 8232 8233 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8231 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8238 def update!(**args) @ad_server_config = args[:ad_server_config] if args.key?(:ad_server_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 |