Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillingAccount
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillingAccount
- 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.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#currency_code ⇒ String
Output only.
-
#display_name ⇒ String
Display name of the billing account.
-
#name ⇒ String
Output only.
-
#region_code ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1BillingAccount
constructor
A new instance of GoogleCloudChannelV1BillingAccount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1BillingAccount
Returns a new instance of GoogleCloudChannelV1BillingAccount.
131 132 133 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 131 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time when this billing account was created.
Corresponds to the JSON property createTime
108 109 110 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 108 def create_time @create_time end |
#currency_code ⇒ String
Output only. The 3-letter currency code defined in ISO 4217.
Corresponds to the JSON property currencyCode
113 114 115 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 113 def currency_code @currency_code end |
#display_name ⇒ String
Display name of the billing account.
Corresponds to the JSON property displayName
118 119 120 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 118 def display_name @display_name end |
#name ⇒ String
Output only. Resource name of the billing account. Format: accounts/
account_id/billingAccounts/billing_account_id.
Corresponds to the JSON property name
124 125 126 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 124 def name @name end |
#region_code ⇒ String
Output only. The CLDR region code.
Corresponds to the JSON property regionCode
129 130 131 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 129 def region_code @region_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
136 137 138 139 140 141 142 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 136 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @currency_code = args[:currency_code] if args.key?(:currency_code) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @region_code = args[:region_code] if args.key?(:region_code) end |