Class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaMigratedPrice
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaMigratedPrice
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbilling_v1beta/classes.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb
Overview
Encapsulates a price migrated from other SKUs.
Instance Attribute Summary collapse
-
#source_sku ⇒ String
Source SKU where the discount is migrated from.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBillingBillingaccountpricesV1betaMigratedPrice
constructor
A new instance of GoogleCloudBillingBillingaccountpricesV1betaMigratedPrice.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBillingBillingaccountpricesV1betaMigratedPrice
Returns a new instance of GoogleCloudBillingBillingaccountpricesV1betaMigratedPrice.
993 994 995 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 993 def initialize(**args) update!(**args) end |
Instance Attribute Details
#source_sku ⇒ String
Source SKU where the discount is migrated from. Format: billingAccounts/
billing_account
/skus/sku
Corresponds to the JSON property sourceSku
991 992 993 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 991 def source_sku @source_sku end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
998 999 1000 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 998 def update!(**args) @source_sku = args[:source_sku] if args.key?(:source_sku) end |