Class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaMigratedPrice

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_skuString

Source SKU where the discount is migrated from. Format: billingAccounts/ billing_account/skus/sku Corresponds to the JSON property sourceSku

Returns:

  • (String)


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