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.



1004
1005
1006
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1004

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)


1002
1003
1004
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1002

def source_sku
  @source_sku
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1009
1010
1011
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1009

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