Class: Google::Apis::DisplayvideoV2::AdvertiserBillingConfig
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::AdvertiserBillingConfig
- 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
Billing related settings of an advertiser.
Instance Attribute Summary collapse
-
#billing_profile_id ⇒ Fixnum
The ID of a billing profile assigned to the advertiser.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdvertiserBillingConfig
constructor
A new instance of AdvertiserBillingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdvertiserBillingConfig
Returns a new instance of AdvertiserBillingConfig.
255 256 257 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 255 def initialize(**args) update!(**args) end |
Instance Attribute Details
#billing_profile_id ⇒ Fixnum
The ID of a billing profile assigned to the advertiser. This field will
default to the default billing profile ID of the advertiser's parent partner
if a value is not provided.
Corresponds to the JSON property billingProfileId
253 254 255 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 253 def billing_profile_id @billing_profile_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
260 261 262 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 260 def update!(**args) @billing_profile_id = args[:billing_profile_id] if args.key?(:billing_profile_id) end |