Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillableSku
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillableSku
- 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 the Billable SKU information.
Instance Attribute Summary collapse
-
#service ⇒ String
Resource name of Service which contains Repricing SKU.
-
#service_display_name ⇒ String
Unique human readable name for the Service.
-
#sku ⇒ String
Resource name of Billable SKU.
-
#sku_display_name ⇒ String
Unique human readable name for the SKU.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1BillableSku
constructor
A new instance of GoogleCloudChannelV1BillableSku.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1BillableSku
Returns a new instance of GoogleCloudChannelV1BillableSku.
127 128 129 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 127 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service ⇒ String
Resource name of Service which contains Repricing SKU. Format: services/
service
. Example: "services/B7D9-FDCB-15D8".
Corresponds to the JSON property service
109 110 111 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 109 def service @service end |
#service_display_name ⇒ String
Unique human readable name for the Service.
Corresponds to the JSON property serviceDisplayName
114 115 116 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 114 def service_display_name @service_display_name end |
#sku ⇒ String
Resource name of Billable SKU. Format: billableSkus/sku
. Example:
billableSkus/6E1B-6634-470F".
Corresponds to the JSON property sku
120 121 122 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 120 def sku @sku end |
#sku_display_name ⇒ String
Unique human readable name for the SKU.
Corresponds to the JSON property skuDisplayName
125 126 127 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 125 def sku_display_name @sku_display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
132 133 134 135 136 137 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 132 def update!(**args) @service = args[:service] if args.key?(:service) @service_display_name = args[:service_display_name] if args.key?(:service_display_name) @sku = args[:sku] if args.key?(:sku) @sku_display_name = args[:sku_display_name] if args.key?(:sku_display_name) end |