Class: Google::Apis::ServiceconsumermanagementV1::BillingConfig
- Inherits:
-
Object
- Object
- Google::Apis::ServiceconsumermanagementV1::BillingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/serviceconsumermanagement_v1/classes.rb,
generated/google/apis/serviceconsumermanagement_v1/representations.rb,
generated/google/apis/serviceconsumermanagement_v1/representations.rb
Overview
Describes billing configuration for a new tenant project.
Instance Attribute Summary collapse
-
#billing_account ⇒ String
Name of the billing account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BillingConfig
constructor
A new instance of BillingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BillingConfig
Returns a new instance of BillingConfig
567 568 569 |
# File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 567 def initialize(**args) update!(**args) end |
Instance Attribute Details
#billing_account ⇒ String
Name of the billing account.
For example billingAccounts/012345-567890-ABCDEF
.
Corresponds to the JSON property billingAccount
565 566 567 |
# File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 565 def billing_account @billing_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
572 573 574 |
# File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 572 def update!(**args) @billing_account = args[:billing_account] if args.key?(:billing_account) end |