Class: Google::Apis::ServiceconsumermanagementV1::BillingConfig

Inherits:
Object
  • Object
show all
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 the billing configuration for a new tenant project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BillingConfig

Returns a new instance of BillingConfig.



589
590
591
# File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 589

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

Instance Attribute Details

#billing_accountString

Name of the billing account. For example billingAccounts/012345-567890-ABCDEF. Corresponds to the JSON property billingAccount

Returns:

  • (String)


587
588
589
# File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 587

def 
  @billing_account
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



594
595
596
# File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 594

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