Class: Google::Apis::CloudcontrolspartnerV1::Sku
- Inherits:
-
Object
- Object
- Google::Apis::CloudcontrolspartnerV1::Sku
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudcontrolspartner_v1/classes.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb
Overview
Represents the SKU a partner owns inside Google Cloud to sell to customers.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Display name of the product identified by the SKU.
-
#id ⇒ String
Argentum product SKU, that is associated with the partner offerings to customers used by Syntro for billing purposes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Sku
constructor
A new instance of Sku.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Sku
Returns a new instance of Sku.
708 709 710 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 708 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Display name of the product identified by the SKU. A partner may want to show
partner branded names for their offerings such as local sovereign cloud
solutions.
Corresponds to the JSON property displayName
699 700 701 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 699 def display_name @display_name end |
#id ⇒ String
Argentum product SKU, that is associated with the partner offerings to
customers used by Syntro for billing purposes. SKUs can represent resold
Google products or support services.
Corresponds to the JSON property id
706 707 708 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 706 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
713 714 715 716 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 713 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @id = args[:id] if args.key?(:id) end |