Class: Google::Apis::AdexchangebuyerV1_4::BillingInfo
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::BillingInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_4/classes.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb
Overview
The configuration data for an Ad Exchange billing info.
Instance Attribute Summary collapse
-
#account_id ⇒ Fixnum
Account id.
-
#account_name ⇒ String
Account name.
-
#billing_id ⇒ Array<String>
A list of adgroup IDs associated with this particular account.
-
#kind ⇒ String
Resource type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BillingInfo
constructor
A new instance of BillingInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BillingInfo
Returns a new instance of BillingInfo.
287 288 289 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 287 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ Fixnum
Account id.
Corresponds to the JSON property accountId
268 269 270 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 268 def account_id @account_id end |
#account_name ⇒ String
Account name.
Corresponds to the JSON property accountName
273 274 275 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 273 def account_name @account_name end |
#billing_id ⇒ Array<String>
A list of adgroup IDs associated with this particular account. These IDs may
show up as part of a realtime bidding BidRequest, which indicates a bid
request for this account.
Corresponds to the JSON property billingId
280 281 282 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 280 def billing_id @billing_id end |
#kind ⇒ String
Resource type.
Corresponds to the JSON property kind
285 286 287 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 285 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
292 293 294 295 296 297 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 292 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @account_name = args[:account_name] if args.key?(:account_name) @billing_id = args[:billing_id] if args.key?(:billing_id) @kind = args[:kind] if args.key?(:kind) end |