Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillingAccountPurchaseInfo

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudchannel_v1/classes.rb,
lib/google/apis/cloudchannel_v1/representations.rb,
lib/google/apis/cloudchannel_v1/representations.rb

Overview

Represents a billing account that can be used to make a purchase.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1BillingAccountPurchaseInfo

Returns a new instance of GoogleCloudChannelV1BillingAccountPurchaseInfo.



193
194
195
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 193

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

Instance Attribute Details

#billing_accountGoogle::Apis::CloudchannelV1::GoogleCloudChannelV1BillingAccount

Represents a billing account. Corresponds to the JSON property billingAccount



191
192
193
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 191

def 
  @billing_account
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



198
199
200
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 198

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