Class: Google::Apis::DisplayvideoV4::AdvertiserBillingConfig

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

Billing related settings of an advertiser.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdvertiserBillingConfig

Returns a new instance of AdvertiserBillingConfig.



1358
1359
1360
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1358

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

Instance Attribute Details

#billing_profile_idFixnum

Required. The ID of a billing profile assigned to the advertiser. Corresponds to the JSON property billingProfileId

Returns:

  • (Fixnum)


1356
1357
1358
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1356

def billing_profile_id
  @billing_profile_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1363
1364
1365
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1363

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